Re: [BUG] usb: gadget: KASAN slab-out-of-bounds in gether_get_ifname
From: Greg KH
Date: Mon Sep 21 2026 - 08:32:27 EST
On Mon, Sep 21, 2026 at 04:49:45PM +0800, CJ wrote:
>
> Hi,
>
>
> I am reporting an issue triggered by a syzkaller reproducer on Linux
> 7.3.0-rc2. The issue is reproducible with HEAD commit
> df2908090cda368b01ff43709f51890076c56157.
>
>
> The reproducer mounts configfs, creates a USB gadget with a phonet function
> (config/usb_gadget/g1/functions/phonet.usb0), and then reads the ifname
> attribute of that function without ever binding the gadget to a UDC.
Great, can you please send a patch to resolve this now that you have a
reproducer?
thanks,
greg k-h