Shellfeed logo Shellfeed

CVE-2026-74437 · UNKNOWN

Summary: media: uvcvideo: Fix deadlock if uvc_status_stop is called from async_ctrl.work

Details

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 packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [a32d9c41bdb86e09ce731aa5fd3add89ac2103a5 – 3659deaf7bf690510899a73906b772740d94342c]
  • Linux Kernel [6.16.0 – 6.18.40] [6.19.0 – 7.1.5]

References