# CVE-2024-35898: netfilter: nf\_tables: Fix potential data-race in \_\_nft\_flowtable\_type\_get()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-05-19T08:34:52.519Z
- **Modified:** 2026-10-15T01:17:51.290Z

## Who should check

- Anyone running Linux \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 69d1fe14a680042ec913f22196b58e2c8ff1b007; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< a347bc8e6251eaee4b619da28020641eb5b0dd77; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 940d41caa71f0d3a52df2fde5fada524a993e331; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 8b891153b2e4dc0ca9d9dab8f619d49c740813df; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< e684b1674fd1ca4361812a491242ae871d6b2859; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 24225011d81b471acc0e1e315b7d9905459a6304
- Anyone running Linux 4.16

## 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 and fixed versions

- Linux: \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 69d1fe14a680042ec913f22196b58e2c8ff1b007; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< a347bc8e6251eaee4b619da28020641eb5b0dd77; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 940d41caa71f0d3a52df2fde5fada524a993e331; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 8b891153b2e4dc0ca9d9dab8f619d49c740813df; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< e684b1674fd1ca4361812a491242ae871d6b2859; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 24225011d81b471acc0e1e315b7d9905459a6304 (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 24225011d81b471acc0e1e315b7d9905459a6304 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35898. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35898.md
Affected: Linux >= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, < 69d1fe14a680042ec913f22196b58e2c8ff1b007; >= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, < a347bc8e6251eaee4b619da28020641eb5b0dd77; >= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, < 940d41caa71f0d3a52df2fde5fada524a993e331; >= 3b49e2e94e6ebb8b23d0955…
Fixed in: Linux 69d1fe14a680042ec913f22196b58e2c8ff1b007, Linux 940d41caa71f0d3a52df2fde5fada524a993e331, Linux 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8, Linux 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b, Linux 8b891153b2e4dc0ca9d9dab8f619d49c740813df, Linux 24225011d81b471acc0e1e315b7d9905459a6304

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35898 being exploited?

There is no confirmed exploitation: CVE-2024-35898 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35898?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-35898?

Linux \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 69d1fe14a680042ec913f22196b58e2c8ff1b007; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< a347bc8e6251eaee4b619da28020641eb5b0dd77; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 940d41caa71f0d3a52df2fde5fada524a993e331; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 8b891153b2e4dc0ca9d9dab8f619d49c740813df; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< e684b1674fd1ca4361812a491242ae871d6b2859; \>= 3b49e2e94e6ebb8b23d0955d9e898254455734f8, \< 24225011d81b471acc0e1e315b7d9905459a6304; Linux 4.16.

### Is there a fix for CVE-2024-35898?

Yes. Fixed in Linux 69d1fe14a680042ec913f22196b58e2c8ff1b007, Linux 940d41caa71f0d3a52df2fde5fada524a993e331, Linux 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8, Linux 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b, Linux 8b891153b2e4dc0ca9d9dab8f619d49c740813df, Linux 24225011d81b471acc0e1e315b7d9905459a6304. Upgrade Linux to 24225011d81b471acc0e1e315b7d9905459a6304 or later.

### How do I check if I'm affected by CVE-2024-35898?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/69d1fe14a680042ec913f22196b58e2c8ff1b007>
- patch: <https://git.kernel.org/stable/c/a347bc8e6251eaee4b619da28020641eb5b0dd77>
- patch: <https://git.kernel.org/stable/c/940d41caa71f0d3a52df2fde5fada524a993e331>
- patch: <https://git.kernel.org/stable/c/2485bcfe05ee3cf9ca8923a94fa2e456924c79c8>
- patch: <https://git.kernel.org/stable/c/9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b>
- patch: <https://git.kernel.org/stable/c/8b891153b2e4dc0ca9d9dab8f619d49c740813df>
- patch: <https://git.kernel.org/stable/c/e684b1674fd1ca4361812a491242ae871d6b2859>
- patch: <https://git.kernel.org/stable/c/24225011d81b471acc0e1e315b7d9905459a6304>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35898>

HTML: <https://flawdb.com/CVE-2024-35898> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35898>
