android_kernel_samsung_msm8976/drivers/media/usb
Hans Verkuil d39dcf95b3 media: v4l2-ctrls.c/uvc: zero v4l2_event
commit f45f3f753b0a3d739acda8e311b4f744d82dc52a upstream.

Control events can leak kernel memory since they do not fully zero the
event. The same code is present in both v4l2-ctrls.c and uvc_ctrl.c, so
fix both.

It appears that all other event code is properly zeroing the structure,
it's these two places.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: syzbot+4f021cf3697781dbd9fb@syzkaller.appspotmail.com
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-27 22:08:54 +02:00
..
au0828
b2c2
cpia2
cx231xx
dvb-usb
dvb-usb-v2
em28xx
gspca
hdpvr
pvrusb2
pwc
s2255
siano siano: make it work again with CONFIG_VMAP_STACK 2019-07-27 21:43:54 +02:00
sn9c102
stk1160
stkwebcam
tlg2300
tm6000
ttusb-budget
ttusb-dec
usbvision usbvision: fix crash on detecting device with invalid configuration 2016-06-07 10:42:50 +02:00
uvc media: v4l2-ctrls.c/uvc: zero v4l2_event 2019-07-27 22:08:54 +02:00
zr364xx
Kconfig
Makefile