CVE-2024-43854
block: initialize integrity buffer to zero before writing it to media
Check your servers for CVE-2024-43854
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-43854 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:
block: initialize integrity buffer to zero before writing it to media
Metadata added by bio_integrity_prep is using plain kmalloc, which leads to random kernel memory being written media. For PI metadata this is limited to the app tag that isn't used by kernel generated metadata, but for non-PI metadata the entire buffer leaks kernel memory.
Fix this by adding the __GFP_ZERO flag to allocations for writes.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.3% 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 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before 9f4af4cf08f9a0329ade3d938f55d2220c40d0a6 affected from 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before 129f95948a96105c1fad8e612c9097763e88ac5f affected from 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before 3fd11fe4f20756b4c0847f755a64cd96f8c6a005 affected from 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2 affected from 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before d418313bd8f55c079a7da12651951b489a638ac1 affected from 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before 23a19655fb56f241e592041156dfb1c6d04da644 affected from 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before ebc0e91ba76dc6544fff9f5b66408b1982806a00 affected from 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, before 899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f
Other versions: unaffected
|
| Linux |
affected 2.6.27 unaffected before 2.6.27 unaffected from 4.19.322 up to and including 4.19.* unaffected from 5.4.284 up to and including 5.4.* unaffected from 5.10.226 up to and including 5.10.* unaffected from 5.15.165 up to and including 5.15.* unaffected from 6.1.103 up to and including 6.1.* unaffected from 6.6.44 up to and including 6.6.* unaffected from 6.10.3 up to and including 6.10.* unaffected 6.11 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-43854 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-43854
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-43854
trivy image --scanners vuln IMAGE | grep CVE-2024-43854
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/9f4af4cf08f9a0329ade3d938f55d2220c40d0a6 git.kernel.org
- https://git.kernel.org/stable/c/129f95948a96105c1fad8e612c9097763e88ac5f git.kernel.org
- https://git.kernel.org/stable/c/3fd11fe4f20756b4c0847f755a64cd96f8c6a005 git.kernel.org
- https://git.kernel.org/stable/c/cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2 git.kernel.org
- https://git.kernel.org/stable/c/d418313bd8f55c079a7da12651951b489a638ac1 git.kernel.org
- https://git.kernel.org/stable/c/23a19655fb56f241e592041156dfb1c6d04da644 git.kernel.org
- https://git.kernel.org/stable/c/ebc0e91ba76dc6544fff9f5b66408b1982806a00 git.kernel.org
- https://git.kernel.org/stable/c/899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html lists.debian.org
Source: the record CVE-2024-43854 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