{"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":"none","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"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-17T16:21:47.781Z","epss":0.00198,"epssPercentile":0.09823,"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.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}