CVE-2025-38004
Last modified
CVE-2025-38004 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.25, < 5.4.294 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.238 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.185 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.141 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.93 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.31 | — |
| Linux | Linux Kernel | >= 6.13, < 6.14.9 | — |
| Linux | Linux Kernel | 6.15 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38004?
How severe is CVE-2025-38004?
How do I fix CVE-2025-38004?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-37999In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3800A vulnerability has been found in WCMS 11 and classified as …9.8
- CVE-2025-38000In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38001In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38002In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38003In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38005In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38006In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38007In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38008In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38009In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3801A vulnerability was found in songquanpeng one-api up to 0.6.…4.8
Are you affected by CVE-2025-38004?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
