2084AI Security Observatory

CVE

CVE-2025-38004

CVE-2025-38004HIGH 7.1EPSS 20%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • 6.15-rc7This version only
  • 6.15-rc6This version only
  • 6.15-rc5This version only
  • 6.15-rc4This version only
  • 6.15-rc3This version only
  • 6.15-rc2This version only
  • 6.15-rc1This version only
  • ≥ 6.13, < 6.14.9Fixed in 6.14.9
  • ≥ 6.7, < 6.12.31Fixed in 6.12.31
  • ≥ 6.2, < 6.6.93Fixed in 6.6.93
  • ≥ 5.16, < 6.1.141Fixed in 6.1.141
  • ≥ 5.11, < 5.15.185Fixed in 5.15.185
  • ≥ 5.5, < 5.10.238Fixed in 5.10.238
  • ≥ 2.6.25, < 5.4.294Fixed in 5.4.294

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.