Out-of-bounds Access Vulnerability in AMD IOMMU Implementation
CVE-2026-64186
What is CVE-2026-64186?
The Linux kernel's AMD IOMMU implementation faced a vulnerability wherein improper input parsing could lead to out-of-bounds memory access. Specifically, the variables dbg_mmio_offset and dbg_cap_offset, declared as integers, were susceptible to receiving excessively large values via user input that were converted using kstrtou32_from_user(), potentially resulting in negative integers. Although prior protections existed, including input size checks and type promotion safeguards, this issue required a more effective handling approach. By replacing the input parsing function with kstrtos32_from_user() and implementing explicit checks for negative values, this vulnerability has been addressed to safeguard against potential memory exploitation.
Affected Version(s)
Linux 7a4ee419e8c144b747a8915856e91a034d7c8f34 < 488d2c76bd9f78433a70690d1054bfae3d39a407
Linux 7a4ee419e8c144b747a8915856e91a034d7c8f34 < 62f9dfbf1aceae88b03c5ca08f7d36e943939dec
Linux 7a4ee419e8c144b747a8915856e91a034d7c8f34 < 8dfd3d8d74435344ee8dc9237596959c8b2a6cbe