Database/Kernel, userspace & hypervisor
Linux iommu/amd: signed offset parsing in IOMMU debugfs allowed a latent out-of-bounds access
Impact
The AMD IOMMU debugfs write handlers parsed user offsets into int variables via kstrtou32_from_user(), so a large value became negative and could index outside the IOMMU MMIO and capability ranges. The commit is explicit that the existing code was already protected by an 8-byte input-length cap, implicit promotion against a u64 bound, and negative-value checks in the show handlers, so this closes a latent hole rather than a reachable one. It is still worth knowing on GPU hosts, because the AMD IOMMU is what enforces DMA isolation for passthrough GPUs and VFIO device assignment, and debugfs pokes at it are something operators do while debugging passthrough. Reaching it needs root on the host, which already owns the IOMMU.
Who can reach it
Local root on the host: debugfs must be mounted and writable, which normally means privileged access only. Not reachable by a tenant in a container or VM, and not reachable over the network.
What to do
Update to a stable kernel with the switch to kstrtos32_from_user() plus explicit negative checks; three stable commits are linked. That means a kernel update and a node reboot. As an interim mitigation, keep debugfs unmounted or restricted to root on production GPU hosts, which most hardened builds already do.
References
Related entries
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A correctness defect in the amdkfd (KFD computeCVE-2026-68258 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux kernel mlx5_core port / transceiver module EEPROM (MCIA register): The MCIA register can return 32 dwordsCVE-2026-68293 · Linux kernel mlx5_core port / transceiver module EEPROM (MCIA register)High
- Linux kernel (net/xfrm): Outbound policies rejected optional tunnel and BEET templates but never got the same check forCVE-2026-68420 · Linux kernel (net/xfrm)High
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A memory or reference-count leak in the amdkfd (KFDCVE-2026-68447 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux kernel mm/hugetlb: rsvd cgroup charge recorded against the wrong cgroup, causing counter underflowCVE-2026-72213 · Linux kernel mm/hugetlb (hugetlb cgroup reservation charge accounting)High
- Linux kernel (arch/x86/kvm): A guest that disables paravirtual EOI while KVM still has a pending PV-EOI request, andCVE-2026-72284 · Linux kernel (arch/x86/kvm)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.