Vulnerability · Published Apr 17, 2024 · Assigned by Linux

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

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.2%top 87.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.85-1DEBIAN-CVE-2024-26860
Debian:13linux6.7.12-1DEBIAN-CVE-2024-26860
Debian:14linux6.7.12-1DEBIAN-CVE-2024-26860
Ubuntu:24.04:LTSlinux6.8.0-35.35USN-6816-1
Ubuntu:24.04:LTSlinux6.8.0-35.35UBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-aws6.8.0-1009.9UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-aws6.8.0-1009.9USN-6817-1
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-azure6.8.0-1008.8UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-azure6.8.0-1008.8USN-6817-3
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-gcp6.8.0-1008.9UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-gcp6.8.0-1008.9USN-6817-1
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-gke6.8.0-1004.7UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-gke6.8.0-1004.7USN-6817-3
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-ibm6.8.0-1006.6UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-ibm6.8.0-1006.6USN-6816-1
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-35.35.1UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-35.35.1USN-6816-1
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-oem-6.86.8.0-1006.6UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-oem-6.86.8.0-1006.6USN-6817-2
Ubuntu:24.04:LTSlinux-oracle6.8.0-1006.6USN-6878-1
Ubuntu:24.04:LTSlinux-oracle6.8.0-1006.6UBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-raspi6.8.0-1005.5USN-6816-1
Ubuntu:24.04:LTSlinux-raspi6.8.0-1005.5UBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2024-26860
Ubuntu:24.04:LTSlinux-riscv6.8.0-35.35.1UBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2024-26860
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2024-26860

Affected products (as reported)

VendorProductVersions
Linux Linux 906414f4596469004632de29126c55751ed82c5e – before 20e21c3c0195d915f33bc7321ee6b362177bf5bfd6824a28b244e8a750952848e4bd2167e1e9a17e – before 338580a7fb9b0930bb38098007e89cc0fc496bf7eb7b14a6a923c5678573c4d238c781cc83fcbc0f – before 74abc2fe09691f3d836d8a54d599ca71f1e4287bc88f5e553fe38b2ffc4c33d08654e5281b297677 – before 6d35654f03c35c273240d85ec67e3f2c3596c4e0c88f5e553fe38b2ffc4c33d08654e5281b297677 – before 55e565c42dce81a4e49c13262d5bc4eb4c2e588a6.1.80 – before 6.1.836.6.19 – before 6.6.236.7.7 – before 6.7.11
Linux Linux 6.8

References