CVE-2024-27019
netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
Check your servers for CVE-2024-27019
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-27019 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
nft_unregister_obj() can concurrent with __nft_obj_type_get(), and there is not any protection when iterate over nf_tables_objects list in __nft_obj_type_get(). Therefore, there is potential data-race of nf_tables_objects list entry.
Use list_for_each_entry_rcu() to iterate over nf_tables_objects list in __nft_obj_type_get(), and use rcu_read_lock() in the caller nft_obj_type_get() to protect the entire type query process.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e50092404c1bc7aaeb0a0f4077fa6f07b073a20f, before cade34279c2249eafe528564bd2e203e4ff15f88 affected from e50092404c1bc7aaeb0a0f4077fa6f07b073a20f, before 379bf7257bc5f2a1b1ca8514e08a871b7bf6d920 affected from e50092404c1bc7aaeb0a0f4077fa6f07b073a20f, before df7c0fb8c2b9f9cac65659332581b19682a71349 affected from e50092404c1bc7aaeb0a0f4077fa6f07b073a20f, before ad333578f736d56920e090d7db1f8dec891d815e affected from e50092404c1bc7aaeb0a0f4077fa6f07b073a20f, before 4ca946b19caf655a08d5e2266d4d5526025ebb73 affected from e50092404c1bc7aaeb0a0f4077fa6f07b073a20f, before d78d867dcea69c328db30df665be5be7d0148484
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.10.219 up to and including 5.10.* unaffected from 5.15.157 up to and including 5.15.* unaffected from 6.1.88 up to and including 6.1.* unaffected from 6.6.29 up to and including 6.6.* unaffected from 6.8.8 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-27019 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27019
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-27019
trivy image --scanners vuln IMAGE | grep CVE-2024-27019
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cade34279c2249eafe528564bd2e203e4ff15f88 git.kernel.org
- https://git.kernel.org/stable/c/379bf7257bc5f2a1b1ca8514e08a871b7bf6d920 git.kernel.org
- https://git.kernel.org/stable/c/df7c0fb8c2b9f9cac65659332581b19682a71349 git.kernel.org
- https://git.kernel.org/stable/c/ad333578f736d56920e090d7db1f8dec891d815e git.kernel.org
- https://git.kernel.org/stable/c/4ca946b19caf655a08d5e2266d4d5526025ebb73 git.kernel.org
- https://git.kernel.org/stable/c/d78d867dcea69c328db30df665be5be7d0148484 git.kernel.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ lists.fedoraproject.org
Source: the record CVE-2024-27019 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse