# CVE-2023-53459: HID: mcp-2221: prevent UAF in delayed work

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-01T11:42:30.648Z
- Modified: 2026-06-17T06:45:23.570Z
- Weaknesses: CWE-416
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: 6.2

## References

- <https://git.kernel.org/stable/c/5dc297652dbc557eba7ca7d6a4c5f1940dffffb1> (patch)
- <https://git.kernel.org/stable/c/47e91fdfa511139f2549687edb0d8649b123227b> (patch)

## Sources

- CVE List: [CVE-2023-53459](https://www.cve.org/CVERecord?id=CVE-2023-53459), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53459](https://nvd.nist.gov/vuln/detail/CVE-2023-53459), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53459 · Whole record: https://cve.day/CVE-2023-53459.json · Rebuilt by cve.day 2026-11-25T22:58:34.894Z
