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 perf6.18-debuginfoUpgrade python3-perf6.18-debuginfoUpgrade kernel6.18-modules-extra-commonUpgrade kernel6.18-debuginfo-common-aarch64Upgrade bpftool6.18Upgrade kernel6.18-debuginfoUpgrade kernel6.18Upgrade kernel-livepatch-6.18.35-68.127Upgrade kernel6.18-toolsUpgrade microvm-kernel6.18Upgrade kernel6.18-develUpgrade perf6.18Upgrade kernel6.18-tools-develUpgrade kernel6.18-tools-debuginfoUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-modules-extraUpgrade python3-perf6.18Upgrade bpftool6.18-debuginfoUpgrade kernel6.18-headers | Aug 10, 2026 | Jul 19, 2026 |
| Redhat_linux | — | No solution exists | Jul 22, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-oracleUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-azure-7.0Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-raspi-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-aws-64kUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-awsUpgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-oracle-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-azure-fdeUpgrade linux-image-ibmUpgrade linux-image-7.0.0-1010-azureUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-nvidiaUpgrade linux-image-gcp-64kUpgrade linux-image-nvidia-7.0Upgrade linux-image-raspiUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-7.0.0-1009-awsUpgrade linux-image-gcpUpgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-azure-fde-7.0Upgrade linux-image-azureUpgrade linux-image-nvidia-64kUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-oracle-64kUpgrade linux-image-nvidia-bos | 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