CVE-2026-31426
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.0
- Severity
- 7.0
- EPSS
- 0.2 %
- Percentile
- 5
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: ACPI: EC: clean up handlers on probe failure in acpi_ec_setup() When ec_install_handlers() returns -EPROBE_DEFER on reduced-hardware platforms, it has already started the EC and installed the address space handler with the struct acpi_ec pointer as handler context. However, acpi_ec_setup() propagates the error without any cleanup. The caller acpi_ec_add() then frees the struct acpi_ec for non-boot instances, leaving a dangling handler context in ACPICA. Any subsequent AML evaluation that accesses an EC OpRegion field dispatches into acpi_ec_space_handler() with the freed pointer, causing a use-after-free: BUG: KASAN: slab-use-after-free in mutex_lock (kernel/locking/mutex.c:289) Write of size 8 at addr ffff88800721de38 by task init/1 Call Trace: <TASK> mutex_lock (kernel/locking/mutex.c:289) acpi_ec_space_handler (drivers/acpi/ec.c:1362) acpi_ev_address_space_dispatch (drivers/acpi/acpica/evregion.c:293) acpi_ex_access_region (drivers/acpi/acpica/exfldio.c:246) acpi_ex_field_datum_io (drivers/acpi/acpica/exfldio.c:509) acpi_ex_extract_from_field (drivers/acpi/acpica/exfldio.c:700) acpi_ex_read_data_from_field (drivers/acpi/acpica/exfield.c:327) acpi_ex_resolve_node_to_value (drivers/acpi/acpica/exresolv.c:392) </TASK> Allocated by task 1: acpi_ec_alloc (drivers/acpi/ec.c:1424) acpi_ec_add (drivers/acpi/ec.c:1692) Freed by task 1: kfree (mm/slub.c:6876) acpi_ec_add (drivers/acpi/ec.c:1751) The bug triggers on reduced-hardware EC platforms (ec->gpe < 0) when the GPIO IRQ provider defers probing. Once the stale handler exists, any unprivileged sysfs read that causes AML to touch an EC OpRegion (battery, thermal, backlight) exercises the dangling pointer. Fix this by calling ec_remove_handlers() in the error path of acpi_ec_setup() before clearing first_ec. ec_remove_handlers() checks each EC_FLAGS_* bit before acting, so it is safe to call regardless of how far ec_install_handlers() progressed: -ENODEV (handler not installed): only calls acpi_ec_stop() -EPROBE_DEFER (handler installed): removes handler, stops EC
- Vendor / product
- linux linux kernel
- Published
- 13.04.2026
- Modified
- 19.10.2026
- CWE
- CWE-416
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
28- Ubuntu: USN-8665-1 – Linux kernel (Raspberry Pi) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8619-1 – Linux kernel (HWE) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-3 – Linux kernel (AWS) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-3 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8609-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8608-1 – Linux kernel (Azure FIPS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8607-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8606-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-2 – Linux kernel (AWS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8596-1 – Linux kernel (NVIDIA) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-1 – Linux kernel (Oracle) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-1 – Linux kernel (GCP FIPS) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8567-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2238-1 – Security update for the Linux Kernel 03.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21866-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21868-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21876-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21877-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21916-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21919-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21947-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2217-1 – Security update for the Linux Kernel 02.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21845-1 – Security update for the Linux Kernel 01.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21860-1 – Security update for the Linux Kernel 01.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21841-1 – Security update for the Linux Kernel 29.05.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21834-1 – Security update for the Linux Kernel 29.05.2026 · Critical · Patch day
- Microsoft: Mariner 14.04.2026 · Medium · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.