linux/drivers/media
Lv Yunlong 7dd0c9e547 media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
A use after free bug caused by the dangling pointer
filp->privitate_data in v4l2_fh_release.
See https://lore.kernel.org/patchwork/patch/1419058/.

My patch sets the dangling pointer to NULL to provide
robust.

Signed-off-by: Lv Yunlong <lyl2019@mail.ustc.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-06-02 13:17:44 +02:00
..
cec media: s5p: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
common media: move ttpci-eeprom to common 2021-06-02 11:16:15 +02:00
dvb-core media: dvbdev: Fix memory leak in dvb_media_device_free() 2021-03-22 23:36:39 +01:00
dvb-frontends media: sp8870: move it to staging 2021-06-02 11:17:03 +02:00
firewire
i2c media: adv7842: support EDIDs up to 4 blocks 2021-06-02 13:16:01 +02:00
mc media: mc-request.c: allow object_bind in QUEUED state 2021-06-02 11:41:54 +02:00
mmc
pci media: ttpci: switch from 'pci_' to 'dma_' API 2021-06-02 13:16:55 +02:00
platform media: exynos4-is: Fix a use after free in isp_video_release 2021-06-02 13:17:24 +02:00
radio
rc media: rc: clean up Kconfig dependencies 2021-05-21 15:06:04 +02:00
spi
test-drivers media: rtl2832_sdr/vivid/airspy/hackrf/msi2500: drop memset of fmt.sdr.reserved 2021-05-19 09:51:39 +02:00
tuners media: m88rs6000t: avoid potential out-of-bounds reads on arrays 2021-03-22 17:41:39 +01:00
usb media: em28xx: Fix possible memory leak of em28xx struct 2021-06-02 13:04:31 +02:00
v4l2-core media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release 2021-06-02 13:17:44 +02:00
Kconfig
Makefile