CVE-2024-26860

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

MEDIUM
5.5
CVSS Score
Published: April 17, 2024 at 10:27 AM UTC
Updated: June 17, 2026 at 07:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1.80 ≤ v < 6.1.836.6.19 ≤ v < 6.6.236.7.7 ≤ v < 6.7.116.8 ≤ v < 6.8.26.8 ≤ v < 6.96.1.806.6.196.7.76.8906414f4596469004632de29126c55751ed82c5ec88f5e553fe38b2ffc4c33d08654e5281b297677d6824a28b244e8a750952848e4bd2167e1e9a17eeb7b14a6a923c5678573c4d238c781cc83fcbc0f
Vendor states this is fixed in 20e21c3c0195d915f33bc7321ee6b362177bf5bf (fixed)
Vendor states this is fixed in 338580a7fb9b0930bb38098007e89cc0fc496bf7 (fixed)
Vendor states this is fixed in 55e565c42dce81a4e49c13262d5bc4eb4c2e588a (fixed)
Vendor states this is fixed in 6d35654f03c35c273240d85ec67e3f2c3596c4e0 (fixed)
Vendor states this is fixed in 74abc2fe09691f3d836d8a54d599ca71f1e4287b (fixed)
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/20e21c3c0195d915f33bc7321ee6b362177bf5bf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/338580a7fb9b0930bb38098007e89cc0fc496bf7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/55e565c42dce81a4e49c13262d5bc4eb4c2e588a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d35654f03c35c273240d85ec67e3f2c3596c4e0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/74abc2fe09691f3d836d8a54d599ca71f1e4287b

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card