CVE-2026-72100: dm-integrity: fix a bug if the bio is out of limits

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081524-CVE-2026-72100-ed1a@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

dm-integrity: fix a bug if the bio is out of limits

If dm_integrity_check_limits fails, the code would exit with
DM_MAPIO_KILL. However, the range would be already locked at this point,
and it wouldn't be unlocked, resulting in a deadlock. Let's move the
limit check up, so that when it exits, no resources are leaked.

The Linux kernel CVE team has assigned CVE-2026-72100 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 6.12.97 with commit f7989286175f32db8605e767a1a2efc62e894dc8
	Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 6.18.40 with commit aa5113e7155f4ea81d2c0303ab5cb272d4b32627
	Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 7.1.5 with commit 3d1afaa074622859678b1a1e7c1b9c0af74c89b0
	Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 7.2-rc3 with commit 5a266764fadaff8b5c1fe37a186ebf9b09cb953e

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-72100
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/md/dm-integrity.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/f7989286175f32db8605e767a1a2efc62e894dc8
	https://git.kernel.org/stable/c/aa5113e7155f4ea81d2c0303ab5cb272d4b32627
	https://git.kernel.org/stable/c/3d1afaa074622859678b1a1e7c1b9c0af74c89b0
	https://git.kernel.org/stable/c/5a266764fadaff8b5c1fe37a186ebf9b09cb953e
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.