CVE-2026-23362

MEDIUM

can: bcm: fix locking for bcm_op runtime updates

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-667
Status published
Products (31)
linux/Kernel < 6.1.167linux
linux/Kernel 6.13.0 - 6.18.17linux
linux/Kernel 6.15.0 - 6.19.7linux
linux/Kernel 6.2.0 - 6.6.130linux
linux/Kernel 6.7.0 - 6.12.77linux
Linux/Linux < 6.15
Linux/Linux 2a437b86ac5a9893c902f30ef66815bf13587bf6 - 800f26f11ae37b17f58e0001f28a47dd75c26557
Linux/Linux 5.10.253 - 5.10.*
Linux/Linux 5.15.203 - 5.15.*
Linux/Linux 6.1.167 - 6.1.*
... and 21 more
Published Mar 25, 2026
Tracked Since Mar 25, 2026