CVE-2024-43854

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

MEDIUM
5.5
CVSS Score
Published: August 17, 2024 at 09:22 AM UTC
Updated: June 17, 2026 at 07:51 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.27 ≤ v < 4.19.3222.6.27 ≤ v < 5.10.2262.6.27 ≤ v < 5.15.1652.6.27 ≤ v < 5.4.2842.6.27 ≤ v < 6.1.1032.6.27 ≤ v < 6.10.32.6.27 ≤ v < 6.112.6.27 ≤ v < 6.6.445.16 ≤ v < 6.1.1036.2 ≤ v < 6.6.446.7 ≤ v < 6.10.32.6.277ba1ba12eeef0aa7113beb16410ef8b7c748e18b
Vendor states this is fixed in 129f95948a96105c1fad8e612c9097763e88ac5f (fixed)
Vendor states this is fixed in 23a19655fb56f241e592041156dfb1c6d04da644 (fixed)
Vendor states this is fixed in 3fd11fe4f20756b4c0847f755a64cd96f8c6a005 (fixed)
Vendor states this is fixed in 899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f (fixed)
Vendor states this is fixed in 9f4af4cf08f9a0329ade3d938f55d2220c40d0a6 (fixed)
Vendor states this is fixed in cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2 (fixed)
Vendor states this is fixed in d418313bd8f55c079a7da12651951b489a638ac1 (fixed)
Vendor states this is fixed in ebc0e91ba76dc6544fff9f5b66408b1982806a00 (fixed)
Vendor states this is fixed in 2.6.27 (unaffected)
Vendor states this is fixed in 4.19.322 (unaffected)
Vendor states this is fixed in 5.10.226 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.284 (unaffected)
Vendor states this is fixed in 6.1.103 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.44 (unaffected)

References (10)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card