# CVE-2025-68760: iommu/amd: Fix potential out-of-bounds read in iommu_mmio_show

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-01-05T09:32:32.894Z
- Modified: 2026-10-14T19:10:00.297Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/amd: Fix potential out-of-bounds read in iommu_mmio_show

In iommu_mmio_write(), it validates the user-provided offset with the
check: `iommu->dbg_mmio_offset > iommu->mmio_phys_end - 4`.
This assumes a 4-byte access. However, the corresponding
show handler, iommu_mmio_show(), uses readq() to perform an 8-byte
(64-bit) read.

If a user provides an offset equal to `mmio_phys_end - 4`, the check
passes, and will lead to a 4-byte out-of-bounds read.

Fix this by adjusting the boundary check to use sizeof(u64), which
corresponds to the size of the readq() operation.

(As written by CVE List.)

## Affected

- Linux Linux: from 7a4ee419e8c144b747a8915856e91a034d7c8f34 before b959df804c33913dbfdb90750f2d693502b3d126; from 7a4ee419e8c144b747a8915856e91a034d7c8f34 before 0ec4aaf5f3f559716a6559f3d6d9616e9470bed6; from 7a4ee419e8c144b747a8915856e91a034d7c8f34 before a0c7005333f9a968abb058b1d77bbcd7fb7fd1e7; 6.17 (not affected: before 6.17; from 6.17.13 up to 6.17.*; from 6.18.2 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/b959df804c33913dbfdb90750f2d693502b3d126>
- <https://git.kernel.org/stable/c/0ec4aaf5f3f559716a6559f3d6d9616e9470bed6>
- <https://git.kernel.org/stable/c/a0c7005333f9a968abb058b1d77bbcd7fb7fd1e7>

## Sources

- CVE List: [CVE-2025-68760](https://www.cve.org/CVERecord?id=CVE-2025-68760), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68760](https://nvd.nist.gov/vuln/detail/CVE-2025-68760), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-68760 · Whole record: https://cve.day/CVE-2025-68760.json · Rebuilt by cve.day 2026-11-25T22:59:10.267Z
