In the Linux kernel, the following vulnerability has been resolved:
iommu/amd: Remove latent out-of-bounds access in IOMMU debugfs
In iommu_mmio_write() and iommu_capability_write(), the variables dbg_mmio_offset and dbg_cap_offset are declared as int. However, they are populated using kstrtou32_from_user(). If a user provides a sufficiently large value, it can become a negative integer.
Prior to this patch, the AMD IOMMU debugfs implementation was already protected by different mechanisms.
1. #define OFS_IN_SZ 8 ensures the user string <= 8 bytes, so e.g. 0xffffffff isn't a valid input.
if (cnt > OFS_IN_SZ) return -EINVAL;
2. Implicit type promotion in iommu_mmio_write(), dbg_mmio_offset is int and iommu->mmio_phys_end is u64
if (dbg_mmio_offset > iommu->mmio_phys_end - sizeof(u64)) return -EINVAL;
3. The show handlers would currently catch the negative number and refuse to perform the read.
Replace kstrtou32_from_user() with kstrtos32_from_user() to parse the input, and check for negative values to explicitly prevent out-of-bounds memory accesses directly in iommu_mmio_write() and iommu_capability_write().
CVSS Details
- CVSS 3.1 Base Score: 7.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade python3-perf6.18-debuginfoUpgrade kernel6.18-debuginfo-common-aarch64Upgrade bpftool6.18Upgrade kernel6.18-modules-extra-commonUpgrade perf6.18-debuginfoUpgrade kernel6.18-toolsUpgrade kernel6.18Upgrade kernel6.18-tools-debuginfoUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-develUpgrade bpftool6.18-debuginfoUpgrade python3-perf6.18Upgrade kernel6.18-headersUpgrade kernel-livepatch-6.18.35-68.127Upgrade kernel6.18-debuginfoUpgrade microvm-kernel6.18Upgrade kernel6.18-tools-develUpgrade perf6.18Upgrade kernel6.18-modules-extra | Aug 10, 2026 | Jul 19, 2026 |
| Redhat_linux | — | No solution exists | Jul 22, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-raspi-7.0Upgrade linux-image-aws-64kUpgrade linux-image-azure-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-raspi-realtimeUpgrade linux-image-oracleUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-awsUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-nvidia-bosUpgrade linux-image-nvidiaUpgrade linux-image-ibmUpgrade linux-image-azure-fdeUpgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-ibm-7.0Upgrade linux-image-oracle-64kUpgrade linux-image-oracle-7.0Upgrade linux-image-nvidia-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-1009-awsUpgrade linux-image-raspiUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-azure-fde-7.0Upgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-azureUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-nvidia-64kUpgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-7.0.0-1010-azure | Jul 21, 2026 | Jul 20, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub