PT-2025-51686
CVE-2025-68282
·
Published
2025-10-23
·
Updated
2026-10-18
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/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
A race condition exists during gadget teardown that can lead to a use-after-free in the
usb gadget state work() function. This occurs because a concurrent event can call usb gadget set state() and schedule gadget->work at any time during the cleanup process in usb del gadget(). A previous attempt to fix this issue did not fully resolve the race condition. The issue is addressed by introducing a 'teardown' flag and a 'state lock' spinlock to the usb gadget struct, preventing new work from being scheduled once cleanup has commenced.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 👾