PT-2026-161482

Published

2026-11-19

·

Updated

2026-11-19

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
media: gspca: use vb2 video unregister device() on disconnect
gspca uses vb2 fop release(), but gspca disconnect() only unregisters the video device. If the queue owner closes the device after USB disconnect, vb2 fop release() releases the queue and invokes gspca stop streaming() at that point.
gspca stream off() calls subdriver stop callbacks and usb set interface() through gspca dev->dev. By the time the late close runs, the USB core can have freed the usb device, resulting in a use-after-free. This was observed as a KASAN use-after-free in sd stopN().
Use vb2 video unregister device() so the queue is released and streaming is stopped synchronously during disconnect, while the usb device is still valid. Since the helper takes the queue lock, which is usb lock, call it after dropping that lock.
Vendors
Affected products
Related identifiers
AZL-114935
Found an issue in the description? Have something to add? Feel free to write us 👾