Skip to main content

Linux Kernel EUVDEUVD-2026-48909

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

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
qualitative

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

6
Metadata Corrected
Sep 04, 2026 - 23:40 vuln.today
tag: Information Disclosure removed
Analysis Generated
Sep 04, 2026 - 23:01 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

EUVD-2026-48909 vulnerability details – vuln.today

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