Files
linux/drivers/net/usb
Oliver Neukum 831d0fcba1 usbnet: sanity checking of packet sizes and device mtu
[ Upstream commit 280ceaed79 ]

After a reset packet sizes and device mtu can change and need
to be reevaluated to calculate queue sizes.
Malicious devices can set this to zero and we divide by it.
Introduce sanity checking.

Reported-and-tested-by:  syzbot+6102c120be558c885f04@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-05 13:09:30 +02:00
..
2017-04-03 19:09:40 -07:00
2017-04-03 19:09:40 -07:00
2019-06-19 08:18:04 +02:00
2019-09-10 10:33:48 +01:00
2018-04-29 21:41:01 -04:00
2019-09-10 10:33:47 +01:00
2017-04-03 19:09:40 -07:00
2017-06-16 11:48:40 -04:00
2017-04-25 10:08:16 -04:00
2017-06-16 11:48:40 -04:00