general protection fault in rebind_store

Status: upstream: reported on 2026/07/29 03:10
Reported-by: syzbot+8b7b221b303bc78f159c@syzkaller.appspotmail.com
First crash: 26d, last: 4d23h
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rebind_store prio:low usb 8 syz, C 30 1d17h 23d 0/29 upstream: reported C repro on 2026/08/01 00:36
linux-6.1 BUG: unable to handle kernel paging request in rebind_store 8 3 19d 19d 0/3 upstream: reported on 2026/08/05 04:55

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000001d: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000e8-0x00000000000000ef]
CPU: 0 PID: 6296 Comm: syz.3.202 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline]
RIP: 0010:rebind_store+0xc7/0x240 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 79 f4 04 fb 41 bc e8 00 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 e7 e8 5b f4 04 fb 4d 8b 24 24 4d 85 e4 0f
RSP: 0018:ffffc90003927c78 EFLAGS: 00010206
RAX: 000000000000001d RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffffffff97662543 R09: 1ffffffff2ecc4a8
R10: dffffc0000000000 R11: fffffbfff2ecc4a9 R12: 00000000000000e8
R13: 1ffffffff2ecc4a6 R14: ffff8880196e0618 R15: ffffffff97662530
FS:  00007f1d844ec6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2db1fff8 CR3: 0000000078fee000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 kernfs_fop_write_iter+0x3a4/0x520 fs/kernfs/file.c:352
 call_write_iter include/linux/fs.h:2018 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x474/0x9a0 fs/read_write.c:584
 ksys_write+0x151/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1d8359e0d9
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:00007f1d844ec028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f1d83825fa0 RCX: 00007f1d8359e0d9
RDX: 0000000000000001 RSI: 0000200000001000 RDI: 0000000000000003
RBP: 00007f1d83635024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1d83826038 R14: 00007f1d83825fa0 R15: 00007fff85f6b228
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline]
RIP: 0010:rebind_store+0xc7/0x240 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 79 f4 04 fb 41 bc e8 00 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 e7 e8 5b f4 04 fb 4d 8b 24 24 4d 85 e4 0f
RSP: 0018:ffffc90003927c78 EFLAGS: 00010206
RAX: 000000000000001d RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffffffff97662543 R09: 1ffffffff2ecc4a8
R10: dffffc0000000000 R11: fffffbfff2ecc4a9 R12: 00000000000000e8
R13: 1ffffffff2ecc4a6 R14: ffff8880196e0618 R15: ffffffff97662530
FS:  00007f1d844ec6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2db1fff8 CR3: 0000000078fee000 CR4: 00000000003506f0
----------------
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 79 f4 04 fb       	call   0xfb04f493
  1a:	41 bc e8 00 00 00    	mov    $0xe8,%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 5b f4 04 fb       	call   0xfb04f493
  38:	4d 8b 24 24          	mov    (%r12),%r12
  3c:	4d 85 e4             	test   %r12,%r12
  3f:	0f                   	.byte 0xf

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/19 19:13 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/08/19 19:12 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/08/11 15:08 linux-6.6.y d27334b2888c 71790083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/08/11 15:08 linux-6.6.y d27334b2888c 71790083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/08/06 20:36 linux-6.6.y 80dfb0405055 c38879ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/07/30 08:57 linux-6.6.y ae068b676196 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/07/29 16:10 linux-6.6.y c5596480c50e 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/07/29 16:09 linux-6.6.y c5596480c50e 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/07/29 16:09 linux-6.6.y c5596480c50e 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/07/29 03:10 linux-6.6.y c5596480c50e 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
2026/07/29 03:09 linux-6.6.y c5596480c50e 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in rebind_store
* Struck through repros no longer work on HEAD.