diff options
| author | Shuah Khan <[email protected]> | 2017-12-07 14:16:50 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-12-08 17:32:23 +0100 |
| commit | be6123df1ea8f01ee2f896a16c2b7be3e4557a5a (patch) | |
| tree | 7b2addc6d11ceacdd9e595c4cc8f84ac8f11aa68 /tools/perf/util/c++/clang-test.cpp | |
| parent | 2f2d0088eb93db5c649d2a5e34a3800a8a935fc5 (diff) | |
usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
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 <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions