kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 504 Comm: syz-executor.0 Not tainted 5.4.278-syzkaller-04929-g8edc449e71a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__device_attach+0xb4/0x490 drivers/base/dd.c:909 Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 6d eb fc fe 4c 8b 2b 49 8d 9d c8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 51 03 00 00 0f b6 1b 89 de 83 e6 01 45 RSP: 0018:ffff8881ea87f980 EFLAGS: 00010202 RAX: 0000000000000019 RBX: 00000000000000c8 RCX: ffffffff84507285 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881ea87f900 RBP: ffff8881ea87fa50 R08: dffffc0000000000 R09: ffffed103d50ff21 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881d797e030 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f41dab076c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f074ad06c98 CR3: 00000001eac16000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: proc_ioctl+0x441/0x610 drivers/usb/core/devio.c:2269 proc_ioctl_compat+0x186/0x280 drivers/usb/core/devio.c:2318 usbdev_do_ioctl+0x12be/0x1e40 drivers/usb/core/devio.c:2634 usbdev_ioctl+0x1e/0x30 drivers/usb/core/devio.c:2720 do_vfs_ioctl+0x742/0x1720 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f41daf84859 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f41dab070c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f41db0a3f80 RCX: 00007f41daf84859 RDX: 0000000020000040 RSI: 00000000c00c5512 RDI: 0000000000000006 RBP: 00007f41dafe0ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f41db0a3f80 R15: 00007ffcb7531258 Modules linked in: ---[ end trace 22cfdf20145924cf ]--- RIP: 0010:__device_attach+0xb4/0x490 drivers/base/dd.c:909 Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 6d eb fc fe 4c 8b 2b 49 8d 9d c8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 51 03 00 00 0f b6 1b 89 de 83 e6 01 45 RSP: 0018:ffff8881ea87f980 EFLAGS: 00010202 RAX: 0000000000000019 RBX: 00000000000000c8 RCX: ffffffff84507285 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881ea87f900 RBP: ffff8881ea87fa50 R08: dffffc0000000000 R09: ffffed103d50ff21 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881d797e030 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f41dab076c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcce0ff7d58 CR3: 00000001eac16000 CR4: 00000000003406b0 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 6d eb fc fe call 0xfefceb86 19: 4c 8b 2b mov (%rbx),%r13 1c: 49 8d 9d c8 00 00 00 lea 0xc8(%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 51 03 00 00 jne 0x388 37: 0f b6 1b movzbl (%rbx),%ebx 3a: 89 de mov %ebx,%esi 3c: 83 e6 01 and $0x1,%esi 3f: 45 rex.RB