Skip to contentSkip to conversation

CVE-2026-90180: block: mtip32xx: synchronize ioctls with device removal

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

block: mtip32xx: synchronize ioctls with device removal

The ioctl handlers only test REMOVE_PENDING before entering mtip_hw_ioctl(). Removal can set that bit immediately afterwards and free dd->port in mtip_hw_exit() while an ioctl still dereferences it. An already open block device can reach the handlers while del_gendisk() is in progress.

Serialize both native and compat ioctls with removal. Set REMOVE_PENDING before taking the mutex so new callers fail after an in-flight ioctl has drained, and hold the mutex until the port has been torn down.

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

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

	Issue introduced in 3.3 with commit 88523a61558a040546bf7d8b079ae0755d8e7005 and fixed in 6.1.188 with commit 521afbd936ac256b7531470b0b9aa96abf9cd853
	Issue introduced in 3.3 with commit 88523a61558a040546bf7d8b079ae0755d8e7005 and fixed in 6.6.157 with commit 8283049aa5fcb4e84b2b2928b2888903bb8ee12e
	Issue introduced in 3.3 with commit 88523a61558a040546bf7d8b079ae0755d8e7005 and fixed in 6.12.110 with commit 8a7799597bd683b6bc251fe2edfa9fd1db568a3a
	Issue introduced in 3.3 with commit 88523a61558a040546bf7d8b079ae0755d8e7005 and fixed in 6.18.52 with commit 4609e0e0be709e974bec9b52c5022136d25e97d3
	Issue introduced in 3.3 with commit 88523a61558a040546bf7d8b079ae0755d8e7005 and fixed in 7.2.6 with commit b389dc35a55713ac24a145741e76196fea1663bc
	Issue introduced in 3.3 with commit 88523a61558a040546bf7d8b079ae0755d8e7005 and fixed in 7.3-rc1 with commit 68940f841d013192086a0f6d7cfbac2cd079e228

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

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/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h

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/521afbd936ac256b7531470b0b9aa96abf9cd853
	https://git.kernel.org/stable/c/8283049aa5fcb4e84b2b2928b2888903bb8ee12e
	https://git.kernel.org/stable/c/8a7799597bd683b6bc251fe2edfa9fd1db568a3a
	https://git.kernel.org/stable/c/4609e0e0be709e974bec9b52c5022136d25e97d3
	https://git.kernel.org/stable/c/b389dc35a55713ac24a145741e76196fea1663bc
	https://git.kernel.org/stable/c/68940f841d013192086a0f6d7cfbac2cd079e228