CVE-2024-27020

netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()

HIGH
7
CVSS Score
Published: May 1, 2024 at 05:30 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
10 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.13 ≤ v < 4.19.3134.20 ≤ v < 5.4.2755.11 ≤ v < 5.15.1575.16 ≤ v < 6.1.885.5 ≤ v < 5.10.2166.2 ≤ v < 6.6.296.7 ≤ v < 6.8.86.96.9 rc16.9 rc26.9 rc36.9 rc4ef1f7df9170dbd875ce198ba84e6ab80f6fc139e
Vendor states this is fixed in 01f1a678b05ade4b1248019c2dcca773aebbeb7f (fixed)
Vendor states this is fixed in 0b6de00206adbbfc6373b3ae38d2a6f197987907 (fixed)
Vendor states this is fixed in 8d56bad42ac4c43c6c72ddd6a654a2628bf839c5 (fixed)
Vendor states this is fixed in 934e66e231cff2b18faa2c8aad0b8cec13957e05 (fixed)
Vendor states this is fixed in 939109c0a8e2a006a6cc8209e262d25065f4403a (fixed)
Vendor states this is fixed in a9ebf340d123ae12582210407f879d6a5a1bc25b (fixed)
Vendor states this is fixed in b38a133d37fa421c8447b383d788c9cc6f5cb34c (fixed)
Vendor states this is fixed in f969eb84ce482331a991079ab7a5c4dc3b7f89bf (fixed)
Vendor states this is fixed in 3.13 (unaffected)
Vendor states this is fixed in 4.19.313 (unaffected)
Vendor states this is fixed in 5.10.216 (unaffected)
Vendor states this is fixed in 5.15.157 (unaffected)
Vendor states this is fixed in 5.4.275 (unaffected)
Vendor states this is fixed in 6.1.88 (unaffected)
Vendor states this is fixed in 6.6.29 (unaffected)
Vendor states this is fixed in 6.8.8 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
V3.1.0 ≤ v < V3.1.53.1.0
Affected range stops below V3.1.5, so it looks safe — our inference, not a vendor statement
V3.1.0 ≤ v < V3.1.53.1.0
Affected range stops below V3.1.5, so it looks safe — our inference, not a vendor statement
V3.1.0 ≤ v < V3.1.53.1.0
Affected range stops below V3.1.5, so it looks safe — our inference, not a vendor statement

References (16)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card