CVE-2023-53304: netfilter: nft_set_rbtree: fix overlap expiration walk
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_set_rbtree: fix overlap expiration walk
The lazy gc on insert that should remove timed-out entries fails to release
the other half of the interval, if any.
Can be reproduced with tests/shell/testcases/sets/0044interval_overlap_0
in nftables.git and kmemleak enabled kernel.
Second bug is the use of rbe_prev vs. prev pointer.
If rbe_prev() returns NULL after at least one iteration, rbe_prev points
to element that is not an end interval, hence it should not be removed.
Lastly, check the genmask of the end interval if this is active in the
current generation.
Security readout for executives and security teams
Plain-English summary
CVE-2023-53304 is a Linux kernel netfilter issue that can affect system availability. A local authenticated user may be able to trigger a kernel failure path related to nftables interval set cleanup. The provided sources do not show data theft, integrity impact, or remote attack exposure.
Executive priority
Treat as a scheduled kernel maintenance item unless the environment hosts untrusted local users or workloads. Availability impact can be serious, but the available evidence indicates local privilege is required and no active exploitation is cited.
Technical view
The bug is in netfilter nft_set_rbtree interval handling. Lazy garbage collection during insert can mishandle expired interval entries, including incorrect previous-node handling and generation-mask checks. CVSS rates this local, low-complexity, low-privilege, no-user-interaction issue as availability-only impact.
Likely exposure
Exposure is most relevant to Linux hosts using affected kernel builds with netfilter/nftables support available to local users or workloads. Internet exposure alone is not enough based on the CVSS vector; local access or local code execution is required.
Exploitation context
The bundle marks KEV as false and provides no cited evidence of active exploitation. The CVE text references a reproducible nftables test and kmemleak-enabled kernel, but that is validation context, not proof of weaponized exploitation.
Researcher notes
Focus review on nft_set_rbtree interval-set expiration and lazy garbage-collection behavior. The provided record names pointer selection and generation-mask validation issues. Avoid assuming exploitability beyond local availability impact without additional kernel, namespace, and capability context.
Mitigation direction
Upgrade to a vendor-supported kernel containing the linked stable netfilter fixes.
Prioritize multi-user Linux systems, container hosts, and systems allowing untrusted local workloads.
Review distribution advisories for exact fixed package versions before scheduling rollout.
Restrict unnecessary local access to nftables/netfilter management capabilities.
Validation and detection
Inventory Linux kernel versions across servers, containers hosts, and appliances.
Check whether kernels include the referenced upstream stable commits or downstream vendor backports.
Confirm nftables/netfilter is present and relevant to local workload exposure.
Run vendor-recommended regression tests after kernel updates.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.