CVE-2026-90426: iommu/tegra241-cmdqv: Free the error IRQ before tearing down VINTFs
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iommu/tegra241-cmdqv: Free the error IRQ before tearing down VINTFs
tegra241_cmdqv_remove() tears each VINTF down first, then calls free_irq(). Tearing a VINTF down frees vintf0 and clears cmdqv->vintfs[0]. An error in that window makes tegra241_cmdqv_isr() read the stale slot and hand it to tegra241_vintf0_handle_error(), which dereferences a NULL or freed pointer.
Free the IRQ before tearing the VINTFs down. free_irq() waits for in-flight handlers to finish and blocks new ones, so no ISR can observe a VINTF as it is torn down.
Note: a user-owned VINTF (viommu) could outlive this teardown, which unmaps cmdqv->base and frees cmdqv->vintfs, so a later viommu close then touches freed memory. This is neither introduced nor fixed here: a physical IOMMU is not a pluggable device, so iommufd by design holds no reference on the one behind a viommu, and this teardown is not expected while that viommu is still alive.
The Linux kernel CVE team has assigned CVE-2026-90426 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 and fixed in 6.12.110 with commit 076a4f5b1fc2016b973a12bc2ebb9b730e5e1e48 Issue introduced in 6.12 with commit 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 and fixed in 6.18.52 with commit 735698e81f798b4c02dcb6291ffbdd1b962c8c66 Issue introduced in 6.12 with commit 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 and fixed in 7.2.6 with commit 421f5ab135cd4a1353891e5bf2602cfc3c01afc7 Issue introduced in 6.12 with commit 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 and fixed in 7.3-rc1 with commit 61f0d437988e5730b04442f6a7d30a9907339f2a
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-90426
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/tegra241-cmdqv.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/076a4f5b1fc2016b973a12bc2ebb9b730e5e1e48 https://git.kernel.org/stable/c/735698e81f798b4c02dcb6291ffbdd1b962c8c66 https://git.kernel.org/stable/c/421f5ab135cd4a1353891e5bf2602cfc3c01afc7 https://git.kernel.org/stable/c/61f0d437988e5730b04442f6a7d30a9907339f2a