cve.bz

CVE-2026-23231 linux linux kernel: Use After Free

7.8 highExploitEPSS 1.0%Fix available

High (7.8) in linux linux kernel. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix use-after-free in nf_tables_addchain() nf_tables_addchain() publishes the chain to table->chains via list_add_tail_rcu() (in nft_chain_add()) before registering hooks. If nf_tables_register_hook() then fails, the error path calls nft_chain_del() (list_del_rcu()) followed by nf_tables_chain_destroy() with no RCU grace period in between. This creates two use-after-free conditions: 1) Control-plane: nf_tables_dump_chains() traverses table->chains under rcu_read_lock(). A concurrent dump can still be walking the chain when the error path frees it. 2) Packet path: for NFPROTO_INET, nf_register_net_hook() briefly installs the IPv4 hook before IPv6 registration fails. Packets entering nft_do_chain() via the transient IPv4 hook can still be dereferencing chain->blob_gen_X when the error path frees the chain. Add synchronize_rcu() between nft_chain_del() and the chain destroy so that all RCU readers -- both dump threads and in-flight packet evaluation -- have finished before the chain is freed.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
Assigned by
Linux (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-23231 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-23231?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-23231?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-23231 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-23231

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-23231](https://cve.bz/cve/badge/CVE-2026-23231.svg)](https://cve.bz/cve/CVE-2026-23231)

HTML:

<a href="https://cve.bz/cve/CVE-2026-23231"><img src="https://cve.bz/cve/badge/CVE-2026-23231.svg" alt="CVE-2026-23231"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux3.16 and later

Fixed in

ProductRelease lineFixed in
Linux6.16.1.165
Linux6.66.6.128
Linux6.126.12.75
Linux6.186.18.14
Linux6.196.19.4
Linuxlater releases7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.170-1DEBIAN-CVE-2026-23231
Debian13linux6.12.85-1DEBIAN-CVE-2026-23231
Debian14linux6.18.14-1DEBIAN-CVE-2026-23231
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2026-23231
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2026-23231
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2026-23231
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1053.56~22.04.1UBUNTU-CVE-2026-23231 USN-8254-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1059.65~22.04.1UBUNTU-CVE-2026-23231 USN-8440-1
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1058.65~22.04.1UBUNTU-CVE-2026-23231
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1060.63~22.04.1UBUNTU-CVE-2026-23231
Ubuntu22.04:LTSlinux-hwe-6.8, linux-riscv-6.86.8.0-111.111~22.04.1UBUNTU-CVE-2026-23231 USN-8254-1
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1052.52~22.04.1UBUNTU-CVE-2026-23231 USN-8254-1
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-111.111.1~22.04.1UBUNTU-CVE-2026-23231 USN-8254-1
Ubuntu22.04:LTSlinux-nvidia-6.86.8.0-1052.55~22.04.1UBUNTU-CVE-2026-23231
Ubuntu22.04:LTSlinux-oracle-6.86.8.0-1050.51~22.04.1UBUNTU-CVE-2026-23231 USN-8254-1
41 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.117.1.el8_10RHSA-2026:6571
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.117.1.el8_10RHSA-2026:6571
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.117.1.rt7.458.el8_10RHSA-2026:6572
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.117.1.rt7.458.el8_10RHSA-2026:6572
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-611.47.1.el9_7RHSA-2026:6570
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-611.47.1.el9_7RHSA-2026:6570
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-611.47.1.el9_7RHSA-2026:6570
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-611.47.1.el9_7RHSA-2026:6570
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-611.47.1.el9_7RHSA-2026:6570
Red Hatenterprise_linux:10.1rv, perf, rtla and 87 more0:6.12.0-124.47.1.el10_1RHSA-2026:6053
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.69.1.el10_0RHSA-2026:9095
Red Hatrhel_aus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.195.1.el8_2RHSA-2026:9513
29 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_111-150700.1.3.1SUSE-SU-2026:1573-1
SUSELinux Micro 6.0kernel-default-base6.4.0-41.1.21.18SUSE-SU-2026:21123-1
SUSELinux Micro 6.0kernel-source, kernel-default, kernel-kvmsmall6.4.0-41.1SUSE-SU-2026:21123-1
SUSELinux Micro 6.1kernel-default-base6.4.0-41.1.21.18SUSE-SU-2026:21114-1
SUSELinux Micro 6.1kernel-rt, kernel-source-rt6.4.0-41.1SUSE-SU-2026:21255-1
SUSELinux Micro 6.1kernel-source, kernel-default, kernel-kvmsmall6.4.0-41.1SUSE-SU-2026:21114-1
SUSELinux Micro 6.2gdk-pixbuf2.42.12-160000.4.1SUSE-SU-2026:21230-1
SUSELinux Micro 6.2kernel-default-base6.12.0-160000.27.1.160000.2.8SUSE-SU-2026:21237-1
SUSELinux Micro 6.2kernel-rt, kernel-64kb, kernel-source and 1 more6.12.0-160000.28.1SUSE-SU-2026:21237-1
SUSELinux Micro Extras 6.2kernel-syms, kernel-obs-build6.12.0-160000.28.1SUSE-SU-2026:21230-1
SUSEReal Time Module 15 SP7kernel-rt, kernel-source-rt6.4.0-150700.7.37.2SUSE-SU-2026:1573-1
SUSEReal Time Module 15 SP7kernel-syms-rt6.4.0-150700.7.37.1SUSE-SU-2026:1573-1
openSUSELeap 16.0kernel-default-base6.12.0-160000.27.1.160000.2.8openSUSE-SU-2026:20572-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 9 more6.12.0-160000.28.1openSUSE-SU-2026:20572-1
openSUSETumbleweedkernel-source6.19.8-1.1openSUSE-SU-2026:10387-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.117.1.rt7.458.el8_10ALSA-2026:6572
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.117.1.el8_10ALSA-2026:6571
AlmaLinux9rv, perf, rtla and 71 more5.14.0-611.47.1.el9_7ALSA-2026:6570
AlmaLinux10kernel-doc, kernel-abi-stablelists6.12.0-124.47.1.el10_1ALSA-2026:6053
Rocky Linux8kernel0:4.18.0-553.117.1.el8_10RLSA-2026:6571
Rocky Linux8kernel-rt0:4.18.0-553.117.1.rt7.458.el8_10RLSA-2026:6572
Rocky Linux9kernel0:5.14.0-611.47.1.el9_7RLSA-2026:6570
Rocky Linux10kernel0:6.12.0-124.47.1.el10_1RLSA-2026:6053
Azure Linux3kernel6.6.130.1-1AZL-78650
Alpaquita23linux-lts6.1.167-r0BELL-CVE-2026-23231
Alpaquita25linux-lts6.12.80-r0BELL-CVE-2026-23231
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2026-23231

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A use after free can occur in nf_tables_addchain error handling because a new chain is published to table chains via RCU before hook registration completes and is then freed without an RCU grace period when hook registration fails. This creates a race with RCU readers in the control plane such as nf_tables_dump_chains and also with in flight packet evaluation when an IPv4 hook is transiently installed for NFPROTO_INET and later IPv6 hook registration fails. For the CVSS the PR is L because a local actor with CAP_NET_ADMIN can induce the failing add chain path while remote packet traffic may hit the transient hook and trigger the UAF window. Impact ranges from a kernel crash to potential privilege escalation.

Red Hat's mitigation

In order to trigger the issue, it requires the ability to create user/net namespaces.

On non-containerized deployments of Red Hat Enterprise Linux 7.4 and later, it is recommended to disable user namespaces by setting user.max_user_namespaces to 0:

Make it persistent across reboot

On RHEL 7.4, you can put the setting in /etc/sysctl.conf:

# echo "user.max_user_namespaces=0" | sudo tee -a /etc/sysctl.conf

# sudo sysctl -p

On RHEL8 and above

# echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf

# sysctl -p /etc/sysctl.d/userns.conf

On containerized deployments, such as Red Hat OpenShift Container Platform, do not use this mitigation as the functionality is needed to be enabled.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-124.47.1.el10_1Fixed 2026-03-30RHSA-2026:6053
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.69.1.el10_0Fixed 2026-04-20RHSA-2026:9095
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-rt-0:3.10.0-1160.148.1.rt56.1300.el7Fixed 2026-04-27RHSA-2026:10756
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-0:3.10.0-1160.148.1.el7Fixed 2026-04-22RHSA-2026:9870
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.117.1.rt7.458.el8_10Fixed 2026-04-06RHSA-2026:6572
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.117.1.el8_10Fixed 2026-04-06RHSA-2026:6571
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.195.1.el8_2Fixed 2026-04-22RHSA-2026:9513
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.189.1.el8_4Fixed 2026-04-22RHSA-2026:9643
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.189.1.el8_4Fixed 2026-04-22RHSA-2026:9643
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.188.1.el8_6Fixed 2026-04-22RHSA-2026:9514
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.188.1.el8_6Fixed 2026-04-22RHSA-2026:9514
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.188.1.el8_6Fixed 2026-04-22RHSA-2026:9514
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.136.1.el8_8Fixed 2026-04-22RHSA-2026:9515
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.136.1.el8_8Fixed 2026-04-22RHSA-2026:9515
Red Hat Enterprise Linux 9kernel-0:5.14.0-611.47.1.el9_7Fixed 2026-04-06RHSA-2026:6570
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.175.1.el9_0Fixed 2026-04-22RHSA-2026:9836
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.175.1.rt21.247.el9_0Fixed 2026-04-22RHSA-2026:9835
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.166.1.el9_2Fixed 2026-04-22RHSA-2026:9644
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 9kernel-rtAffected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-23231.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed
ICSA-26-295-16Siemens SIMATIC S7-1500 TM MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed
ICSA-26-209-04Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-07-14Critical ManufacturingSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.6, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.6, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.6 and 2 morenone listed
ICSA-26-188-05Siemens SINEC OS2026-06-02Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Public exploits

References

Check your stackJSON