What’s Vulnerable › Vulnerabilities

CVE-2024-43854: block: initialize integrity buffer to zero before writing it to media

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.165, 6.1.103, 6.10.3, 6.6.44. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-43854 or the next vulnerability affects your stack