Skip to main content
← All vulnerabilities
CVE-2024-26860

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.83, 6.6.23, 6.7.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6.1.80 · fixed in 6.1.83; From 6.6.19 · fixed in 6.6.23; From 6.7.7 · fixed in 6.7.11

  • Linux Linux

    6.8

References 5

git.kernel.org