Skip to contentSkip to conversation

CVE-2026-93205: iommu/arm-smmu-v3: Manage teardown with devm

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 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:

iommu/arm-smmu-v3: Manage teardown with devm

arm_smmu_device_remove() manually frees the IOPF queue, destroys the vmid_map and disables the device, while the IRQs and queues are devm managed. devm unwinds only after remove() returns, so the cleanup runs in the wrong order. The IOPF queue is freed before the event-queue IRQ whose handler uses it.

Manage all of it with devm so the unwind order is correct. Free the IOPF queue and vmid_map via devm actions, and disable the device from one registered after arm_smmu_device_reset().

This is also a prerequisite for fixing a Tegra241 CMDQV CMD_SYNC use-after-free in the subsequent patch.

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

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

	Fixed in 6.12.109 with commit 981686f4137760a16a03c5193f11d85133533f93
	Fixed in 6.18.50 with commit 2235eafda9b3df9295efd0593cd4a8977440c3f6
	Fixed in 7.2.4 with commit 78fd5a2d65f3546cb4285f8e52f445baecbd00e0
	Fixed in 7.3-rc1 with commit 2bd22a0d40503a65d243b011de146603c8ce1cbc

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

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/iommu/arm/arm-smmu-v3/arm-smmu-v3.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/981686f4137760a16a03c5193f11d85133533f93
	https://git.kernel.org/stable/c/2235eafda9b3df9295efd0593cd4a8977440c3f6
	https://git.kernel.org/stable/c/78fd5a2d65f3546cb4285f8e52f445baecbd00e0
	https://git.kernel.org/stable/c/2bd22a0d40503a65d243b011de146603c8ce1cbc