CVE-2026-64362
Received Received - Intake

BaseFortify

Vulnerability report for CVE-2026-64362, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-25

Last updated on: 2026-07-25

Assigner: kernel.org

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().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-25
Last Modified
2026-07-25
Generated
2026-07-25
AI Q&A
2026-07-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
lg lg-g15 *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free vulnerability in the Linux kernel's HID driver for Logitech G15 keyboards. The driver allocates memory for device state and schedules work items without properly cleaning them up during device removal. If a keyboard is unplugged while a work item is pending or running, the memory is freed but the work item may still try to access it, causing a use-after-free condition.

Detection Guidance

This vulnerability is specific to the Linux kernel's HID driver for Logitech G15/G510 keyboards. Detection requires checking if the affected driver is loaded and if the system is running a vulnerable kernel version. Inspect loaded kernel modules with 'lsmod | grep lg_g15' and check kernel version with 'uname -r'. If the module is loaded on a vulnerable kernel, the system is potentially affected.

Impact Analysis

This vulnerability could allow an attacker with physical access to a vulnerable system to trigger a use-after-free condition by unplugging a Logitech G15 keyboard at a specific moment. This might lead to system crashes, data corruption, or potentially privilege escalation if exploited.

Mitigation Strategies

Apply the latest kernel update from your distribution to patch the vulnerability. If immediate patching is not possible, unload the lg_g15 module with 'modprobe -r lg_g15' to prevent the use-after-free condition. Avoid unplugging the keyboard while it is in use to reduce exposure to the race condition.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64362. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart