syzbot
general protection fault in rebind_store
Status:
upstream: reported on 2026/08/01 00:36
Subsystems:
usb
Labels:
prio:low
[Documentation on labels]
Reported-by: syzbot+af76b01c9a0f0ab60fb0@syzkaller.appspotmail.com
First crash: 8d00h, last: 1d02h
Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000001e: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x00000000000000f0-0x00000000000000f7]
CPU: 1 UID: 0 PID: 8743 Comm: syz.0.572 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline]
RIP: 0010:rebind_store+0xc7/0x250 drivers/usb/usbip/stub_main.c:264
Code: 83 c7 30 4d 89 fd 49 c1 ed 03 41 80 7c 2d 00 00 74 08 4c 89 ff e8 a9 ab 5f fa 41 bc f0 00 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 e7 e8 8b ab 5f fa 4d 8b 24 24 4d 85 e4 0f
RSP: 0018:ffffc900056bfc18 EFLAGS: 00010216
RAX: 000000000000001e RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffffffff9ab1be23 R09: 1ffffffff35637c4
R10: dffffc0000000000 R11: fffffbfff35637c5 R12: 00000000000000f0
R13: 1ffffffff35637c2 R14: ffff88807cd3fd40 R15: ffffffff9ab1be10
FS: 00007fbf68e786c0(0000) GS:ffff88812504b000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33e1fff8 CR3: 000000007525e000 CR4: 0000000000350ef0
Call Trace:
<TASK>
kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
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:0x7fbf67f9e019
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:00007fbf68e78028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fbf68225fa0 RCX: 00007fbf67f9e019
RDX: 0000000000000002 RSI: 0000200000000200 RDI: 0000000000000003
RBP: 00007fbf6803500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbf68226038 R14: 00007fbf68225fa0 R15: 00007ffd9924c108
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline]
RIP: 0010:rebind_store+0xc7/0x250 drivers/usb/usbip/stub_main.c:264
Code: 83 c7 30 4d 89 fd 49 c1 ed 03 41 80 7c 2d 00 00 74 08 4c 89 ff e8 a9 ab 5f fa 41 bc f0 00 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 e7 e8 8b ab 5f fa 4d 8b 24 24 4d 85 e4 0f
RSP: 0018:ffffc900056bfc18 EFLAGS: 00010216
RAX: 000000000000001e RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffffffff9ab1be23 R09: 1ffffffff35637c4
R10: dffffc0000000000 R11: fffffbfff35637c5 R12: 00000000000000f0
R13: 1ffffffff35637c2 R14: ffff88807cd3fd40 R15: ffffffff9ab1be10
FS: 00007fbf68e786c0(0000) GS:ffff888124f4b000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faa259ef2f8 CR3: 000000007525e000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 83 c7 30 add $0x30,%edi
3: 4d 89 fd mov %r15,%r13
6: 49 c1 ed 03 shr $0x3,%r13
a: 41 80 7c 2d 00 00 cmpb $0x0,0x0(%r13,%rbp,1)
10: 74 08 je 0x1a
12: 4c 89 ff mov %r15,%rdi
15: e8 a9 ab 5f fa call 0xfa5fabc3
1a: 41 bc f0 00 00 00 mov $0xf0,%r12d
20: 4d 03 27 add (%r15),%r12
23: 4c 89 e0 mov %r12,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 e7 mov %r12,%rdi
33: e8 8b ab 5f fa call 0xfa5fabc3
38: 4d 8b 24 24 mov (%r12),%r12
3c: 4d 85 e4 test %r12,%r12
3f: 0f .byte 0xf
* Struck through repros no longer work on HEAD.