Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-31426— ACPI: EC: clean up handlers on probe failure in acpi_ec_setup()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于acpi_ec_setup函数在探测失败时未清理处理程序,可能导致释放后重用。

CVSS 7.0 · High EPSS 0.15% · P4

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 03e9a0e05739cf872fee494b06c75c0469704a21< 022d1727f33ff90b3e1775125264e3023901952e affected
03e9a0e05739cf872fee494b06c75c0469704a21< 9c886e63b69658959633937e3acb7ca8addf7499 affected
03e9a0e05739cf872fee494b06c75c0469704a21< 808c0f156f48d5b8ca34088cbbfba8444e606cbc affected
03e9a0e05739cf872fee494b06c75c0469704a21< d04c007047c88158141d9bd5eac761cdadd3782c affected
03e9a0e05739cf872fee494b06c75c0469704a21< be1a827e15991e874e0d5222d0ea5fdad01960fe affected
03e9a0e05739cf872fee494b06c75c0469704a21< f6484cadbcaf26b5844b51bd7307a663dda48ef6 affected
5.7 affected
< 5.7 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-31426

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ACPI: EC: clean up handlers on probe failure in acpi_ec_setup()
Source: CVE Program / CVE List V5
Vulnerability Description
In 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
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于acpi_ec_setup函数在探测失败时未清理处理程序,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 03e9a0e05739cf872fee494b06c75c0469704a21 ~ 022d1727f33ff90b3e1775125264e3023901952e -
Linux Linux 5.7 -

II. Public POCs for CVE-2026-31426

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-31426

请登录查看更多情报信息。

Same Patch Batch · Linux · 2026-04-13 · 15 CVEs total

CVE-2026-31414 9.8 CRITICAL netfilter: nf_conntrack_expect: use expect->helper
CVE-2026-31419 7.8 HIGH net: bonding: fix use-after-free in bond_xmit_broadcast()
CVE-2026-31417 7.5 HIGH net/x25: Fix overflow when accumulating packets
CVE-2026-31428 netfilter: nfnetlink_log: fix uninitialized padding leak in NFULA_PAYLOAD
CVE-2026-31427 netfilter: nf_conntrack_sip: fix use of uninitialized rtp_addr in process_sdp
CVE-2026-31425 rds: ib: reject FRMR registration before IB connection is established
CVE-2026-31424 netfilter: x_tables: restrict xt_check_match/xt_check_target extensions for NFPROTO_ARP
CVE-2026-31423 net/sched: sch_hfsc: fix divide-by-zero in rtsc_min()
CVE-2026-31422 net/sched: cls_flow: fix NULL pointer dereference on shared blocks
CVE-2026-31420 bridge: mrp: reject zero test interval to avoid OOM panic
CVE-2026-31421 net/sched: cls_fw: fix NULL pointer dereference on shared blocks
CVE-2026-31418 netfilter: ipset: drop logically empty buckets in mtype_del
CVE-2026-31416 netfilter: nfnetlink_log: account for netlink header size
CVE-2026-31415 ipv6: avoid overflows in ip6_datagram_send_ctl()

IV. Related Vulnerabilities

V. Comments for CVE-2026-31426

No comments yet


Leave a comment