Re: KASAN: slab-out-of-bounds Read in usbnet_generic_cdc_bind

From: Oliver Neukum
Date: Tue Aug 13 2019 - 05:27:21 EST


Am Montag, den 12.08.2019, 14:27 +0200 schrieb Andrey Konovalov:
> On
> This one is funny, we do sizeof(struct usb_cdc_mdlm_desc *) instead of
> sizeof(struct usb_cdc_mdlm_desc) and the same for
> usb_cdc_mdlm_detail_desc in cdc_parse_cdc_header().

You are right. Old copy & paste error presumably.
Patch is on the way.

Regards
Oliver