[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YW6ZB6/RePcZJai9@hovoldconsulting.com>
Date: Tue, 19 Oct 2021 12:08:07 +0200
From: Johan Hovold <johan@...nel.org>
To: Oliver Neukum <oneukum@...e.com>
Cc: syzbot <syzbot+76bb1d34ffa0adc03baa@...kaller.appspotmail.com>,
linux-usb@...r.kernel.org, netdev@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] divide error in usbnet_start_xmit
On Tue, Oct 19, 2021 at 12:04:31PM +0200, Oliver Neukum wrote:
> On 19.10.21 11:23, Johan Hovold wrote:
>
> > Just bail out; what can you do with a 1-byte packet size? Also compare
> > usbnet_get_endpoints() where such endpoints are ignored.
>
> OK. We'd accept a 1 now, though. Can you think of a sensible lower bound?
You can continue accepting 1 if you want, just reject zero and abort
probe.
Johan
Powered by blists - more mailing lists