CVE-2024-26860

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

State
Published
Severity
Not scored
Published
Apr 17, 2024
Updated
May 23, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 906414f4596469004632de29126c55751ed82c5e to before 20e21c3c0195d915f33bc7321ee6b362177bf5bfAffected
  • d6824a28b244e8a750952848e4bd2167e1e9a17e to before 338580a7fb9b0930bb38098007e89cc0fc496bf7Affected
  • eb7b14a6a923c5678573c4d238c781cc83fcbc0f to before 74abc2fe09691f3d836d8a54d599ca71f1e4287bAffected
  • c88f5e553fe38b2ffc4c33d08654e5281b297677 to before 6d35654f03c35c273240d85ec67e3f2c3596c4e0Affected
  • c88f5e553fe38b2ffc4c33d08654e5281b297677 to before 55e565c42dce81a4e49c13262d5bc4eb4c2e588aAffected
  • 6.1.80 to before 6.1.83Affected
  • 6.6.19 to before 6.6.23Affected
  • 6.7.7 to before 6.7.11Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.