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: 4d12h, last: 1d03h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
b1d5eaa6 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ WARNING in f_midi_free 2026/08/01 00:43 2026/08/01 00:43 2026/08/01 01:10 7664cf44

			
		
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [usb?] WARNING in f_midi_free 0 (1) 2026/08/01 00:02

Sample crash report:
------------[ cut here ]------------
!work->func
WARNING: kernel/workqueue.c:4335 at __flush_work+0xc68/0xd70 kernel/workqueue.c:4335, CPU#1: syz.9.280/7767
Modules linked in:
CPU: 1 UID: 0 PID: 7767 Comm: syz.9.280 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 7b 7c 13 00 48 c7 c7 00 30 1c 8e 48 89 de e9 49 ff ff ff e8 87 a6 37 00 90 0f 0b 90 e9 45 ff ff ff e8 79 a6 37 00 90 <0f> 0b 90 31 c0 49 bd f8 f8 f8 f8 f8 f8 f8 f8 e9 2d ff ff ff e8 5f
RSP: 0018:ffffc90003b0fa20 EFLAGS: 00010287
RAX: ffffffff818e3537 RBX: ffff88806460b9b0 RCX: 0000000000080000
RDX: ffffc9001442e000 RSI: 0000000000000ec2 RDI: 0000000000000ec3
RBP: ffffc90003b0fbd0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1f5f467 R12: dffffc0000000000
R13: 1ffff1100c8c1736 R14: 1ffff92000761f4c R15: ffff88806460b998
FS:  00007f6a035d46c0(0000) GS:ffff888125d3e000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6a0540b700 CR3: 000000005f56e000 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:0x7f6a053be019
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:00007f6a035d4028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007f6a05646180 RCX: 00007f6a053be019
RDX: 0000200000000240 RSI: ffffffffffffff9c RDI: 0000200000000100
RBP: 00007f6a0545500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6a05646218 R14: 00007f6a05646180 R15: 00007ffd593542a8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/02 19:43 upstream bd1dde877520 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in f_midi_free
2026/07/30 10:37 upstream 11028ab62899 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in f_midi_free
* Struck through repros no longer work on HEAD.