diff options
author | Vladis Dronov <vdronov@redhat.com> | 2016-03-23 18:53:46 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-03-24 00:29:29 (GMT) |
commit | 950336ba3e4a1ffd2ca60d29f6ef386dd2c7351d (patch) | |
tree | ed4c695d4b84106f45b362ef3ce2785dde7b8d03 /drivers/input/touchscreen/sur40.c | |
parent | 82be788c96ed5978d3cb4a00079e26b981a3df3f (diff) | |
download | linux-950336ba3e4a1ffd2ca60d29f6ef386dd2c7351d.tar.xz |
Input: ati_remote2 - fix crashes on detecting device with invalid descriptor
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>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/sur40.c')
0 files changed, 0 insertions, 0 deletions