usb 5-1: USB disconnect, device number 30 general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 3596 Comm: kworker/1:7 Not tainted 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:ax88179_disconnect+0x69/0xa0 drivers/net/usb/ax88179_178a.c:531 Code: 83 fb 48 83 c3 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b5 fd cc fb 48 8b 1b 48 83 c3 10 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 1b c6 03 01 4c 89 f7 5b 41 5e 41 5f e9 4e RSP: 0018:ffffc90004357590 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000040000 RDX: ffffc9000f80d000 RSI: 000000000000d282 RDI: 000000000000d283 RBP: ffff88807ead80a8 R08: ffffffff861aaa1e R09: fffff5200086aea1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8d33d150 R13: 0000000000000000 R14: ffff888073c8b000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30423000 CR3: 0000000081683000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: usb_unbind_interface+0x1cd/0x840 drivers/usb/core/driver.c:458 __device_release_driver drivers/base/dd.c:1229 [inline] device_release_driver_internal+0x50e/0x7f0 drivers/base/dd.c:1262 bus_remove_device+0x2e5/0x400 drivers/base/bus.c:529 device_del+0x6e2/0xbd0 drivers/base/core.c:3582 usb_disable_device+0x3b8/0x840 drivers/usb/core/message.c:1414 usb_disconnect+0x33c/0x8c0 drivers/usb/core/hub.c:2239 hub_port_connect drivers/usb/core/hub.c:5281 [inline] hub_port_connect_change drivers/usb/core/hub.c:5577 [inline] port_event drivers/usb/core/hub.c:5723 [inline] hub_event+0x1d58/0x54c0 drivers/usb/core/hub.c:5805 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 process_scheduled_works kernel/workqueue.c:2373 [inline] worker_thread+0xdcf/0x1280 kernel/workqueue.c:2459 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace 00bf3baff1194031 ]--- RIP: 0010:ax88179_disconnect+0x69/0xa0 drivers/net/usb/ax88179_178a.c:531 Code: 83 fb 48 83 c3 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b5 fd cc fb 48 8b 1b 48 83 c3 10 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 1b c6 03 01 4c 89 f7 5b 41 5e 41 5f e9 4e RSP: 0018:ffffc90004357590 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000040000 RDX: ffffc9000f80d000 RSI: 000000000000d282 RDI: 000000000000d283 RBP: ffff88807ead80a8 R08: ffffffff861aaa1e R09: fffff5200086aea1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8d33d150 R13: 0000000000000000 R14: ffff888073c8b000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f23c1328000 CR3: 000000009558f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 83 fb 48 cmp $0x48,%ebx 3: 83 c3 20 add $0x20,%ebx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 b5 fd cc fb call 0xfbccfdd1 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 10 add $0x10,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 75 1b jne 0x4e 33: c6 03 01 movb $0x1,(%rbx) 36: 4c 89 f7 mov %r14,%rdi 39: 5b pop %rbx 3a: 41 5e pop %r14 3c: 41 5f pop %r15 3e: e9 .byte 0xe9 3f: 4e rex.WRX