cve.bz

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

7.8 highEPSS 1.1%Fix available

High (7.8) in linux linux kernel. EPSS 1.1% 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 inverted genmask check in nft_map_catchall_activate() nft_map_catchall_activate() has an inverted element activity check compared to its non-catchall counterpart nft_mapelem_activate() and compared to what is logically required. nft_map_catchall_activate() is called from the abort path to re-activate catchall map elements that were deactivated during a failed transaction. It should skip elements that are already active (they don't need re-activation) and process elements that are inactive (they need to be restored). Instead, the current code does the opposite: it skips inactive elements and processes active ones. Compare the non-catchall activate callback, which is correct: nft_mapelem_activate(): if (nft_set_elem_active(ext, iter->genmask)) return 0; /* skip active, process inactive */ With the buggy catchall version: nft_map_catchall_activate(): if (!nft_set_elem_active(ext, genmask)) continue; /* skip inactive, process active */ The consequence is that when a DELSET operation is aborted, nft_setelem_data_activate() is never called for the catchall element. For NFT_GOTO verdict elements, this means nft_data_hold() is never called to restore the chain->use reference count. Each abort cycle permanently decrements chain->use. Once chain->use reaches zero, DELCHAIN succeeds and frees the chain while catchall verdict elements still reference it, resulting in a use-after-free. This is exploitable for local privilege escalation from an unprivileged user via user namespaces + nftables on distributions that enable CONFIG_USER_NS and CONFIG_NF_TABLES. Fix by removing the negation so the check matches nft_mapelem_activate(): skip active elements, process inactive ones.

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.1% (unchanged from 1.1% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th 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-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-416 Use After Free
CWE-672 Operation on a Resource after Expiration or Release
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-23111 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-23111?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-23111?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-23111 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-23111

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-23111](https://cve.bz/cve/badge/CVE-2026-23111.svg)](https://cve.bz/cve/CVE-2026-23111)

HTML:

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

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.15.121 before 5.15.200
Linuxfrom 6.1.36 before 6.1.163
Linuxfrom 4.19.316 before 4.20
Linuxfrom 5.4.262 before 5.5
Linuxfrom 5.10.188 before 5.11
Linuxfrom 6.3.10 before 6.4
Linux6.4 and later

Fixed in

ProductRelease lineFixed in
Linux5.155.15.200
Linux6.16.1.163
Linux6.66.6.124
Linux6.126.12.70
Linux6.186.18.10
Linuxlater releases6.19

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux-6.16.1.164-1~deb11u1DLA-4499-1
Debian12linux6.1.164-1DEBIAN-CVE-2026-23111 DSA-6163-1
Debian13linux6.12.73-1DEBIAN-CVE-2026-23111 DSA-6141-1
Debian14linux6.18.10-1DEBIAN-CVE-2026-23111
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2026-23111
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2026-23111
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2026-23111
Ubuntu22.04:LTSlinux, linux-aws, linux-gcp and 47 moreno fix listedUBUNTU-CVE-2026-23111 USN-8159-1 USN-8163-2
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1051.54~22.04.1UBUNTU-CVE-2026-23111 USN-8148-5
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1052.58~22.04.1UBUNTU-CVE-2026-23111 USN-8148-6
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1058.65~22.04.1UBUNTU-CVE-2026-23111
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1053.56~22.04.1UBUNTU-CVE-2026-23111 USN-8148-5
Ubuntu22.04:LTSlinux-hwe-6.8, linux-riscv-6.86.8.0-107.107~22.04.1UBUNTU-CVE-2026-23111 USN-8148-5
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1050.50~22.04.1UBUNTU-CVE-2026-23111 USN-8148-5
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-107.107.1~22.04.1UBUNTU-CVE-2026-23111 USN-8148-5
Ubuntu22.04:LTSlinux-nvidia-6.86.8.0-1050.53~22.04.1UBUNTU-CVE-2026-23111 USN-8148-5
73 more for Ubuntu in the JSON and on Ubuntu's page.
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.2rv, perf, rtla and 87 more0:6.12.0-211.7.1.el10_2RHSA-2026:18134
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.70.1.el10_0RHSA-2026:10996
Red Hatrhel_e4s:9.4::baseoskpatch-patch-5_14_0-427_100_1, kpatch-patch-5_14_0-427_100_1-debuginfo, kpatch-patch-5_14_0-427_100_1-debugsource0:1-14.el9_4RHSA-2026:62639
Red Hatrhel_e4s:9.4::baseoskpatch-patch-5_14_0-427_113_1, kpatch-patch-5_14_0-427_113_1-debuginfo, kpatch-patch-5_14_0-427_113_1-debugsource0:1-12.el9_4RHSA-2026:62639
Red Hatrhel_e4s:9.4::baseoskpatch-patch-5_14_0-427_126_1, kpatch-patch-5_14_0-427_126_1-debuginfo, kpatch-patch-5_14_0-427_126_1-debugsource0:1-9.el9_4RHSA-2026:62639
Red Hatrhel_e4s:9.4::baseoskpatch-patch-5_14_0-427_68_2, kpatch-patch-5_14_0-427_68_2-debuginfo, kpatch-patch-5_14_0-427_68_2-debugsource0:1-21.el9_4RHSA-2026:62639
Red Hatrhel_e4s:9.4::baseoskpatch-patch-5_14_0-427_84_1, kpatch-patch-5_14_0-427_84_1-debuginfo, kpatch-patch-5_14_0-427_84_1-debugsource0:1-16.el9_4RHSA-2026:62639
17 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6kernel-default6.4.0-150600.23.92.1SUSE-SU-2026:1041-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.34.1SUSE-SU-2026:1081-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1114-150600.2.1SUSE-SU-2026:1239-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1214-150600.2.1SUSE-SU-2026:1236-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1312-150600.2.1SUSE-SU-2026:1283-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_148-150600.2.1SUSE-SU-2026:1271-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_165-150600.2.1SUSE-SU-2026:1225-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_173-150600.2.1SUSE-SU-2026:1261-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_183-150600.2.1SUSE-SU-2026:1272-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_193-150600.2.1SUSE-SU-2026:1274-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_202-150600.2.1SUSE-SU-2026:1266-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_211-150600.13.5.1SUSE-SU-2026:1041-1
96 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.92.1SUSE-SU-2026:1041-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.92.1.150600.12.42.2SUSE-SU-2026:1041-1
openSUSELeap 16.0kernel-default-base6.12.0-160000.27.1.160000.2.8openSUSE-SU-2026:20416-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 9 more6.12.0-160000.27.1openSUSE-SU-2026:20416-1
AlmaLinux9rv, perf, rtla and 71 more5.14.0-611.47.1.el9_7ALSA-2026:6570
AlmaLinux10rv, perf, rtla and 72 more6.12.0-211.7.1.el10_2ALSA-2026:18134
Rocky Linux9kernel0:5.14.0-611.47.1.el9_7RLSA-2026:6570
Azure Linux3kernel6.6.126.1-1AZL-77483
Alpaquita23linux-lts6.1.163-r0BELL-CVE-2026-23111
Alpaquita25linux-lts6.12.73-r0BELL-CVE-2026-23111
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2026-23111

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 Important.

Red Hat's statement

A logic bug in nf_tables nft_map_catchall_activate uses an inverted element active check during the abort path of a failed transaction. This can prevent re activation of catchall map elements and for NFT_GOTO verdict elements it can skip restoring the chain use reference count. Repeating an abort sequence can permanently decrement chain use until DELCHAIN frees the chain while catchall elements still reference it which can result in a use after free. For the CVSS the PR is L, but in the paranoid scenario the unprivileged users may reach nf_tables via user namespaces with delegated CAP_NET_ADMIN. The issue is not directly network reachable and is triggered by local nftables control plane operations. Impact can range from denial of service to potential privilege escalation depending on heap reuse.

Red Hat's mitigation

To mitigate this issue, prevent module nf_tables from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-211.7.1.el10_2Fixed 2026-05-19RHSA-2026:18134
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.70.1.el10_0Fixed 2026-04-27RHSA-2026:10996
Red Hat Enterprise Linux 9kernel-0:5.14.0-611.47.1.el9_7Fixed 2026-04-06RHSA-2026:6570
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.121.1.el9_4Fixed 2026-04-23RHSA-2026:10108
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionskpatch-patchFixed 2026-09-02RHSA-2026:62639
Red Hat Enterprise Linux 9.6 Extended Update Supportkernel-0:5.14.0-570.108.1.el9_6Fixed 2026-04-20RHSA-2026:9112
Red Hat Enterprise Linux 9.6 Extended Update Supportkpatch-patchFixed 2026-09-02RHSA-2026:62641
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

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-23111.

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-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.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • Knz-source/CVE-2026-23111-POC-noddlenpottato Harbor Check: matches CVE 10 stars, C, created
    CVE-2026-23111 nf_tables catchall UAF — unprivileged LPE for Linux 5.10-6.18. Auto-adaptive exploit with KASLR bypass, arbitrary kernel rea…
  • Baba01hacker666/CVE-2026-23111 Harbor Check: matches CVE 7 stars, C, created
    Linux Kernel nf_tables Use-After-Free (CVE-2026-23111) — LPE PoC
  • kinokopio/CVE-2026-23111 Harbor Check: matches CVE 6 stars, C, created
    CVE-2026-23111 nf_tables UAF exploit for Ubuntu 6.8.0-101-generic: unprivileged user → host root, plus container escape to the host.
  • bakano98/cve-2026-23111-poc Harbor Check: matches CVE 1 star, C, created
    scuffed PoC for CVE-2026-23111. Made and ran on Linux Kernel 6.12.69
  • imeiplus/CVE-2026-23111-PoC Harbor Check: matches CVE 0 stars, created
5 more

References

Check your stackJSON