# CVE-2024-35898: netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2024-05-19T08:34:52.519Z
- Modified: 2026-10-15T01:17:51.290Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before 69d1fe14a680042ec913f22196b58e2c8ff1b007; from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before a347bc8e6251eaee4b619da28020641eb5b0dd77; from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before 940d41caa71f0d3a52df2fde5fada524a993e331; from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8; from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b; from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before 8b891153b2e4dc0ca9d9dab8f619d49c740813df; from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before e684b1674fd1ca4361812a491242ae871d6b2859; from 3b49e2e94e6ebb8b23d0955d9e898254455734f8 before 24225011d81b471acc0e1e315b7d9905459a6304; 4.16 (not affected: before 4.16; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.154 up to 5.15.*; from 6.1.85 up to 6.1.*; from 6.6.26 up to 6.6.*; from 6.8.5 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 4.16 before 4.19.312; from 4.20 before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.154; from 5.16 before 6.1.85; from 6.2 before 6.6.26; from 6.7 before 6.8.5; 6.9
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-35898](https://www.cve.org/CVERecord?id=CVE-2024-35898), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35898](https://nvd.nist.gov/vuln/detail/CVE-2024-35898), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35898 · Whole record: https://cve.day/CVE-2024-35898.json · Rebuilt by cve.day 2026-11-25T22:58:40.590Z
