# CVE-2026-99518: platform/x86: asus-wmi: fix use-after-free unregistering kbd\_led led

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-11-19T14:44:22.840Z
- **Modified:** 2026-11-19T15:18:07.350Z

## Who should check

- Anyone running Linux \>= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, \< 465f3074762ad943370881d7b6f096e70d9a5a5a; \>= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, \< 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c
- Anyone running Linux 7.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

platform/x86: asus-wmi: fix use-after-free unregistering kbd\_led led

kbd\_led\_update\_all() registers asus-\>kbd\_led with
devm\_led\_classdev\_register() on the platform device, but kbd\_led is
embedded in struct asus\_wmi, which asus\_wmi\_remove() frees at its end.
The driver core calls .remove() before devres\_release\_all(), so the
deferred devres release runs led\_classdev\_unregister() on memory that
has already been freed. Whether that faults depends on whether the
slab has been reused in between, which makes the crash on module
unload intermittent and silently corrupts the led classdev state in
the remaining runs.

Unregister the led classdev explicitly in asus\_wmi\_led\_exit(), after
the led workqueue has been destroyed: kbd\_led\_work can then neither
run nor be queued anymore, since asus\_ref.asus is NULL too, so
kbd\_led\_registered is stable and the classdev can be released while
the memory embedding it is still alive. devm\_led\_classdev\_unregister()
also drops the devres entry, leaving nothing to run at unbind cleanup
time; it warns when no devres entry exists, hence the
kbd\_led\_registered check.

## Affected and fixed versions

- Linux: \>= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, \< 465f3074762ad943370881d7b6f096e70d9a5a5a; \>= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, \< 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c (cvelist)
- Linux: 7.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99518. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99518.md
Affected: Linux >= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, < 465f3074762ad943370881d7b6f096e70d9a5a5a; >= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, < 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c; Linux 7.0
Fixed in: Linux 465f3074762ad943370881d7b6f096e70d9a5a5a, Linux 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99518 being exploited?

There is no confirmed exploitation: CVE-2026-99518 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99518?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99518?

Linux \>= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, \< 465f3074762ad943370881d7b6f096e70d9a5a5a; \>= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, \< 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c; Linux 7.0.

### Is there a fix for CVE-2026-99518?

Yes. Fixed in Linux 465f3074762ad943370881d7b6f096e70d9a5a5a, Linux 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c. Upgrade Linux to 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c or later.

### How do I check if I'm affected by CVE-2026-99518?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/465f3074762ad943370881d7b6f096e70d9a5a5a>
- other: <https://git.kernel.org/stable/c/639bc2254816b7c4e7a9801a7b3aa71bfa3f915c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99518>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99518> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99518>
