CVE-2026-31426: 
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Identify a vulnerable target: Locate a Linux system running a kernel version between 5.7 and the patched versions (before 6.1.168, 6.6.131, 6.12.80, 6.18.21, or 6.19.11) on hardware with a reduced-hardware ACPI EC configuration (ec->gpe < 0) and a GPIO IRQ provider that defers probing.
  2. Confirm deferred probe condition: Verify that during boot, 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.
  3. Trigger AML EC OpRegion access: As an unprivileged local user, read ACPI-related sysfs entries that cause AML evaluation of EC OpRegion fields, such as battery status (/sys/class/power_supply/), thermal zone temperatures (/sys/class/thermal/), or backlight brightness (/sys/class/backlight/).
  4. Trigger use-after-free: The AML evaluation dispatches through 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).

Indicators of compromise

  • Logs: Kernel logs (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.
  • Logs: Kernel oops or panic messages referencing drivers/acpi/ec.c:1362 (acpi_ec_space_handler) during ACPI EC OpRegion access.
  • Process: Unusual kernel crashes or system instability triggered by unprivileged reads of ACPI sysfs entries (e.g., /sys/class/power_supply/, /sys/class/thermal/, /sys/class/backlight/) on systems with reduced-hardware EC configurations.
  • System: Presence of a reduced-hardware ACPI EC platform (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).

Mitigation and workarounds

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).

Community reactions

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).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.170-1

Fixed

sid

linux: 6.19.11-1

Fixed

trixie

linux: 6.12.85-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux-hwe-5.4

Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

RHEL / CentOS

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99310HIGH7.5
  • Linux Kernel logoLinux Kernel
  • kernel-tools
NoYesNov 16, 2026
CVE-2026-99308MEDIUM6.8
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesNov 16, 2026
CVE-2026-99298MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-64k-core
NoYesNov 16, 2026
CVE-2026-99299MEDIUM4.6
  • Linux Kernel logoLinux Kernel
  • linux-gkeop
NoYesNov 16, 2026
CVE-2026-99297MEDIUM4.2
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesNov 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management