GHSA-5vf9-4h4x-m5f6unknown
In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
media: uvcvideo: Fix deadlock if uvc_status_stop is called from async_ctrl.work
If a UVC camera has an asynchronous control, uvc_status_stop may be called from async_ctrl.work:
uvc_ctrl_status_event_work() uvc_ctrl_status_event() uvc_ctrl_clear_handle() uvc_pm_put() uvc_status_put() uvc_status_stop() cancel_work_sync()
This will cause a deadlock, since cancel_work_sync will wait for uvc_ctrl_status_event_work to complete before returning.
Fix this by returning early from uvc_status_stop if we are currently in the work function. flush_status now remains false until uvc_status_start is called again, ensuring that uvc_ctrl_status_event_work won't resubmit the URB.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-74437
- https://git.kernel.org/stable/c/3659deaf7bf690510899a73906b772740d94342c
- https://git.kernel.org/stable/c/6d27f92c54ce28cfbd2a8a479a96d6f4a781b7d2
- https://git.kernel.org/stable/c/7f6c5fe1633272c926361b73d83dfc6ae01b1504
- https://github.com/advisories/GHSA-5vf9-4h4x-m5f6