← CVE Intelligence

CVE-2026-89623

HID: mcp2221: stop device IO before hid_hw_stop PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: HID: mcp2221: stop device IO before hid_hw_stop Quiesce device IO at the start of the devm cleanup callback mcp2221_hid_unregister() so that incoming HID reports cannot race with hardware teardown during probe failure or device removal, addressing a potential use-after-free. Guard the call to hid_device_io_stop() with io_started. On normal removal hid_device_remove() has already cleared io_started before the devres group is released, so an unconditional call would otherwise hit the !io_started path and emit a spurious "io already stopped" warning on every removal. The guard preserves the probe-failure balancing, where io_started is still set after hid_device_io_start(), while staying silent on the normal removal path.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected d4b50ac06ea6e47bdd2b04e97d1090c673c80645 before 85d963499f1feeea287c0a37c3eac3fc1898eca9; affected d4b50ac06ea6e47bdd2b04e97d1090c673c80645 before 0ae90a19e6b5a8557d25d95facb7e01c9c07af38; affected d4b50ac06ea6e47bdd2b04e97d1090c673c80645 before c99ba6c234d4d537c317336376b78c088174034a; affected d4b50ac06ea6e47bdd2b04e97d1090c673c80645 before 2eda1513f573945c1e3a0090341f3d28740463b1; affected d4b50ac06ea6e47bdd2b04e97d1090c673c80645 before dca151633c0fde90935311c60e7cfc064aa56134
Linux / Linuxaffected 6.6.8 before 6.6.157; affected 6.6.8 before 6.12.109; affected 6.6.8 before 6.18.50; affected 6.6.8 before 7.2.4; affected 6.6.8 before 7.3

CWE

No CWE identifiers supplied.

References