linux_dsm_epyc7002/drivers/media/usb/gspca
Hans Verkuil de89d0864f media: gspca: zero usb_buf
Allocate gspca_dev->usb_buf with kzalloc instead of kmalloc to
ensure it is property zeroed. This fixes various syzbot errors
about uninitialized data.

Syzbot links:

https://syzkaller.appspot.com/bug?extid=32310fc2aea76898d074
https://syzkaller.appspot.com/bug?extid=99706d6390be1ac542a2
https://syzkaller.appspot.com/bug?extid=64437af5c781a7f0e08e

Reported-and-tested-by: syzbot+32310fc2aea76898d074@syzkaller.appspotmail.com
Reported-and-tested-by: syzbot+99706d6390be1ac542a2@syzkaller.appspotmail.com
Reported-and-tested-by: syzbot+64437af5c781a7f0e08e@syzkaller.appspotmail.com

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2019-12-13 09:15:35 +01:00
..
gl860
m5602
stv06xx media: gspca: make array st6422_bridge_init static, makes object smaller 2019-10-10 07:21:46 -03:00
autogain_functions.c
benq.c
conex.c
cpia1.c
dtcs033.c
etoms.c
finepix.c
gspca.c media: gspca: zero usb_buf 2019-12-13 09:15:35 +01:00
gspca.h
jeilinj.c
jl2005bcd.c
jpeg.h
Kconfig
kinect.c
konica.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
Makefile
mars.c
mr97310a.c
nw80x.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
ov519.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
ov534_9.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
ov534.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
pac207.c
pac7302.c
pac7311.c
pac_common.h
se401.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
se401.h
sn9c20x.c media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table 2019-08-26 10:43:20 -03:00
sn9c2028.c
sn9c2028.h
sonixb.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
sonixj.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
spca500.c
spca501.c
spca505.c
spca506.c
spca508.c
spca561.c
spca1528.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
sq905.c media: usb: null check create_singlethread_workqueue 2019-10-10 07:18:10 -03:00
sq905c.c media: gspca: null check create_singlethread_workqueue 2019-10-10 07:17:54 -03:00
sq930x.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
stk014.c
stk1135.c
stk1135.h
stv0680.c media: gspca: remove redundant assignment to variable ret 2019-10-24 18:32:52 -03:00
sunplus.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
t613.c
topro.c
touptek.c
tv8532.c
vc032x.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
vicam.c
w996Xcf.c media: gspca: zero usb_buf on error 2019-08-19 12:10:47 -03:00
xirlink_cit.c
zc3xx-reg.h
zc3xx.c