# CVE-2026-99135: dm-integrity: fix infinite loop on discard with large tag size

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-28T10:34:47.902Z
- **Modified:** 2026-10-30T13:21:47.757Z

## Who should check

- Anyone running Linux \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< f41a224b3c9d66c7b59afc7cae02a8b214f3c684; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< c66f5c6ccfa832d28b44a66c01e3468c246adac4; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< bbc154a7da4e075aef720ef051aff6094400eb66; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< c4cba6670fa199415689f67108e96b0ba469d767; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< fc512700f1413fed652dac22fa1c4e837210b9c0; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 251b44b424920df9204e88a81fb3f78fa48ddd99; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 18d80c77b4c7dd20699e81cedfbbff4e9d198f28
- Anyone running Linux 5.7

## 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.

## Affected and fixed versions

- Linux: \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< f41a224b3c9d66c7b59afc7cae02a8b214f3c684; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< c66f5c6ccfa832d28b44a66c01e3468c246adac4; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< bbc154a7da4e075aef720ef051aff6094400eb66; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< c4cba6670fa199415689f67108e96b0ba469d767; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< fc512700f1413fed652dac22fa1c4e837210b9c0; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 251b44b424920df9204e88a81fb3f78fa48ddd99; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 18d80c77b4c7dd20699e81cedfbbff4e9d198f28 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 18d80c77b4c7dd20699e81cedfbbff4e9d198f28 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99135. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99135.md
Affected: Linux >= 84597a44a9d86ac949900441cea7da0af0f2f473, < f41a224b3c9d66c7b59afc7cae02a8b214f3c684; >= 84597a44a9d86ac949900441cea7da0af0f2f473, < c66f5c6ccfa832d28b44a66c01e3468c246adac4; >= 84597a44a9d86ac949900441cea7da0af0f2f473, < 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6; >= 84597a44a9d86ac94990044…
Fixed in: Linux 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6, Linux 251b44b424920df9204e88a81fb3f78fa48ddd99, Linux 18d80c77b4c7dd20699e81cedfbbff4e9d198f28

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99135 being exploited?

There is no confirmed exploitation: CVE-2026-99135 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99135?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99135?

Linux \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< f41a224b3c9d66c7b59afc7cae02a8b214f3c684; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< c66f5c6ccfa832d28b44a66c01e3468c246adac4; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< bbc154a7da4e075aef720ef051aff6094400eb66; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< c4cba6670fa199415689f67108e96b0ba469d767; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< fc512700f1413fed652dac22fa1c4e837210b9c0; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 251b44b424920df9204e88a81fb3f78fa48ddd99; \>= 84597a44a9d86ac949900441cea7da0af0f2f473, \< 18d80c77b4c7dd20699e81cedfbbff4e9d198f28; Linux 5.7.

### Is there a fix for CVE-2026-99135?

Yes. Fixed in Linux 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6, Linux 251b44b424920df9204e88a81fb3f78fa48ddd99, Linux 18d80c77b4c7dd20699e81cedfbbff4e9d198f28. Upgrade Linux to 18d80c77b4c7dd20699e81cedfbbff4e9d198f28 or later.

### How do I check if I'm affected by CVE-2026-99135?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f41a224b3c9d66c7b59afc7cae02a8b214f3c684>
- other: <https://git.kernel.org/stable/c/c66f5c6ccfa832d28b44a66c01e3468c246adac4>
- other: <https://git.kernel.org/stable/c/41a18e6c6e2c4a912494a035c17ecfe79c68b9e6>
- other: <https://git.kernel.org/stable/c/bbc154a7da4e075aef720ef051aff6094400eb66>
- other: <https://git.kernel.org/stable/c/c4cba6670fa199415689f67108e96b0ba469d767>
- other: <https://git.kernel.org/stable/c/fc512700f1413fed652dac22fa1c4e837210b9c0>
- other: <https://git.kernel.org/stable/c/251b44b424920df9204e88a81fb3f78fa48ddd99>
- other: <https://git.kernel.org/stable/c/18d80c77b4c7dd20699e81cedfbbff4e9d198f28>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99135>

HTML: <https://flawdb.com/CVE-2026-99135> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99135>
