VDB

CVE-2024-43854

CVE-2024-43854 PUBLISHED

block: initialize integrity buffer to zero before writing it to media

Reported by linux · Published August 17, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-develAmazon Linux4.14.355-271.569.amzn2
kernel-livepatch-6.1.106-116.188Amazon Linux1.0-0.amzn2023
kernel-libbpfAmazon Linux6.1.106-116.188.amzn2023
kernel-tools-develAmazon Linux6.1.106-116.188.amzn2023, 4.14.355-271.569.amzn2
kernel-livepatch-4.14.355-271.569Amazon Linux1.0-0.amzn2
perfAmazon Linux6.1.106-116.188.amzn2023, 4.14.355-271.569.amzn2
python-perfAmazon Linux4.14.355-271.569.amzn2
LinuxLinuxd418313bd8f55c079a7da12651951b489a638ac1, cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2, 3fd11fe4f20756b4c0847f755a64cd96f8c6a005, 129f95948a96105c1fad8e612c9097763e88ac5f

Affected products

VendorProductVersions
LinuxLinux7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b
LinuxLinux2.6.27, 0, 4.19.322
amazon:2kernel-devel0
amazon:2023kernel-livepatch-6.1.106-116.1880
amazon:2023kernel-libbpf0
amazon:2kernel-tools-devel0
amazon:2kernel-livepatch-4.14.355-271.5690
amazon:2023perf0
amazon:2python-perf0
amazon:2perf0
amazon:2023kernel-tools-devel0
LinuxLinux0, 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b, 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2kernel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools0
amazon:2023kernel0

…and 6 more

Timeline

  • Aug 17, 2024 CVE Published
  • Aug 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Jan 5, 2026 Security Advisory (163 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (149 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-43854
vulnetix vdb fixes CVE-2024-43854

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-43854/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›