In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: uvc: Fix ERRPTR dereference in uvcv4l2.c
Fix potential dereferencing of ERRPTR() in findformatbypix() and uvcv4l2enum_format().
Fix the following smatch errors:
drivers/usb/gadget/function/uvcv4l2.c:124 findformatbypix() error: 'fmtdesc' dereferencing possible ERR_PTR()
drivers/usb/gadget/function/uvcv4l2.c:392 uvcv4l2enumformat() error: 'fmtdesc' dereferencing possible ERR_PTR()
Also, fix similar issue in uvcv4l2tryformat() for potential dereferencing of ERRPTR().