CVE-2024-26860

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

published April 17, 2024

CVSS
—
EPSS
0%
Percentile
12.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00222 · 12.1th percentile
Published
2024-04-17T10:27Z
EPSS history
Timeline
  • 17 APR 10:27Z
    dm-integrity: fix a memory leak when rechecking the data
    cvelistv5