Oops: general protection fault, probably for non-canonical address 0xdffffc000000001e: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000000f0-0x00000000000000f7] CPU: 2 UID: 0 PID: 21387 Comm: syz.5.4403 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline] RIP: 0010:rebind_store+0x147/0x2d0 drivers/usb/usbip/stub_main.c:264 Code: 53 01 00 00 48 89 d8 48 c1 e0 07 4c 8b b0 30 02 a4 9b 48 b8 00 00 00 00 00 fc ff df 49 8d be f0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 30 01 00 00 4d 8b be f0 00 00 00 4d 85 ff 74 3c RSP: 0000:ffffc90003cb7c18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000001e RSI: 0000000000000004 RDI: 00000000000000f0 RBP: ffffffff9ba40230 R08: 0000000000000000 R09: fffffbfff3748048 R10: ffffffff9ba40243 R11: 000000000000001e R12: 0000000000000001 R13: ffff888025b26f80 R14: 0000000000000000 R15: ffff888029eca400 FS: 0000000000000000(0000) GS:ffff888096de3000(0063) knlGS:00000000f5446b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f726e853 CR3: 000000005e4b0000 CR4: 0000000000352ef0 Call Trace: drv_attr_store+0x74/0xb0 drivers/base/bus.c:125 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6ac/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f87fec Code: Unable to access opcode bytes at 0xf7f87fc2. RSP: 002b:00000000f544650c EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000200 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline] RIP: 0010:rebind_store+0x147/0x2d0 drivers/usb/usbip/stub_main.c:264 Code: 53 01 00 00 48 89 d8 48 c1 e0 07 4c 8b b0 30 02 a4 9b 48 b8 00 00 00 00 00 fc ff df 49 8d be f0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 30 01 00 00 4d 8b be f0 00 00 00 4d 85 ff 74 3c RSP: 0000:ffffc90003cb7c18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000001e RSI: 0000000000000004 RDI: 00000000000000f0 RBP: ffffffff9ba40230 R08: 0000000000000000 R09: fffffbfff3748048 R10: ffffffff9ba40243 R11: 000000000000001e R12: 0000000000000001 R13: ffff888025b26f80 R14: 0000000000000000 R15: ffff888029eca400 FS: 0000000000000000(0000) GS:ffff888096ee3000(0063) knlGS:00000000f5446b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f44ab0bc CR3: 000000005e4b0000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 53 push %rbx 1: 01 00 add %eax,(%rax) 3: 00 48 89 add %cl,-0x77(%rax) 6: d8 48 c1 fmuls -0x3f(%rax) 9: e0 07 loopne 0x12 b: 4c 8b b0 30 02 a4 9b mov -0x645bfdd0(%rax),%r14 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 49 8d be f0 00 00 00 lea 0xf0(%r14),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 30 01 00 00 jne 0x164 34: 4d 8b be f0 00 00 00 mov 0xf0(%r14),%r15 3b: 4d 85 ff test %r15,%r15 3e: 74 3c je 0x7c