diff options
| author | Shuah Khan <[email protected]> | 2017-12-23 02:23:46 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-01-04 16:07:26 +0000 |
| commit | b78d830f0049ef1966dc1e0ebd1ec2a594e2cf25 (patch) | |
| tree | 1a10a829712741d12df492bb2a56dae4cddb1248 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | Linux 4.15-rc6 (diff) | |
| download | kernel-b78d830f0049ef1966dc1e0ebd1ec2a594e2cf25.tar.gz kernel-b78d830f0049ef1966dc1e0ebd1ec2a594e2cf25.zip | |
usbip: fix vudc_rx: harden CMD_SUBMIT path to handle malicious input
Harden CMD_SUBMIT path to handle malicious input that could trigger
large memory allocations. Add checks to validate transfer_buffer_length
and number_of_packets to protect against bad input requesting for
unbounded memory allocations.
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
