[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171108.134457.1511127836664128982.davem@davemloft.net>
Date: Wed, 08 Nov 2017 13:44:57 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: bjorn@...k.no
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org,
oneukum@...e.com, dvyukov@...gle.com, kcc@...gle.com,
syzkaller@...glegroups.com
Subject: Re: [PATCH net,stable] net: cdc_ether: fix divide by 0 on bad
descriptors
From: Bjørn Mork <bjorn@...k.no>
Date: Mon, 6 Nov 2017 15:37:22 +0100
> Setting dev->hard_mtu to 0 will cause a divide error in
> usbnet_probe. Protect against devices with bogus CDC Ethernet
> functional descriptors by ignoring a zero wMaxSegmentSize.
>
> Signed-off-by: Bjørn Mork <bjorn@...k.no>
Applied and queued up for -stable.
Powered by blists - more mailing lists