# CVE-2026-92521: ACPI: PCI: Clear driver_data on all paths that free the acpi_pci_root

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-17T16:10:28.144Z
- Modified: 2026-10-19T10:16:52.683Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ACPI: PCI: Clear driver_data on all paths that free the acpi_pci_root

acpi_pci_root_add() assigns the freshly allocated root to
device->driver_data before dmar_device_add() and pci_acpi_scan_root().
Both failure paths reach the end: label where root is kfree()'d, but
only the pci_acpi_scan_root() path clears driver_data first.

When dmar_device_add() fails during a hot-add, root is freed while
device->driver_data still points at it.  The ACPI core does not clear
driver_data on attach failure, so a later acpi_pci_find_root() call may
dereference this dangling pointer.

acpi_pci_root_remove() has the same problem: it frees root without
clearing device->driver_data, leaving a dangling pointer behind after
the root bridge is removed.

Move the NULL assignment to the shared end: label so every error path in
acpi_pci_root_add() clears driver_data before freeing root, and clear it
in acpi_pci_root_remove() as well, so the object is never left reachable
through driver_data after being freed.

(As written by CVE List.)

## Affected

- Linux Linux: from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before 321bb0eb1486a0d575f02e24e3f4170e408c2f51; from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before 3c1e8a14f9d06c1ed6f3e4bd2d283a62079109e2; from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before a285fa3780c768dcc51c76768707d099a2cc611d; from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before 6aaf6dbf54fdfae096f3f90a79e9614e46579280; from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before 70cf773cca30a10b4964c24520a71279c974b899; from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before 3eee4c21931dc048ce63b86809f04e4e6f0dcad5; from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before 6e11ac626f9f9fc3a2ed27dfa44ccbe5fb762217; from db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 before 8a742141f7ab84975aa758b775567ef4740ef0cf; 2.6.28 (not affected: before 2.6.28; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/321bb0eb1486a0d575f02e24e3f4170e408c2f51>
- <https://git.kernel.org/stable/c/3c1e8a14f9d06c1ed6f3e4bd2d283a62079109e2>
- <https://git.kernel.org/stable/c/a285fa3780c768dcc51c76768707d099a2cc611d>
- <https://git.kernel.org/stable/c/6aaf6dbf54fdfae096f3f90a79e9614e46579280>
- <https://git.kernel.org/stable/c/70cf773cca30a10b4964c24520a71279c974b899>
- <https://git.kernel.org/stable/c/3eee4c21931dc048ce63b86809f04e4e6f0dcad5>
- <https://git.kernel.org/stable/c/6e11ac626f9f9fc3a2ed27dfa44ccbe5fb762217>
- <https://git.kernel.org/stable/c/8a742141f7ab84975aa758b775567ef4740ef0cf>

## Sources

- CVE List: [CVE-2026-92521](https://www.cve.org/CVERecord?id=CVE-2026-92521), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-92521](https://nvd.nist.gov/vuln/detail/CVE-2026-92521), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-92521 · Whole record: https://cve.day/CVE-2026-92521.json · Rebuilt by cve.day 2026-11-25T22:59:39.432Z
