CVE-2026-99135

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

No CVSS score yet EPSS 0.22%

Published 28 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-99135

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99135 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.31% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before f41a224b3c9d66c7b59afc7cae02a8b214f3c684
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before c66f5c6ccfa832d28b44a66c01e3468c246adac4
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before 41a18e6c6e2c4a912494a035c17ecfe79c68b9e6
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before bbc154a7da4e075aef720ef051aff6094400eb66
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before c4cba6670fa199415689f67108e96b0ba469d767
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before fc512700f1413fed652dac22fa1c4e837210b9c0
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before 251b44b424920df9204e88a81fb3f78fa48ddd99
affected from 84597a44a9d86ac949900441cea7da0af0f2f473, before 18d80c77b4c7dd20699e81cedfbbff4e9d198f28
Other versions: unaffected
Linux
affected 5.7
unaffected before 5.7
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.161 up to and including 6.6.*
unaffected from 6.12.115 up to and including 6.12.*
unaffected from 6.18.59 up to and including 6.18.*
unaffected from 7.2.13 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99135 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99135

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99135
trivy image --scanners vuln IMAGE | grep CVE-2026-99135

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99135 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.