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

Summary

CVECVE-2026-92521
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:17:55 UTC
Updated2026-09-17 17:17:55 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 321bb0eb1486a0d575f02e24e3f4170e408c2f51 git Not specified
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 3c1e8a14f9d06c1ed6f3e4bd2d283a62079109e2 git Not specified
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 a285fa3780c768dcc51c76768707d099a2cc611d git Not specified
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 6aaf6dbf54fdfae096f3f90a79e9614e46579280 git Not specified
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 70cf773cca30a10b4964c24520a71279c974b899 git Not specified
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 3eee4c21931dc048ce63b86809f04e4e6f0dcad5 git Not specified
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 6e11ac626f9f9fc3a2ed27dfa44ccbe5fb762217 git Not specified
CNA Linux Linux affected db89b4f0dbab837d0f3de2c3e9427a8d5393afa3 8a742141f7ab84975aa758b775567ef4740ef0cf git Not specified
CNA Linux Linux affected 2.6.28 Not specified
CNA Linux Linux unaffected 2.6.28 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/3eee4c21931dc048ce63b86809f04e4e6f0dcad5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6e11ac626f9f9fc3a2ed27dfa44ccbe5fb762217 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a285fa3780c768dcc51c76768707d099a2cc611d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/70cf773cca30a10b4964c24520a71279c974b899 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3c1e8a14f9d06c1ed6f3e4bd2d283a62079109e2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/321bb0eb1486a0d575f02e24e3f4170e408c2f51 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6aaf6dbf54fdfae096f3f90a79e9614e46579280 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8a742141f7ab84975aa758b775567ef4740ef0cf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report