CVE-2026-80818
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
iommu/tegra241-cmdqv: Fix CMD_SYNC use-after-free on teardown<br />
<br />
arm_smmu_impl_remove() is registered as a devres action in<br />
arm_smmu_impl_probe(), before arm_smmu_init_queues() allocates<br />
smmu->cmdq.q.base. On a devres unwind, whether a failed probe or an<br />
unbind, the queue is freed first and arm_smmu_impl_remove() then runs<br />
tegra241_cmdqv_remove_vintf(), whose VINTF deinit issues a CMD_SYNC on<br />
the freed memory.<br />
<br />
Observed during testing with a QEMU hack that makes the VCMDQ fail to<br />
enable, so the impl reset fails and probe aborts into the devres unwind:<br />
<br />
platform NVDA200C:00: tegra241_cmdqv: VINTF0: VCMDQ0/LVCMDQ0: failed to enable, STATUS=0x00000000<br />
platform NVDA200C:00: tegra241_cmdqv: VINTF0: VCMDQ0/LVCMDQ0: GERRORN=0x0, GERROR=0x4, CONS=0x0<br />
platform NVDA200C:00: tegra241_cmdqv: VINTF0: VCMDQ0/LVCMDQ0: uncleared error detected, resetting<br />
arm-smmu-v3 arm-smmu-v3.0.auto: failed to reset impl<br />
arm-smmu-v3 arm-smmu-v3.0.auto: probe with driver arm-smmu-v3 failed with error -110<br />
Unable to handle kernel paging request at virtual address ffff8000891e0098<br />
...<br />
Internal error: Oops: 0000000096000047 [#1] SMP<br />
...<br />
Call trace:<br />
arm_smmu_cmdq_issue_cmdlist+0x320/0x6fc (P)<br />
tegra241_vcmdq_hw_deinit+0x98/0x168<br />
tegra241_vintf_hw_deinit+0x5c/0x1b0<br />
tegra241_cmdqv_remove_vintf+0x34/0xec<br />
tegra241_cmdqv_remove+0x40/0x9c<br />
arm_smmu_impl_remove+0x20/0x30<br />
devm_action_release+0x14/0x20<br />
devres_release_all+0xa8/0x110<br />
device_unbind_cleanup+0x18/0x84<br />
really_probe+0x1f0/0x29c<br />
<br />
Drop the VINTF deinit from tegra241_cmdqv_remove_vintf() so the unwind no<br />
longer touches the freed queue. Quiesce the VINTFs earlier instead. Add a<br />
device_disable() impl op and run it from arm_smmu_disable_action() while<br />
the CMDQ is still up. That handles a live unbind. A failed reset is already<br />
handled because tegra241_vintf_hw_init() deinits the VINTF on its own error<br />
path. tegra241_cmdqv_remove_vintf() is also used by the iommufd viommu<br />
destroy path, so quiesce there too.


