Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93251 Overview
CVE-2026-93251 is a use-after-free vulnerability in the Linux kernel's Advanced Configuration and Power Interface (ACPI) bus subsystem. The flaw resides in acpi_get_first_physical_node(), which returns the first physical device associated with an ACPI companion device. The function drops the ACPI device's physical_node_lock before returning the device pointer, creating a race window. During this window, acpi_unbind_one() can run to completion and drop the last reference to the physical device. Callers that subsequently invoke get_device() on the returned pointer operate on freed memory.
Critical Impact
A race condition in ACPI device lookup can cause callers to dereference freed kernel memory, potentially enabling privilege escalation or kernel memory corruption on affected Linux systems.
Affected Products
- Linux kernel (upstream)
- Linux distributions shipping affected stable kernel branches
- Systems using ACPI companion device bindings
Discovery Timeline
- 2026-09-24 - CVE-2026-93251 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-93251
Vulnerability Analysis
The vulnerability affects the ACPI bus layer, which maps ACPI firmware objects to Linux device structures. The helper acpi_get_first_physical_node() walks the physical_node_list of an acpi_device to find the first associated physical device. The function acquires physical_node_lock during list traversal, extracts the device pointer, then releases the lock before returning.
This release-then-return pattern is unsafe. Between unlocking and returning, acpi_unbind_one() can execute fully on another CPU. That path removes the physical node from the list and drops the device's final reference, triggering its release. The caller then receives a pointer to freed memory.
Most callers of acpi_get_first_physical_node() immediately pass the returned pointer to get_device() to increment its reference count. Calling get_device() on a freed struct device dereferences the embedded kobject, producing a use-after-free write to the kernel heap.
Root Cause
The root cause is missing reference counting inside the critical section. The lookup function releases physical_node_lock without first taking a reference on the physical device, violating the standard kernel pattern of acquiring a reference while holding the list lock that protects the lookup.
Attack Vector
Exploitation requires triggering concurrent ACPI bind and unbind operations against the same ACPI companion device. This is typically reachable through device hotplug events, driver load and unload sequences, or ACPI table operations. The upstream commit notes the issue is "mostly in theory" but confirms the race is reachable. The fix introduces acpi_bus_get_primary_device(), which performs the lookup and reference count under the same lock, and refactors acpi_get_first_physical_node() to share the lookup code.
See the upstream patches at Kernel Git Commit 56578598 and Kernel Git Commit 72530e1f for the implementation details.
Detection Methods for CVE-2026-93251
Indicators of Compromise
- Kernel oops or panic messages referencing acpi_get_first_physical_node, get_device, or kobject_get in the call stack
- KASAN use-after-free reports pointing to struct device objects freed by acpi_unbind_one()
- Unexpected crashes during ACPI device hotplug, suspend/resume cycles, or driver rebind operations
Detection Strategies
- Enable Kernel Address Sanitizer (KASAN) on test and staging kernels to surface the race during fuzzing or stress testing
- Monitor dmesg and /var/log/kern.log for ACPI-related oops traces and reference count warnings
- Correlate kernel crash telemetry with ACPI device bind/unbind events in system logs
Monitoring Recommendations
- Collect kernel crash dumps centrally and alert on stack traces that include ACPI companion lookup functions
- Track installed kernel versions across the fleet to identify hosts still running unpatched builds
- Review driver subsystems that call acpi_get_first_physical_node() for custom out-of-tree modules that may inherit the pattern
How to Mitigate CVE-2026-93251
Immediate Actions Required
- Inventory Linux hosts and identify kernels built before the upstream fix was merged
- Apply vendor kernel updates that incorporate the acpi_bus_get_primary_device() refactor
- Prioritize patching on systems with frequent device hotplug activity, such as servers using hot-pluggable PCIe or NVMe
- Reboot patched hosts to activate the fixed kernel image
Patch Information
The fix is available in the upstream Linux kernel through two commits: Kernel Git Commit 56578598 and Kernel Git Commit 72530e1f. The patches introduce acpi_bus_get_primary_device(), which takes a reference on the physical device while still holding physical_node_lock, eliminating the race window. Consume the fix through your Linux distribution's kernel update channel.
Workarounds
- No supported workaround exists; the race is internal to the kernel ACPI subsystem
- Reducing device hotplug operations and avoiding frequent driver bind/unbind cycles may lower exposure but does not eliminate the flaw
- Restrict local privileged access that could be used to orchestrate the race condition until patches are deployed
# Verify running kernel version and check for the fix
uname -r
# On Debian/Ubuntu, update and reboot
sudo apt update && sudo apt upgrade linux-image-$(uname -r | cut -d- -f3-)
sudo reboot
# On RHEL/Rocky/Alma, update and reboot
sudo dnf update kernel
sudo reboot
# Confirm the patched commit is present in the source tree (if building from source)
git log --oneline | grep -E '5657859851ab|72530e1f72b0'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

