Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-35898

published high CVSS 3.1 · 7.0

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

Published
19 May 2024, 08:34:52 UTC
Updated
15 Oct 2026, 00:41:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 69d1fe14a680042ec913f22196b58e2c8ff1b007 · 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < a347bc8e6251eaee4b619da28020641eb5b0dd77 · 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 940d41caa71f0d3a52df2fde5fada524a993e331 · 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8 · 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b · 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 8b891153b2e4dc0ca9d9dab8f619d49c740813df · 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < e684b1674fd1ca4361812a491242ae871d6b2859 · 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 24225011d81b471acc0e1e315b7d9905459a6304 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 4.19.312 through 4.19.* (unaffected · semver) · 5.4.274 through 5.4.* (unaffected · semver) · 5.10.215 through 5.10.* (unaffected · semver) · 5.15.154 through 5.15.* (unaffected · semver) · 6.1.85 through 6.1.* (unaffected · semver) · 6.6.26 through 6.6.* (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
Debian buster linux Advisory build 4.19.316-1 DLA-3840-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 9 bpftool Advisory build 7.3.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 libperf Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 perf Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 rtla Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 rv Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
Debian buster linux-5.10 Advisory build 5.10.216-1~deb10u1 DLA-3842-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

57

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached through the nfnetlink/nftables netlink socket interface (NFT_MSG_NEWFLOWTABLE batch message), which requires local system access. Per kernel scoring guidance, netfilter/nftables netlink paths are Local. AC:H - The attacker fully controls the reader side by spamming NFT_MSG_NEWFLOWTABLE, but the writer side is `nft_unregister_flowtable_type()`, reachable only from `nf_flow_inet_module_exit()` — i.e. an `rmmod` requiring real CAP_SYS_MODULE in the init namespace, which an unprivileged attacker cannot influence. Winning the window between latching `type` and `try_module_get(type->owner)` therefore depends on a privileged event outside attacker control. PR:L - `nfnetlink_rcv()` checks `netlink_net_capable(skb, CAP_NET_ADMIN)`, which evaluates against `sock_net(sk)->user_ns`, so an unprivileged user obtains the needed capability with `unshare -Urn`. No real root is required on the attacker's side of the race. UI:N - Exploitation requires only that the attacker issue netlink requests in a loop; no victim opens a file, mounts a filesystem, or otherwise participates. The concurrent administrative module unload is accounted for in Attack Complexity, not User Interaction. S:U - The race, the dangling pointer, and its consequences are all confined to the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The unprotected traversal yields a dangling `struct nf_flowtable_type *` into freed module memory, which is then dereferenced (`type->family`, `type->owner`) and chased into `struct module` inside `try_module_get()`. Per kernel guidance a use-after-free is scored High, since reclaimed memory contents become readable through the stale pointer. I:H - `try_module_get()` performs `atomic_inc_not_zero(&module->refcnt)` through a pointer read from freed memory, and on success `nf_tables_newflowtable()` stores the stale `type` and invokes `type->init()` while `nft_flowtable_parse_hook()` installs `type->hook` as a live packet-processing callback — a control-flow hijack primitive if the module region is reclaimed. Use-after-free with function-pointer dereference is High integrity impact. A:H - Module memory is released via `execmem_free()`, so dereferencing the stale `type` typically faults on unmapped kernel address space, producing an oops/panic. Any use-after-free of this kind is scored High availability impact.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.5 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 69d1fe14a680042ec913f22196b58e2c8ff1b007 (affected · git)3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < a347bc8e6251eaee4b619da28020641eb5b0dd77 (affected · git)3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 940d41caa71f0d3a52df2fde5fada524a993e331 (affected · git)3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 2485bcfe05ee3cf9ca8923a94fa2e456924c79c8 (affected · git)3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b (affected · git)3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 8b891153b2e4dc0ca9d9dab8f619d49c740813df (affected · git)3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < e684b1674fd1ca4361812a491242ae871d6b2859 (affected · git)3b49e2e94e6ebb8b23d0955d9e898254455734f8 to < 24225011d81b471acc0e1e315b7d9905459a6304 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.16 (affected)0 to < 4.16 (unaffected · semver)4.19.312 through 4.19.* (unaffected · semver)5.4.274 through 5.4.* (unaffected · semver)5.10.215 through 5.10.* (unaffected · semver)5.15.154 through 5.15.* (unaffected · semver)6.1.85 through 6.1.* (unaffected · semver)6.6.26 through 6.6.* (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

11

Provider assertions

4

Linux · cna

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

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
7fab65aecdb06d3d70c2990924244ff395801ac067912c0587021de0d1e8ade9
Ingested
15 Oct 2026, 13:09:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected