[PATCH 0/2] uvcvideo: require spec compliance to avoid bugs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some syzkaller reproducers have triggered cases where the devices would not
comply with the UVC specification and warnings would result.

These cases can be simply fixed by preventing the allocation of entities
with duplicate IDs or zero IDs.

Thadeu Lima de Souza Cascardo (2):
  media: uvcvideo: require entities to have a unique ID
  media: uvcvideo: require entities to have a non-zero ID

 drivers/media/usb/uvc/uvc_driver.c | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

-- 
2.34.1





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux