syzbot
WARNING in f_midi_free
Status:
upstream: reported on 2026/08/24 16:08
Reported-by: syzbot+e38460b32bbadd37a185@syzkaller.appspotmail.com
First crash: 8d15h, last: 8d15h
Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6793 at kernel/workqueue.c:3087 __flush_work+0x1fe/0x210 kernel/workqueue.c:3087
Modules linked in:
CPU: 0 PID: 6793 Comm: syz.3.594 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__flush_work+0x1fe/0x210 kernel/workqueue.c:3087
Code: 00 48 3b 8c 24 40 01 00 00 75 28 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ad e7 2a 00 0f 0b 31 c0 eb 85 e8 a2 e7 2a 00 <0f> 0b 31 c0 e9 77 ff ff ff e8 14 2c 72 08 0f 1f 40 00 53 48 89 fb
RSP: 0018:ffffc90004887960 EFLAGS: 00010287
RAX: ffffffff814e17fe RBX: ffff88805fc3e198 RCX: 0000000000080000
RDX: ffffc9000cbf1000 RSI: 0000000000003e39 RDI: 0000000000003e3a
RBP: ffffc90004887af0 R08: ffffffff901ef277 R09: 1ffffffff203de4e
R10: dffffc0000000000 R11: fffffbfff203de4f R12: f8f8f8f8f8f8f8f8
R13: dffffc0000000000 R14: 1ffff92000910f30 R15: ffff88805fc3e1b0
FS: 00007fb5dc22e6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4407f6c7c0 CR3: 0000000079a13000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3181
f_midi_free+0xa8/0x200 drivers/usb/gadget/function/f_midi.c:1261
config_usb_cfg_unlink+0x24b/0x270 drivers/usb/gadget/configfs.c:498
configfs_symlink+0x11e9/0x13b0 fs/configfs/symlink.c:208
vfs_symlink+0x245/0x3d0 fs/namei.c:4480
do_symlinkat+0x1ab/0x6b0 fs/namei.c:4509
__do_sys_symlinkat fs/namei.c:4526 [inline]
__se_sys_symlinkat fs/namei.c:4523 [inline]
__x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4523
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fb5ddff70d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb5dc22e028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007fb5de27f090 RCX: 00007fb5ddff70d9
RDX: 00002000000005c0 RSI: 0000000000000006 RDI: 0000200000000580
RBP: 00007fb5de08e024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb5de27f128 R14: 00007fb5de27f090 R15: 00007ffcbab621f8
</TASK>
* Struck through repros no longer work on HEAD.