linux-stable/drivers/media
Hans Verkuil 6bef442eea media: v4l2-ctrls.c/uvc: zero v4l2_event
commit f45f3f753b 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-03-27 14:14:41 +09:00
..
cec media: cec-pin: fix broken tx_ignore_nack_until_eom error injection 2019-01-09 17:38:46 +01:00
common media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused() 2019-03-23 20:09:38 +01:00
dvb-core media: dvb_frontend: ensure that the step is ok for both FE and tuner 2018-08-02 18:11:46 -04:00
dvb-frontends media: lgdt330x: fix lock status reporting 2019-03-23 20:10:12 +01:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2019-01-26 09:32:37 +01:00
i2c media: i2c: ov5640: Fix post-reset delay 2019-03-23 20:10:05 +01:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: cx23885: only reset DMA on problematic CPUs 2019-01-13 09:51:06 +01:00
platform media: vimc: Add vimc-streamer for stream control 2019-03-23 20:10:12 +01:00
radio media: radio-wl1273: fix return code for the polling routine 2018-08-08 10:57:14 -04:00
rc media: rc: ensure close() is called on rc_unregister_device 2019-02-12 19:47:01 +01:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners Merge branch 'i2c/for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2018-08-21 17:40:46 -07:00
usb media: v4l2-ctrls.c/uvc: zero v4l2_event 2019-03-27 14:14:41 +09:00
v4l2-core media: v4l2-ctrls.c/uvc: zero v4l2_event 2019-03-27 14:14:41 +09:00
Kconfig media: cec: Kconfig coding style issue 2018-05-09 16:26:50 -04:00
Makefile
media-device.c Merge branch 'ida-4.19' of git://git.infradead.org/users/willy/linux-dax 2018-08-26 11:48:42 -07:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c