CVE-2024-35898
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2024-35898 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.16
and later are affected. Fixed in
4.19.312,
5.4.274,
5.10.215,
5.15.154,
6.1.85,
6.6.26,
6.8.5,
6.9
and their respective stable series.
References
11 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2024-35898?
CVE-2024-35898 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 4.16 onward and has been patched in 4.19.312, 5.4.274, 5.10.215 and others. CVE-2024-35898 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-35898?
CVE-2024-35898 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-35898?
Yes. CVE-2024-35898 has been patched. Fixed versions include 4.19.312, 5.4.274, 5.10.215 and others. If you are running Linux kernel 4.16 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-35898 actively exploited?
No. CVE-2024-35898 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.