CVE-2026-64362·Kernel vulnerability
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().
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64362 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to resolve a use-after-free vulnerability in the Logitech G-series keyboard driver. This flaw occurs when the kernel fails to properly cancel pending work items before freeing driver memory during device removal, potentially causing kernel crashes or memory corruption. Ensure your system receives the latest stable kernel patches through your distribution's update mechanism.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running `uname -r` and verify if it falls within the affected range (6.19 to 7.1.3)
- Step 2: Confirm the HID lg-g15 driver is loaded by checking `lsmod | grep hid_lg_g15` or `grep hid_lg_g15 /proc/modules`
- Step 3: Search kernel logs for memory corruption or use-after-free warnings with `sudo journalctl -xe | grep -i 'use-after-free\|hid\|lg.g15\|UAF'`
- Step 4: Verify the patch was applied by running `uname -r` and confirming the kernel version is 7.1.4 or later
FAQ
What is CVE-2026-64362?
This vulnerability is a use-after-free bug in the Linux kernel's Logitech G-series keyboard driver that fails to cancel pending work items before deallocating driver memory when a device is disconnected. This can lead to kernel crashes or undefined behavior if timing conditions align during device removal.
Is CVE-2026-64362 being actively exploited?
No, there is no evidence of active exploitation in the wild. This vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploits are currently available.
What versions of Kernel are affected by CVE-2026-64362?
Linux kernel versions 6.19 through 7.1.3 are vulnerable. The fix is included in kernel version 7.1.4 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2026-64362?
Run `uname -r` to display your kernel version. If the output shows a version between 6.19 and 7.1.3 inclusive, your system is vulnerable. Additionally, check if the lg-g15 HID driver is in use with `lsmod | grep hid_lg` to determine exposure.
Does Defensia detect CVE-2026-64362?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64362 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/33cd1a000daf929356aacf2b191d31714ff0615e
- https://git.kernel.org/stable/c/3b9a3919aac6977262f04d5365c0456877522a44
- https://git.kernel.org/stable/c/4aef9676c26dff8723b56834951cfc6b618f0986
- https://git.kernel.org/stable/c/4d0d51bc12d246accbfbb94de05d729c68c9b8fb
- https://git.kernel.org/stable/c/7705b4140d188ce22656f6e541ae7ef834c7e11a
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64362. Free for 1 server.
Get started free