{"schema":"threatline.record/2","record":{"id":"CVE-2026-99135","aliases":[],"summary":"dm-integrity: fix infinite loop on discard with large tag size","details":"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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99135","source_modified_at":"2026-10-28T10:34:47.902Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"fc512700f1413fed652dac22fa1c4e837210b9c0","status":"affected","versionType":"git"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"251b44b424920df9204e88a81fb3f78fa48ddd99","status":"affected","versionType":"git"},{"version":"84597a44a9d86ac949900441cea7da0af0f2f473","lessThan":"18d80c77b4c7dd20699e81cedfbbff4e9d198f28","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99135","source_modified_at":"2026-10-28T10:34:47.902Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"5.7","status":"affected"},{"version":"0","lessThan":"5.7","status":"unaffected","versionType":"semver"},{"version":"6.18.59","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.13","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99135","source_modified_at":"2026-10-28T10:34:47.902Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"251b44b424920df9204e88a81fb3f78fa48ddd99","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99135","source_modified_at":"2026-10-28T10:34:47.902Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"18d80c77b4c7dd20699e81cedfbbff4e9d198f28","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T10:34:47.902Z","modified_at":"2026-10-28T10:34:47.902Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99135","fetched_at":"2026-10-28T15:55:58.673066Z","source_modified_at":"2026-10-28T10:34:47.902Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/fc512700f1413fed652dac22fa1c4e837210b9c0"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/251b44b424920df9204e88a81fb3f78fa48ddd99"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/18d80c77b4c7dd20699e81cedfbbff4e9d198f28"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-28T10:34:47.902Z","content_hash":"6438d9b67f5e4fff7f24df4e3b3a206ae41dd5b47ab9bb3166b4835104c65047"}}
