Use After Free in Linux

CVE-2023-53459

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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.002, 4.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 960f9df7c620ecb6030aff1d9a6c3d67598b8290, 6.2, 0
  • Linux Kernel — versions 6.2

Weakness classification (CWE)

References