Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39837

published high CVSS 3.1 · 7.8

platform/x86: asus-wmi: Fix racy registrations

Published
19 Sep 2025, 15:26:12 UTC
Updated
05 Aug 2026, 12:05:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfeea7bd6b02d43a794e3f065650d89cf8d8e8e59 to < e7a70326fb26b905cfc8fe2366113aa4394733ef · feea7bd6b02d43a794e3f065650d89cf8d8e8e59 to < 5549202b9c02c2ecbc8634768a3da8d9e82d548d · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.6 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: Fix racy registrations asus_wmi_register_driver() may be called from multiple drivers concurrently, which can lead to the racy list operations, eventually corrupting the memory and hitting Oops on some ASUS machines. Also, the error handling is missing, and it forgot to unregister ACPI lps0 dev ops in the error case. This patch covers those issues by introducing a simple mutex at acpi_wmi_register_driver() & *_unregister_driver, and adding the proper call of asus_s2idle_check_unregister() in the error path.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The defect lies in platform driver/module registration (`asus_wmi_register_driver`) and the ACPI s2idle suspend path on the local machine; there is no network-facing or remotely-reachable code path involved. AC:L - The attacker controls both sides of the race by concurrently loading asus-nb-wmi and eeepc-wmi, and the companion defect — the missing `asus_s2idle_check_unregister()` on the `asus_wmi_add()` error path — leaves a stale global list registration entirely deterministically, with no race to win at all. PR:L - On affected ASUS machines the racy double `list_add()` into `lps0_s2idle_devops_head` occurs unattended during boot-time udev module coldplug, requiring no attacker privilege to create; an ordinary unprivileged local-session user can then reach the corrupted list by requesting suspend via logind without any elevated capability. UI:N - No victim action is required — the corruption is produced by concurrent module autoloading at boot, and the corrupted list is traversed by any suspend, including automatic idle-timeout or lid-close s2idle entry. S:U - The corrupted global ACPI list, the stale driver registration and the resulting dangling function pointer all reside within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The double `list_add()` corrupts a global kernel list and leaves a stale registration pointing at a module-owned `acpi_s2idle_dev_ops` struct that can outlive asus-wmi.ko, so the freed/corrupted object can be reclaimed and read back through the s2idle handler chain, enabling disclosure of kernel memory. I:H - `list_add`/`list_del` on the doubly-linked node write attacker-influenceable pointers into adjacent kernel structures, and the stale registration yields a dangling `handler->restore()` function pointer invoked from `acpi_s2idle_restore_early_lps0()`, which is a control-flow hijack primitive after heap/module-memory reclamation. A:H - The self-referential list node turns `list_for_each_entry()` in the LPS0 prepare/check/restore paths into an infinite loop, hanging the machine during suspend, and the follow-up `list_del()` on the poisoned node produces a kernel Oops — exactly the memory corruption and Oops reported on real ASUS systems.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux feea7bd6b02d43a794e3f065650d89cf8d8e8e59 to < e7a70326fb26b905cfc8fe2366113aa4394733ef (affected · git)feea7bd6b02d43a794e3f065650d89cf8d8e8e59 to < 5549202b9c02c2ecbc8634768a3da8d9e82d548d (affected · git)Default: unaffected Linux · cna
Linux Linux 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.6 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-787 CWE-787 Out-of-bounds Write (CISA-ADP · adp)

References

2

Provider assertions

2

Linux · cna

platform/x86: asus-wmi: Fix racy registrations

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
416ebf53024062753a16f77bd2f7b309777764ae8c3fc6439a6899ebf603057f
Ingested
23 Sep 2026, 08:47:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected