{"id":"CVE-2025-68760","aliases":["CVE-2025-68760"],"related":[],"kind":"vulnerability","state":"published","title":"iommu/amd: Fix potential out-of-bounds read in iommu_mmio_show","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix potential out-of-bounds read in iommu_mmio_show\n\nIn iommu_mmio_write(), it validates the user-provided offset with the\ncheck: `iommu->dbg_mmio_offset > iommu->mmio_phys_end - 4`.\nThis assumes a 4-byte access. However, the corresponding\nshow handler, iommu_mmio_show(), uses readq() to perform an 8-byte\n(64-bit) read.\n\nIf a user provides an offset equal to `mmio_phys_end - 4`, the check\npasses, and will lead to a 4-byte out-of-bounds read.\n\nFix this by adjusting the boundary check to use sizeof(u64), which\ncorresponds to the size of the readq() operation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix potential out-of-bounds read in iommu_mmio_show\n\nIn iommu_mmio_write(), it validates the user-provided offset with the\ncheck: `iommu->dbg_mmio_offset > iommu->mmio_phys_end - 4`.\nThis assumes a 4-byte access. However, the corresponding\nshow handler, iommu_mmio_show(), uses readq() to perform an 8-byte\n(64-bit) read.\n\nIf a user provides an offset equal to `mmio_phys_end - 4`, the check\npasses, and will lead to a 4-byte out-of-bounds read.\n\nFix this by adjusting the boundary check to use sizeof(u64), which\ncorresponds to the size of the readq() operation.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niommu/amd: Corrige una posible lectura fuera de límites en iommu_mmio_show\n\nEn iommu_mmio_write(), valida el desplazamiento proporcionado por el usuario con la comprobación: 'iommu  ->  dbg_mmio_offset > iommu  ->  mmio_phys_end - 4'.\nEsto asume un acceso de 4 bytes. Sin embargo, el controlador de visualización correspondiente, iommu_mmio_show(), usa readq() para realizar una lectura de 8 bytes (64 bits).\n\nSi un usuario proporciona un desplazamiento igual a 'mmio_phys_end - 4', la comprobación pasa y conducirá a una lectura fuera de límites de 4 bytes.\n\nSoluciona esto ajustando la comprobación de límites para usar sizeof(u64), lo que corresponde al tamaño de la operación readq().","source":"nvd"}],"published":"2026-01-05T09:32:32.894Z","modified":"2026-10-14T19:10:00.297Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7a4ee419e8c144b747a8915856e91a034d7c8f34","fixed":"b959df804c33913dbfdb90750f2d693502b3d126","status":"affected"},{"type":"git","introduced":"7a4ee419e8c144b747a8915856e91a034d7c8f34","fixed":"0ec4aaf5f3f559716a6559f3d6d9616e9470bed6","status":"affected"},{"type":"git","introduced":"7a4ee419e8c144b747a8915856e91a034d7c8f34","fixed":"a0c7005333f9a968abb058b1d77bbcd7fb7fd1e7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b959df804c33913dbfdb90750f2d693502b3d126","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ec4aaf5f3f559716a6559f3d6d9616e9470bed6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0c7005333f9a968abb058b1d77bbcd7fb7fd1e7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68760","url":"https://www.cve.org/CVERecord?id=CVE-2025-68760","licence":"CVE Terms of Use","modified":"2026-05-11T21:52:49.261Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68760","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68760","licence":"Public domain","modified":"2026-10-14T19:10:00.297Z"}],"updatedAt":"2026-11-25T22:59:10.267Z","epss":{"score":0.00184,"percentile":0.08388,"date":"2026-12-01T12:00:22.000Z"}}