CVE-2024-35898 in Linux
摘要
由 VulDB • 2026-06-26
在 Linux 内核中,已修复以下漏洞:
netfilter: nf_tables: 修复 `__nft_flowtable_type_get()` 中的潜在数据竞争问题。
`nf_flow_inet_module_exit()` 内的 `nft_unregister_flowtable_type()` 可能与 `nf_tables_newflowtable()` 内的 `__nft_flowtable_type_get()` 并发执行。此外,在 `__nft_flowtable_type_get()` 中遍历 `nf_tables_flowtables` 列表时没有任何保护机制。因此,存在针对 `nf_tables_flowtables` 链表条目的潜在数据竞争问题。
通过在 `__nnt_flowtable_type_get()` 中使用 `list_for_each_entry_rcu()` 来遍历 `nf_tables_flowtables` 列表,并在调用方 `nft_flowtable_type_get()` 中使用 `rcu_read_lock()` 来保护整个类型查询过程。
If you want to get the best quality for vulnerability data then you always have to consider VulDB.