CVE-2024-26860: dm-integrity: fix a memory leak when rechecking the data
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 skipio').
Fix this by freeing the checksums memory before recheck, and just use the "checksumonstack" memory for storing checksum during recheck.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26860?
CVE-2024-26860 has a moderate severity level due to a memory leak issue that can affect system performance.
How do I fix CVE-2024-26860?
To fix CVE-2024-26860, update to a patched version of the Linux kernel, such as 5.10.223-1 or 6.1.123-1.
Which versions of the Linux kernel are affected by CVE-2024-26860?
CVE-2024-26860 affects Linux kernel versions between 6.1.80 and 6.1.83, 6.6.19 and 6.6.23, 6.7.7 and 6.7.11, and 6.8 and 6.8.2.
Is CVE-2024-26860 related to data integrity?
Yes, CVE-2024-26860 is related to the integrity of data due to a memory leak occurring during checksum rechecking.
What impact does CVE-2024-26860 have on Linux systems?
CVE-2024-26860 can lead to increased memory usage over time, potentially degrading the performance of Linux systems.