CVE-2025-38004 Details
Description
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.
A vulnerability in the Linux kernel's CAN broadcast manager (CAN BCM) has been addressed. The issue arose because CAN BCM can send a sequence of CAN frames via hrtimer, with the content and length of the sequence adjustable at runtime. This dynamic modification, although initially thought to be safe, allowed user space to trigger updates to the 'currframe' counter, resetting it to zero. Exploitation could lead to a KASAN slab-out-of-bounds read access. The vulnerability has been mitigated by adding a spin lock to protect the 'count' variable, which can be altered from both user space and hrtimer context.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2a437b86ac5a9893c902f30ef66815bf13587bf6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7595de7bc56e0e52b74e56c90f7e247bf626d628 | kernel.org | Patch |
| https://git.kernel.org/stable/c/76c84c3728178b2d38d5604e399dfe8b0752645e | kernel.org | Patch |
| https://git.kernel.org/stable/c/8f1c022541bf5a923c8d6fa483112c15250f30a4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4e8a172501e677ebd8ea9d9161d97dc4df56fbd | kernel.org | Patch |
| https://git.kernel.org/stable/c/cc55dd28c20a6611e30596019b3b2f636819a4c0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fbd8fdc2b218e979cfe422b139b8f74c12419d1f | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.25, < 5.4.294 >= 5.5, < 5.10.238 >= 5.11, < 5.15.185 >= 5.16, < 6.1.141 >= 6.2, < 6.6.93 >= 6.7, < 6.12.31 >= 6.13, < 6.14.9 6.15 rc1 6.15 rc2 6.15 rc3 6.15 rc4 6.15 rc5 6.15 rc6 6.15 rc7 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 17, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jun 8, 2025 | New CVE Received | kernel.org |