A vulnerability in the Linux kernel's netfilter nf_tables subsystem involves improper handling of set element insertion when the set is full. (CVE-2026-23272)
A vulnerability in the Linux kernel's netfilter nf_tables subsystem involves improper handling of set element insertion when the set is full. This can lead to a race condition where an element is published and removed without waiting for the RCU grace period, potentially causing use-after-free issues. The issue is fixed by adding an element transaction even if the set is full and toggling a flag to safely unwind the set to its previous state. The vulnerability affects version 3.0 of the product.
AI Analysis
Technical Summary
The vulnerability in Linux kernel netfilter nf_tables arises from unconditionally incrementing the set->nelems counter before insertion, even when the set is full. This causes a new element to be published and then removed without waiting for the RCU grace period, while an RCU reader might still be accessing it, leading to potential use-after-free conditions. The fix involves adding the element transaction regardless of fullness but toggling the set_full flag to return an error (-ENFILE) so that the abort path can safely revert the set state. For element updates, the set->nelems counter is decremented to maintain consistency. An alternative fix involving synchronize_rcu() was considered but rejected due to performance concerns with large batches.
Potential Impact
This vulnerability can cause use-after-free conditions in the kernel's netfilter subsystem, potentially leading to memory corruption with high impact on confidentiality, integrity, and availability. Exploitation could allow local attackers with limited privileges to cause kernel crashes or execute arbitrary code with kernel privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or workaround links are provided in the available data. Monitor the Microsoft Security Response Center advisory (msrc_CVE-2026-23272) for updates and apply official fixes once available.
A vulnerability in the Linux kernel's netfilter nf_tables subsystem involves improper handling of set element insertion when the set is full. (CVE-2026-23272)
Description
A vulnerability in the Linux kernel's netfilter nf_tables subsystem involves improper handling of set element insertion when the set is full. This can lead to a race condition where an element is published and removed without waiting for the RCU grace period, potentially causing use-after-free issues. The issue is fixed by adding an element transaction even if the set is full and toggling a flag to safely unwind the set to its previous state. The vulnerability affects version 3.0 of the product.
CVSS v3.1
Score 7.8high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Linux kernel netfilter nf_tables arises from unconditionally incrementing the set->nelems counter before insertion, even when the set is full. This causes a new element to be published and then removed without waiting for the RCU grace period, while an RCU reader might still be accessing it, leading to potential use-after-free conditions. The fix involves adding the element transaction regardless of fullness but toggling the set_full flag to return an error (-ENFILE) so that the abort path can safely revert the set state. For element updates, the set->nelems counter is decremented to maintain consistency. An alternative fix involving synchronize_rcu() was considered but rejected due to performance concerns with large batches.
Potential Impact
This vulnerability can cause use-after-free conditions in the kernel's netfilter subsystem, potentially leading to memory corruption with high impact on confidentiality, integrity, and availability. Exploitation could allow local attackers with limited privileges to cause kernel crashes or execute arbitrary code with kernel privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or workaround links are provided in the available data. Monitor the Microsoft Security Response Center advisory (msrc_CVE-2026-23272) for updates and apply official fixes once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_vex
- Csaf Version
- 2.0
- Publisher
- Microsoft Security Response Center
- Advisory Id
- msrc_CVE-2026-23272
- Cve Count
- 1
- Additional Cves
- []
- Cvss Version
- 3.1
Threat ID: 6a3c0d26eed863c81e23ef3c
Added to database: 06/24/2026, 17:00:22 UTC
Last enriched: 07/04/2026, 23:23:48 UTC
Last updated: 07/31/2026, 19:24:49 UTC
Views: 28
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.