-

CVE-2026-99135

dm-integrity: fix infinite loop on discard with large tag size

In the Linux kernel, the following vulnerability has been resolved:

dm-integrity: fix infinite loop on discard with large tag size

When integrity_metadata handles a discard, it fills a buffer with
DISCARD_FILLER and writes it over the tags, max_blocks blocks at a
time. If the kmalloc fails, the buffer is the on-stack array
checksums_onstack and max_size is set to HASH_MAX_DIGESTSIZE. So if the
tag size is larger than HASH_MAX_DIGESTSIZE, max_blocks is zero, bi_size
is never decremented and the loop never terminates.

Fix this by using sizeof(checksums_onstack) as max_size. The array has
MAX_TAG_SIZE bytes since commit b93b6643e9b5 ("dm integrity: fix a
crash with unusually large tag size"), so max_blocks is at least 1.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < f41a224b3c9d66c7b59afc7cae02a8b214f3c684
Status affected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < c66f5c6ccfa832d28b44a66c01e3468c246adac4
Status affected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6
Status affected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < bbc154a7da4e075aef720ef051aff6094400eb66
Status affected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < c4cba6670fa199415689f67108e96b0ba469d767
Status affected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < fc512700f1413fed652dac22fa1c4e837210b9c0
Status affected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < 251b44b424920df9204e88a81fb3f78fa48ddd99
Status affected
Version 84597a44a9d86ac949900441cea7da0af0f2f473
Version < 18d80c77b4c7dd20699e81cedfbbff4e9d198f28
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.7
Status affected
Version 0
Version < 5.7
Status unaffected
Version <= 5.10.*
Version 5.10.273
Status unaffected
Version <= 5.15.*
Version 5.15.224
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.161
Status unaffected
Version <= 6.12.*
Version 6.12.115
Status unaffected
Version <= 6.18.*
Version 6.18.59
Status unaffected
Version <= 7.2.*
Version 7.2.13
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.069
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/fc512700f1413fed652dac22fa1c4e837210b9c0
https://git.kernel.org/stable/c/251b44b424920df9204e88a81fb3f78fa48ddd99
https://git.kernel.org/stable/c/18d80c77b4c7dd20699e81cedfbbff4e9d198f28
https://git.kernel.org/stable/c/41a18e6c6e2c4a912494a035c17ecfe79c68b9e6
https://git.kernel.org/stable/c/bbc154a7da4e075aef720ef051aff6094400eb66
https://git.kernel.org/stable/c/c4cba6670fa199415689f67108e96b0ba469d767
https://git.kernel.org/stable/c/c66f5c6ccfa832d28b44a66c01e3468c246adac4
https://git.kernel.org/stable/c/f41a224b3c9d66c7b59afc7cae02a8b214f3c684