https://github.com/torvalds/linux
Revision d18ca5b7ceca0e9674cb4bb2ed476b0fcbb23ba2 authored by Antti Palosaari on 06 October 2015, 03:22:23 UTC, committed by Mauro Carvalho Chehab on 22 October 2015, 17:48:27 UTC
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: c56222a6b25c ("[media] rtl28xxu: move usb buffers to state")

Cc: <stable@vger.kernel.org> # 4.0+
Signed-off-by: Antti Palosaari <crope@iki.fi>
1 parent 17f3882
History
Tip revision: d18ca5b7ceca0e9674cb4bb2ed476b0fcbb23ba2 authored by Antti Palosaari on 06 October 2015, 03:22:23 UTC
[media] rtl28xxu: fix control message flaws
Tip revision: d18ca5b
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 319.8 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top