Re: [syzbot] [usb?] KASAN: slab-use-after-free Read in gadget_dev_open

From: syzbot

Date: Mon Aug 03 2026 - 22:06:49 EST


Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+1459655b2bf1e798f9d0@xxxxxxxxxxxxxxxxxxxxxxxxx
Tested-by: syzbot+1459655b2bf1e798f9d0@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: 075b7484 Linux 7.2-rc6
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=15df63b9580000
kernel config: https://syzkaller.appspot.com/x/.config?x=ecdef466b08b9772
dashboard link: https://syzkaller.appspot.com/bug?extid=1459655b2bf1e798f9d0
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
userspace arch: arm64
patch: https://syzkaller.appspot.com/x/patch.diff?x=14d2ccc6580000

Note: testing is done by a robot and is best-effort only.