CVE-2025-38003
can: bcm: add missing rcu read protection for procfs content
Check your servers for CVE-2025-38003
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38003 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
can: bcm: add missing rcu read protection for procfs content
When the procfs content is generated for a bcm_op which is in the process to be removed the procfs output might show unreliable data (UAF).
As the removal of bcm_op's is already implemented with rcu handling this patch adds the missing rcu_read_lock() and makes sure the list entries are properly removed under rcu protection.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 24.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5b48f5711f1c630841ab78dcc061de902f0e37bf, before 19f553a1ddf260da6570ed8f8d91a8c87f49b63a affected from 85cd41070df992d3c0dfd828866fdd243d3b774a, before 659701c0b954ccdb4a916a4ad59bbc16e726d42c affected from f34f2a18e47b73e48f90a757e1f4aaa8c7d665a1, before 0622846db728a5332b917c797c733e202c4620ae affected from f1b4e32aca0811aa011c76e5d6cf2fa19224b386, before 6d7d458c41b98a5c1670cbd36f2923c37de51cf5 affected from f1b4e32aca0811aa011c76e5d6cf2fa19224b386, before 1f912f8484e9c4396378c39460bbea0af681f319 affected from f1b4e32aca0811aa011c76e5d6cf2fa19224b386, before 63567ecd99a24495208dc860d50fb17440043006 affected from f1b4e32aca0811aa011c76e5d6cf2fa19224b386, before 7c9db92d5f0eadca30884af75c53d601edc512ee affected from f1b4e32aca0811aa011c76e5d6cf2fa19224b386, before dac5e6249159ac255dad9781793dbe5908ac9ddb affected fbac09a3b8890003c0c55294c00709f3ae5501bb affected edb4baffb9483141a50fb7f7146cfe4a4c0c2db8 affected from 5.4.205, before 5.4.294 affected from 5.10.130, before 5.10.238 affected from 5.15.54, before 5.15.185 affected from 4.19.252, before 4.20 affected from 5.18.11, before 5.19
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 5.4.294 up to and including 5.4.* unaffected from 5.10.238 up to and including 5.10.* unaffected from 5.15.185 up to and including 5.15.* unaffected from 6.1.141 up to and including 6.1.* unaffected from 6.6.93 up to and including 6.6.* unaffected from 6.12.31 up to and including 6.12.* unaffected from 6.14.9 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38003 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38003
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38003
trivy image --scanners vuln IMAGE | grep CVE-2025-38003
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/19f553a1ddf260da6570ed8f8d91a8c87f49b63a git.kernel.org
- https://git.kernel.org/stable/c/659701c0b954ccdb4a916a4ad59bbc16e726d42c git.kernel.org
- https://git.kernel.org/stable/c/0622846db728a5332b917c797c733e202c4620ae git.kernel.org
- https://git.kernel.org/stable/c/6d7d458c41b98a5c1670cbd36f2923c37de51cf5 git.kernel.org
- https://git.kernel.org/stable/c/1f912f8484e9c4396378c39460bbea0af681f319 git.kernel.org
- https://git.kernel.org/stable/c/63567ecd99a24495208dc860d50fb17440043006 git.kernel.org
- https://git.kernel.org/stable/c/7c9db92d5f0eadca30884af75c53d601edc512ee git.kernel.org
- https://git.kernel.org/stable/c/dac5e6249159ac255dad9781793dbe5908ac9ddb git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38003 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse