CVE-2026-64595: HID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove()

Published Aug 6, 2026
·
Updated

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

HID: hid-lenovo-go: cancel cfgsetup work in hidgocfgremove()

hidgocfgprobe() initialises drvdata.gocfgsetup and schedules it to run 2 ms later:

INITDELAYEDWORK(&drvdata.gocfgsetup, &cfgsetup); scheduledelayedwork(&drvdata.gocfgsetup, msecstojiffies(2));

cfgsetup() dereferences drvdata.hdev to issue MCU command requests. hidgocfgremove() tears down sysfs and stops the HID device, but never drains the delayed work. If the device is unbound within the 2 ms scheduling delay (a probe failure rolling back via remove, or a fast rmmod after probe), the work fires after hiddestroydevice() has dropped its reference and released the underlying hdev struct, leaving cfgsetup() with a stale drvdata.hdev pointer.

Mirror the sibling driver hid-lenovo-go-s.c, whose hidgoscfgremove() already calls canceldelayedworksync() on its analogous work, and drain gocfgsetup at the top of hidgocfgremove(). The cancel must come before guard(mutex)(&drvdata.cfgmutex) because cfgsetup() acquires that mutex; reversing the order would deadlock.

Affected Software

1 affected component
Linux Kernel Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In hid_go_cfg_remove(), drain the delayed work drvdata.go_cfg_setup immediately at the top of the function (before tearing down sysfs and stopping the HID device) to prevent cfg_setup() from running after hid_destroy_device() has dropped the hdev reference.

    Linux kernel HID driver hid-lenovo-go delayed work draining/cancellation order = drain go_cfg_setup at the top of hid_go_cfg_remove() before other teardown

Event History

Aug 6, 2026
CVE Published
via MITRE·07:13 AM
Data Sourced
via MITRE·07:13 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64595?

CVE-2026-64595 has a risk score of 44, indicating a significant impact.

2

How do I fix CVE-2026-64595?

To resolve CVE-2026-64595, update the Linux kernel to the latest version that addresses this vulnerability.

3

What systems are affected by CVE-2026-64595?

CVE-2026-64595 affects systems running vulnerable versions of the Linux kernel with HID: hid-lenovo-go.

4

What type of vulnerability is CVE-2026-64595?

CVE-2026-64595 is a kernel vulnerability related to the handling of HID devices.

5

When was CVE-2026-64595 published?

CVE-2026-64595 was published on August 6, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203