Skip to main content

Linux Kernel CVE-2026-64362

| EUVDEUVD-2026-48906 HIGH
Use After Free (CWE-416)
2026-07-25 Linux GHSA-6q43-gp6v-hqmf
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

Race condition between key event and device removal requires precise timing, warranting AC:H over the vendor's AC:L; all other metrics unchanged.

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 - 16:40 vuln.today
tag: Information Disclosure removed
Analysis Generated
Sep 04, 2026 - 16:09 vuln.today
CVSS changed
Sep 04, 2026 - 16:07 NVD
7.8 (HIGH)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:50 nvd
HIGH 7.8

DescriptionNVD

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 is allocated with devm and holds a work item. The report handlers schedule that work straight from device input. lg_g15_event() and lg_g15_v2_event() do it on the backlight cycle key, and lg_g510_leds_event() does it too. The worker dereferences the lg_g15_data back through container_of.

The driver had no remove callback and never cancelled the work. So if a report scheduled the work and the keyboard was then unplugged, devres freed lg_g15_data while the work was still pending or running, and the worker touched freed memory. This is a use-after-free. It is reachable as a race on device unplug.

Add a remove callback that cancels the work before devres frees the state. g15->work is only initialized for the models that schedule it (G15, G15 v2, G510). The G13 and Z-10 leave it zeroed, so guard the cancel on g15->work.func to avoid cancelling a work that was never set up. The g15 NULL test mirrors the one already in lg_g15_raw_event().

AnalysisAI

Use-after-free in the Linux kernel HID lg-g15 driver allows a local attacker to trigger kernel memory corruption by racing device input events against USB keyboard removal. The driver allocates lg_g15_data via devm and schedules work items from HID report handlers (backlight cycle key on G15, G15 v2, G510), but lacked a remove callback to cancel pending work before devres freed the allocation. On kernel versions from approximately 5.5 through the unfixed stable branches, unplugging the keyboard while a work item is pending causes the worker to dereference freed memory via container_of, potentially enabling local privilege escalation. No public exploit has been identified and EPSS is 0.22% (13th percentile), indicating no observed widespread exploitation.

Technical ContextAI

The affected driver is drivers/hid/lg-g15.c in the Linux kernel, which supports Logitech G-series gaming keyboards (G15, G15 v2, G510, G13, Z-10). The struct lg_g15_data is allocated with devm_kzalloc(), tying its lifetime to the USB device object. This structure embeds a work_struct, which is scheduled by lg_g15_event(), lg_g15_v2_event(), and lg_g510_leds_event() in response to backlight cycle HID reports. The worker retrieves the lg_g15_data pointer via container_of(). Without a .remove callback issuing cancel_work_sync(), the devres framework frees lg_g15_data during device teardown (e.g., USB unplug) while the work may still be queued or executing - a textbook CWE-416 (Use After Free) temporal safety violation in concurrent driver teardown. The G13 and Z-10 models never initialize work.func and are not affected. CPE data identifies the product as cpe:2.3:a:linux:linux.

RemediationAI

Update the Linux kernel to a patched stable release: 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4, or 7.2-rc3. Individual stable-branch patch commits are published at git.kernel.org/stable (commits 3b9a3919aac6, 4aef9676c26d, acce9dee807f, 33cd1a000daf, dfc6e61f8311, 4d0d51bc12d2, 8131f4226688, 7705b4140d18). If an immediate kernel upgrade is not feasible and no Logitech G-series hardware is present, blacklist the hid-lg-g15 module via /etc/modprobe.d/ (echo 'blacklist hid_lg_g15' > /etc/modprobe.d/hid-lg-g15.conf) to eliminate the attack surface entirely, with no impact on unaffected keyboard models. On systems where the hardware is in use, no effective workaround short of patching exists.

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

CVE-2026-64362 vulnerability details – vuln.today

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