{"id":"CVE-2026-92505","title":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix undefined behavior in devid_write debugfs function\n\nWhen for_each_pci_segment() loop completes without finding a matching\nsegment, the pci_seg pointer is…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix undefined behavior in devid_write debugfs function\n\nWhen for_each_pci_segment() loop completes without finding a matching\nsegment, the pci_seg pointer is…","severity":"medium","vendor":"Linux","product":"Linux","affected":["Linux >= 2e98940f123d9c69d4759078aea9a536244c98d3 < 8aabe0fba01486b5d893e708b05a8fa7f1b7efbb","Linux >= 2e98940f123d9c69d4759078aea9a536244c98d3 < 99d42aef089a07cfb1d404a7227ac9dc7628b497","Linux >= 2e98940f123d9c69d4759078aea9a536244c98d3 < 843e149989665f8309ad2efe6048dc76591e1f94","Linux 6.17"],"published":"2026-09-17","updated":"2026-09-17","sourceUpdated":"2026-09-17T17:17:53.077","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-92505","references":[{"url":"https://git.kernel.org/stable/c/843e149989665f8309ad2efe6048dc76591e1f94","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8aabe0fba01486b5d893e708b05a8fa7f1b7efbb","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/99d42aef089a07cfb1d404a7227ac9dc7628b497","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92505.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-92505"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2536318"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-92505"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92505"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-92505.mbox"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-09-17T16:21:47.781Z","epss":0.00206,"epssPercentile":0.10617,"cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-825"],"slug":"CVE-2026-92505","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix undefined behavior in devid_write debugfs function\n\nWhen for_each_pci_segment() loop completes without finding a matching\nsegment, the pci_seg pointer is not NULL but points to an invalid memory\nlocation (the list head). Accessing pci_seg->id after the loop causes\nundefined behavior.\n\nFix this by handling the successful case inside the loop and returning\n-EINVAL after the loop if no matching segment is found.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92505.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":225471,"id":"CVE-2026-92505","ts":1792498262816,"field":"cvss","old":null,"new":"5.5"},{"seq":225470,"id":"CVE-2026-92505","ts":1792498262816,"field":"severity","old":"none","new":"medium"}]}