Skip to main content

Linux Kernel CVE-2026-64365

| EUVDEUVD-2026-48909 HIGH
Use After Free (CWE-416)
2026-07-25 Linux GHSA-8qpm-q6pr-qxf8
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect LetSketch tablet to target system
  2. Delivery
    Move stylus into range, arming 100 ms timer
  3. Exploit
    Trigger device unbind within timer window
  4. Execution
    devm frees letsketch_data and input_dev before timer drains
  5. Persist
    Timer callback dereferences freed kernel heap memory
  6. Impact
    Exploit UAF primitive for kernel privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) a LetSketch HID drawing tablet physically connected to the target system with the hid-letsketch driver loaded; (2) an active pen-in-range event within the prior 100 ms to arm the inrange_timer before the unbind occurs; (3) the ability to trigger device unbind during that 100 ms window - physically unplugging the USB device (requiring physical proximity) or unloading the kernel module via rmmod (typically requiring root or CAP_SYS_MODULE). A low-privileged local user cannot independently trigger driver unbind through standard sysfs paths without elevated permissions, making unaided exploitation from PR:L difficult in practice. The race window is relatively wide at 100 ms but still requires coordination. The vulnerability does not affect systems without this specific drawing tablet driver or device attached.

Impact

CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) scores this as high severity with local access and low privileges required. The C:H/I:H/A:H triad reflects the theoretical ceiling of kernel UAF exploitation - controlled writes into freed kernel structures can enable privilege escalation to root - but practical attainability is constrained by a ~100 ms race window that must be won between timer arming and devm teardown. The vendor's AC:L rating is arguably optimistic given this timing dependency; AC:H better captures the exploitation complexity. EPSS at 0.21% (12th percentile) corroborates low real-world exploitation probability. No CISA KEV listing and no public PoC further reduce near-term risk. Exploitation additionally requires a LetSketch HID tablet to be physically attached - a rare enterprise configuration. The 'Information Disclosure' tag in the input data is inaccurate: CVSS C:H/I:H/A:H and CWE-416 characterize this as memory corruption with privilege escalation potential, not an info-disclosure class finding. Real-world priority is low for environments without this specific HID device class.

Exploit ScenarioDerived

An attacker with a local user session on a system where a LetSketch drawing tablet is connected moves the pen stylus into proximity to arm the inrange_timer callback, then triggers driver unbind - either by physically unplugging the USB tablet or, with elevated privileges, running rmmod hid_letsketch - within the ensuing 100 ms window. The devm teardown frees letsketch_data and the associated input_dev before the timer fires; the timer callback then dereferences freed kernel heap memory via data->input_tablet, providing a UAF primitive that an experienced kernel attacker could leverage to overwrite kernel structures and escalate to root. No public PoC exists at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 04, 2026

Use-After-Free in the Linux kernel HID letsketch driver allows local exploitation during device unbind, potentially enabling kernel memory corruption and privilege escalation on affected systems. The letsketch_probe() function arms a per-device kernel timer (inrange_timer) with a 100 ms timeout, but no .remove callback exists to drain the timer before devm cleanup frees letsketch_data and input_dev structures on USB unplug or rmmod, producing a UAF read/write into freed kernel memory. Patches are backported across six stable kernel branches; no public exploit code exists and EPSS is 0.21% (12th percentile), reflecting the niche device requirement and race-condition complexity.

RemediationAI

Upgrade to a patched stable kernel release: 6.1.178 or later in the 6.1 LTS series, 6.6.145 or later in the 6.6 LTS series, 6.12.96 or later in the 6.12 series, 6.18.39 or later in the 6.18 series, or 7.1.4 / 7.2-rc3 for mainline tracking. Fix commits are available at git.kernel.org/stable/c/2bb6e7143cf7, /523db788c0f8, /17f5928d7010, /3eca1a8165b5, /df3d8aa1a9392, and /46c8beeccd8a for the respective stable branches. As a compensating control on systems that cannot patch immediately, blacklisting the hid-letsketch kernel module (echo 'blacklist hid_letsketch' >> /etc/modprobe.d/hid-letsketch.conf && update-initramfs -u) prevents the driver from loading, eliminating the attack surface entirely at the cost of non-functional LetSketch tablets. Physical restriction on USB ports connecting drawing tablets is an additional environmental control. No reboot is required to apply the blacklist if the module is not currently loaded.

Affected VersionsENISA

Linux patch: 6.12.96
Linux patch: 7.2-rc3
Linux 33a5c2793451770cb6dcf0cc35c76cfd4b045513 <df3d8aa1a9392da3de66398e7a03422463806b21
Linux 5.17
Linux patch: 7.1.4
Linux patch: 6.6.145
Linux patch: 6.1.178
Linux 33a5c2793451770cb6dcf0cc35c76cfd4b045513 <46c8beeccd8ab2c863827254a85ea877654a3534
Linux 33a5c2793451770cb6dcf0cc35c76cfd4b045513 <2bb6e7143cf70ed281822d26c1848b2897ac36e9
Linux patch: 0
Linux patch: 6.18.39
Linux 33a5c2793451770cb6dcf0cc35c76cfd4b045513 <523db788c0f84612707638e266e8957ca7e3a756
Linux 33a5c2793451770cb6dcf0cc35c76cfd4b045513 <17f5928d7010bc9e002930326b59e60e40c09ee3
Linux 33a5c2793451770cb6dcf0cc35c76cfd4b045513 <3eca1a8165b5e7996e699e9df76cb4645e184d42

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the hid-letsketch driver in the Linux kernel HID subsystem (CWE-416: Use After Free). When a LetSketch pen drawing tablet reports a pen-in-range event, letsketch_raw_event() calls mod_timer(&data->inrange_timer, jiffies + msecs_to_jiffies(100)) to schedule a 100 ms delayed callback (letsketch_inrange_timeout) that dereferences data->input_tablet to emit a synthetic BTN_TOOL_PEN release. Both letsketch_data and the embedded input_dev fields are allocated with devm_kzalloc / devm-managed input device registration, which are automatically freed by the devres infrastructure during driver teardown. Because the driver lacked a .remove callback, nothing called hid_hw_stop() or timer_shutdown_sync() before devm released those pointers, leaving a window in which the timer callback dereferences freed memory. CPE data confirms Linux kernel across all versions from introduction commit 33a5c2793451770cb6dcf0cc35c76cfd4b045513 (Linux 5.17) up to but not including the fix commits in each stable series.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

AC:H reflects the 100 ms race window between timer arming and devm teardown; all other metrics match vendor assessment.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 04, 2026 - 20:52 NVD
7.8 (HIGH)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 nvd
HIGH 7.8
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

HID: letsketch: fix UAF on inrange_timer at driver unbind

letsketch_driver does not provide a .remove callback, but letsketch_probe() arms a per-device timer:

timer_setup(&data->inrange_timer, letsketch_inrange_timeout, 0);

The timer is re-armed from letsketch_raw_event() with a 100 ms timeout on every pen-in-range report, and its callback dereferences data->input_tablet to deliver a synthetic BTN_TOOL_PEN release.

letsketch_data is allocated with devm_kzalloc(), and its input_dev fields are devm-allocated via letsketch_setup_input_tablet(). On device unbind (USB unplug or rmmod), the HID core runs its default teardown and devm cleanup frees both letsketch_data and the input devices. Because no .remove callback exists, nothing drains the timer first: if raw_event armed it within ~100 ms of the unbind, the pending timer fires on freed memory. This is a UAF read of data and of data->input_tablet, followed by input_report_key() / input_sync() into the freed input_dev.

The same problem can occur on the probe error path: if hid_hw_start() enabled I/O on an always-poll-quirk device and then failed, raw_event may have armed the timer before devm releases data.

Fix by adding a .remove callback that calls hid_hw_stop() first. hid_hw_stop() synchronously kills the URBs that deliver raw_event(), so once it returns no path can re-arm the timer. timer_shutdown_sync() then drains any in-flight callback and permanently disables further mod_timer() calls. Apply the same timer_shutdown_sync() in the probe error path so the timer is guaranteed not to outlive data.

Executive ViewAI

Why It Matters

The Linux kernel letsketch driver contains a privilege escalation vulnerability in its USB device handling that could grant attackers kernel-level access to affected systems. This impacts organizations using graphics tablets and similar letsketch-based input devices; while exploitation requires local device access, successful attacks could result in complete system compromise.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche HID drawing tablet driver; rare in production Linux deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.208 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.184 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.218 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.186 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.237 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.180 Affected
SUSE Linux Enterprise Real Time 15 SP7 SUSE Real Time Module 15 SP7 Fixed
SUSE Linux Micro 6.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy