CVE-2024-43854

medium

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.

References

https://git.kernel.org/stable/c/ebc0e91ba76dc6544fff9f5b66408b1982806a00

https://git.kernel.org/stable/c/d418313bd8f55c079a7da12651951b489a638ac1

https://git.kernel.org/stable/c/cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2

https://git.kernel.org/stable/c/899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f

https://git.kernel.org/stable/c/23a19655fb56f241e592041156dfb1c6d04da644

Details

Source: Mitre, NVD

Published: 2024-08-17

Updated: 2024-08-22

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium