Infinite loop in Linux dm-integrity discard with large tag size
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 5 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel dm-integrity target is affected from version 5.7 before the fixed releases. When a discard request runs and a memory allocation fails, the fallback buffer is too small for tags larger than its size, so the loop that writes the tags never advances and never ends, leaving the kernel stuck in an infinite loop.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Fixed Linux kernel releases are 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.59, 7.2.13 and 7.3, and the fixes are in the listed commits. Red Hat's plan for Red Hat Enterprise Linux 8, 9 and 10 and Red Hat OpenShift Container Platform 4 and 5 is none available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA Linux (Linux) Fixed in 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.59, 7.2.13, 7.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-28 Threatist record created from CVE-2026-99135
- 2026-10-28 Alias added: GHSA-9xjj-2vj5-5vwq
- 2026-10-29 Affected versions changed · Red Hat
- 2026-10-29 CVSS score added · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 Fix available: Linux/Linux@41a18e6c6e2c4a912494a035c17ecfe79c68b9e6, Linux/[email protected], Linux/[email protected] +7 · CNA
- 2026-10-30 5 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/f41a224b3c9d66c7b59afc7cae02a8b214f3c684
- https://git.kernel.org/stable/c/c66f5c6ccfa832d28b44a66c01e3468c246adac4
- https://git.kernel.org/stable/c/41a18e6c6e2c4a912494a035c17ecfe79c68b9e6
- https://git.kernel.org/stable/c/bbc154a7da4e075aef720ef051aff6094400eb66
- https://git.kernel.org/stable/c/c4cba6670fa199415689f67108e96b0ba469d767
- https://git.kernel.org/stable/c/fc512700f1413fed652dac22fa1c4e837210b9c0
- https://git.kernel.org/stable/c/251b44b424920df9204e88a81fb3f78fa48ddd99
- https://git.kernel.org/stable/c/18d80c77b4c7dd20699e81cedfbbff4e9d198f28
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99135 · CVE Program
- CVE-2026-99135 · NVD
- FIRST EPSS
- GHSA-9xjj-2vj5-5vwq · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99135 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences