commit | 449b0bb23708ad5e1c0c214632dead8fc5273098 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Mar 06 17:36:37 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Mar 18 19:14:33 2017 +0800 |
tree | 0883839dd21f59441a32a5eb115383ae4c394dbf | |
parent | f06b17020a848721f157524c7aed1cea43ea5131 [diff] |
USB: serial: io_ti: fix NULL-deref in interrupt callback commit 0b1d250afb8eb9d65afb568bac9b9f9253a82b49 upstream. Fix a NULL-pointer dereference in the interrupt callback should a malicious device send data containing a bad port number by adding the missing sanity check. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>