0.0
NA
CVE-2026-64362
HID: lg-g15: cancel pending work on remove to fix a use-after-free
Description

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().

INFO

Published Date :

July 25, 2026, 10:17 a.m.

Last Modified :

Aug. 17, 2026, 5:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-64362 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Add a remove callback to cancel pending work and prevent use-after-free.
  • Add a remove callback to the driver.
  • Cancel pending work items in the remove callback.
  • Ensure work item cancellation is guarded.
  • Apply the latest kernel updates.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-64362 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-64362 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-64362 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-64362 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '3b9a3919aac6977262f04d5365c0456877522a44', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '4aef9676c26dff8723b56834951cfc6b618f0986', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': 'acce9dee807f21184fff19ad17c8ed464247e7f7', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '33cd1a000daf929356aacf2b191d31714ff0615e', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': 'dfc6e61f83113cc18346b6988f07271c0063357d', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '4d0d51bc12d246accbfbb94de05d729c68c9b8fb', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '8131f4226688c4be5f30874d167e44dab838eb09', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '7705b4140d188ce22656f6e541ae7ef834c7e11a', 'versionType': 'git'}], 'programFiles': ['drivers/hid/hid-lg-g15.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hid/hid-lg-g15.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '3b9a3919aac6977262f04d5365c0456877522a44', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '4aef9676c26dff8723b56834951cfc6b618f0986', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': 'acce9dee807f21184fff19ad17c8ed464247e7f7', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '33cd1a000daf929356aacf2b191d31714ff0615e', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': 'dfc6e61f83113cc18346b6988f07271c0063357d', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '4d0d51bc12d246accbfbb94de05d729c68c9b8fb', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '8131f4226688c4be5f30874d167e44dab838eb09', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '7705b4140d188ce22656f6e541ae7ef834c7e11a', 'versionType': 'git'}], 'programFiles': ['drivers/hid/hid-lg-g15.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hid/hid-lg-g15.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 25, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '3b9a3919aac6977262f04d5365c0456877522a44', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '4aef9676c26dff8723b56834951cfc6b618f0986', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': 'acce9dee807f21184fff19ad17c8ed464247e7f7', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '33cd1a000daf929356aacf2b191d31714ff0615e', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': 'dfc6e61f83113cc18346b6988f07271c0063357d', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '4d0d51bc12d246accbfbb94de05d729c68c9b8fb', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '8131f4226688c4be5f30874d167e44dab838eb09', 'versionType': 'git'}, {'status': 'affected', 'version': '97b741aba918c4143f4208d2421d08ff215c1b49', 'lessThan': '7705b4140d188ce22656f6e541ae7ef834c7e11a', 'versionType': 'git'}], 'programFiles': ['drivers/hid/hid-lg-g15.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hid/hid-lg-g15.c'], 'defaultStatus': 'affected'}]
    Added Description 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().
    Added Reference https://git.kernel.org/stable/c/33cd1a000daf929356aacf2b191d31714ff0615e
    Added Reference https://git.kernel.org/stable/c/3b9a3919aac6977262f04d5365c0456877522a44
    Added Reference https://git.kernel.org/stable/c/4aef9676c26dff8723b56834951cfc6b618f0986
    Added Reference https://git.kernel.org/stable/c/4d0d51bc12d246accbfbb94de05d729c68c9b8fb
    Added Reference https://git.kernel.org/stable/c/7705b4140d188ce22656f6e541ae7ef834c7e11a
    Added Reference https://git.kernel.org/stable/c/8131f4226688c4be5f30874d167e44dab838eb09
    Added Reference https://git.kernel.org/stable/c/acce9dee807f21184fff19ad17c8ed464247e7f7
    Added Reference https://git.kernel.org/stable/c/dfc6e61f83113cc18346b6988f07271c0063357d
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.