Linux hwe edge: 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 (CVE-2026-64362) was identified and resolved in the Linux kernel's HID lg-g15 driver. The issue arises because the driver schedules work items without cancelling them on device removal, leading to potential access of freed memory when the device is unplugged. This flaw affects certain Logitech keyboard models (G15, G15 v2, G510) and is triggered by a race condition during device unplug. The vulnerability has been patched in updated Linux kernel versions.
AI Analysis
Technical Summary
The Linux kernel HID lg-g15 driver allocates lg_g15_data with devm and schedules work items from device input report handlers. However, it lacked a remove callback to cancel pending work on device removal. If a work item is scheduled and the keyboard is unplugged before the work executes, the devres framework frees lg_g15_data while the work is still pending or running. The worker then dereferences freed memory, causing a use-after-free condition. The fix adds a remove callback that cancels pending work before freeing the state, with safeguards to avoid cancelling uninitialized work items. This vulnerability is reachable as a race condition on device unplug for affected Logitech keyboard models.
Potential Impact
Exploitation of this use-after-free vulnerability could lead to memory corruption in the kernel, potentially allowing local attackers with access to the affected device to escalate privileges or cause denial of service. The CVSS 3.1 score is 7.8 (high impact on confidentiality, integrity, and availability). No known exploits in the wild have been reported.
Mitigation Recommendations
A patch is available and should be applied by updating to the fixed Linux kernel versions as specified in the Ubuntu security advisories USN-8726-1 and USN-8727-1. After updating, a system reboot is required. The fix introduces a remove callback that cancels pending work items to prevent use-after-free. Users should ensure they install the updated linux-hwe-edge kernel packages at or above the fixed versions. No additional mitigation is required beyond applying the official fix.
Linux hwe edge: 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 (CVE-2026-64362) was identified and resolved in the Linux kernel's HID lg-g15 driver. The issue arises because the driver schedules work items without cancelling them on device removal, leading to potential access of freed memory when the device is unplugged. This flaw affects certain Logitech keyboard models (G15, G15 v2, G510) and is triggered by a race condition during device unplug. The vulnerability has been patched in updated Linux kernel versions.
CVSS v3.1
Score 7.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel HID lg-g15 driver allocates lg_g15_data with devm and schedules work items from device input report handlers. However, it lacked a remove callback to cancel pending work on device removal. If a work item is scheduled and the keyboard is unplugged before the work executes, the devres framework frees lg_g15_data while the work is still pending or running. The worker then dereferences freed memory, causing a use-after-free condition. The fix adds a remove callback that cancels pending work before freeing the state, with safeguards to avoid cancelling uninitialized work items. This vulnerability is reachable as a race condition on device unplug for affected Logitech keyboard models.
Potential Impact
Exploitation of this use-after-free vulnerability could lead to memory corruption in the kernel, potentially allowing local attackers with access to the affected device to escalate privileges or cause denial of service. The CVSS 3.1 score is 7.8 (high impact on confidentiality, integrity, and availability). No known exploits in the wild have been reported.
Mitigation Recommendations
A patch is available and should be applied by updating to the fixed Linux kernel versions as specified in the Ubuntu security advisories USN-8726-1 and USN-8727-1. After updating, a system reboot is required. The fix introduces a remove callback that cancels pending work items to prevent use-after-free. Users should ensure they install the updated linux-hwe-edge kernel packages at or above the fixed versions. No additional mitigation is required beyond applying the official fix.
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: 09/07/2026, 18:05:53 UTC
Last updated: 09/08/2026, 10:52:11 UTC
Views: 44
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.