general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7] CPU: 1 PID: 31116 Comm: syz-executor.2 Tainted: G W 5.10.178-syzkaller-00238-g8a30c9beebe8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__device_attach+0xb4/0x500 drivers/base/dd.c:903 Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 dd 89 dd fe 4c 8b 2b 49 8d 9d d0 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 c0 03 00 00 0f b6 1b 89 de 83 e6 01 45 RSP: 0018:ffffc9000823f580 EFLAGS: 00010202 RAX: 000000000000001a RBX: 00000000000000d0 RCX: ffffffff84ae01e5 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000823f500 RBP: ffffc9000823f650 R08: dffffc0000000000 R09: fffff52001047ea1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888172f57030 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888172f57030 FS: 00007ffb66457700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffb66456d38 CR3: 0000000110d78000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_attach+0x17/0x20 drivers/base/dd.c:970 proc_ioctl+0x428/0x600 drivers/usb/core/devio.c:2262 usbdev_ioctl+0x306b/0x5e10 drivers/usb/core/devio.c:2713 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x114/0x190 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7ffb67726389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffb66457168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffb67846120 RCX: 00007ffb67726389 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000007 RBP: 00007ffb67771493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe55fa461f R14: 00007ffb66457300 R15: 0000000000022000 Modules linked in: ---[ end trace 27e506fdc1516ed0 ]--- RIP: 0010:__device_attach+0xb4/0x500 drivers/base/dd.c:903 Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 dd 89 dd fe 4c 8b 2b 49 8d 9d d0 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 c0 03 00 00 0f b6 1b 89 de 83 e6 01 45 RSP: 0018:ffffc9000823f580 EFLAGS: 00010202 RAX: 000000000000001a RBX: 00000000000000d0 RCX: ffffffff84ae01e5 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000823f500 RBP: ffffc9000823f650 R08: dffffc0000000000 R09: fffff52001047ea1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888172f57030 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888172f57030 FS: 00007ffb66457700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffb66456d38 CR3: 0000000110d78000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5c pop %rsp 1: 24 68 and $0x68,%al 3: 48 89 d8 mov %rbx,%rax 6: 48 c1 e8 03 shr $0x3,%rax a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) f: 74 08 je 0x19 11: 48 89 df mov %rbx,%rdi 14: e8 dd 89 dd fe callq 0xfedd89f6 19: 4c 8b 2b mov (%rbx),%r13 1c: 49 8d 9d d0 00 00 00 lea 0xd0(%r13),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 c0 03 00 00 jne 0x3f7 37: 0f b6 1b movzbl (%rbx),%ebx 3a: 89 de mov %ebx,%esi 3c: 83 e6 01 and $0x1,%esi 3f: 45 rex.RB