Re: usb/storage/uas: slab-out-of-bounds in uas_probe

From: Greg Kroah-Hartman
Date: Thu Sep 21 2017 - 12:10:45 EST


On Thu, Sep 21, 2017 at 05:39:05PM +0200, Andrey Konovalov wrote:
> Hi!
>
> I've got the following report while fuzzing the kernel with syzkaller.
>
> On commit ebb2c2437d8008d46796902ff390653822af6cc4 (Sep 18).
>
> The issue occurs when we iterate over interface altsettings, but I
> don't see the driver doing anything wrong. I might be missing
> something, or this might be an issue in USB core altsettings parsing.


Any chance you happen to have the descriptors that you were feeding into
the kernel at this crash? That might help in figuring out what "went
wrong".

thanks,

greg k-h