What’s Vulnerable › Vulnerabilities

CVE-2024-26860: dm-integrity: fix a memory leak when rechecking the data

Description

In the Linux kernel, the following vulnerability has been resolved: dm-integrity: fix a memory leak when rechecking the data Memory for the "checksums" pointer will leak if the data is rechecked after checksum failure (because the associated kfree won't happen due to 'goto skip_io'). Fix this by freeing the checksums memory before recheck, and just use the "checksum_onstack" memory for storing checksum during recheck.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.83, 6.6.23, 6.7.11, 6.8.2. Check the vendor advisory for mitigations.

References

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