What’s Vulnerable › Vulnerabilities

CVE-2026-23272: netfilter: nf_tables: unconditionally bump set->nelems before insertion

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.10, 6.18.17, 6.19.7; Linux 4.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-23272 or the next vulnerability affects your stack