Linux Kernel Netfilter nf_tables Unconditional Element Count Bump Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's netfilter component, specifically within the nf_tables subsystem. The issue arises because the element count is unconditionally incremented before adding a new element to a set. If the set is already full, the new element is published and then removed without waiting for the RCU grace period, potentially allowing an RCU reader to access it prematurely. This vulnerability affects the Linux kernel stable tree.

Impact

Exploitation of this vulnerability could lead to a race condition, where an RCU reader might access a set element that has been removed but not yet fully synchronized, potentially causing undefined behavior or data corruption.

Reproduction

To reproduce this vulnerability, add elements to an nf_tables set that is already at maximum capacity. The element count will be incorrectly managed, allowing for a new element to be published and removed without proper synchronization, creating a race condition.

Remediation

The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version available in the Linux kernel stable tree.

Added: Mar 20, 2026, 9:20 AM
Updated: Mar 20, 2026, 9:20 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
5.0
exploitability
3.9
remediation
7.7
relevance
4.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.