SecurityContext

CVE-2024-35898: Linux Kernel - Race Condition

  • Cve: CVE-2024-35898
  • Name: Linux Kernel - Race Condition
  • 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.
  • Impact: Potential data corruption or kernel panic due to race conditions during flowtable type access.
  • Remediation: Apply the patch to use list_for_each_entry_rcu() and rcu_read_lock() as recommended.
  • Vulnerability type: race_condition
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00204
  • Epss percentile: 0.10299
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-05-19T09:15:10Z
  • Age in days: 919
  • Modified at: 2026-10-15T01:17:51Z
  • Patch available: yes
  • References total: 11
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-35898
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/24225011d81b471acc0e1e315b7d9905459a6304Patch
https://git.kernel.org/stable/c/2485bcfe05ee3cf9ca8923a94fa2e456924c79c8Patch
https://git.kernel.org/stable/c/69d1fe14a680042ec913f22196b58e2c8ff1b007Patch
https://git.kernel.org/stable/c/8b891153b2e4dc0ca9d9dab8f619d49c740813dfPatch
https://git.kernel.org/stable/c/940d41caa71f0d3a52df2fde5fada524a993e331Patch
https://git.kernel.org/stable/c/9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083bPatch
https://git.kernel.org/stable/c/a347bc8e6251eaee4b619da28020641eb5b0dd77Patch
https://git.kernel.org/stable/c/e684b1674fd1ca4361812a491242ae871d6b2859Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.9 rc1; = 6.9 rc2; >= 6.7, < 6.8.5; >= 6.2, < 6.6.26; >= 5.16, < 6.1.85; >= 5.11, < 5.15.154; >= 5.5, < 5.10.215; >= 4.20, < 5.4.274; >= 4.16, < 4.19.312nonvd/v1/products/linux/linux_kernel
debian:debian_linux= 10.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports