HID: mcp-2221: prevent UAF in delayed work
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 47e91fdfa511139f2549687edb0d8649b123227b and Kernel 5dc297652dbc557eba7ca7d6a4c5f1940dffffb1.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.2, >=960f9df7c620ecb6030aff1d9a6c3d67598b8290 <47e91fdfa511139f2549687edb0d8649b123227b, >=960f9df7c620ecb6030aff1d9a6c3d67598b8290 <5dc297652dbc557eba7ca7d6a4c5f1940dffffb1 | 47e91fdfa511139f2549687edb0d8649b123227b, 5dc297652dbc557eba7ca7d6a4c5f1940dffffb1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket