media: uvcvideo: Fix deadlock if uvc_status_stop is called from async_ctrl.work
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3659deaf7bf690510899a73906b772740d94342c, Kernel 6d27f92c54ce28cfbd2a8a479a96d6f4a781b7d2, Kernel 7f6c5fe1633272c926361b73d83dfc6ae01b1504 and 2 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=a32d9c41bdb86e09ce731aa5fd3add89ac2103a5 <3659deaf7bf690510899a73906b772740d94342c, >=a32d9c41bdb86e09ce731aa5fd3add89ac2103a5 <6d27f92c54ce28cfbd2a8a479a96d6f4a781b7d2, >=a32d9c41bdb86e09ce731aa5fd3add89ac2103a5 <7f6c5fe1633272c926361b73d83dfc6ae01b1504 | 3659deaf7bf690510899a73906b772740d94342c, 6d27f92c54ce28cfbd2a8a479a96d6f4a781b7d2, 7f6c5fe1633272c926361b73d83dfc6ae01b1504 |
| linux-kernel: Kernel | >=6.16.0 <6.18.40, >=6.19.0 <7.1.5 | 6.18.40, 7.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket