Bug 2532125 (CVE-2026-89623) - CVE-2026-89623 kernel: Linux kernel: Use-after-free in HID mcp2221 driver during device removal
Summary: CVE-2026-89623 kernel: Linux kernel: Use-after-free in HID mcp2221 driver dur...
Keywords:
Status: NEW
Alias: CVE-2026-89623
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-11 20:46 UTC by OSIDB Bzimport
Modified: 2026-09-11 21:09 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-11 20:46:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.