# CVE-2026-23111: netfilter: nf\_tables: fix inverted genmask check in nft\_map\_catchall\_activate()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.77% (percentile 52, 2026-11-26)
- **CWE:** CWE-416, CWE-672
- **Published:** 2026-02-13T13:29:55.895Z
- **Modified:** 2026-11-10T13:18:35.620Z

## Who should check

- Anyone running Linux \>= 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, \< 8c760ba4e36c750379d13569f23f5a6e185333f5; \>= d60be2da67d172aecf866302c91ea11533eca4d9, \< b9b6573421de51829f7ec1cce76d85f5f6fbbd7f; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 42c574c1504aa089a0a142e4c13859327570473d; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 1444ff890b4653add12f734ffeffc173d42862dd; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 8b68a45f9722f2babe9e7bad00aa74638addf081; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< f41c5d151078c5348271ffaf8e7410d96f2d82f8; bc9f791d2593f17e39f87c6e2b3a36549a3705b1; 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50; a136b7942ad2a50de708f76ea299ccb45ac7a7f9; dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41; …
- Anyone running Linux 6.4

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

## Affected and fixed versions

- Linux: \>= 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, \< 8c760ba4e36c750379d13569f23f5a6e185333f5; \>= d60be2da67d172aecf866302c91ea11533eca4d9, \< b9b6573421de51829f7ec1cce76d85f5f6fbbd7f; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 42c574c1504aa089a0a142e4c13859327570473d; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 1444ff890b4653add12f734ffeffc173d42862dd; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 8b68a45f9722f2babe9e7bad00aa74638addf081; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< f41c5d151078c5348271ffaf8e7410d96f2d82f8; bc9f791d2593f17e39f87c6e2b3a36549a3705b1; 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50; a136b7942ad2a50de708f76ea299ccb45ac7a7f9; dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41; … (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23111. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23111.md
Affected: Linux >= 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, < 8c760ba4e36c750379d13569f23f5a6e185333f5; >= d60be2da67d172aecf866302c91ea11533eca4d9, < b9b6573421de51829f7ec1cce76d85f5f6fbbd7f; >= 628bd3e49cba1c066228e23d71a852c23e26da73, < 42c574c1504aa089a0a142e4c13859327570473d; >= 628bd3e49cba1c066228e23…
Fixed in: Linux 8c760ba4e36c750379d13569f23f5a6e185333f5, Linux 42c574c1504aa089a0a142e4c13859327570473d, Linux 1444ff890b4653add12f734ffeffc173d42862dd, Linux 8b68a45f9722f2babe9e7bad00aa74638addf081

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23111 being exploited?

There is no confirmed exploitation: CVE-2026-23111 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23111?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23111?

Linux \>= 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, \< 8c760ba4e36c750379d13569f23f5a6e185333f5; \>= d60be2da67d172aecf866302c91ea11533eca4d9, \< b9b6573421de51829f7ec1cce76d85f5f6fbbd7f; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 42c574c1504aa089a0a142e4c13859327570473d; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 1444ff890b4653add12f734ffeffc173d42862dd; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< 8b68a45f9722f2babe9e7bad00aa74638addf081; \>= 628bd3e49cba1c066228e23d71a852c23e26da73, \< f41c5d151078c5348271ffaf8e7410d96f2d82f8; bc9f791d2593f17e39f87c6e2b3a36549a3705b1; 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50; a136b7942ad2a50de708f76ea299ccb45ac7a7f9; dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41; …; Linux 6.4.

### Is there a fix for CVE-2026-23111?

Yes. Fixed in Linux 8c760ba4e36c750379d13569f23f5a6e185333f5, Linux 42c574c1504aa089a0a142e4c13859327570473d, Linux 1444ff890b4653add12f734ffeffc173d42862dd, Linux 8b68a45f9722f2babe9e7bad00aa74638addf081. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23111?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:10996>
- vendor: <https://access.redhat.com/errata/RHSA-2026:18134>
- vendor: <https://access.redhat.com/errata/RHSA-2026:10108>
- vendor: <https://access.redhat.com/errata/RHSA-2026:9112>
- vendor: <https://access.redhat.com/errata/RHSA-2026:6570>
- vendor: <https://access.redhat.com/errata/RHSA-2026:62639>
- vendor: <https://access.redhat.com/errata/RHSA-2026:62641>
- patch: <https://git.kernel.org/stable/c/8c760ba4e36c750379d13569f23f5a6e185333f5>
- patch: <https://git.kernel.org/stable/c/b9b6573421de51829f7ec1cce76d85f5f6fbbd7f>
- patch: <https://git.kernel.org/stable/c/42c574c1504aa089a0a142e4c13859327570473d>
- patch: <https://git.kernel.org/stable/c/1444ff890b4653add12f734ffeffc173d42862dd>
- patch: <https://git.kernel.org/stable/c/8b68a45f9722f2babe9e7bad00aa74638addf081>
- patch: <https://git.kernel.org/stable/c/f41c5d151078c5348271ffaf8e7410d96f2d82f8>
- article: <https://blog.exodusintel.com/2026/06/08/off-by-exploiting-a-use-after-free-in-the-linux-kernel/>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- other: <https://access.redhat.com/security/cve/CVE-2026-23111>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2439687>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23111.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23111>

HTML: <https://flawdb.com/CVE-2026-23111> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23111>
