{"id":"CVE-2026-99135","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-10-28T11:17:33.400","lastModified":"2026-10-30T13:21:47.757","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-integrity: fix infinite loop on discard with large tag size\n\nWhen integrity_metadata handles a discard, it fills a buffer with\nDISCARD_FILLER and writes it over the tags, max_blocks blocks at a\ntime. If the kmalloc fails, the buffer is the on-stack array\nchecksums_onstack and max_size is set to HASH_MAX_DIGESTSIZE. So if the\ntag size is larger than HASH_MAX_DIGESTSIZE, max_blocks is zero, bi_size\nis never decremented and the loop never terminates.\n\nFix this by using sizeof(checksums_onstack) as max_size. The array has\nMAX_TAG_SIZE bytes since commit b93b6643e9b5 (\"dm integrity: fix a\ncrash with unusually large tag size\"), so max_blocks is at least 1."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/md/dm-integrity.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"f41a224b3c9d66c7b59afc7cae02a8b214f3c684","versionType":"git","status":"affected"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"c66f5c6ccfa832d28b44a66c01e3468c246adac4","versionType":"git","status":"affected"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"41a18e6c6e2c4a912494a035c17ecfe79c68b9e6","versionType":"git","status":"affected"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"bbc154a7da4e075aef720ef051aff6094400eb66","versionType":"git","status":"affected"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"c4cba6670fa199415689f67108e96b0ba469d767","versionType":"git","status":"affected"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"fc512700f1413fed652dac22fa1c4e837210b9c0","versionType":"git","status":"affected"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"251b44b424920df9204e88a81fb3f78fa48ddd99","versionType":"git","status":"affected"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"18d80c77b4c7dd20699e81cedfbbff4e9d198f28","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/md/dm-integrity.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.7","status":"affected"},{"version":"0","lessThan":"5.7","versionType":"semver","status":"unaffected"},{"version":"5.10.273","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.224","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.161","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.115","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.59","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2.13","lessThanOrEqual":"7.2.*","versionType":"semver","status":"unaffected"},{"version":"7.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/18d80c77b4c7dd20699e81cedfbbff4e9d198f28","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/251b44b424920df9204e88a81fb3f78fa48ddd99","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/41a18e6c6e2c4a912494a035c17ecfe79c68b9e6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bbc154a7da4e075aef720ef051aff6094400eb66","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c4cba6670fa199415689f67108e96b0ba469d767","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c66f5c6ccfa832d28b44a66c01e3468c246adac4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f41a224b3c9d66c7b59afc7cae02a8b214f3c684","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fc512700f1413fed652dac22fa1c4e837210b9c0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}