CVE-2025-21760 ndisc: extend RCU protection in ndisc_send_skb()
A use-after-free vulnerability in the Linux kernel's ndisc module allows attackers to potentially execute code or escalate privileges due to missing RCU protection.
- 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-21760?
CVE-2025-21760 is a high-severity use after free 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:
ndisc: extend RCU protection in ndisc_send_skb()
ndisc_send_skb() can be called without RTNL or RCU held.
Acquire rcu_read_lock() earlier, so that we can use dev_net_rcu() and avoid a potential UAF.
Weakness: CWE-416
Which versions are affected by CVE-2025-21760?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21760?
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-21760 being exploited?
There is no known exploitation of CVE-2025-21760 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-58962, AZL-59085, BELL-CVE-2025-21760, DEBIAN-CVE-2025-21760, GHSA-wm97-xp23-f4x4, ROOT-OS-UBUNTU-2404-CVE-2025-21760 and 1 more.