{"id":"CVE-2026-93251","state":"PUBLISHED","title":"ACPI: bus: Introduce acpi_bus_get_primary_device()","description":"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.","publishedAt":"2026-09-24T15:51:27.511Z","updatedAt":"2026-10-30T12:36:32.328Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"f912f88126e385f6cfcd1a28de73afb7d3943c8d","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"50ddd82b88b1d1cc467b5df953344c1a9feec268","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"fd4f907b558721716da30acd6630191acf811b95","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"ebdd932dc24c1cf7cc31710b7730515e4e66d886","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"5657859851abb65105220a6cdb5804926249f714","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"72530e1f72b0515a73fd88292254d04fecf03649","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/bus.c","include/acpi/acpi_bus.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.8","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/bus.c","include/acpi/acpi_bus.h"]}],"references":["https://git.kernel.org/stable/c/f912f88126e385f6cfcd1a28de73afb7d3943c8d","https://git.kernel.org/stable/c/50ddd82b88b1d1cc467b5df953344c1a9feec268","https://git.kernel.org/stable/c/fd4f907b558721716da30acd6630191acf811b95","https://git.kernel.org/stable/c/ebdd932dc24c1cf7cc31710b7730515e4e66d886","https://git.kernel.org/stable/c/5657859851abb65105220a6cdb5804926249f714","https://git.kernel.org/stable/c/72530e1f72b0515a73fd88292254d04fecf03649"],"weaknesses":[],"ingestedAt":"2026-10-30T12:56:04.490Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93251.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93251","state":"PUBLISHED","datePublished":"2026-09-24T15:51:27.511Z","dateUpdated":"2026-10-30T12:36:32.328Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T16:02:15.096Z"},"containers":{"cna":{"title":"ACPI: bus: Introduce acpi_bus_get_primary_device()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"f912f88126e385f6cfcd1a28de73afb7d3943c8d","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"50ddd82b88b1d1cc467b5df953344c1a9feec268","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"fd4f907b558721716da30acd6630191acf811b95","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"ebdd932dc24c1cf7cc31710b7730515e4e66d886","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"5657859851abb65105220a6cdb5804926249f714","versionType":"git"},{"version":"91e5687805885f9fceb60b95e950a3d3bdcf4764","status":"affected","lessThan":"72530e1f72b0515a73fd88292254d04fecf03649","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/bus.c","include/acpi/acpi_bus.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.8","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/bus.c","include/acpi/acpi_bus.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/f912f88126e385f6cfcd1a28de73afb7d3943c8d"},{"url":"https://git.kernel.org/stable/c/50ddd82b88b1d1cc467b5df953344c1a9feec268"},{"url":"https://git.kernel.org/stable/c/fd4f907b558721716da30acd6630191acf811b95"},{"url":"https://git.kernel.org/stable/c/ebdd932dc24c1cf7cc31710b7730515e4e66d886"},{"url":"https://git.kernel.org/stable/c/5657859851abb65105220a6cdb5804926249f714"},{"url":"https://git.kernel.org/stable/c/72530e1f72b0515a73fd88292254d04fecf03649"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:36:32.328Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.8","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.8","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.8","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.8","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.8","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.8","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}