CVE-2025-38003 can: bcm: add missing rcu read protection for procfs content

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel CAN BCM module allows attackers to cause denial of service or potentially execute code via procfs access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38003?

CVE-2025-38003 is a high-severity use after free vulnerability in Debian Debian Linux, published on 8 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2025-38003?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38003?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-38003 being exploited?

There is no known exploitation of CVE-2025-38003 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-63699, BELL-CVE-2025-38003, DEBIAN-CVE-2025-38003, GHSA-w495-f5mg-799h, ROOT-OS-DEBIAN-11-CVE-2025-38003, ROOT-OS-DEBIAN-12-CVE-2025-38003 and 3 more.

Is CVE-2025-38003 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free