CVE-2024-27020

HIGH

Linux Kernel 3.13-6.8.8 - Race Condition in nf_tables_expr_type_get

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get() nft_unregister_expr() can concurrent with __nft_expr_type_get(), and there is not any protection when iterate over nf_tables_expressions list in __nft_expr_type_get(). Therefore, there is potential data-race of nf_tables_expressions list entry. Use list_for_each_entry_rcu() to iterate over nf_tables_expressions list in __nft_expr_type_get(), and use rcu_read_lock() in the caller nft_expr_type_get() to protect the entire type query process.

References (16)

Core 16
Core References

Scores

CVSS v3 7.0
EPSS 0.0022
EPSS Percentile 11.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-362
Status published
Products (27)
linux/Kernel 3.13.0 - 4.19.313linux
linux/Kernel 4.20.0 - 5.4.275linux
linux/Kernel 5.11.0 - 5.15.157linux
linux/Kernel 5.16.0 - 6.1.88linux
linux/Kernel 5.5.0 - 5.10.216linux
linux/Kernel 6.2.0 - 6.6.29linux
linux/Kernel 6.7.0 - 6.8.8linux
Linux/Linux < 3.13
Linux/Linux 3.13
Linux/Linux 4.19.313 - 4.19.*
... and 17 more
Published May 01, 2024
Tracked Since Feb 18, 2026