CVE-2026-99135

published 28 Oct 2026 · updated 1 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 18d80c77b4c7dd20699e81cedfbbff4e9d198f28, Kernel 251b44b424920df9204e88a81fb3f78fa48ddd99, Kernel 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.7, >=84597a44a9d86ac949900441cea7da0af0f2f473 <18d80c77b4c7dd20699e81cedfbbff4e9d198f28, >=84597a44a9d86ac949900441cea7da0af0f2f473 <251b44b424920df9204e88a81fb3f78fa48ddd99, >=84597a44a9d86ac949900441cea7da0af0f2f473 <41a18e6c6e2c4a912494a035c17ecfe79c68b9e6, >=84597a44a9d86ac949900441cea7da0af0f2f473 <bbc154a7da4e075aef720ef051aff6094400eb66, >=84597a44a9d86ac949900441cea7da0af0f2f473 <c4cba6670fa199415689f67108e96b0ba469d767, >=84597a44a9d86ac949900441cea7da0af0f2f473 <c66f5c6ccfa832d28b44a66c01e3468c246adac4, >=84597a44a9d86ac949900441cea7da0af0f2f473 <f41a224b3c9d66c7b59afc7cae02a8b214f3c684, >=84597a44a9d86ac949900441cea7da0af0f2f473 <fc512700f1413fed652dac22fa1c4e837210b9c018d80c77b4c7dd20699e81cedfbbff4e9d198f28, 251b44b424920df9204e88a81fb3f78fa48ddd99, 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6, bbc154a7da4e075aef720ef051aff6094400eb66, c4cba6670fa199415689f67108e96b0ba469d767, c66f5c6ccfa832d28b44a66c01e3468c246adac4, f41a224b3c9d66c7b59afc7cae02a8b214f3c684, fc512700f1413fed652dac22fa1c4e837210b9c0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-99135 severity on Zeptric[![CVE-2026-99135](https://zeptric.io/badge/cve/CVE-2026-99135.svg)](https://zeptric.io/cve/CVE-2026-99135)