CVE-2025-38180 net: atm: fix /proc/net/atm/lec handling

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's ATM LEC proc handler allows attackers to potentially execute code or escalate privileges.

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-38180?

CVE-2025-38180 is a high-severity use after free vulnerability in Debian Debian Linux, published on 4 Jul 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:

net: atm: fix /proc/net/atm/lec handling

/proc/net/atm/lec must ensure safety against dev_lec[] changes.

It appears it had dev_put() calls without prior dev_hold(), leading to imbalance and UAF.

Weakness: CWE-416

Which versions are affected by CVE-2025-38180?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38180?

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-38180 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-64743, BELL-CVE-2025-38180, DEBIAN-CVE-2025-38180, GHSA-qp5r-frvf-p8mw, ROOT-OS-DEBIAN-11-CVE-2025-38180, ROOT-OS-DEBIAN-12-CVE-2025-38180 and 3 more.

Is CVE-2025-38180 in your software?

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

Check your SBOMs for free