{"id":"CVE-2026-23362","aliases":["CVE-2026-23362"],"related":[],"kind":"vulnerability","state":"published","title":"can: bcm: fix locking for bcm_op runtime updates","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: bcm: fix locking for bcm_op runtime updates\n\nCommit c2aba69d0c36 (\"can: bcm: add locking for bcm_op runtime updates\")\nadded a locking for some variables that can be modified at runtime when\nupdating the sending bcm_op with a new TX_SETUP command in bcm_tx_setup().\n\nUsually the RX_SETUP only handles and filters incoming traffic with one\nexception: When the RX_RTR_FRAME flag is set a predefined CAN frame is\nsent when a specific RTR frame is received. Therefore the rx bcm_op uses\nbcm_can_tx() which uses the bcm_tx_lock that was only initialized in\nbcm_tx_setup(). Add the missing spin_lock_init() when allocating the\nbcm_op in bcm_rx_setup() to handle the RTR case properly.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: bcm: fix locking for bcm_op runtime updates\n\nCommit c2aba69d0c36 (\"can: bcm: add locking for bcm_op runtime updates\")\nadded a locking for some variables that can be modified at runtime when\nupdating the sending bcm_op with a new TX_SETUP command in bcm_tx_setup().\n\nUsually the RX_SETUP only handles and filters incoming traffic with one\nexception: When the RX_RTR_FRAME flag is set a predefined CAN frame is\nsent when a specific RTR frame is received. Therefore the rx bcm_op uses\nbcm_can_tx() which uses the bcm_tx_lock that was only initialized in\nbcm_tx_setup(). Add the missing spin_lock_init() when allocating the\nbcm_op in bcm_rx_setup() to handle the RTR case properly.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncan: bcm: corregir el bloqueo para las actualizaciones en tiempo de ejecución de bcm_op\n\nEl commit c2aba69d0c36 ('can: bcm: añadir bloqueo para las actualizaciones en tiempo de ejecución de bcm_op') añadió un bloqueo para algunas variables que pueden ser modificadas en tiempo de ejecución al actualizar el bcm_op de envío con un nuevo comando TX_SETUP en bcm_tx_setup().\n\nNormalmente, el RX_SETUP solo maneja y filtra el tráfico entrante con una excepción: Cuando la bandera RX_RTR_FRAME está establecida, se envía una trama CAN predefinida cuando se recibe una trama RTR específica. Por lo tanto, el bcm_op de rx usa bcm_can_tx() que usa el bcm_tx_lock que solo fue inicializado en bcm_tx_setup(). Añadir el spin_lock_init() faltante al asignar el bcm_op en bcm_rx_setup() para manejar el caso RTR correctamente.","source":"nvd"}],"published":"2026-03-25T10:27:45.476Z","modified":"2026-06-17T10:21:25.897Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"7595de7bc56e0e52b74e56c90f7e247bf626d628","fixed":"0904037e713f787d1376e1d349c3bdf6c3105881","status":"affected"},{"type":"git","introduced":"fbd8fdc2b218e979cfe422b139b8f74c12419d1f","fixed":"c85b96eaf766d8f066b1139a17a51efa2f6627ef","status":"affected"},{"type":"git","introduced":"2a437b86ac5a9893c902f30ef66815bf13587bf6","fixed":"800f26f11ae37b17f58e0001f28a47dd75c26557","status":"affected"},{"type":"git","introduced":"76c84c3728178b2d38d5604e399dfe8b0752645e","fixed":"70e951afad4c025261fe3c952d2b07237e320a01","status":"affected"},{"type":"git","introduced":"cc55dd28c20a6611e30596019b3b2f636819a4c0","fixed":"8bcf2d847adb82b2c617456f6da17ac5e6c75285","status":"affected"},{"type":"git","introduced":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","fixed":"8215ba7bc99e84e66fd6938874ec4330a9d96518","status":"affected"},{"type":"git","introduced":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","fixed":"f0c349b2c21b220af5ba19f29b885e222958d796","status":"affected"},{"type":"git","introduced":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","fixed":"c35636e91e392e1540949bbc67932167cb48bc3a","status":"affected"},{"type":"git","version":"8f1c022541bf5a923c8d6fa483112c15250f30a4","status":"affected"},{"type":"git","version":"c4e8a172501e677ebd8ea9d9161d97dc4df56fbd","status":"affected"},{"type":"semver","introduced":"5.10.238","fixed":"5.10.253","status":"affected"},{"type":"semver","introduced":"5.15.185","fixed":"5.15.203","status":"affected"},{"type":"semver","introduced":"6.1.141","fixed":"6.1.167","status":"affected"},{"type":"semver","introduced":"6.6.93","fixed":"6.6.130","status":"affected"},{"type":"semver","introduced":"6.12.31","fixed":"6.12.77","status":"affected"},{"type":"semver","introduced":"5.4.294","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.14.9","fixed":"6.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.77","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.17","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.7","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.294","fixed":"5.5"},{"status":"affected","introduced":"5.10.238","fixed":"5.10.253"},{"status":"affected","introduced":"5.15.185","fixed":"5.15.203"},{"status":"affected","introduced":"6.1.141","fixed":"6.1.167"},{"status":"affected","introduced":"6.6.93","fixed":"6.6.130"},{"status":"affected","introduced":"6.12.31","fixed":"6.12.77"},{"status":"affected","introduced":"6.14.9","fixed":"6.15"},{"status":"affected","introduced":"6.15.1","fixed":"6.18.17"},{"status":"affected","introduced":"6.19","fixed":"6.19.7"},{"status":"affected","version":"6.15"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0904037e713f787d1376e1d349c3bdf6c3105881","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c85b96eaf766d8f066b1139a17a51efa2f6627ef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/800f26f11ae37b17f58e0001f28a47dd75c26557","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70e951afad4c025261fe3c952d2b07237e320a01","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bcf2d847adb82b2c617456f6da17ac5e6c75285","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8215ba7bc99e84e66fd6938874ec4330a9d96518","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0c349b2c21b220af5ba19f29b885e222958d796","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c35636e91e392e1540949bbc67932167cb48bc3a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23362","url":"https://www.cve.org/CVERecord?id=CVE-2026-23362","licence":"CVE Terms of Use","modified":"2026-05-23T16:04:37.669Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23362","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23362","licence":"Public domain","modified":"2026-06-17T10:21:25.897Z"}],"updatedAt":"2026-11-25T22:59:16.692Z","epss":{"score":0.00143,"percentile":0.01822,"date":"2026-11-29T12:00:22.000Z"}}