CVE-2026-23272
kernel: netfilter: nf_tables: unconditionally bump set->nelems before insertion
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 20, 2026
Updated · July 3, 2026
Description
A flaw was found in the Linux kernel's netfilter nf_tables component. A race condition occurs when elements are inserted into a full set, causing an element to be removed without proper synchronization with Read-Copy-Update (RCU) readers. This can allow a local attacker to trigger a use-after-free vulnerability, potentially leading to a denial of service or other unspecified impacts.
Statement
This vulnerability affects systems using nf_tables for packet filtering with sets that have size limits. When a set reaches capacity, the race between element insertion/removal and RCU readers creates a window for use-after-free. Exploitation requires the ability to configure nf_tables rules, which typically requires CAP_NET_ADMIN privileges or root access.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition