summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVladis Dronov <vdronov@redhat.com>2016-03-23 11:53:46 -0700
committerLuis Henriques <luis.henriques@canonical.com>2016-03-30 14:49:09 +0100
commit7ea6b63a62afde28feaae499cc8094426b0b4241 (patch)
tree3d5a84c3d587546da6bfe9c2ca1a4950546557be /include/linux
parent34af62c33f4201f77bcd697b9d2e81ff24a8122c (diff)
Input: ati_remote2 - fix crashes on detecting device with invalid descriptor
commit 950336ba3e4a1ffd2ca60d29f6ef386dd2c7351d upstream. The ati_remote2 driver expects at least two interfaces with one endpoint each. If given malicious descriptor that specify one interface or no endpoints, it will crash in the probe function. Ensure there is at least two interfaces and one endpoint for each interface before using it. The full disclosure: http://seclists.org/bugtraq/2016/Mar/90 Reported-by: Ralf Spenneberg <ralf@spenneberg.net> Signed-off-by: Vladis Dronov <vdronov@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Moritz Muehlenhoff <jmm@inutil.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions