VDB

CVE-2025-38004

CVE-2025-38004 PUBLISHED CVSS 7.3 HIGH

can: bcm: add locking for bcm_op runtime updates

Reported by linux · Published June 8, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-debuginfoerrata.rockylinux.org5.14.0-687.45.1.el9
perferrata.rockylinux.org5.14.0-687.45.1.el9
rverrata.rockylinux.org5.14.0-687.45.1.el9
kernel-tools-debuginfoerrata.rockylinux.org5.14.0-687.45.1.el9
kernel-coreerrata.rockylinux.org5.14.0-687.45.1.el9
kernel-modules-extra-matchederrata.rockylinux.org6.12.0-211.52.1.el10
kernel-rt-debug-debuginfoerrata.rockylinux.org5.14.0-687.45.1.el9
kernel-rt-64k-debug-debuginfoerrata.rockylinux.org6.12.0-211.52.1.el10, 5.14.0-687.45.1.el9
kernel-docerrata.rockylinux.org6.12.0-211.52.1.el10, 5.14.0-687.45.1.el9
kernel-zfcpdump-modules-extraerrata.rockylinux.org5.14.0-687.45.1.el9
kernel-devel-matchederrata.rockylinux.org6.12.0-211.52.1.el10
kernel-64k-debug-modules-coreerrata.rockylinux.org5.14.0-687.45.1.el9

39 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Affected products

VendorProductVersions
LinuxLinuxffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828
LinuxLinux2.6.25, 0, 5.4.294
amazon:2023kernel-livepatch-6.1.141-155.2220
LinuxLinux6.12.31, *, *
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023python3-perf6.120
amazon:2023perf0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.12.31-35.920
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0
amazon:2023perf6.120
amazon:2023kernel-headers0
linuxlinux_kernel2.6.25, 2.6.25, 2.6.25
amazon:2023kernel-devel0
amazon:2023bpftool0

…and 3 more

Timeline

  • Jun 8, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 8, 2025 CVE Published
  • Oct 12, 2025 PoC Published (24 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (187 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (205 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38004
vulnetix vdb fixes CVE-2025-38004

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38004/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›