acrn-kernel/drivers/media/dvb-core
Dan Carpenter 74e3f165d3 media: dvbdev: drop refcount on error path in dvb_device_open()
[ Upstream commit a2dd235df435a05d389240be748909ada91201d2 ]

If call to file->f_op->open() fails, then call dvb_device_put(dvbdev).

Fixes: 0fc044b2b5 ("media: dvbdev: adopts refcnt to avoid UAF")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:27:35 -08:00
..
Kconfig
Makefile
dmxdev.c
dvb_ca_en50221.c
dvb_demux.c
dvb_frontend.c
dvb_math.c
dvb_net.c
dvb_ringbuffer.c
dvb_vb2.c
dvbdev.c