CVE Catalog

CVE-2026-92505

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the iommu/amd subsystem has undefined behavior in the devid_write debugfs function. When the for_each_pci_segment() loop completes without finding a matching segment, pci_seg is not NULL but points to the list head, and accessing pci_seg->id after the loop causes undefined behavior.

Risk Assessment

Can lead to invalid memory access, system crash, or kernel instability when using the AMD IOMMU debugfs interface.

Recommendation

Update the Linux kernel to a version with the fix that handles the successful case inside the loop and returns -EINVAL after the loop if no matching segment is found. Restrict access to AMD IOMMU debugfs to trusted users.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix undefined behavior in devid_write debugfs function When for_each_pci_segment() loop completes without finding a matching segment, the pci_seg pointer is not NULL but points to an invalid memory location (the list head). Accessing pci_seg->id after the loop causes undefined behavior. Fix this by handling the successful case inside the loop and returning -EINVAL after the loop if no matching segment is found.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS