PT-2026-161482

Publicado

2026-11-19

·

Atualizado

2026-11-19

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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.
Fornecedores
Produtos afetados
Identificadores relacionados
AZL-114935
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾