CVE-2026-99135 dm-integrity: fix infinite loop on discard with large tag size
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-99135?
CVE-2026-99135 is a vulnerability in Linux, published on 28 Oct 2026.
Official description
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.
Which versions are affected by CVE-2026-99135?
How do I fix CVE-2026-99135?
Upgrade to a fixed version.
Is CVE-2026-99135 being exploited?
There is no known exploitation of CVE-2026-99135 in the wild and no public exploit code.
Sources
Also known as AZL-111254, BELL-CVE-2026-99135, DEBIAN-CVE-2026-99135, GHSA-9xjj-2vj5-5vwq, UBUNTU-CVE-2026-99135.