kernel-fxtec-pro1x/drivers/media
Oliver Neukum d4503a3fd3 media: usbtv: Fix refcounting mixup
commit bf65f8aabdb37bc1a785884374e919477fe13e10 upstream.

The premature free in the error path is blocked by V4L
refcounting, not USB refcounting. Thanks to
Ben Hutchings for review.

[v2] corrected attributions

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: 50e7044535 ("media: usbtv: prevent double free in error case")
CC: stable@vger.kernel.org
Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-17 10:12:57 +02:00
..
cec cec-api: prevent leaking memory through hole in structure 2020-09-03 11:24:21 +02:00
common
dvb-core
dvb-frontends media: tda10071: fix unsigned sign extension overflow 2020-10-01 13:14:37 +02:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-08-19 08:14:56 +02:00
i2c media: smiapp: Fix error handling at NVM reading 2020-10-01 13:14:25 +02:00
mmc
pci media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq() 2020-09-03 11:24:18 +02:00
platform media: ti-vpe: cal: Restrict DMA to avoid memory corruption 2020-10-01 13:14:30 +02:00
radio
rc media: rc: uevent sysfs file races with rc_unregister_device() 2020-09-09 19:04:30 +02:00
spi
tuners
usb media: usbtv: Fix refcounting mixup 2020-10-17 10:12:57 +02:00
v4l2-core
Kconfig
Makefile
media-device.c media: mc-device.c: fix memleak in media_device_register_entity 2020-10-01 13:14:23 +02:00
media-devnode.c
media-entity.c