diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-12-07 14:16:50 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:04:52 +0100 |
commit | 2862cfca39894ac265fbb5cde9a3ff90c02201f3 (patch) | |
tree | e5d8d858c9c8861f8658a4d187846a9f95fbb0e2 /drivers/extcon | |
parent | dfdf5fa3e6647c0fc02be8d857b6b8b7098946ff (diff) |
usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
commit be6123df1ea8f01ee2f896a16c2b7be3e4557a5a upstream.
stub_send_ret_submit() handles urb with a potential null transfer_buffer,
when it replays a packet with potential malicious data that could contain
a null buffer. Add a check for the condition when actual_length > 0 and
transfer_buffer is null.
Reported-by: Secunia Research <vuln@secunia.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions