CVE-2025-21766 ipv4: use RCU protection in __ip_rt_update_pmtu()

High 8.1 Published Updated

A race condition in the Linux kernel IPv4 routing code can lead to a use-after-free, potentially causing 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-21766?

CVE-2025-21766 is a high-severity vulnerability in Linux kernel, published on 27 Feb 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:

ipv4: use RCU protection in __ip_rt_update_pmtu()

__ip_rt_update_pmtu() must use RCU protection to make sure the net structure it reads does not disappear.

Which versions are affected by CVE-2025-21766?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-21766?

Apply the vendor's patch.

Is CVE-2025-21766 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-21766, DEBIAN-CVE-2025-21766, GHSA-7r26-6h4q-5x56, ROOT-OS-DEBIAN-11-CVE-2025-21766, ROOT-OS-UBUNTU-2404-CVE-2025-21766, UBUNTU-CVE-2025-21766.

Is CVE-2025-21766 in your software?

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

Check your SBOMs for free