Linux Kernel
CVE-2024-35898
HIGH
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only access with low privilege required; AC:H reflects race window timing dependency; full C/I/A impact for potential kernel memory corruption via dangling pointer.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
7DescriptionCVE.org
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.
AnalysisAI
Race condition in the Linux kernel's netfilter nf_tables flowtable subsystem exposes systems to potential kernel memory corruption via an unprotected concurrent list traversal. The __nft_flowtable_type_get() function iterates the nf_tables_flowtables list without RCU synchronization, allowing a collision with nft_unregister_flowtable_type() executing during module exit. Despite a CVSS score of 7.0 (High) with full C/I/A impact, no public exploit identified at time of analysis and an EPSS of 0.01% (1st percentile) indicate this is a maintenance priority rather than an active threat requiring emergency response.
Technical ContextAI
This vulnerability exists within the Linux kernel's netfilter nf_tables subsystem, specifically the flowtable type lookup path. Netfilter is the kernel's core packet filtering framework; nf_tables is its modern rule engine, and flowtables provide hardware or software offload of established connection flows. The root cause, classified as CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization), is that __nft_flowtable_type_get() uses a plain list_for_each_entry() to iterate the nf_tables_flowtables linked list with no RCU read-side lock. Concurrently, nft_unregister_flowtable_type() - called during nf_flow_inet_module_exit() - can modify that same list, creating a classic TOCTOU data race. The fix replaces the iteration with list_for_each_entry_rcu() and adds rcu_read_lock()/rcu_read_unlock() in the caller nft_flowtable_type_get(), applying standard kernel RCU discipline. CPE data confirms the affected product as cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* across multiple version branches including 6.9-rc1 and 6.9-rc2, along with Debian Linux 10.0.
RemediationAI
Apply the upstream kernel patches backported to multiple stable trees, referenced at https://git.kernel.org/stable/c/24225011d81b471acc0e1e315b7d9905459a6304 and the seven additional commits listed in the NVD references. Debian users running kernel packages for Debian 10.0 (Buster) should apply available distribution security updates via apt-get upgrade. Exact patched release versions per stable branch are not confirmed beyond the commit hashes; verify with your distribution's security tracker. As a compensating control where immediate patching is infeasible, disabling nf_tables flowtable offload by avoiding nft add flowtable rules or unloading the nft_flow_offload module (modprobe -r nft_flow_offload) eliminates the vulnerable code path at the cost of disabling connection offload performance optimization. Restricting unprivileged user access to CAP_NET_ADMIN (which governs netfilter configuration) provides a further barrier, though this is typically already enforced in well-hardened environments.
More in Debian Linux
View allApache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (
Same weakness CWE-362 – Race Condition
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today