ACPI: bus: Introduce acpi_bus_get_primary_device()
In the Linux kernel, the following vulnerability has been resolved: ACPI: bus: Introduce acpi_bus_get_primary_device() The function used for obtaining the first "physical" device for which the given ACPI one is the ACPI companion, acpi_get_first_physical_node(), may return a stale device pointer (mostly in theory) because acpi_unbind_one() may run as a whole after dropping the ACPI device's physical_node_lock in acpi_get_first_physical_node() and before it returns. The last reference to the "physical" device may be dropped then before the pointer to it is returned to the caller. If that happens and the acpi_get_first_physical_node() caller invokes get_device() on the pointer obtained from it, which is done by the majority of its callers, a use-after-free will occur. To prepare for addressing this problem, introduce a new function for getting the first "physical" device associated with the given ACPI one (the "primary physical device") that will also reference count the device in question before returning a pointer to it. Make that new function and acpi_get_first_physical_node() share the physical node list lookup code. No intentional functional impact.
CVE-2026-93251
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-93251
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "91e5687805885f9fceb60b95e950a3d3bdcf4764",
"lessThan": "50ddd82b88b1d1cc467b5df953344c1a9feec268",
"versionType": "git"
},
{
"status": "affected",
"version": "91e5687805885f9fceb60b95e950a3d3bdcf4764",
"lessThan": "fd4f907b558721716da30acd6630191acf811b95",
"versionType": "git"
},
{
"status": "affected",
"version": "91e5687805885f9fceb60b95e950a3d3bdcf4764",
"lessThan": "ebdd932dc24c1cf7cc31710b7730515e4e66d886",
"versionType": "git"
},
{
"status": "affected",
"version": "91e5687805885f9fceb60b95e950a3d3bdcf4764",
"lessThan": "5657859851abb65105220a6cdb5804926249f714",
"versionType": "git"
},
{
"status": "affected",
"version": "91e5687805885f9fceb60b95e950a3d3bdcf4764",
"lessThan": "72530e1f72b0515a73fd88292254d04fecf03649",
"versionType": "git"
}
],
"programFiles": [
"drivers/acpi/bus.c",
"include/acpi/acpi_bus.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/acpi/bus.c",
"include/acpi/acpi_bus.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-93251
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48743 · Revision 1
- Added to Heist Feed
- Publisher date