syzbot
WARNING in f_midi_free
Status:
upstream: reported on 2026/08/01 00:02
Subsystems:
usb
Labels:
prio:low
[Documentation on labels]
Reported-by: syzbot+d5fa3d224505c8610702@syzkaller.appspotmail.com
First crash: 11d, last: 23h35m
Sample crash report:
------------[ cut here ]------------
!work->func
WARNING: kernel/workqueue.c:4335 at __flush_work+0xc68/0xd70 kernel/workqueue.c:4335, CPU#1: syz.5.657/9373
Modules linked in:
CPU: 1 UID: 0 PID: 9373 Comm: syz.5.657 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__flush_work+0xc68/0xd70 kernel/workqueue.c:4335
Code: 6b 8b e8 6b 7e 13 00 48 c7 c7 00 30 1c 8e 48 89 de e9 49 ff ff ff e8 07 a3 37 00 90 0f 0b 90 e9 45 ff ff ff e8 f9 a2 37 00 90 <0f> 0b 90 31 c0 49 bd f8 f8 f8 f8 f8 f8 f8 f8 e9 2d ff ff ff e8 df
RSP: 0018:ffffc9000e3d7a20 EFLAGS: 00010283
RAX: ffffffff818e2537 RBX: ffff888032fe29b0 RCX: 0000000000080000
RDX: ffffc90011162000 RSI: 0000000000000a50 RDI: 0000000000000a51
RBP: ffffc9000e3d7bd0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1f5e967 R12: dffffc0000000000
R13: 1ffff110065fc536 R14: 1ffff92001c7af4c R15: ffff888032fe2998
FS: 00007fc232a646c0(0000) GS:ffff888125d46000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f16cec55d58 CR3: 0000000035caa000 CR4: 00000000003526f0
Call Trace:
<TASK>
__cancel_work_sync+0xbe/0x110 kernel/workqueue.c:4494
f_midi_free+0xac/0x1f0 drivers/usb/gadget/function/f_midi.c:1312
config_usb_cfg_unlink+0x236/0x260 drivers/usb/gadget/configfs.c:508
configfs_symlink+0xde9/0x1030 fs/configfs/symlink.c:202
vfs_symlink+0x18b/0x330 fs/namei.c:5660
filename_symlinkat+0x1cd/0x420 fs/namei.c:5685
__do_sys_symlinkat fs/namei.c:5705 [inline]
__se_sys_symlinkat+0x4e/0x2b0 fs/namei.c:5700
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc23484e0d9
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:00007fc232a64028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007fc234ad6180 RCX: 00007fc23484e0d9
RDX: 0000200000000340 RSI: ffffffffffffff9c RDI: 0000200000000100
RBP: 00007fc2348e5024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc234ad6218 R14: 00007fc234ad6180 R15: 00007ffe1aa52698
</TASK>
* Struck through repros no longer work on HEAD.