linux_dsm_epyc7002/drivers/media/platform/vivid
Alexander Potapenko dad7e270ba media: vivid: use vfree() instead of kfree() for dev->bitmap_cap
syzkaller reported crashes on kfree() called from
vivid_vid_cap_s_selection(). This looks like a simple typo, as
dev->bitmap_cap is allocated with vzalloc() throughout the file.

Fixes: ef834f7836 ("[media] vivid: add the video capture and output
parts")

Signed-off-by: Alexander Potapenko <glider@google.com>
Reported-by: Syzbot <syzbot+6c0effb5877f6b0344e2@syzkaller.appspotmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-22 11:43:50 -04:00
..
Kconfig media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Makefile
vivid-cec.c
vivid-cec.h
vivid-core.c media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
vivid-core.h media: vivid: Improve timestamping 2018-12-07 08:30:33 -05:00
vivid-ctrls.c media: vivid: add req_validate error injection 2018-12-03 14:44:31 -05:00
vivid-ctrls.h
vivid-kthread-cap.c media: vivid: Improve timestamping 2018-12-07 08:30:33 -05:00
vivid-kthread-cap.h
vivid-kthread-out.c
vivid-kthread-out.h
vivid-osd.c
vivid-osd.h
vivid-radio-common.c
vivid-radio-common.h
vivid-radio-rx.c
vivid-radio-rx.h
vivid-radio-tx.c
vivid-radio-tx.h
vivid-rds-gen.c
vivid-rds-gen.h
vivid-sdr-cap.c media: vivid: drop v4l2_ctrl_request_complete() from start_streaming 2018-12-03 15:04:07 -05:00
vivid-sdr-cap.h
vivid-vbi-cap.c Linux 4.20-rc7 2018-12-17 10:34:24 -05:00
vivid-vbi-cap.h
vivid-vbi-gen.c
vivid-vbi-gen.h
vivid-vbi-out.c media: vivid: drop v4l2_ctrl_request_complete() from start_streaming 2018-12-03 15:04:07 -05:00
vivid-vbi-out.h
vivid-vid-cap.c media: vivid: use vfree() instead of kfree() for dev->bitmap_cap 2019-04-22 11:43:50 -04:00
vivid-vid-cap.h
vivid-vid-common.c media: vivid: Add definitions for the 32-bit packed YUV formats 2019-02-18 14:32:42 -05:00
vivid-vid-common.h
vivid-vid-out.c media: vivid: use vzalloc for dev->bitmap_out 2019-03-19 13:22:08 -04:00
vivid-vid-out.h