CVE-2024-35898

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

HIGH
7
CVSS Score
Published: May 19, 2024 at 08:34 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

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_flowtable_type_get() nft_unregister_flowtable_type() within nf_flow_inet_module_exit() can concurrent with __nft_flowtable_type_get() within nf_tables_newflowtable(). And thhere is not any protection when iterate over nf_tables_flowtables list in __nft_flowtable_type_get(). Therefore, there is pertential data-race of nf_tables_flowtables list entry. Use list_for_each_entry_rcu() to iterate over nf_tables_flowtables list in __nft_flowtable_type_get(), and use rcu_read_lock() in the caller nft_flowtable_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.

4.16 ≤ v < 4.19.3124.20 ≤ v < 5.4.2745.11 ≤ v < 5.15.1545.16 ≤ v < 6.1.855.5 ≤ v < 5.10.2156.2 ≤ v < 6.6.266.7 ≤ v < 6.8.53b49e2e94e6ebb8b23d0955d9e898254455734f86.96.9 rc16.9 rc2
Vendor states this is fixed in 24225011d81b471acc0e1e315b7d9905459a6304 (fixed)
Vendor states this is fixed in 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8 (fixed)
Vendor states this is fixed in 69d1fe14a680042ec913f22196b58e2c8ff1b007 (fixed)
Vendor states this is fixed in 8b891153b2e4dc0ca9d9dab8f619d49c740813df (fixed)
Vendor states this is fixed in 940d41caa71f0d3a52df2fde5fada524a993e331 (fixed)
Vendor states this is fixed in 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b (fixed)
Vendor states this is fixed in a347bc8e6251eaee4b619da28020641eb5b0dd77 (fixed)
Vendor states this is fixed in e684b1674fd1ca4361812a491242ae871d6b2859 (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 4.19.312 (unaffected)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.1.85 (unaffected)
Vendor states this is fixed in 6.6.26 (unaffected)
Vendor states this is fixed in 6.8.5 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24225011d81b471acc0e1e315b7d9905459a6304
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2485bcfe05ee3cf9ca8923a94fa2e456924c79c8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/69d1fe14a680042ec913f22196b58e2c8ff1b007
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8b891153b2e4dc0ca9d9dab8f619d49c740813df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/940d41caa71f0d3a52df2fde5fada524a993e331
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a347bc8e6251eaee4b619da28020641eb5b0dd77
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e684b1674fd1ca4361812a491242ae871d6b2859

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

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

CVSS

7HIGHLinux
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