Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: HID: letsketch: fix UAF on inrange_timer at driver unbind letsketch_driver does… (CVE-2026-64365)

0
Medium
Published: 07/25/2026 (07/25/2026, 12:31:33 UTC)
Source: GCVE Database

Description

A use-after-free (UAF) vulnerability was identified and resolved in the Linux kernel's letsketch HID driver. The issue arises because the driver lacks a .remove callback to properly stop and drain a per-device timer before device unbind or removal, leading to the timer firing on freed memory. This results in a UAF read and subsequent operations on freed input device structures. The fix involves adding a .remove callback that stops the hardware and synchronously drains the timer to prevent it from firing after memory is freed.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:29:48 UTC

Technical Analysis

The letsketch HID driver in the Linux kernel had a use-after-free vulnerability due to the absence of a .remove callback. The driver arms a per-device timer that is re-armed on pen-in-range events. On device unbind or removal, the HID core frees the associated data and input devices without stopping the timer, allowing the timer callback to access freed memory. This leads to a UAF read of the letsketch_data structure and its input_tablet field, followed by calls to input_report_key() and input_sync() on freed input device memory. The vulnerability also affects the probe error path where the timer may be armed before failure cleanup. The patch adds a .remove callback that calls hid_hw_stop() to synchronously kill URBs and prevent the timer from being re-armed, followed by timer_shutdown_sync() to drain any pending timer callbacks.

Potential Impact

This vulnerability allows a use-after-free condition in kernel memory, which can lead to undefined behavior including potential kernel crashes or memory corruption. The impact is limited to the letsketch HID driver and involves kernel memory safety violations triggered by device unbind or probe error conditions. There are no known exploits in the wild.

Mitigation Recommendations

A fix has been implemented by adding a .remove callback that stops the hardware and synchronously drains the timer to prevent use-after-free. Users should update to a Linux kernel version that includes this patch. Since this is a kernel driver vulnerability, applying the official kernel update or patch is the recommended remediation. Patch status is not explicitly confirmed here; check the vendor or Linux kernel advisory for the specific fixed version and apply updates accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-8qpm-q6pr-qxf8
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64365"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a65420b9c2644c7f8084a4a

Added to database: 07/25/2026, 23:08:59 UTC

Last enriched: 07/25/2026, 23:29:48 UTC

Last updated: 07/26/2026, 03:44:40 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses