CVE-2026-89623 HID: mcp2221: stop device IO before hid_hw_stop
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.6.8 이상 6.6.157 미만
- 6.7
해결 버전
- 6.6.157 이상
- 6.7 미만
- 6.12.109 이상
- 6.18.50 이상
- 7.2.4 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/0ae90a19e6b5a8557d25d95facb7e01c9c07af38 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/2eda1513f573945c1e3a0090341f3d28740463b1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/85d963499f1feeea287c0a37c3eac3fc1898eca9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c99ba6c234d4d537c317336376b78c088174034a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/dca151633c0fde90935311c60e7cfc064aa56134 (새 창)