Skip to main content
Public proof of conceptFix available

CVE-2026-23111

netfilter: nf_tables: fix inverted genmask check in nft_map_catchall_activate()

A public proof of concept exists; no exploitation attested.

  • Published2026-02-13
  • Fixed in6.18.10 · 6.12.70 · 6.6.124 · 6.4 · 6.1.163 · 5.15.200
  • WeaknessCWE-416 · CWE-672

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-02-1313:29CVE publishedCNA
  2. 2026-02-1314:16CVE publishedNVD

Versions per branch

NVD · OSV
Linux linux kernel
BranchAffectedFixed in
6.x≥ 6.13, < 6.18.106.18.10
6.x≥ 6.13.0, < 6.18.106.18.10
6.x≥ 6.7, < 6.12.706.12.70
6.x≥ 6.7.0, < 6.12.706.12.70
6.x≥ 6.4.1, < 6.6.1246.6.124
6.x≥ 6.4.0, < 6.6.1246.6.124
6.x≥ 6.3.10, < 6.46.4
6.1≥ 6.1.36, < 6.1.1636.1.163
5.15≥ 5.15.121, < 5.15.2005.15.200
5.x≥ 5.10.188, < 5.115.11
5.x≥ 5.4.262, < 5.55.5
4.x≥ 4.19.316, < 4.204.20

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, < 8c760ba4e36c750379d13569f23f5a6e185333f5fixed in 8c760ba4e36c750379d13569f23f5a6e185333f5git
    • ≥ d60be2da67d172aecf866302c91ea11533eca4d9, < b9b6573421de51829f7ec1cce76d85f5f6fbbd7ffixed in b9b6573421de51829f7ec1cce76d85f5f6fbbd7fgit
    • ≥ 628bd3e49cba1c066228e23d71a852c23e26da73, < 42c574c1504aa089a0a142e4c13859327570473dfixed in 42c574c1504aa089a0a142e4c13859327570473dgit
    • ≥ 628bd3e49cba1c066228e23d71a852c23e26da73, < 1444ff890b4653add12f734ffeffc173d42862ddfixed in 1444ff890b4653add12f734ffeffc173d42862ddgit
    • ≥ 628bd3e49cba1c066228e23d71a852c23e26da73, < 8b68a45f9722f2babe9e7bad00aa74638addf081fixed in 8b68a45f9722f2babe9e7bad00aa74638addf081git
    • ≥ 628bd3e49cba1c066228e23d71a852c23e26da73, < f41c5d151078c5348271ffaf8e7410d96f2d82f8fixed in f41c5d151078c5348271ffaf8e7410d96f2d82f8git
    • = bc9f791d2593f17e39f87c6e2b3a36549a3705b1no fix statedgit
    • = 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50no fix statedgit

    8 more version lines in the CVE record.

  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 6.4no fix stated

    Not affected < 6.4 · ≥ 5.15.200, ≤ 5.15.* · ≥ 6.1.163, ≤ 6.1.* · ≥ 6.6.124, ≤ 6.6.* · ≥ 6.12.70, ≤ 6.12.* · ≥ 6.18.10, ≤ 6.18.* · ≥ 6.19

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • bpftoolTuxCare:AlmaLinux:9.2all versions · fixed in 7.0.0-284.1101.el9_2.tuxcare.11.els4
  • bpftoolRed Hat:rhel_eus:9.4::baseosall versions · fixed in 0:7.3.0-427.121.1.el9_4and 1 other package
  • bpftool-debuginfoRed Hat:rhel_eus:9.4::realtimeall versions · fixed in 0:7.3.0-427.121.1.el9_4
  • bpftool-debuginfoRed Hat:rhel_eus:9.4::nfvall versions · fixed in 0:7.3.0-427.121.1.el9_4
  • bpftool-debuginfoRed Hat:rhel_eus:9.4::crball versions · fixed in 0:7.3.0-427.121.1.el9_4
  • bpftool-debuginfoRed Hat:rhel_eus:9.4::appstreamall versions · fixed in 0:7.3.0-427.121.1.el9_4
  • dtb-aarch64openSUSE:Leap 15.6all versions · fixed in 6.4.0-150600.23.92.1and 10 other packages
  • kernelTuxCare:AlmaLinux:9.6all versions · fixed in 5.14.0-570.62.1.el9_6.tuxcare.1.els4and 94 other packages

192 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-23111 Red Hat Product Security1,573 products fixed · 22 known affected

    kernel: Kernel: Privilege escalation or denial of service in nf_tables via inverted element activity check

    kernel-rt as a component of Red Hat Enterprise Linux 9 · kernel-rt-core as a component of Red Hat Enterprise Linux 9 · kernel-rt-debug as a component of Red Hat Enterprise Linux 9 · +19 more

  • ICSA-26-295-11 CISA5 known affected

    Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP

    SIMATIC 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 · +2 more

  • SSA-457936 Siemens ProductCERT5 known affected

    SSA-457936: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7

    SIMATIC 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 · +2 more

  • RHSA-2026:62641 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: kpatch-patch-5_14_0-570_116_1, kpatch-patch-5_14_0-570_17_1, kpatch-patch-5_14_0-570_39_1, kpatch-patch-5_14_0-570_66_1, and kpatch-patch-5_14_0-570_94_1 security update

  • RHSA-2026:62639 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: kpatch-patch-5_14_0-427_100_1, kpatch-patch-5_14_0-427_113_1, kpatch-patch-5_14_0-427_126_1, kpatch-patch-5_14_0-427_68_2, and kpatch-patch-5_14_0-427_84_1 security update

  • ICSA-26-209-04 CISA5 known affected

    Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP

    SIMATIC 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 · +2 more

9 more advisories

Full record on NVD

Fix

  1. Update Linux linux kernel to 6.18.10 · 6.12.70 · 6.6.124 · 6.4 · 6.1.163 · 5.15.200 · 5.11 · 5.5
  2. Vendor fix Red Hat Product Security RHSA-2026:62641 · 35 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix CISA ICSA-26-188-05 · 1 productUpdate to V4.0 or later version
  4. Vendor fix Siemens ProductCERT SSA-253495 · 1 productUpdate to V4.0 or later version
  5. Vendor fix Red Hat Product Security RHSA-2026:18134 · 309 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
  6. Workaround from the vendor Red Hat Product Security RHSA-2026:62641 · 35 productsTo 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.
  7. Mitigation from the vendor CISA ICSA-26-295-11 · 5 productsLimit access to the interactive shell of the additional GNU/Linux subssytem to trusted personnel only.

Detection

read 2026-11-09 04:50 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-02-13
Last Modified
2026-11-10
NVD status
Modified
GitHub Advisory
GHSA-jh9m-9mr6-3ghc

Frequently asked questions

What is CVE-2026-23111?

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.

Is CVE-2026-23111 actively exploited?

Active exploitation of CVE-2026-23111 has not been confirmed. Its EPSS score was 1.1% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-23111?

CVE-2026-23111 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record