PT-2024-9022
CVE-2024-36894
·
Published
2024-05-30
·
Updated
2026-10-21
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to a race condition between the AIO completion handler and AIO cancel in the Linux kernel's usb: gadget: f fs component. This occurs when the FFS application issues an AIO cancel call while the UDC is handling a soft disconnect, leading to accessing a stale/hanging pointer. The problem arises due to the lack of locking between the AIO completion handler and AIO cancel. To fix this, the usb ep free request() function is moved back to ffs user copy worker(), ensuring that it explicitly sets io data->req to NULL after freeing it within the ffs->eps lock.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾