Skip to main content
← All vulnerabilities
CVE-2026-23272

netfilter: nf_tables: unconditionally bump set->nelems before insertion

The Linux kernel nf_tables code is affected from 4.10 until fixed in stable releases 6.1.177, 6.6.141, 6.12.91, 6.18.17 or 6.19.7, depending on branch. CVSS rates it 7.8, high.

Published
Last modified
published
Not listed in CISA KEV
Specific setups only
Fix
Fixed in 4.10, 6.1.177, 6.6.141, 6.12.91, 6.18.17, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: unconditionally bump set->nelems before insertion In case that the set is full, a new element gets published then removed without waiting for the RCU grace period, while RCU reader can be walking over it already. To address this issue, add the element transaction even if set is full, but toggle the set_full flag to report -ENFILE so the abort path safely unwinds the set to its previous state. As for element updates, decrement set->nelems to restore it. A simpler fix is to call synchronize_rcu() in the error path. However, with a large batch adding elements to already maxed-out set, this could cause noticeable slowdown of such batches.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 4.9.33 · fixed in 4.10

  • Linux Linux

    4.10

  • KernelLinux

    From 4.10.0 · fixed in 6.1.177; From 6.2.0 · fixed in 6.6.141; From 6.7.0 · fixed in 6.12.91; From 6.13.0 · fixed in 6.18.17; From 6.19.0 · fixed in 6.19.7

References 8

git.kernel.org

FAQ

Questions about CVE-2026-23272

What does this mean?

In the nf_tables netfilter code, a set's element counter is increased before insertion regardless of conditions. When the set is full, a new element still gets published.Source: git.kernel.org

Am I affected, and how do I check?

Affected kernels run from 4.10 up to the fixed stable release on each branch: 6.1.177, 6.6.141, 6.12.91, 6.18.17 and 6.19.7. Check the kernel version with uname -r and whether nftables sets are in use with nft list ruleset.Source: git.kernel.org

What should I do about it?

Update to the fixed stable release for the branch in use: 6.1.177, 6.6.141, 6.12.91, 6.18.17 or 6.19.7, or a later release on that branch.Source: git.kernel.org

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data