linux/drivers/media
Antti Palosaari d18ca5b7ce [media] rtl28xxu: fix control message flaws
Add lock to prevent concurrent access for control message as control
message function uses shared buffer. Without the lock there may be
remote control polling which messes the buffer causing IO errors.
Increase buffer size and add check for maximum supported message
length.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=103391
Fixes: c56222a6b2 ("[media] rtl28xxu: move usb buffers to state")

Cc: <stable@vger.kernel.org> # 4.0+
Signed-off-by: Antti Palosaari <crope@iki.fi>
2015-10-22 15:48:27 -02:00
..
common [media] saa7146: use swap() in sort_and_eliminate() 2015-07-06 08:25:49 -03:00
dvb-core [media] dvbdev: document most of the functions/data structs 2015-08-22 19:39:38 -03:00
dvb-frontends [media] si2168: Bounds check firmware 2015-10-22 15:48:25 -02:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c media updates for v4.3-rc1 2015-09-05 18:21:14 -07:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] netup_unidvb: fix potential crash when spi is NULL 2015-10-22 15:48:26 -02:00
platform [media] c8sectpfe: fix return of garbage 2015-10-22 15:48:24 -02:00
radio [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
rc [media] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND 2015-10-22 15:48:24 -02:00
tuners [media] si2157: Bounds check firmware 2015-10-22 15:48:25 -02:00
usb [media] rtl28xxu: fix control message flaws 2015-10-22 15:48:27 -02:00
v4l2-core [media] v4l2-flash-led-class: Add missing VIDEO_V4L2 Kconfig dependency 2015-10-22 15:48:27 -02:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Correctly notify about the failed pipeline validation 2015-08-16 13:20:15 -03:00