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… (CVE-2026-64362)
A use-after-free vulnerability was identified and resolved in the Linux kernel's HID driver for lg-g15 devices. The issue arises because pending work items were not cancelled on device removal, leading to potential dereferencing of freed memory. This occurs when the device is unplugged while scheduled work is still pending or running. The fix involves adding a remove callback that cancels any pending work before the device state is freed.
AI Analysis
Technical Summary
The Linux kernel HID driver for lg-g15 devices allocated lg_g15_data with devm and scheduled work items from device input events. However, the driver lacked a remove callback to cancel pending work on device removal. Consequently, if a report scheduled work and the keyboard was unplugged, the devres framework freed lg_g15_data while the work was still pending or executing, causing a use-after-free condition. The vulnerability was addressed by implementing a remove callback that cancels the work before freeing the device state, with safeguards to avoid cancelling uninitialized work items.
Potential Impact
The vulnerability allows a use-after-free condition triggered by a race between device unplug and scheduled work execution. This can lead to kernel memory corruption, potentially causing system instability or crashes. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented by adding a remove callback that cancels any pending work before freeing device resources. Users should apply the official Linux kernel update that includes this patch to remediate the vulnerability. Patch status is not explicitly confirmed here; check the vendor advisory or Linux kernel release notes for the exact fixed versions and update accordingly.
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… (CVE-2026-64362)
Description
A use-after-free vulnerability was identified and resolved in the Linux kernel's HID driver for lg-g15 devices. The issue arises because pending work items were not cancelled on device removal, leading to potential dereferencing of freed memory. This occurs when the device is unplugged while scheduled work is still pending or running. The fix involves adding a remove callback that cancels any pending work before the device state is freed.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel HID driver for lg-g15 devices allocated lg_g15_data with devm and scheduled work items from device input events. However, the driver lacked a remove callback to cancel pending work on device removal. Consequently, if a report scheduled work and the keyboard was unplugged, the devres framework freed lg_g15_data while the work was still pending or executing, causing a use-after-free condition. The vulnerability was addressed by implementing a remove callback that cancels the work before freeing the device state, with safeguards to avoid cancelling uninitialized work items.
Potential Impact
The vulnerability allows a use-after-free condition triggered by a race between device unplug and scheduled work execution. This can lead to kernel memory corruption, potentially causing system instability or crashes. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented by adding a remove callback that cancels any pending work before freeing device resources. Users should apply the official Linux kernel update that includes this patch to remediate the vulnerability. Patch status is not explicitly confirmed here; check the vendor advisory or Linux kernel release notes for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6q43-gp6v-hqmf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64362"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f8084a65
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:30:09 UTC
Last updated: 07/26/2026, 05:09:33 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.