CVE-2026-23412
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23412 is a use-after-free (UaF) vulnerability in the Linux kernel's netfilter BPF hook implementation. It occurs when a concurrent process dumps hooks via nfnetlink_hooks while hook memory is being released before RCU (Read-Copy-Update) readers have completed, resulting in a slab-use-after-free condition. The vulnerability was disclosed on April 2, 2026, and affects Linux kernel versions from 6.4 through multiple stable branches up to 6.19.x and 7.0 release candidates. It carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is classified as CWE-416 (Use After Free): the netfilter BPF hook subsystem releases hook memory without waiting for concurrent RCU readers to finish, allowing a racing nfnetlink_hooks dump operation to access freed memory. The bug was reported by researcher Yiming Qian, who demonstrated a KASAN-detected slab-use-after-free at nfnl_hook_dump_one.isra.0+0xe71/0x10f0 triggered by a PoC process. The fix defers memory release until all RCU readers have completed, using standard kernel RCU synchronization primitives. Exploitation requires local access with low privileges and the ability to trigger concurrent netlink hook enumeration (GitHub Advisory, Kernel Patch).

Impact

Successful exploitation can result in kernel memory disclosure (confidentiality impact), memory corruption (integrity impact), or kernel panic causing denial of service (availability impact). A local attacker with low privileges who can interact with nfnetlink may leverage the use-after-free condition to read sensitive kernel memory contents or potentially escalate privileges to root. All three CIA pillars are rated High in the CVSS assessment, reflecting the severity of kernel-level compromise (Feedly, GitHub Advisory).

Exploitation steps

  1. Gain local access: Obtain a low-privileged local account on a vulnerable Linux system running kernel versions 6.4–6.6.x (before 6.6.130), 6.7–6.12.x (before 6.12.78), 6.13–6.18.x (before 6.18.20), 6.19.x (before 6.19.10), or 7.0-rc1 through 7.0-rc6.
  2. Identify nfnetlink access: Confirm that the user has access to netlink sockets and can interact with the NFNL_SUBSYS_HOOK subsystem (typically available to unprivileged users with CAP_NET_ADMIN or in user namespaces depending on kernel configuration).
  3. Trigger concurrent hook dump: Spawn a process that continuously calls nfnl_hook_get to enumerate netfilter BPF hooks via nfnetlink_hooks, while simultaneously triggering hook teardown/removal in another thread or process.
  4. Race condition exploitation: The racing teardown frees hook memory while the dump operation is still reading it, causing a use-after-free. Depending on heap layout and timing, this can result in reading freed kernel memory (information disclosure), corrupting kernel heap structures (memory corruption), or crashing the kernel (DoS).
  5. Leverage for privilege escalation: With controlled memory corruption, an attacker may overwrite kernel function pointers or security-sensitive structures to escalate to root privileges (GitHub Advisory, Feedly).

Indicators of compromise

  • Logs: KASAN reports in kernel logs (dmesg) containing BUG: KASAN: slab-use-after-free in nfnl_hook_dump_one.isra.0 with stack traces referencing netlink_dump and nfnl_hook_get.
  • Logs: Kernel oops or panic messages referencing nfnl_hook_dump_one, netlink_dump, or nfnl_hook_get in /var/log/kern.log or journalctl -k.
  • Process: Unusual processes repeatedly opening netlink sockets (NETLINK_NETFILTER family) and issuing NFNL_SUBSYS_HOOK queries in rapid succession.
  • Network: High-frequency netlink socket activity from low-privileged processes, observable via ss -xp or strace on suspicious processes.

Mitigation and workarounds

Apply the upstream kernel patches available for the following stable branches: upgrade to 6.6.130 or later (for 6.4.1–6.6.x), 6.12.78 or later (for 6.7–6.12.x), 6.18.20 or later (for 6.13–6.18.x), 6.19.10 or later (for 6.19.x), or 7.0-rc7 or later. Patch commits are available at git.kernel.org (hashes: 24f90fa3, 54244d54, c25e0dec, cb2bf5ef, d016c216). As a temporary workaround, restrict nfnetlink access to trusted users by limiting CAP_NET_ADMIN capabilities or disabling user namespaces where not required. SUSE and Amazon Linux 2023 have issued distribution-specific advisories with updated kernel packages (GitHub Advisory, SUSE Advisory, Amazon Linux).

Community reactions

SUSE issued security updates (SUSE-SU-2026:2217-1 and SUSE-SU-2026:2238-1) addressing this vulnerability among other kernel issues. Amazon Linux 2023 published advisory ALAS2023-2026-1594. The Yocto Project security mailing list also tracked the issue across multiple messages. No notable independent researcher commentary or significant social media discussion has been identified beyond standard vulnerability tracking and distribution advisories (SUSE Advisory, Amazon Linux).

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-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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