Wiz Agents & Workflows are here

CVE-2025-21764
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21764 affects the Linux kernel's ndisc (Neighbor Discovery) subsystem. The vulnerability was discovered in the ndisc_alloc_skb() function, which could be called without proper RCU (Read-Copy-Update) or RTNL (Routing Netlink) protection, potentially leading to a Use-After-Free (UAF) condition. The issue was identified and disclosed on December 29, 2024, and affects various Linux kernel versions (CVE Details).

Technical details

The vulnerability exists in the ndisc_alloc_skb() function within the Linux kernel's IPv6 Neighbor Discovery implementation. The function lacked proper RCU protection when accessing network device structures, which could lead to a Use-After-Free condition. The issue stems from direct access to the network device's socket structure without proper synchronization mechanisms. The fix involves adding RCU read-lock protection around the socket owner assignment operation (Kernel Commit).

Impact

The vulnerability could potentially lead to Use-After-Free conditions in the Linux kernel's networking stack, specifically in the IPv6 Neighbor Discovery protocol implementation. This could result in memory corruption, system crashes, or potential privilege escalation in the worst case (Debian Tracker).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions through a patch that adds proper RCU protection. The fix involves wrapping the socket owner assignment with rcu_read_lock() and rcu_read_unlock() calls. Users are advised to upgrade to patched kernel versions. For Debian systems, fixed versions are available in bookworm (6.1.129-1) and sid/trixie (6.12.17-1) (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules-core
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management