CVE-2026-64362: HID: lg-g15: cancel pending work on remove to fix a use-after-free
High 7.8 EPSS 0.1% Linux kernel
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().
- CVE-2026-64362CVE identifier
- 7.8CVSS 3.1 base score (high)
- 0.1%EPSS: chance of exploitation in the next 30 days (higher than 2% of CVEs)
- 2026-07-25published
What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms
What to do now
- Check whether you run Linux kernel and which version (commands below).
- Install the fixed version for your system: see “Patch it” below.
- Reboot into the new kernel (uname -r to confirm); live patching (kpatch, Ubuntu Livepatch, SUSE kGraft/klp) can defer the reboot for some CVEs
Affected and fixed versions
Affected:
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before 3b9a3919aac6977262f04d5365c0456877522a44
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before 4aef9676c26dff8723b56834951cfc6b618f0986
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before acce9dee807f21184fff19ad17c8ed464247e7f7
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before 33cd1a000daf929356aacf2b191d31714ff0615e
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before dfc6e61f83113cc18346b6988f07271c0063357d
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before 4d0d51bc12d246accbfbb94de05d729c68c9b8fb
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before 8131f4226688c4be5f30874d167e44dab838eb09
- Linux Linux 97b741aba918c4143f4208d2421d08ff215c1b49 to before 7705b4140d188ce22656f6e541ae7ef834c7e11a
- Linux Linux 5.5
Patch it
Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.
Debian
sudo apt update
sudo apt install --only-upgrade linux-image-amd64Ubuntu
sudo apt update
sudo apt install --only-upgrade linux-image-generic (or the installed flavour: linux-image-aws, -azure, -gcp, -virtual)RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh kernelFedora
sudo dnf upgrade --refresh kernelSUSE / openSUSE
sudo zypper refresh
sudo zypper update kernel-defaultAmazon Linux
sudo dnf upgrade --releasever=latest kernel kernel6.12Arch Linux
sudo pacman -SyuAlpine
apk update && apk upgrade linux-lts linux-virtFreeBSD
not LinuxGeneral update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.
Fix status in Linux distributions
| Release | Package | Status | Fixed version / advisory |
|---|---|---|---|
| Debian 12 | linux | fixed | 6.1.180-1 |
| Debian 13 | linux | fixed | 6.12.96-1 |
| Debian testing | linux | fixed | 7.1.4-1 |
| Debian 12 | linux-6.12 | fixed | 6.12.100-1~deb12u1 |
| Red Hat Enterprise Linux 9 | kernel | fix deferred | |
| Red Hat Enterprise Linux 9 | kernel-rt | fix deferred | |
| Red Hat Enterprise Linux 8 | kernel | fix deferred | |
| Red Hat Enterprise Linux 8 | kernel-rt | fix deferred | |
| Red Hat Enterprise Linux 10 | kernel | fix deferred | |
From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.
Sources
- https://git.kernel.org/stable/c/3b9a3919aac6977262f04d5365c0456877522a44
- https://git.kernel.org/stable/c/4aef9676c26dff8723b56834951cfc6b618f0986
- https://git.kernel.org/stable/c/acce9dee807f21184fff19ad17c8ed464247e7f7
- https://git.kernel.org/stable/c/33cd1a000daf929356aacf2b191d31714ff0615e
- https://git.kernel.org/stable/c/dfc6e61f83113cc18346b6988f07271c0063357d
- https://git.kernel.org/stable/c/4d0d51bc12d246accbfbb94de05d729c68c9b8fb
- https://git.kernel.org/stable/c/8131f4226688c4be5f30874d167e44dab838eb09
- https://git.kernel.org/stable/c/7705b4140d188ce22656f6e541ae7ef834c7e11a
- CVE-2026-64362 on CVE.org
- CVE-2026-64362 on NVD
Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.