CVE-2024-26925
netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
Check your servers for CVE-2024-26925
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-26925 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: release mutex after nft_gc_seq_end from abort path
The commit mutex should not be released during the critical section between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC worker could collect expired objects and get the released commit lock within the same GC sequence.
nf_tables_module_autoload() temporarily releases the mutex to load module dependencies, then it goes back to replay the transaction again. Move it at the end of the abort phase after nft_gc_seq_end() is called.
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.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 4b6346dc1edfb9839d6edee7360ed31a22fa6c95, before 61ac7284346c32f9a8c8ceac56102f7914060428 affected from 23292bdfda5f04e704a843b8f97b0eb95ace1ca6, before 2cee2ff7f8cce12a63a0a23ffe27f08d99541494 affected from b44a459c6561595ed7c3679599c5279204132b33, before eb769ff4e281f751adcaf4f4445cbf30817be139 affected from 5d319f7a81431c6bb32eb4dc7d7975f99e2c8c66, before 8d3a58af50e46167b6f1db47adadad03c0045dae affected from 720344340fb9be2765bbaab7b292ece0a4570eae, before 8038ee3c3e5b59bcd78467686db5270c68544e30 affected from 720344340fb9be2765bbaab7b292ece0a4570eae, before a34ba4bdeec0c3b629160497594908dc820110f1 affected from 720344340fb9be2765bbaab7b292ece0a4570eae, before 0d459e2ffb541841714839e8228b845458ed3b27 affected f85ca36090cbb252bcbc95fc74c2853fc792694f affected e07e68823116563bdbc49cef185cda6f463bc534 affected from 5.4.262, before 5.4.274 affected from 5.10.198, before 5.10.215 affected from 5.15.134, before 5.15.155 affected from 6.1.56, before 6.1.86 affected from 4.19.316, before 4.20 affected from 6.4.13, before 6.5
Other versions: unaffected
|
| Linux |
affected 6.5 unaffected before 6.5 unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.155 up to and including 5.15.* unaffected from 6.1.86 up to and including 6.1.* unaffected from 6.6.26 up to and including 6.6.* unaffected from 6.8.5 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-26925 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26925
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-26925
trivy image --scanners vuln IMAGE | grep CVE-2024-26925
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/61ac7284346c32f9a8c8ceac56102f7914060428 git.kernel.org
- https://git.kernel.org/stable/c/2cee2ff7f8cce12a63a0a23ffe27f08d99541494 git.kernel.org
- https://git.kernel.org/stable/c/eb769ff4e281f751adcaf4f4445cbf30817be139 git.kernel.org
- https://git.kernel.org/stable/c/8d3a58af50e46167b6f1db47adadad03c0045dae git.kernel.org
- https://git.kernel.org/stable/c/8038ee3c3e5b59bcd78467686db5270c68544e30 git.kernel.org
- https://git.kernel.org/stable/c/a34ba4bdeec0c3b629160497594908dc820110f1 git.kernel.org
- https://git.kernel.org/stable/c/0d459e2ffb541841714839e8228b845458ed3b27 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-354112.html cert-portal.siemens.com
Source: the record CVE-2024-26925 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