iommu/tegra241-cmdqv: Fix CMD_SYNC use-after-free on teardown
In the Linux kernel, the following vulnerability has been resolved: iommu/tegra241-cmdqv: Fix CMD_SYNC use-after-free on teardown arm_smmu_impl_remove() is registered as a devres action in arm_smmu_impl_probe(), before arm_smmu_init_queues() allocates smmu->cmdq.q.base. On a devres unwind, whether a failed probe or an unbind, the queue is freed first and arm_smmu_impl_remove() then runs tegra241_cmdqv_remove_vintf(), whose VINTF deinit issues a CMD_SYNC on the freed memory. Observed during testing with a QEMU hack that makes the VCMDQ fail to enable, so the impl reset fails and probe aborts into the devres unwind: platform NVDA200C:00: tegra241_cmdqv: VINTF0: VCMDQ0/LVCMDQ0: failed to enable, STATUS=0x00000000 platform NVDA200C:00: tegra241_cmdqv: VINTF0: VCMDQ0/LVCMDQ0: GERRORN=0x0, GERROR=0x4, CONS=0x0 platform NVDA200C:00: tegra241_cmdqv: VINTF0: VCMDQ0/LVCMDQ0: uncleared error detected, resetting arm-smmu-v3 arm-smmu-v3.0.auto: failed to reset impl arm-smmu-v3 arm-smmu-v3.0.auto: probe with driver arm-smmu-v3 failed with error -110 Unable to handle kernel paging request at virtual address ffff8000891e0098 ... Internal error: Oops: 0000000096000047 [#1] SMP ... Call trace: arm_smmu_cmdq_issue_cmdlist+0x320/0x6fc (P) tegra241_vcmdq_hw_deinit+0x98/0x168 tegra241_vintf_hw_deinit+0x5c/0x1b0 tegra241_cmdqv_remove_vintf+0x34/0xec tegra241_cmdqv_remove+0x40/0x9c arm_smmu_impl_remove+0x20/0x30 devm_action_release+0x14/0x20 devres_release_all+0xa8/0x110 device_unbind_cleanup+0x18/0
CVE-2026-80818
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-80818
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4dc0d12474f9d4833c3dd96b73d61e406d3f5dc7",
"lessThan": "d2ab08437e913d9e4dda4dfd0d327446ec8717fc",
"versionType": "git"
},
{
"status": "affected",
"version": "4dc0d12474f9d4833c3dd96b73d61e406d3f5dc7",
"lessThan": "a94309bb99eaf0c6a2ace4927864486d19458eb5",
"versionType": "git"
},
{
"status": "affected",
"version": "4dc0d12474f9d4833c3dd96b73d61e406d3f5dc7",
"lessThan": "5994617e09ee6016c1b094f29d9c85cac944b477",
"versionType": "git"
},
{
"status": "affected",
"version": "4dc0d12474f9d4833c3dd96b73d61e406d3f5dc7",
"lessThan": "9ff145a25c5c8a26b06ef7cf558fb536b18bba6d",
"versionType": "git"
}
],
"programFiles": [
"drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c",
"drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h",
"drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.17",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.47",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.11",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2.1",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c",
"drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h",
"drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-80818
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #34835 · Revision 1
- Added to Heist Feed
- Publisher date