CVE-2024-35898
MEDIUMLinux Kernel - Race Condition in nf_tables_flowtables List Handling
Title source: llmDescription
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.
References (11)
Core 11
Core References
Mailing List, Third Party Advisory
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
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
1.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-362
Status
published
Products (28)
debian/debian_linux
10.0
linux/Kernel
4.16.0 - 4.19.312linux
linux/Kernel
4.20.0 - 5.4.274linux
linux/Kernel
5.11.0 - 5.15.154linux
linux/Kernel
5.16.0 - 6.1.85linux
linux/Kernel
5.5.0 - 5.10.215linux
linux/Kernel
6.2.0 - 6.6.26linux
linux/Kernel
6.7.0 - 6.8.5linux
Linux/Linux
< 4.16
Linux/Linux
3b49e2e94e6ebb8b23d0955d9e898254455734f8 - 24225011d81b471acc0e1e315b7d9905459a6304
... and 18 more
Published
May 19, 2024
Tracked Since
Feb 18, 2026