CVE-2026-64186
Received Received - Intake

Buffer Overflow in Linux Kernel AMD IOMMU Debugfs

Vulnerability report for CVE-2026-64186, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.org

Description

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves a potential out-of-bounds memory access in the AMD IOMMU debugfs implementation of the Linux kernel. It occurs because user input is parsed into a signed integer, which could become negative if the input is large enough. This negative value could bypass existing protections and lead to memory access issues.

Detection Guidance

This vulnerability is specific to the Linux kernel's AMD IOMMU debugfs implementation. Detection requires checking the kernel version and examining the debugfs files for AMD IOMMU. Look for kernel versions before the patched version and inspect /sys/kernel/debug/amd_iommu/

Impact Analysis

An attacker with access to debugfs could exploit this to cause a system crash or potentially execute arbitrary code with kernel privileges. However, existing protections limit the practical impact, as multiple safeguards must be bypassed.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards. The issue is a latent out-of-bounds access in the AMD IOMMU debugfs implementation, which is mitigated by existing protections. No data exposure or privacy violation is described.

Mitigation Strategies

Apply the latest kernel update that includes the fix for this vulnerability. Ensure the AMD IOMMU debugfs protections are enabled and monitor for any out-of-bounds access attempts in the debugfs files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64186. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart