CVE-2026-72102: dm_early_create: fix freeing used table on dm_resume failure

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

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

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

dm_early_create: fix freeing used table on dm_resume failure

If dm_resume fails, the kernel attempts to free table with
dm_table_destroy, but the table was already instantiated with
dm_swap_table. This commit skips the call to dm_table_destroy in this
case.

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


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

	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 5.10.261 with commit 3ba377a47a093cc19647ca7f102acd33a211d472
	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 5.15.212 with commit 72c3283a2abd60ecef295e02270f22ef1dfccd25
	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 6.1.178 with commit d6066145347e14db84c35b445e309f095d0d8125
	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 6.6.145 with commit 259ce9e3fc3a3f8c4e393a2072b8f34302eb4d5a
	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 6.12.97 with commit 5f6500d44a912d4aed664600966706d76b81d9af
	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 6.18.40 with commit 92e3c93d60be1f2425738cd66dbadac7d6bc0cd1
	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 7.1.5 with commit 7d8ed7cb844df21e4d93af11250fb3a5cb861147
	Issue introduced in 5.1 with commit 6bbc923dfcf57d6b97388819a7393835664c7a8e and fixed in 7.2-rc3 with commit 366665416f20527ff7cad548a32d1ddf23195740

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-72102
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-ioctl.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/3ba377a47a093cc19647ca7f102acd33a211d472
	https://git.kernel.org/stable/c/72c3283a2abd60ecef295e02270f22ef1dfccd25
	https://git.kernel.org/stable/c/d6066145347e14db84c35b445e309f095d0d8125
	https://git.kernel.org/stable/c/259ce9e3fc3a3f8c4e393a2072b8f34302eb4d5a
	https://git.kernel.org/stable/c/5f6500d44a912d4aed664600966706d76b81d9af
	https://git.kernel.org/stable/c/92e3c93d60be1f2425738cd66dbadac7d6bc0cd1
	https://git.kernel.org/stable/c/7d8ed7cb844df21e4d93af11250fb3a5cb861147
	https://git.kernel.org/stable/c/366665416f20527ff7cad548a32d1ddf23195740
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.