cbcvebase.
CVE-2025-38004
published 2025-06-08

CVE-2025-38004: In the Linux kernel, the following vulnerability has been resolved: can: bcm: add locking for bcm_op runtime updates The CAN broadcast manager (CAN BCM) can…

high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
In the Linux kernel, the following vulnerability has been resolved: can: bcm: add locking for bcm_op runtime updates The CAN broadcast manager (CAN BCM) can send a sequence of CAN frames via hrtimer. The content and also the length of the sequence can be changed resp reduced at runtime where the 'currframe' counter is then set to zero. Although this appeared to be a safe operation the updates of 'currframe' can be triggered from user space and hrtimer context in bcm_can_tx(). Anderson Nascimento created a proof of concept that triggered a KASAN slab-out-of-bounds read access which can be prevented with a spin_lock_bh. At the rework of bcm_can_tx() the 'count' variable has been moved into the protected section as this variable can be modified from both contexts too.

Affected

37 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
debianlinux-6.1< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
linuxlinux
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < 8f1c022541bf5a923c8d6fa483112c15250f30a48f1c022541bf5a923c8d6fa483112c15250f30a4
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < 7595de7bc56e0e52b74e56c90f7e247bf626d6287595de7bc56e0e52b74e56c90f7e247bf626d628
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < fbd8fdc2b218e979cfe422b139b8f74c12419d1ffbd8fdc2b218e979cfe422b139b8f74c12419d1f
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < 2a437b86ac5a9893c902f30ef66815bf13587bf62a437b86ac5a9893c902f30ef66815bf13587bf6
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < 76c84c3728178b2d38d5604e399dfe8b0752645e76c84c3728178b2d38d5604e399dfe8b0752645e
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < cc55dd28c20a6611e30596019b3b2f636819a4c0cc55dd28c20a6611e30596019b3b2f636819a4c0
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < c4e8a172501e677ebd8ea9d9161d97dc4df56fbdc4e8a172501e677ebd8ea9d9161d97dc4df56fbd
linuxlinux>= ffd980f976e7fd666c2e61bf8ab35107efd11828 < c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.147-16.1.147-1
linuxlinux_kernel>= 0 < 6.12.32-16.12.32-1
linuxlinux_kernel>= 0 < 6.12.32-16.12.32-1
linuxlinux_kernel>= 0 < 5.15.0-152.1625.15.0-152.162
linuxlinux_kernel>= 0 < 6.8.0-100.1006.8.0-100.100
linuxlinux_kernel>= 2.6.25 < 5.4.2945.4.294
linuxlinux_kernel>= 5.11 < 5.15.1855.15.185
linuxlinux_kernel>= 5.16 < 6.1.1416.1.141
linuxlinux_kernel>= 5.5 < 5.10.2385.10.238
linuxlinux_kernel>= 6.13 < 6.14.96.14.9
linuxlinux_kernel>= 6.2 < 6.6.936.6.93

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH