CVE-2026-64595

Source
https://cve.org/CVERecord?id=CVE-2026-64595
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64595.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64595
Downstream
Published
2026-08-06T07:13:50.918Z
Modified
2026-08-08T03:48:19.111907663Z
Summary
HID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove()
Details

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

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

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

INIT_DELAYED_WORK(&drvdata.go_cfg_setup, &cfg_setup);
schedule_delayed_work(&drvdata.go_cfg_setup, msecs_to_jiffies(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 cfg_setup() 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 cfg_setup() acquires that mutex; reversing the order would deadlock.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64595.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d69ccfcbc9551988190895bc125a8bf709aa5931
Fixed
3e7761f7bf9f0187bb18cf52b5119bdf4940e686
Fixed
73fde0cbff7d9d618591774a12c23434232752c1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64595.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64595.json"