kernel_samsung_a53x/drivers/media/usb/uvc
Benoit Sevens 9084be5184 media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
commit ecf2b43018da9579842c774b7f35dbe11b5c38dd upstream.

This can lead to out of bounds writes since frames of this type were not
taken into account when calculating the size of the frames buffer in
uvc_parse_streaming.

Fixes: c0efd232929c ("V4L/DVB (8145a): USB Video Class driver")
Signed-off-by: Benoit Sevens <bsevens@google.com>
Cc: stable@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-30 02:33:26 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_ctrl.c Revert "media: uvcvideo: Use entity get_cur in uvc_ctrl_set" 2024-11-24 00:23:54 +01:00
uvc_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_driver.c media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format 2024-11-30 02:33:26 +01:00
uvc_entity.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_isight.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_metadata.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_queue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_status.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_v4l2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_video.c Revert "media: uvcvideo: Fix integer overflow calculating timestamp" 2024-11-24 00:23:50 +01:00
uvcvideo.h media: uvcvideo: Allow entity-defined get_info and get_cur 2024-11-23 23:20:09 +01:00