
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-31426 is a use-after-free vulnerability in the Linux kernel's ACPI Embedded Controller (EC) subsystem, specifically in the acpi_ec_setup() function. When ec_install_handlers() returns -EPROBE_DEFER on reduced-hardware platforms, it fails to clean up installed handlers, leaving a dangling pointer in ACPICA; the caller acpi_ec_add() then frees the struct acpi_ec, creating a stale handler context. The vulnerability affects Linux kernel versions from 5.7 through multiple stable branches, including versions before 6.1.168, 6.6.131, 6.12.80, 6.18.21, and 6.19.11, as well as 7.0 release candidates. It carries a CVSS v3.1 base score of 7.0 (High) (GitHub Advisory, Red Hat Bugzilla).
The root cause is a missing cleanup in the error path of acpi_ec_setup() (CWE-416: Use After Free; CWE-825: Expired Pointer Dereference). When ec_install_handlers() partially succeeds — starting the EC and registering the address space handler — but then returns -EPROBE_DEFER due to a deferred GPIO IRQ provider, acpi_ec_setup() propagates the error without invoking ec_remove_handlers(). This leaves a registered ACPICA handler whose context pointer (struct acpi_ec *) is subsequently freed by acpi_ec_add() for non-boot instances. Any later AML evaluation touching an EC OpRegion (e.g., battery, thermal, or backlight operations) dispatches through acpi_ec_space_handler() with the freed pointer, triggering a KASAN slab-use-after-free in mutex_lock. The bug is specific to reduced-hardware EC platforms where ec->gpe < 0 (GitHub Advisory, Red Hat Bugzilla).
Successful exploitation can result in kernel crashes, data corruption, or potential local privilege escalation. An unprivileged local user can trigger the dangling pointer dereference simply by reading ACPI-related sysfs entries that cause AML to access EC OpRegion fields (such as battery status, thermal sensors, or backlight controls), making the attack surface broader than typical kernel memory corruption bugs. The confidentiality, integrity, and availability impacts are all rated High, reflecting the potential for full kernel compromise on affected systems (GitHub Advisory).
There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability requires local access with low privileges and high attack complexity, as it is only triggerable on reduced-hardware EC platforms where GPIO IRQ provider probing is deferred. The EPSS score is approximately 0.024% (4th percentile), indicating a low near-term exploitation probability. The CVE is not listed in the CISA Known Exploited Vulnerabilities catalog (GitHub Advisory, Feedly).
ec->gpe < 0) and a GPIO IRQ provider that defers probing.ec_install_handlers() returned -EPROBE_DEFER, which causes the EC address space handler to be registered but the struct acpi_ec to be subsequently freed — leaving a stale handler context in ACPICA./sys/class/power_supply/), thermal zone temperatures (/sys/class/thermal/), or backlight brightness (/sys/class/backlight/).acpi_ec_space_handler() with the freed struct acpi_ec pointer, causing a use-after-free in mutex_lock, which can result in a kernel crash or, under controlled heap conditions, potential privilege escalation (GitHub Advisory, Red Hat Bugzilla).dmesg / /var/log/kern.log) showing BUG: KASAN: slab-use-after-free in mutex_lock with a call trace including acpi_ec_space_handler, acpi_ev_address_space_dispatch, acpi_ex_access_region, and acpi_ex_read_data_from_field.drivers/acpi/ec.c:1362 (acpi_ec_space_handler) during ACPI EC OpRegion access./sys/class/power_supply/, /sys/class/thermal/, /sys/class/backlight/) on systems with reduced-hardware EC configurations.ec->gpe < 0) combined with a deferred GPIO IRQ provider, identifiable via boot-time kernel messages about EPROBE_DEFER in the ACPI EC driver (GitHub Advisory).Apply the upstream kernel patches available for all affected stable branches: fixes are present in commits 022d1727f33f, 808c0f156f48, 9c886e63b696, be1a827e1599, d04c007047c8, and f6484cadbcaf on git.kernel.org. Patched stable versions include 6.1.168, 6.6.131, 6.12.80, 6.18.21, and 6.19.11; Amazon Linux 2023 users should apply ALAS2023-2026-1646 or later. As a temporary workaround where patching is not immediately possible, restrict unprivileged user access to ACPI-related sysfs entries (e.g., using udev rules or filesystem permissions) to reduce the attack surface, though this is not a complete mitigation (GitHub Advisory, Red Hat Bugzilla).
The vulnerability was disclosed via the Linux kernel CVE announcement mailing list by Greg Kroah-Hartman and tracked by Red Hat's Product Security team. No significant public researcher commentary or media coverage beyond standard vulnerability tracking has been observed, consistent with the low EPSS score and absence of public exploit code (Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
bionic
linux
bionic (esm-infra)
linux-hwe-5.4
bionic (fips-updates)
linux-fips
bionic (fips)
linux-fips
devel
linux
focal
linux-azure-fde-5.15
focal (esm-infra)
linux
focal (fips-updates)
linux-fips
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."