Bug 2400699 (CVE-2023-53459) - CVE-2023-53459 kernel: HID: mcp-2221: prevent UAF in delayed work
Summary: CVE-2023-53459 kernel: HID: mcp-2221: prevent UAF in delayed work
Keywords:
Status: NEW
Alias: CVE-2023-53459
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: 2025-10-01 12:02 UTC by OSIDB Bzimport
Modified: 2025-10-01 23:34 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-01 12:02:23 UTC
In the Linux kernel, the following vulnerability has been resolved:

HID: mcp-2221: prevent UAF in delayed work

If the device is plugged/unplugged without giving time for mcp_init_work()
to complete, we might kick in the devm free code path and thus have
unavailable struct mcp_2221 while in delayed work.

Canceling the delayed_work item is enough to solve the issue, because
cancel_delayed_work_sync will prevent the work item to requeue itself.


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