CVE-2026-23111
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23111 is a use-after-free (UAF) vulnerability in the Linux kernel's netfilter nf_tables subsystem, specifically in the nft_map_catchall_activate() function, caused by an inverted genmask check (a single ! character logic error). This flaw allows a local attacker with low privileges to escalate privileges to root. It was published on February 13, 2026, and affects multiple stable kernel branches including 5.4.x, 5.10.x, 5.15.x, 6.1.x, 6.4.x, 6.6.x, 6.12.x, 6.13.x through 6.18.x, and 6.19 release candidates. The vulnerability carries a CVSS v3.1 base score of 7.8 (High) (Feedly, Exodus Intel Blog).

Technical details

The root cause is an inverted activity check in nft_map_catchall_activate() (CWE-416: Use After Free). The function is called from the transaction abort path to re-activate catchall map elements that were deactivated during a failed transaction. Due to the inverted !nft_set_elem_active() condition, the function skips inactive elements (which need re-activation) and processes active ones instead — the opposite of the correct behavior seen in the non-catchall counterpart nft_mapelem_activate(). When a DELSET operation is aborted, nft_setelem_data_activate() is never called for the catchall element, meaning nft_data_hold() is never invoked to restore the chain->use reference count for NFT_GOTO verdict elements. Each abort cycle permanently decrements chain->use, eventually causing a reference count underflow that leads to a use-after-free condition exploitable for privilege escalation (Feedly, Exodus Intel Blog).

Impact

Successful exploitation allows a local user with low privileges (sufficient to create and manage nftables rules) to escalate to root on the affected system. The use-after-free condition resulting from the reference count underflow can be leveraged to achieve full kernel-level code execution, granting complete control over the host including confidentiality, integrity, and availability impacts. In containerized environments, this vulnerability may also enable container breakout, significantly expanding the blast radius to the underlying host and other co-located workloads (Feedly, The Hacker News, Security Affairs).

Exploitation steps

  1. Prerequisite check: Confirm the target runs a vulnerable Linux kernel version (e.g., 6.1.x < 6.1.163, 6.6.x < 6.6.124, 6.12.x < 6.12.70, 6.13.x < 6.18.10) with nftables support enabled and that the attacker has a local low-privilege account with access to create nftables rules (e.g., via CAP_NET_ADMIN in a user namespace, which is often available by default on Ubuntu and similar distributions).
  2. Set up nftables structures: Create an nftables table, chain (using NFT_GOTO verdict), and a set with a catchall map element pointing to the chain, using standard nft CLI commands or raw netlink sockets.
  3. Trigger repeated DELSET aborts: Initiate a DELSET transaction to delete the set, then cause the transaction to abort (e.g., by including an invalid operation in the same batch). Each abort cycle incorrectly processes the active catchall element instead of the inactive one, permanently decrementing chain->use without calling nft_data_hold().
  4. Cause reference count underflow: Repeat the abort cycle until chain->use underflows to zero or a negative value, triggering the use-after-free condition in kernel memory.
  5. Exploit UAF for privilege escalation: Use heap spray or other kernel exploitation techniques to control the freed memory region and overwrite kernel structures (e.g., cred struct) to elevate the process to UID 0 (root), achieving full privilege escalation (Exodus Intel Blog, The Hacker News).

Indicators of compromise

  • Logs: Kernel ring buffer (dmesg) entries showing use-after-free warnings, KASAN/KFENCE reports, or general protection faults originating from nft_map_catchall_activate() or related netfilter code paths; repeated netlink audit log entries for nftables DELSET operations followed by aborts from the same process.
  • Process: Unexpected privilege escalation of a low-privilege process to UID 0; unusual processes spawned as root from non-root parent processes; processes accessing /proc/self/mem or /dev/mem as part of exploitation.
  • Network: Unusual nftables rule creation or deletion activity visible via nft list ruleset or netlink monitoring tools (e.g., nft monitor), particularly involving catchall map elements and goto verdicts.
  • File System: Presence of exploit binaries or scripts referencing CVE-2026-23111, nft_map_catchall_activate, or nftables UAF in temporary directories (/tmp, /dev/shm); new SUID binaries or modified /etc/passwd or /etc/sudoers files created after the suspicious activity (Exodus Intel Blog, Security Affairs).

Mitigation and workarounds

Apply the upstream kernel patches fixing the inverted genmask check in nft_map_catchall_activate(). Patched versions by branch are: 5.15.200, 6.1.163, 6.6.124, 6.12.70, 6.18.10, and 6.19-rc (post-fix). Kernel commits include 1444ff890b46, 42c574c1504a, 8b68a45f9722, 8c760ba4e36c, b9b6573421de, and f41c5d151078 (Feedly). Major distributions have released updates: Ubuntu (USN-8148-x series, USN-8159-1, USN-8162-1, USN-8188-1), Debian (DSA-6163-1, DLA-4499-1), Red Hat/RHEL (RHSA-2026:6570, RHSA-2026:9112, RHSA-2026:10108, RHSA-2026:10996, RHSA-2026:18134), SUSE, openSUSE, Oracle Linux, Rocky Linux, and Amazon Linux 2 (Red Hat Errata, Ubuntu Security). As a workaround where patching is not immediately possible, restrict unprivileged user namespaces (e.g., sysctl -w kernel.unprivileged_userns_clone=0 on supported distributions) to prevent low-privilege users from accessing nftables rule management.

Community reactions

The vulnerability attracted significant media and community attention after Exodus Intelligence published a working exploit on June 8, 2026, framing it as a "one-character" bug — a single inverted ! operator causing root-level compromise (Exodus Intel Blog, The Hacker News). Coverage appeared across major security outlets including The Hacker News, Security Affairs, GBHackers, TechRadar, Ars Technica, and Slashdot, with the story trending on Reddit communities such as r/SecOpsDaily and r/LinuxTeck (Security Affairs, TechRadar). The security community highlighted the irony that such a critical privilege escalation stemmed from a trivial logic inversion, with commentary on Mastodon and LinkedIn emphasizing the importance of thorough code review for kernel subsystems. Multiple distribution vendors (Red Hat, Ubuntu, Debian, SUSE) issued rapid advisories and patches, reflecting the high priority assigned to this flaw.

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