Re: [syzbot] [usb?] memory leak in try_get_usb_function_instance
From: syzbot
Date: Thu Jul 30 2026 - 09:07:12 EST
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
drivers/usb/gadget/function/f_midi2.c:2643:57: error: 'struct usb_function_instance' has no member named 'groups'; did you mean 'group'?
Tested on:
commit: 11028ab6 Merge tag 'probes-fixes-v7.2-rc5' of git://gi..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=ba7c2d1679fb08a2
dashboard link: https://syzkaller.appspot.com/bug?extid=eaa106d192c9daf37f95
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
patch: https://syzkaller.appspot.com/x/patch.diff?x=17dc25b9580000