CVE-2026-99135

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

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.

Key facts

Published
28 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.185% likely to be exploited in the next 30 days, higher than 8.182% of CVEs (scores for 16 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding f41a224b3c9d66c7b59afc7cae02a8b214f3c684 (affected)
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding c66f5c6ccfa832d28b44a66c01e3468c246adac4 (affected)
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6 (affected)
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding bbc154a7da4e075aef720ef051aff6094400eb66 (affected)
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding c4cba6670fa199415689f67108e96b0ba469d767 (affected)
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding fc512700f1413fed652dac22fa1c4e837210b9c0 (affected)
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding 251b44b424920df9204e88a81fb3f78fa48ddd99 (affected)
  • 84597a44a9d86ac949900441cea7da0af0f2f473 up to but excluding 18d80c77b4c7dd20699e81cedfbbff4e9d198f28 (affected)
LinuxLinux
  • Default status: affected
  • 5.7 (affected)
  • 0 up to but excluding 5.7 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.161 up to and including 6.6.* (unaffected)
  • 6.12.115 up to and including 6.12.* (unaffected)
  • 6.18.59 up to and including 6.18.* (unaffected)
  • 7.2.13 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 28 Oct 2026 Published

References