CVE-2024-27019

Source
https://cve.org/CVERecord?id=CVE-2024-27019
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27019.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27019
Downstream
Related
Published
2024-05-01T05:30:11.319Z
Modified
2026-03-14T12:27:44.157238Z
Summary
netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
Details

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

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

nftunregisterobj() can concurrent with __nftobjtype_get(), and there is not any protection when iterate over nftablesobjects list in _nftobjtypeget(). Therefore, there is potential data-race of nftablesobjects list entry.

Use listforeachentryrcu() to iterate over nftablesobjects list in __nftobjtypeget(), and use rcureadlock() in the caller nftobjtypeget() to protect the entire type query process.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27019.json"
}
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
e50092404c1bc7aaeb0a0f4077fa6f07b073a20f
Fixed
cade34279c2249eafe528564bd2e203e4ff15f88
Fixed
379bf7257bc5f2a1b1ca8514e08a871b7bf6d920
Fixed
df7c0fb8c2b9f9cac65659332581b19682a71349
Fixed
ad333578f736d56920e090d7db1f8dec891d815e
Fixed
4ca946b19caf655a08d5e2266d4d5526025ebb73
Fixed
d78d867dcea69c328db30df665be5be7d0148484

Database specific

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