CVE-2026-23231: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23231 is a use-after-free vulnerability in the Linux kernel's netfilter nf_tables subsystem, specifically within the nf_tables_addchain() function. It affects Linux kernel versions 3.16 through 6.1.164, 6.2 through 6.6.127, 6.7 through 6.12.74, 6.13 through 6.18.13, and 6.19 through 6.19.3, as well as Microsoft's Azure Linux kernel version azl3_kernel_6.6.126.1-1. The vulnerability was published on March 4, 2026, with patches released on March 17, 2026. It carries a CVSS v3.1 base score of 7.8 (High) (Microsoft MSRC, Feedly).

Technical details

The root cause is a missing RCU (Read-Copy-Update) grace period in the error path of nf_tables_addchain() (CWE-416: Use After Free). The function publishes a new chain to table->chains via list_add_tail_rcu() before hook registration is complete; if nf_tables_register_hook() subsequently fails, the error path calls nft_chain_del() (list_del_rcu()) followed immediately by nf_tables_chain_destroy() without waiting for existing RCU readers to finish. This creates two distinct use-after-free conditions: (1) a control-plane race where nf_tables_dump_chains() traversing table->chains under rcu_read_lock() may dereference the freed chain, and (2) a packet-path race for NFPROTO_INET where a transiently installed IPv4 hook allows in-flight packets via nft_do_chain() to dereference chain->blob_gen_X after the chain is freed. The fix inserts synchronize_rcu() between nft_chain_del() and chain destruction (Feedly, git.kernel.org).

Impact

A local attacker with low privileges can exploit this vulnerability to corrupt kernel memory, potentially leading to kernel crashes (denial of service), privilege escalation, or exposure of sensitive kernel memory contents. The vulnerability affects both the control plane (chain dump operations) and the packet processing path, meaning exploitation could disrupt active network filtering and firewall rules managed by nf_tables. Given the high CVSS scores across confidentiality, integrity, and availability, successful exploitation could result in full system compromise on affected Linux hosts (Feedly, Microsoft MSRC).

Exploitability

A public exploit for CVE-2026-23231 was published on Exploit-DB (entry 52549) in late April/May 2026, and the vulnerability has been characterized as a local privilege escalation by threat intelligence sources (Exploit-DB, Offseq Radar). No confirmed in-the-wild exploitation or threat actor attribution has been reported as of the latest available data. The EPSS score is approximately 0.024% (0.000240), indicating a currently low probability of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires local access with low privileges, limiting the immediate attack surface compared to remote vulnerabilities (Feedly).

Exploitation steps

  1. Reconnaissance: Identify a target Linux system running a vulnerable kernel version (3.16–6.1.164, 6.2–6.6.127, 6.7–6.12.74, 6.13–6.18.13, or 6.19–6.19.3) with nf_tables enabled. Confirm kernel version with uname -r and check for nf_tables support via lsmod | grep nf_tables.
  2. Obtain local access: Gain a low-privileged shell on the target system (e.g., via SSH with a standard user account or exploitation of another vulnerability).
  3. Trigger the race condition: Craft a sequence of netlink messages to the kernel's nf_tables subsystem that causes nf_tables_addchain() to publish a chain and then fail hook registration (e.g., by triggering an IPv6 hook registration failure for an NFPROTO_INET chain), racing the error path's nft_chain_del() and nf_tables_chain_destroy() against concurrent chain dump or packet processing operations.
  4. Exploit the use-after-free: With the freed chain memory still accessible to RCU readers, manipulate kernel heap layout to reclaim the freed memory with attacker-controlled data, enabling arbitrary kernel memory read/write or control flow hijacking.
  5. Escalate privileges: Leverage kernel memory corruption to overwrite credential structures or function pointers to achieve root privileges, then execute a privileged shell (Exploit-DB, Offseq Radar).

Indicators of compromise

  • Logs: Kernel oops or BUG messages in /var/log/kern.log or dmesg referencing nf_tables_addchain, nft_chain_del, or nf_tables_chain_destroy; use-after-free KASAN/KFENCE reports mentioning nf_tables or netfilter.
  • Process: Unexpected processes running as root spawned from a low-privileged user context; unusual nft or ip6tables command invocations by non-root users.
  • Network: Sudden changes or disappearance of nf_tables firewall rules (nft list ruleset) without administrative action; unexpected kernel panics or system reboots on systems handling network traffic.
  • File System: Presence of exploit binaries or scripts referencing nf_tables race conditions in world-writable directories (e.g., /tmp, /dev/shm); files matching the Exploit-DB entry 52549 pattern (Exploit-DB, Feedly).

Mitigation and workarounds

The primary remediation is to upgrade to a patched Linux kernel version: 6.1.165+, 6.6.128+, 6.12.75+, 6.18.14+, or 6.19.4+ depending on the deployed branch. Patches are available via the upstream stable kernel tree at git.kernel.org. Major distributions including Red Hat (RHSA-2026:6053, RHSA-2026:6570, RHSA-2026:6571, and others), AlmaLinux, Rocky Linux, SUSE, Debian (DSA-6238-1, DSA-6243-1), Ubuntu (USN-8244-1, USN-8254-1/2/3), Amazon Linux 2023, and openSUSE have released updated packages. For Microsoft Azure Linux, update to a kernel version incorporating this fix per the MSRC advisory. As a temporary workaround where patching is not immediately possible, restricting unprivileged user access to netlink/nf_tables operations (e.g., via sysctl kernel.unprivileged_userns_clone=0 where applicable) may reduce exposure (Microsoft MSRC, Red Hat, Ubuntu).

Community reactions

The vulnerability was covered in the context of Microsoft's March 2026 Patch Tuesday, which addressed 79 vulnerabilities including two zero-days, with CVE-2026-23231 noted among the Linux kernel fixes relevant to Azure Linux (BleepingComputer). Security community attention increased after a public exploit appeared on Exploit-DB in late April/May 2026, with threat intelligence platforms classifying it as a local privilege escalation. Distribution vendors across Red Hat, SUSE, Debian, Ubuntu, and others responded promptly with kernel security updates. No significant controversy or unusual researcher commentary has been observed beyond standard patch advisories.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.170-1

Fixed

sid

linux: 6.18.14-1

Fixed

trixie

linux: 6.12.85-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux

Not Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Fixed

RHEL 8

:baseos:kernel-0:4.18.0-553.117.1.el8_10.src

Fixed

RHEL 9

:appstream:kernel-0:5.14.0-70.175.1.el9_0.src

Fixed

RHEL 10

kernel-0:6.12.0-55.69.1.el10_0.src

Fixed

Source: This 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-99082HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-kvm
NoYesOct 23, 2026
CVE-2026-99087NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesOct 23, 2026
CVE-2026-99086NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesOct 23, 2026
CVE-2026-99085NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-fips
NoYesOct 23, 2026
CVE-2026-99084NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-bos
NoYesOct 23, 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

Additional Wiz resources

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