CVE-2025-22004 net: atm: fix use after free in lec_send()

High 8.6 Published Updated

A use-after-free vulnerability in the Linux kernel's ATM module allows attackers to potentially execute code or cause a system crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-22004?

CVE-2025-22004 is a high-severity use after free vulnerability in Linux kernel, published on 3 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

net: atm: fix use after free in lec_send()

The ->send() operation frees skb so save the length before calling ->send() to avoid a use after free.

Weakness: CWE-416

Which versions are affected by CVE-2025-22004?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-22004?

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

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-59629, AZL-59658, BELL-CVE-2025-22004, DEBIAN-CVE-2025-22004, GHSA-fmvx-5hvp-q7fh, ROOT-OS-UBUNTU-2404-CVE-2025-22004 and 1 more.

Is CVE-2025-22004 in your software?

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

Check your SBOMs for free