Skip to main content
Mallory
← Back to News
privilege-escalation-techniqueprivilege-escalation-methodproof-of-concept-releasewidely-deployed-product-advisory

Linux kernel use-after-free flaws enable local privilege escalation to root

Attack Tradecraft · 8 sources · Updated 5mo ago · First seen Jun 1, 2026

Linux kernel use-after-free flaws enable local privilege escalation to root

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
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · Feb 5, 2026 – Jun 9, 2026
  1. Jun 9, 20266mo ago

    RHEL 10 confirmed vulnerable to CVE-2026-23111

    The new report states that testing confirmed CVE-2026-23111 affects RHEL 10 in addition to previously reported Debian Bookworm, Debian Trixie, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS systems. The article also notes Ubuntu and Debian have issued patches while other vendors are tracking the flaw.

    CVE-2026-23111: One Bad Character Gives Attackers Linux Root | The CyberSec Guru
  2. Jun 8, 20266mo ago

    FuzzingLabs publishes CVE-2026-23111 exploit reproduction

    The reference states that FuzzingLabs published a reproduction of the CVE-2026-23111 exploit in April 2026, making exploit details publicly available before the later June 8 technical walkthrough by Exodus Intelligence. This represents an earlier public technical disclosure related to the flaw.

    One-Character Linux Kernel Flaw Enables Local Root Access, Exploits Now Public
  3. Jun 8, 20266mo ago

    Public technical write-up and exploit disclosed for CVE-2026-23111

    CVE-2026-23111 was publicly disclosed with a technical write-up and working exploit demonstrating root privilege escalation and namespace breakout. The disclosure reported impact on Debian Bookworm, Debian Trixie, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS.

    New Linux Kernel Vulnerability Lets Attackers Escalate Privileges to Root - Cyber Security News
  4. Jun 8, 20266mo ago

    CVE-2026-23111 discovered in Linux kernel nftables

    Oliver Sieber of Exodus Intelligence discovered a local privilege escalation vulnerability in the Linux kernel nftables subsystem in early 2025. The bug is a use-after-free tied to mishandling of catchall elements during transaction aborts.

    New Linux Kernel Vulnerability Lets Attackers Escalate Privileges to Root - Cyber Security News
  5. May 18, 20266mo ago

    Aretiq AI publishes analysis of CVE-2026-23412

    Aretiq AI published research describing CVE-2026-23412 as a Linux kernel local privilege escalation vulnerability affecting the BPF netfilter link implementation. The write-up said the issue was reproducible on kernel 6.14.0 and exploitable via heap spraying and function pointer hijacking.

    CVE-2026-23412 - Linux Kernel Netfilter BPF Hook Use-After-Free LPE | Aretiq AI
  6. May 18, 20266mo ago

    Linux kernel 7.0-rc5 fixes CVE-2026-23412

    A use-after-free flaw in the Linux kernel's BPF netfilter link implementation, tracked as CVE-2026-23412, was fixed in kernel 7.0-rc5 by commit 24f90fa3994b. The change deferred freeing with RCU to prevent concurrent hook enumeration from accessing freed memory.

    CVE-2026-23412 - Linux Kernel Netfilter BPF Hook Use-After-Free LPE | Aretiq AI
  7. Feb 5, 202610mo ago

    Upstream patch released for CVE-2026-23111

    The Linux kernel upstream patched CVE-2026-23111 on 2026-02-05. The fix is identified as commit f41c5d1, and administrators were advised to deploy patched kernels.

    New Linux Kernel Vulnerability Lets Attackers Escalate Privileges to Root - Cyber Security News
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.