WARNING in usbip_sockfd_store

Status: upstream: reported C repro on 2026/07/28 06:54
Reported-by: syzbot+c1aef340d590da901067@syzkaller.appspotmail.com
First crash: 22d, last: 1d07h

Sample crash report:
usbip-vudc usbip-vudc.0: failed to lookup sock
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 1 PID: 4310 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Modules linked in:
CPU: 1 PID: 4310 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Code: 24 48 c7 c7 80 e9 29 8a e8 c0 09 f5 ff 80 3d 09 3f b7 03 00 74 01 c3 c6 05 ff 3e b7 03 01 48 c7 c7 60 23 2b 8a e8 23 15 f5 ff <0f> 0b c3 41 56 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44
RSP: 0018:ffffc90002f1fad8 EFLAGS: 00010246
RAX: 57179d198b752f00 RBX: 0000000000000a06 RCX: ffff88807a6e8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002f1fb70 R08: ffffc90002f1f607 R09: 1ffff920005e3ec0
R10: dffffc0000000000 R11: fffff520005e3ec1 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8881488b48f0 R15: 1ffff920005e3f5c
FS:  000055555e825500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30f63fff CR3: 000000007e0ed000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
 _raw_spin_unlock_irqrestore+0xfe/0x120 kernel/locking/spinlock.c:194
 spin_unlock_irqrestore include/linux/spinlock.h:419 [inline]
 usbip_sockfd_store+0x716/0x8d0 drivers/usb/usbip/vudc_sysfs.c:224
 kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2173 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x748/0xd70 fs/read_write.c:594
 ksys_write+0x153/0x260 fs/read_write.c:647
 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:0x7fd2962f3019
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:00007ffc20a63208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd29657afa0 RCX: 00007fd2962f3019
RDX: 0000000000000001 RSI: 0000200000000640 RDI: 0000000000000004
RBP: 00007fd29638a00c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd29657afac R14: 00007fd29657afa0 R15: 00007fd29657afa0
 </TASK>

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/31 09:53 linux-5.15.y 6e2fd6534337 aaffb173 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/18 19:37 linux-5.15.y aabd761612db 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/18 19:35 linux-5.15.y aabd761612db 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/18 13:36 linux-5.15.y aabd761612db 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/18 13:36 linux-5.15.y aabd761612db 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/11 19:53 linux-5.15.y aabd761612db 71790083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/02 16:36 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/02 03:06 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/02 03:03 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/02 02:57 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/01 19:01 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/08/01 18:59 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/31 10:21 linux-5.15.y 6e2fd6534337 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/31 10:19 linux-5.15.y 6e2fd6534337 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/31 10:17 linux-5.15.y 6e2fd6534337 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 09:18 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 09:17 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 07:26 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 07:25 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 07:11 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 07:07 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 06:55 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
2026/07/28 06:53 linux-5.15.y 674f684f7c61 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in usbip_sockfd_store
* Struck through repros no longer work on HEAD.