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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vivid-cec.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
vivid-cec.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
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 media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-cap.c media: vivid: Improve timestamping 2018-12-07 08:30:33 -05:00
vivid-kthread-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-out.c media: vivid: fix error handling of kthread_run 2018-11-23 06:06:03 -05:00
vivid-kthread-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-osd.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-osd.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-common.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-radio-common.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-rx.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-radio-rx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-tx.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-radio-tx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-rds-gen.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-rds-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
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 media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-cap.c Linux 4.20-rc7 2018-12-17 10:34:24 -05:00
vivid-vbi-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
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 media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
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 media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
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 media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-out.c media: vivid: use vzalloc for dev->bitmap_out 2019-03-19 13:22:08 -04:00
vivid-vid-out.h media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00