CVE-2024-27020: netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
nft_unregister_expr() can concurrent with __nft_expr_type_get(),
and there is not any protection when iterate over nf_tables_expressions
list in __nft_expr_type_get(). Therefore, there is potential data-race
of nf_tables_expressions list entry.
Use list_for_each_entry_rcu() to iterate over nf_tables_expressions
list in __nft_expr_type_get(), and use rcu_read_lock() in the caller
nft_expr_type_get() to protect the entire type query process.
Security readout for executives and security teams
Plain-English summary
CVE-2024-27020 is a Linux kernel race condition in the nftables firewall subsystem. A local, low-privileged attacker may be able to trigger unsafe concurrent handling of expression types. The supplied CVSS assessment indicates potentially serious confidentiality, integrity, and availability impact, but the sources do not establish a reliable exploitation outcome.
Executive priority
Schedule prompt remediation for affected shared, administrative, and other multi-user Linux systems. Internet exposure alone does not enable the CVSS-described attack because access is local. Use normal high-severity patch timelines unless local access by untrusted users materially increases urgency.
Technical view
The nf_tables expression registry could be traversed by __nft_expr_type_get() while nft_unregister_expr() concurrently removed an entry. Missing read-side protection created a potential data race and unsafe list access. The kernel fix uses RCU-aware iteration and holds an RCU read lock across the expression-type query.
Likely exposure
Exposure is limited to Linux systems running an affected kernel with the relevant nf_tables code. The supplied affected-version data includes kernels from 3.13 through listed 6.x releases, but vendor backports may change status. Prioritize multi-user systems where untrusted local users have low-privileged access.
Exploitation context
The CVSS vector describes local access, low privileges, low complexity, and no user interaction. The supplied record is not in CISA KEV, and no cited source reports active exploitation. Treat practical exploitability and resulting impact as unconfirmed from this evidence.
Researcher notes
CWE-362 accurately reflects concurrent access without adequate synchronization. Eight stable-kernel commits are supplied, indicating fixes across maintained branches. Exact vulnerable ranges and exploit primitives are not established by this bundle; validate through distribution-specific package metadata rather than relying only on upstream version numbers.
Mitigation direction
Install a vendor-supported kernel update that includes the applicable upstream fix or distribution backport.
Reboot systems after updating so the corrected kernel is running.
Consult distribution or appliance advisories because package versions may contain backported fixes.
Restrict unnecessary local accounts while exposed systems await maintenance.
Validation and detection
Inventory running kernel versions on Linux hosts using nftables.
Compare each kernel package against its vendor advisory for CVE-2024-27020.
Confirm the updated kernel is active after reboot, not merely installed.
Review package changelogs for an explicit fix or referenced upstream commit.
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-362: 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.
2CVSS vectors
3Timeline events
3ADP providers
17Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
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-362 · source CWE mapping
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.