{"id":"CVE-2026-92521","aliases":["CVE-2026-92521"],"related":[],"kind":"vulnerability","state":"published","title":"ACPI: PCI: Clear driver_data on all paths that free the acpi_pci_root","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: PCI: Clear driver_data on all paths that free the acpi_pci_root\n\nacpi_pci_root_add() assigns the freshly allocated root to\ndevice->driver_data before dmar_device_add() and pci_acpi_scan_root().\nBoth failure paths reach the end: label where root is kfree()'d, but\nonly the pci_acpi_scan_root() path clears driver_data first.\n\nWhen dmar_device_add() fails during a hot-add, root is freed while\ndevice->driver_data still points at it.  The ACPI core does not clear\ndriver_data on attach failure, so a later acpi_pci_find_root() call may\ndereference this dangling pointer.\n\nacpi_pci_root_remove() has the same problem: it frees root without\nclearing device->driver_data, leaving a dangling pointer behind after\nthe root bridge is removed.\n\nMove the NULL assignment to the shared end: label so every error path in\nacpi_pci_root_add() clears driver_data before freeing root, and clear it\nin acpi_pci_root_remove() as well, so the object is never left reachable\nthrough driver_data after being freed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: PCI: Clear driver_data on all paths that free the acpi_pci_root\n\nacpi_pci_root_add() assigns the freshly allocated root to\ndevice->driver_data before dmar_device_add() and pci_acpi_scan_root().\nBoth failure paths reach the end: label where root is kfree()'d, but\nonly the pci_acpi_scan_root() path clears driver_data first.\n\nWhen dmar_device_add() fails during a hot-add, root is freed while\ndevice->driver_data still points at it.  The ACPI core does not clear\ndriver_data on attach failure, so a later acpi_pci_find_root() call may\ndereference this dangling pointer.\n\nacpi_pci_root_remove() has the same problem: it frees root without\nclearing device->driver_data, leaving a dangling pointer behind after\nthe root bridge is removed.\n\nMove the NULL assignment to the shared end: label so every error path in\nacpi_pci_root_add() clears driver_data before freeing root, and clear it\nin acpi_pci_root_remove() as well, so the object is never left reachable\nthrough driver_data after being freed.","source":"cvelist"}],"published":"2026-09-17T16:10:28.144Z","modified":"2026-10-19T10:16:52.683Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"321bb0eb1486a0d575f02e24e3f4170e408c2f51","status":"affected"},{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"3c1e8a14f9d06c1ed6f3e4bd2d283a62079109e2","status":"affected"},{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"a285fa3780c768dcc51c76768707d099a2cc611d","status":"affected"},{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"6aaf6dbf54fdfae096f3f90a79e9614e46579280","status":"affected"},{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"70cf773cca30a10b4964c24520a71279c974b899","status":"affected"},{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"3eee4c21931dc048ce63b86809f04e4e6f0dcad5","status":"affected"},{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"6e11ac626f9f9fc3a2ed27dfa44ccbe5fb762217","status":"affected"},{"type":"git","introduced":"db89b4f0dbab837d0f3de2c3e9427a8d5393afa3","fixed":"8a742141f7ab84975aa758b775567ef4740ef0cf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.28","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.28","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/321bb0eb1486a0d575f02e24e3f4170e408c2f51","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c1e8a14f9d06c1ed6f3e4bd2d283a62079109e2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a285fa3780c768dcc51c76768707d099a2cc611d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6aaf6dbf54fdfae096f3f90a79e9614e46579280","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70cf773cca30a10b4964c24520a71279c974b899","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3eee4c21931dc048ce63b86809f04e4e6f0dcad5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e11ac626f9f9fc3a2ed27dfa44ccbe5fb762217","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a742141f7ab84975aa758b775567ef4740ef0cf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-92521","url":"https://www.cve.org/CVERecord?id=CVE-2026-92521","licence":"CVE Terms of Use","modified":"2026-10-19T09:04:27.575Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-92521","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92521","licence":"Public domain","modified":"2026-10-19T10:16:52.683Z"}],"updatedAt":"2026-11-25T22:59:39.432Z","epss":{"score":0.00177,"percentile":0.07548,"date":"2026-12-01T12:00:22.000Z"}}