CVE-2026-99135
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.
Properties
- Last source
- NVD
- Nvd fetched at
- 2026-10-28T11:39:10.768721+00:00
- Cve id
- CVE-2026-99135
- First seen by Signal
- 2026-10-28T11:40:10+00:00
- Retrieved at
- 2026-10-28T11:40:10+00:00
- Published at
- 2026-10-28T11:17:33.400
- Last modified
- 2026-10-28T11:17:33.400
Explore deeper with Ninja Signal's threat intelligence graph