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