R13: 000000000000000b R14: 00007f9e62574f80 R15: 00007ffff161f638 usb usb4: device_add((null)) --> -22 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: 367 Comm: syz-executor.2 Not tainted 5.10.237-syzkaller-1007474-gcf6ed0f1511d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__device_attach+0xae/0x400 drivers/base/dd.c:908 Code: 8d 66 68 4c 89 e0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 e7 e8 44 62 f2 fe 4d 8b 2c 24 4d 8d a5 d0 00 00 00 4c 89 e0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 17 03 00 00 41 0f b6 1c 24 89 de 83 e6 01 RSP: 0018:ffffc900011a7be0 EFLAGS: 00010202 RAX: 000000000000001a RBX: dffffc0000000000 RCX: ffffffff8473c6ac RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc900011a7b60 RBP: ffffc900011a7c98 R08: dffffc0000000000 R09: fffff52000234f6d R10: fffff52000234f6d R11: 1ffff92000234f6c R12: 00000000000000d0 R13: 0000000000000000 R14: ffff888110e77830 R15: 0000000000000000 FS: 00007f9e61fd86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12f0676988 CR3: 0000000110b4d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_attach+0x17/0x20 drivers/base/dd.c:975 proc_ioctl+0x3f6/0x5e0 drivers/usb/core/devio.c:2272 proc_ioctl_default+0xb9/0xf0 drivers/usb/core/devio.c:2307 usbdev_do_ioctl drivers/usb/core/devio.c:2663 [inline] usbdev_ioctl+0x158a/0x1e40 drivers/usb/core/devio.c:2723 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x121/0x1a0 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9e62455959 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:00007f9e61fd80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9e62574f80 RCX: 00007f9e62455959 RDX: 0000000020000080 RSI: 00000000c0105512 RDI: 0000000000000006 RBP: 00007f9e624b1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9e62574f80 R15: 00007ffff161f638 Modules linked in: ---[ end trace b1997a4b40e3299f ]--- RIP: 0010:__device_attach+0xae/0x400 drivers/base/dd.c:908 Code: 8d 66 68 4c 89 e0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 e7 e8 44 62 f2 fe 4d 8b 2c 24 4d 8d a5 d0 00 00 00 4c 89 e0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 17 03 00 00 41 0f b6 1c 24 89 de 83 e6 01 RSP: 0018:ffffc900011a7be0 EFLAGS: 00010202 RAX: 000000000000001a RBX: dffffc0000000000 RCX: ffffffff8473c6ac RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc900011a7b60 RBP: ffffc900011a7c98 R08: dffffc0000000000 R09: fffff52000234f6d R10: fffff52000234f6d R11: 1ffff92000234f6c R12: 00000000000000d0 R13: 0000000000000000 R14: ffff888110e77830 R15: 0000000000000000 FS: 00007f9e61fd86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f014f611c98 CR3: 0000000110b4d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8d 66 68 lea 0x68(%rsi),%esp 3: 4c 89 e0 mov %r12,%rax 6: 48 c1 e8 03 shr $0x3,%rax a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) e: 74 08 je 0x18 10: 4c 89 e7 mov %r12,%rdi 13: e8 44 62 f2 fe call 0xfef2625c 18: 4d 8b 2c 24 mov (%r12),%r13 1c: 4d 8d a5 d0 00 00 00 lea 0xd0(%r13),%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 17 03 00 00 jne 0x34d 36: 41 0f b6 1c 24 movzbl (%r12),%ebx 3b: 89 de mov %ebx,%esi 3d: 83 e6 01 and $0x1,%esi