{"id":"CVE-2024-26860","summary":"dm-integrity: fix a memory leak when rechecking the data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-integrity: fix a memory leak when rechecking the data\n\nMemory for the \"checksums\" pointer will leak if the data is rechecked\nafter checksum failure (because the associated kfree won't happen due\nto 'goto skip_io').\n\nFix this by freeing the checksums memory before recheck, and just use\nthe \"checksum_onstack\" memory for storing checksum during recheck.","modified":"2026-04-02T10:06:13.603154Z","published":"2024-04-17T10:27:24.343Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26860.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/20e21c3c0195d915f33bc7321ee6b362177bf5bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/338580a7fb9b0930bb38098007e89cc0fc496bf7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/55e565c42dce81a4e49c13262d5bc4eb4c2e588a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d35654f03c35c273240d85ec67e3f2c3596c4e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74abc2fe09691f3d836d8a54d599ca71f1e4287b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26860.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26860"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"906414f4596469004632de29126c55751ed82c5e"},{"fixed":"20e21c3c0195d915f33bc7321ee6b362177bf5bf"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d6824a28b244e8a750952848e4bd2167e1e9a17e"},{"fixed":"338580a7fb9b0930bb38098007e89cc0fc496bf7"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"eb7b14a6a923c5678573c4d238c781cc83fcbc0f"},{"fixed":"74abc2fe09691f3d836d8a54d599ca71f1e4287b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c88f5e553fe38b2ffc4c33d08654e5281b297677"},{"fixed":"6d35654f03c35c273240d85ec67e3f2c3596c4e0"},{"fixed":"55e565c42dce81a4e49c13262d5bc4eb4c2e588a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26860.json"}}],"schema_version":"1.7.5"}