← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel AMD IOMMU Debugfs Stores Unsigned Offsets in Signed Integers, a Latent Out-of-Bounds Access

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-64186

Key Details

CVECVE-2026-64186
CVSS Score / Version
7.1 (High) / CVSS v3.1
Updated2026-11-06
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is none; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-125 (Out-of-bounds Read)
Exploitation prediction (EPSS)
0.16% probability of exploitation in the next 30 days (6% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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(). (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-64186
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-64186
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.