CVE-2026-92505

Source
https://cve.org/CVERecord?id=CVE-2026-92505
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92505.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-92505
Downstream
Published
2026-09-17T16:10:17Z
Modified
2026-09-19T03:47:30Z
Summary
iommu/amd: Fix undefined behavior in devid_write debugfs function
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92505.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2e98940f123d9c69d4759078aea9a536244c98d3
Fixed
8aabe0fba01486b5d893e708b05a8fa7f1b7efbb
Fixed
99d42aef089a07cfb1d404a7227ac9dc7628b497
Fixed
843e149989665f8309ad2efe6048dc76591e1f94

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92505.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92505.json"