CVE-2025-21760·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.13.4
- Published
- 2025-02-27
Affected versions
From: 6.13
Until: 6.13.4
Fixed in: 6.13.4
How to fix this CVE
Update your Linux kernel to version 6.13.4 or later to resolve a use-after-free vulnerability in the NDISC (Neighbor Discovery) subsystem. This vulnerability could allow a local attacker with limited privileges to cause a kernel crash or potentially execute arbitrary code. Apply the kernel update through your distribution's package manager and reboot your system to complete the remediation.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version by running: uname -r
- Verify if you are running a vulnerable version (6.13.0 through 6.13.3) by comparing against the output above
- Inspect kernel logs for NDISC-related crashes: sudo dmesg | grep -i 'ndisc\|use.after.free\|uaf'
- After patching, confirm the kernel version has been updated to 6.13.4 or later and verify the system has rebooted: uname -r
FAQ
What is CVE-2025-21760?
CVE-2025-21760 is a use-after-free vulnerability in the Linux kernel's NDISC (Neighbor Discovery) protocol handler. The flaw occurs when the ndisc_send_skb() function is called without proper RCU (Read-Copy-Update) synchronization, allowing a local attacker to trigger a memory access violation.
Is CVE-2025-21760 being actively exploited?
No, CVE-2025-21760 is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and there are no publicly available exploits at this time. However, the vulnerability's local attack vector and high severity score warrant prompt patching.
What versions of Kernel are affected by CVE-2025-21760?
Linux kernel versions 6.13.0 through 6.13.3 are affected. The vulnerability was fixed in kernel version 6.13.4 and later.
How do I check if my server is vulnerable to CVE-2025-21760?
Run 'uname -r' and check if your kernel version falls within the 6.13.0 to 6.13.3 range. If it does, your system requires immediate patching.
Does Defensia detect CVE-2025-21760?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2025-21760 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/04e05112f10354ffc3bb6cc796d553bab161594c
- https://git.kernel.org/stable/c/10a1f3fece2f0d23a3a618b72b2b4e6f408ef7d1
- https://git.kernel.org/stable/c/4d576202b90b1b95a7c428a80b536f91b8201bcc
- https://git.kernel.org/stable/c/789230e5a8c1097301afc802e242c79bc8835c67
- https://git.kernel.org/stable/c/a9319d800b5701e7f5e3fa71a5b7c4831fc20d6d
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-21760. Free for 1 server.
Get started free