CVE-2024-43854

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

State
Published
Severity
Not scored
Published
Aug 17, 2024
Updated
May 11, 2026
Reserved
Aug 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before 9f4af4cf08f9a0329ade3d938f55d2220c40d0a6Affected
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before 129f95948a96105c1fad8e612c9097763e88ac5fAffected
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before 3fd11fe4f20756b4c0847f755a64cd96f8c6a005Affected
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2Affected
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before d418313bd8f55c079a7da12651951b489a638ac1Affected
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before 23a19655fb56f241e592041156dfb1c6d04da644Affected
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before ebc0e91ba76dc6544fff9f5b66408b1982806a00Affected
  • 7ba1ba12eeef0aa7113beb16410ef8b7c748e18b to before 899ee2c3829c5ac14bfc7d3c4a5846c0b709b78fAffected
LinuxLinux
  • 2.6.27Affected
  • before 2.6.27Not affected
  • 4.19.322 through 4.19.*Not affected
  • 5.4.284 through 5.4.*Not affected
  • 5.10.226 through 5.10.*Not affected
  • 5.15.165 through 5.15.*Not affected
  • 6.1.103 through 6.1.*Not affected
  • 6.6.44 through 6.6.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.