diff options
| author | Shuah Khan <[email protected]> | 2017-12-23 02:23:47 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-01-04 16:07:27 +0000 |
| commit | 5fd77a3a0e408c23ab4002a57db980e46bc16e72 (patch) | |
| tree | a0531af0618c2093491d0bbe4d26ffd6b6efb0ce /scripts/gcc-plugins/sancov_plugin.c | |
| parent | usbip: remove kernel addresses from usb device and urb debug msgs (diff) | |
| download | kernel-5fd77a3a0e408c23ab4002a57db980e46bc16e72.tar.gz kernel-5fd77a3a0e408c23ab4002a57db980e46bc16e72.zip | |
usbip: vudc_tx: fix v_send_ret_submit() vulnerability to null xfer buffer
v_send_ret_submit() handles urb with a 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.
Signed-off-by: Shuah Khan <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
