Skip to main content
CVE-2025-38004VulnerabilityPublished

CVE-2025-38004: Linux · Vulnerability

Affects LinuxSource CVE Database V5

0

Not known to be exploited.

Data as of 25 Oct 2026, 19:02 UTC

Severity
High

Rated High by the CNA (Linux) · No CVSS score from NVD or the CNA

EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

AI-suggested

Organizations should immediately apply the official Linux kernel patches that introduce spin_lock_bh protection in the bcm_can_tx() function and move the 'count' variable into the protected critical section. For embedded and automotive Linux systems, kernel updates should be tested and deployed promptly. Where immediate patching is not feasible, organizations should restrict unprivileged user access to CAN BCM interfaces to prevent exploitation from user space. Implementing strict access controls and monitoring for unusual CAN bus activity can help detect attempts to exploit this race condition. Additionally, enabling kernel hardening features such as KASAN in development environments can assist in early detection of memory corruption issues. Vendors and integrators should review their CAN BCM usage and consider additional synchronization mechanisms if custom modifications exist. Finally, continuous monitoring of Linux kernel advisories and rapid deployment of security updates is critical to mitigate emerging risks.

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.

References

Community reviews

Loading reviews…