Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.
A successful attack has high impact: crashing the system or making it unavailable.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
In the Linux kernel, the following vulnerability has been resolved:
can: bcm: fix locking for bcm_op runtime updates
Commit c2aba69d0c36 ("can: bcm: add locking for bcm_op runtime updates")
added a locking for some variables that can be modified at runtime when
updating the sending bcm_op with a new TX_SETUP command in bcm_tx_setup().
Usually the RX_SETUP only handles and filters incoming traffic with one
exception: When the RX_RTR_FRAME flag is set a predefined CAN frame is
sent when a specific RTR frame is received. Therefore the rx bcm_op uses
bcm_can_tx() which uses the bcm_tx_lock that was only initialized in
bcm_tx_setup(). Add the missing spin_lock_init() when allocating the
bcm_op in bcm_rx_setup() to handle the RTR case properly.
Weakness: CWE-667
| Vendor | Product | Versions |
|---|---|---|
| linux | linux kernel | >=5.4.294 <5.5 |
| linux | linux kernel | >=5.10.238 <5.10.253 |
| linux | linux kernel | >=5.15.185 <5.15.203 |
| linux | linux kernel | >=6.1.141 <6.1.167 |
| linux | linux kernel | >=6.6.93 <6.6.130 |
| linux | linux kernel | >=6.12.31 <6.12.77 |
| linux | linux kernel | >=6.14.9 <6.15 |
| linux | linux kernel | >=6.15.1 <6.18.17 |
| linux | linux kernel | >=6.19 <6.19.7 |
| linux | linux kernel | 6.15 |
| linux | linux kernel | 7.0 |