CVE-2024-27020

Source
https://cve.org/CVERecord?id=CVE-2024-27020
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27020.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27020
Downstream
Related
Published
2024-05-01T05:30:15.908Z
Modified
2026-04-02T10:06:48.187279Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: Fix potential data-race in _nftexprtypeget()

nftunregisterexpr() can concurrent with __nftexprtype_get(), and there is not any protection when iterate over nftablesexpressions list in _nftexprtypeget(). Therefore, there is potential data-race of nftablesexpressions list entry.

Use listforeachentryrcu() to iterate over nftablesexpressions list in __nftexprtypeget(), and use rcureadlock() in the caller nftexprtypeget() to protect the entire type query process.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27020.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ef1f7df9170dbd875ce198ba84e6ab80f6fc139e
Fixed
939109c0a8e2a006a6cc8209e262d25065f4403a
Fixed
b38a133d37fa421c8447b383d788c9cc6f5cb34c
Fixed
934e66e231cff2b18faa2c8aad0b8cec13957e05
Fixed
0b6de00206adbbfc6373b3ae38d2a6f197987907
Fixed
8d56bad42ac4c43c6c72ddd6a654a2628bf839c5
Fixed
a9ebf340d123ae12582210407f879d6a5a1bc25b
Fixed
01f1a678b05ade4b1248019c2dcca773aebbeb7f
Fixed
f969eb84ce482331a991079ab7a5c4dc3b7f89bf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27020.json"