CVE-2023-53459
7.8high
HID: mcp-2221: prevent UAF in delayed work
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 960f9df7c620ecb6030aff1d9a6c3d67598b8290 before 5dc297652dbc557eba7ca7d6a4c5f1940dffffb1, from 960f9df7c620ecb6030aff1d9a6c3d67598b8290 before 47e91fdfa511139f2549687edb0d8649b123227b, 6.2 Not affected: before 6.2, from 6.2.1 up to 6.2.*, from 6.3 up to * | CVE List |
| linux linux_kernel | 6.2 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53459 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53459 changed 2026-06-17 | Public domain |