# CVE-2026-64362: HID: lg-g15: cancel pending work on remove to fix a use-after-free

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-25T08:50:18.008Z
- **Modified:** 2026-11-06T17:18:51.677Z

## Who should check

- Anyone running Linux \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 3b9a3919aac6977262f04d5365c0456877522a44; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 4aef9676c26dff8723b56834951cfc6b618f0986; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< acce9dee807f21184fff19ad17c8ed464247e7f7; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 33cd1a000daf929356aacf2b191d31714ff0615e; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< dfc6e61f83113cc18346b6988f07271c0063357d; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 4d0d51bc12d246accbfbb94de05d729c68c9b8fb; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 8131f4226688c4be5f30874d167e44dab838eb09; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 7705b4140d188ce22656f6e541ae7ef834c7e11a
- Anyone running Linux 5.5

## Description

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

HID: lg-g15: cancel pending work on remove to fix a use-after-free

lg\_g15\_data is allocated with devm and holds a work item. The report
handlers schedule that work straight from device input.
lg\_g15\_event() and lg\_g15\_v2\_event() do it on the backlight cycle key,
and lg\_g510\_leds\_event() does it too. The worker dereferences the
lg\_g15\_data back through container\_of.

The driver had no remove callback and never cancelled the work. So if a
report scheduled the work and the keyboard was then unplugged, devres
freed lg\_g15\_data while the work was still pending or running, and the
worker touched freed memory. This is a use-after-free. It is reachable
as a race on device unplug.

Add a remove callback that cancels the work before devres frees the
state. g15-\>work is only initialized for the models that schedule it
(G15, G15 v2, G510). The G13 and Z-10 leave it zeroed, so guard the
cancel on g15-\>work.func to avoid cancelling a work that was never set
up. The g15 NULL test mirrors the one already in lg\_g15\_raw\_event().

## Affected and fixed versions

- Linux: \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 3b9a3919aac6977262f04d5365c0456877522a44; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 4aef9676c26dff8723b56834951cfc6b618f0986; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< acce9dee807f21184fff19ad17c8ed464247e7f7; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 33cd1a000daf929356aacf2b191d31714ff0615e; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< dfc6e61f83113cc18346b6988f07271c0063357d; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 4d0d51bc12d246accbfbb94de05d729c68c9b8fb; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 8131f4226688c4be5f30874d167e44dab838eb09; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 7705b4140d188ce22656f6e541ae7ef834c7e11a (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 7705b4140d188ce22656f6e541ae7ef834c7e11a 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-64362. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64362.md
Affected: Linux >= 97b741aba918c4143f4208d2421d08ff215c1b49, < 3b9a3919aac6977262f04d5365c0456877522a44; >= 97b741aba918c4143f4208d2421d08ff215c1b49, < 4aef9676c26dff8723b56834951cfc6b618f0986; >= 97b741aba918c4143f4208d2421d08ff215c1b49, < acce9dee807f21184fff19ad17c8ed464247e7f7; >= 97b741aba918c4143f4208d…
Fixed in: Linux 3b9a3919aac6977262f04d5365c0456877522a44, Linux 4aef9676c26dff8723b56834951cfc6b618f0986, Linux 33cd1a000daf929356aacf2b191d31714ff0615e, Linux 4d0d51bc12d246accbfbb94de05d729c68c9b8fb, Linux 8131f4226688c4be5f30874d167e44dab838eb09, Linux 7705b4140d188ce22656f6e541ae7ef834c7e11a

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-64362 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 3b9a3919aac6977262f04d5365c0456877522a44; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 4aef9676c26dff8723b56834951cfc6b618f0986; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< acce9dee807f21184fff19ad17c8ed464247e7f7; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 33cd1a000daf929356aacf2b191d31714ff0615e; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< dfc6e61f83113cc18346b6988f07271c0063357d; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 4d0d51bc12d246accbfbb94de05d729c68c9b8fb; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 8131f4226688c4be5f30874d167e44dab838eb09; \>= 97b741aba918c4143f4208d2421d08ff215c1b49, \< 7705b4140d188ce22656f6e541ae7ef834c7e11a; Linux 5.5.

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

Yes. Fixed in Linux 3b9a3919aac6977262f04d5365c0456877522a44, Linux 4aef9676c26dff8723b56834951cfc6b618f0986, Linux 33cd1a000daf929356aacf2b191d31714ff0615e, Linux 4d0d51bc12d246accbfbb94de05d729c68c9b8fb, Linux 8131f4226688c4be5f30874d167e44dab838eb09, Linux 7705b4140d188ce22656f6e541ae7ef834c7e11a. Upgrade Linux to 7705b4140d188ce22656f6e541ae7ef834c7e11a or later.

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

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

- patch: <https://git.kernel.org/stable/c/3b9a3919aac6977262f04d5365c0456877522a44>
- patch: <https://git.kernel.org/stable/c/4aef9676c26dff8723b56834951cfc6b618f0986>
- patch: <https://git.kernel.org/stable/c/acce9dee807f21184fff19ad17c8ed464247e7f7>
- patch: <https://git.kernel.org/stable/c/33cd1a000daf929356aacf2b191d31714ff0615e>
- patch: <https://git.kernel.org/stable/c/dfc6e61f83113cc18346b6988f07271c0063357d>
- patch: <https://git.kernel.org/stable/c/4d0d51bc12d246accbfbb94de05d729c68c9b8fb>
- patch: <https://git.kernel.org/stable/c/8131f4226688c4be5f30874d167e44dab838eb09>
- patch: <https://git.kernel.org/stable/c/7705b4140d188ce22656f6e541ae7ef834c7e11a>

## 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-64362>

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