CVE-2024-26860
dm-integrity: fix a memory leak when rechecking the data
Check your servers for CVE-2024-26860
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-26860 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:
dm-integrity: fix a memory leak when rechecking the data
Memory for the "checksums" pointer will leak if the data is rechecked after checksum failure (because the associated kfree won't happen due to 'goto skip_io').
Fix this by freeing the checksums memory before recheck, and just use the "checksum_onstack" memory for storing checksum during recheck.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 May 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 906414f4596469004632de29126c55751ed82c5e, before 20e21c3c0195d915f33bc7321ee6b362177bf5bf affected from d6824a28b244e8a750952848e4bd2167e1e9a17e, before 338580a7fb9b0930bb38098007e89cc0fc496bf7 affected from eb7b14a6a923c5678573c4d238c781cc83fcbc0f, before 74abc2fe09691f3d836d8a54d599ca71f1e4287b affected from c88f5e553fe38b2ffc4c33d08654e5281b297677, before 6d35654f03c35c273240d85ec67e3f2c3596c4e0 affected from c88f5e553fe38b2ffc4c33d08654e5281b297677, before 55e565c42dce81a4e49c13262d5bc4eb4c2e588a affected from 6.1.80, before 6.1.83 affected from 6.6.19, before 6.6.23 affected from 6.7.7, before 6.7.11
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 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-26860 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26860
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-26860
trivy image --scanners vuln IMAGE | grep CVE-2024-26860
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/20e21c3c0195d915f33bc7321ee6b362177bf5bf git.kernel.org
- https://git.kernel.org/stable/c/338580a7fb9b0930bb38098007e89cc0fc496bf7 git.kernel.org
- https://git.kernel.org/stable/c/74abc2fe09691f3d836d8a54d599ca71f1e4287b git.kernel.org
- https://git.kernel.org/stable/c/6d35654f03c35c273240d85ec67e3f2c3596c4e0 git.kernel.org
- https://git.kernel.org/stable/c/55e565c42dce81a4e49c13262d5bc4eb4c2e588a git.kernel.org
Source: the record CVE-2024-26860 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