CVEvulnerability
CVE-2024-26860
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-04-17
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• linux linux kernel (>= 6.1.80 < 6.1.83)
• linux linux kernel (>= 6.6.19 < 6.6.23)
• linux linux kernel (>= 6.7.7 < 6.7.11)
• linux linux kernel (>= 6.8 < 6.8.2)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/20e21c3c0195d915f33bc7321ee6b362177bf5bf Patch
- https://git.kernel.org/stable/c/338580a7fb9b0930bb38098007e89cc0fc496bf7 Patch
- https://git.kernel.org/stable/c/55e565c42dce81a4e49c13262d5bc4eb4c2e588a Patch
- https://git.kernel.org/stable/c/6d35654f03c35c273240d85ec67e3f2c3596c4e0 Patch
- https://git.kernel.org/stable/c/74abc2fe09691f3d836d8a54d599ca71f1e4287b Patch
- https://git.kernel.org/stable/c/20e21c3c0195d915f33bc7321ee6b362177bf5bf Patch
- https://git.kernel.org/stable/c/338580a7fb9b0930bb38098007e89cc0fc496bf7 Patch
- https://git.kernel.org/stable/c/55e565c42dce81a4e49c13262d5bc4eb4c2e588a Patch
- https://git.kernel.org/stable/c/6d35654f03c35c273240d85ec67e3f2c3596c4e0 Patch
- https://git.kernel.org/stable/c/74abc2fe09691f3d836d8a54d599ca71f1e4287b Patch