{"id":"CVE-2026-92505","published":"2026-09-17T16:10:17Z","modified":"2026-10-19T09:04:11Z","title":"iommu/amd: Fix undefined behavior in devid_write debugfs function","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.06069,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8aabe0fba01486b5d893e708b05a8fa7f1b7efbb","tags":[]},{"url":"https://git.kernel.org/stable/c/99d42aef089a07cfb1d404a7227ac9dc7628b497","tags":[]},{"url":"https://git.kernel.org/stable/c/843e149989665f8309ad2efe6048dc76591e1f94","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2e98940f123d9c69d4759078aea9a536244c98d3, < 8aabe0fba01486b5d893e708b05a8fa7f1b7efbb",">= 2e98940f123d9c69d4759078aea9a536244c98d3, < 99d42aef089a07cfb1d404a7227ac9dc7628b497",">= 2e98940f123d9c69d4759078aea9a536244c98d3, < 843e149989665f8309ad2efe6048dc76591e1f94"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"euvd":{"id":"EUVD-2026-82126","exploited":false,"provenance":"source"}}