Skip to contentSkip to conversation

CVE-2026-31651: mmc: vub300: fix NULL-deref on disconnect

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

mmc: vub300: fix NULL-deref on disconnect

Make sure to deregister the controller before dropping the reference to the driver data on disconnect to avoid NULL-pointer dereferences or use-after-free.

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

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

	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 5.10.253 with commit 6446516e626ce7c44bdadbcbb3d7677a2c52ce93
	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 5.15.203 with commit ba3b9429de94958dc0060d9816a915dd75c34919
	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 6.1.169 with commit 517b58e1d067115f80d198feee10192da4c424d0
	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 6.6.135 with commit 6468cab1173f44f7a4b7a05ce8abfdfd1ce1557a
	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 6.12.82 with commit 53f2642d77ab5f1f303388bff5500363c6cf962c
	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 6.18.23 with commit c83a282615d8f7ba28cebddd54600b419d562d82
	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 6.19.13 with commit 8d09e75759cb2afc0732acfb5a14a93c03805a61
	Issue introduced in 3.0 with commit 88095e7b473a3d9ec3b9c60429576e9cbd327c89 and fixed in 7.0 with commit dff34ef879c5e73298443956a8b391311ba78d57

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-31651

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/mmc/host/vub300.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/6446516e626ce7c44bdadbcbb3d7677a2c52ce93
	https://git.kernel.org/stable/c/ba3b9429de94958dc0060d9816a915dd75c34919
	https://git.kernel.org/stable/c/517b58e1d067115f80d198feee10192da4c424d0
	https://git.kernel.org/stable/c/6468cab1173f44f7a4b7a05ce8abfdfd1ce1557a
	https://git.kernel.org/stable/c/53f2642d77ab5f1f303388bff5500363c6cf962c
	https://git.kernel.org/stable/c/c83a282615d8f7ba28cebddd54600b419d562d82
	https://git.kernel.org/stable/c/8d09e75759cb2afc0732acfb5a14a93c03805a61
	https://git.kernel.org/stable/c/dff34ef879c5e73298443956a8b391311ba78d57