Linux kernel use-after-free flaws enable local privilege escalation to root
Attack Tradecraft · 8 sources · Updated 5mo ago · First seen Jun 1, 2026

Two Linux kernel use-after-free vulnerabilities were disclosed in packet-filtering components, exposing systems to local privilege escalation. CVE-2026-23111 affects the nftables subsystem and stems from an inverted conditional in nft_map_catchall_activate() that mishandles catchall elements during transaction aborts, leaving a dangling chain reference. A public technical write-up and working exploit showed the bug can achieve root privileges with high reliability on Debian Bookworm, Debian Trixie, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS by corrupting chain reference counts, bypassing KASLR, leaking heap addresses, hijacking control flow with a fake nft_expr_ops structure, and executing a ROP chain that calls commit_creds(&init_cred). The exploit also uses switch_task_namespaces() to break out of namespaces and containers.
A separate flaw, CVE-2026-23412, affects the Linux kernel’s BPF netfilter link implementation in nf_bpf_link.c, where synchronous deallocation of bpf_nf_link_lops allowed concurrent nfnetlink hook enumeration to access freed memory during BPF link destruction. Researchers reproduced KASAN slab-use-after-free crashes in nfnl_hook_dump_one on kernel 6.14.0 and said the bug could be exploited through heap spraying and function-pointer hijacking in the kmalloc-192 slab cache. The issue was introduced in 6.4-rc1 and fixed in 7.0-rc5 by commit 24f90fa3994b, which switches to RCU-deferred freeing, while the nftables bug was patched upstream by commit f41c5d1; administrators were urged to deploy patched kernels promptly.
Why it matters
Impact assessment
CVE-2026-23111 materially affects Linux systems that expose nf_tables to unprivileged local users, especially hosts with unprivileged user namespaces enabled and containerized or multi-user environments. The impact is severe because a low-privilege user can reliably escalate to root and, in demonstrated exploit chains, escape namespaces and containers to the host.
Public exploit code is available and exploitation was reproduced on Debian Bookworm, Debian Trixie, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, RHEL 10, and other distributions shipping vulnerable mainline-derived kernels. There is no confirmed in-the-wild exploitation in the provided reporting, but the exposure is broad because the vulnerable configuration is common on desktops and many servers.
CVE-2026-23412 is narrower in scope but still important for Linux environments using BPF netfilter links. Its impact is local-only and requires CAP_BPF and CAP_NET_ADMIN, reducing exposure compared with CVE-2026-23111, but successful exploitation could still enable kernel memory corruption and privilege escalation.
Affected populations and products
- Linux kernel nf_tables / nftables subsystem: CVE-2026-23111
- Linux kernel BPF netfilter link implementation in net/netfilter/nf_bpf_link.c: CVE-2026-23412
- Confirmed vulnerable test targets for CVE-2026-23111:
- Debian Bookworm
- Debian Trixie
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- RHEL 10
- Potentially affected vendors tracking or fixing CVE-2026-23111:
- Ubuntu
- Debian
- Red Hat
- SUSE
- Amazon Linux
Severity and business effect
- CVE-2026-23111: local privilege escalation to root with public working exploits; container escape demonstrated.
- Likely consequences:
- Full host compromise after initial foothold
- Container-to-host breakout
- Security control bypass, including SELinux disablement in one public exploit path
- Operational disruption and high incident response cost if exploited post-compromise
- CVE-2026-23412: high-severity local kernel race condition with exploitability claims, but requires elevated capabilities and has a smaller exposed population.
Scope and exploitation status
- CVE-2026-23111 exposure is widespread where CONFIG_NF_TABLES and CONFIG_USER_NS are enabled.
- CVE-2026-23412 exposure is more targeted to systems using the affected BPF netfilter link functionality.
- Known exploitation in the wild: none reported for either issue in the provided sources.
- Public exploit availability:
- CVE-2026-23111: yes, multiple public PoCs and working exploits
- CVE-2026-23412: technical exploitability discussion published; no in-the-wild activity reported


