{"id":"CVE-2026-93251","summary":"ACPI: bus: Introduce acpi_bus_get_primary_device()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: bus: Introduce acpi_bus_get_primary_device()\n\nThe function used for obtaining the first \"physical\" device for which\nthe given ACPI one is the ACPI companion, acpi_get_first_physical_node(),\nmay return a stale device pointer (mostly in theory) because\nacpi_unbind_one() may run as a whole after dropping the ACPI device's\nphysical_node_lock in acpi_get_first_physical_node() and before it\nreturns.  The last reference to the \"physical\" device may be dropped\nthen before the pointer to it is returned to the caller.\n\nIf that happens and the acpi_get_first_physical_node() caller invokes\nget_device() on the pointer obtained from it, which is done by the\nmajority of its callers, a use-after-free will occur.\n\nTo prepare for addressing this problem, introduce a new function for\ngetting the first \"physical\" device associated with the given ACPI one\n(the \"primary physical device\") that will also reference count the\ndevice in question before returning a pointer to it.\n\nMake that new function and acpi_get_first_physical_node() share the\nphysical node list lookup code.\n\nNo intentional functional impact.","modified":"2026-11-01T02:32:23.390507579Z","published":"2026-09-24T15:51:27.511Z","related":["openSUSE-SU-2026:11893-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93251.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/50ddd82b88b1d1cc467b5df953344c1a9feec268"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5657859851abb65105220a6cdb5804926249f714"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72530e1f72b0515a73fd88292254d04fecf03649"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebdd932dc24c1cf7cc31710b7730515e4e66d886"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f912f88126e385f6cfcd1a28de73afb7d3943c8d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd4f907b558721716da30acd6630191acf811b95"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93251.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93251"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"91e5687805885f9fceb60b95e950a3d3bdcf4764"},{"fixed":"f912f88126e385f6cfcd1a28de73afb7d3943c8d"},{"fixed":"50ddd82b88b1d1cc467b5df953344c1a9feec268"},{"fixed":"fd4f907b558721716da30acd6630191acf811b95"},{"fixed":"ebdd932dc24c1cf7cc31710b7730515e4e66d886"},{"fixed":"5657859851abb65105220a6cdb5804926249f714"},{"fixed":"72530e1f72b0515a73fd88292254d04fecf03649"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-93251.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-93251.json"}}],"schema_version":"1.9.2"}