cdc_ncm 5-1:1.0 usb0: register 'cdc_ncm' at usb-dummy_hcd.0-1, CDC NCM (NO ZLP), 42:42:42:42:42:42 usb 5-1: USB disconnect, device number 2 cdc_ncm 5-1:1.0 usb0: unregister 'cdc_ncm' usb-dummy_hcd.0-1, CDC NCM (NO ZLP) Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 1 UID: 0 PID: 6041 Comm: kworker/1:3 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: usb_hub_wq hub_event RIP: 0010:klist_put+0x4d/0x1d0 lib/klist.c:219 Code: c1 ea 03 80 3c 02 00 0f 85 74 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 43 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 fc d9 0c RSP: 0018:ffffc9000448f440 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888051e47c80 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8be6bd35 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff24995dc R10: ffffffff924caee3 R11: 000000000000776b R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff924caea0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880d456c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffb9623a4c0 CR3: 000000003f458000 CR4: 0000000000352ef0 Call Trace: klist_del lib/klist.c:237 [inline] klist_remove+0x14c/0x2e0 lib/klist.c:256 __device_release_driver drivers/base/dd.c:1365 [inline] device_release_driver_internal+0x4f0/0x610 drivers/base/dd.c:1380 usb_driver_release_interface+0x10e/0x1c0 drivers/usb/core/driver.c:641 cdc_ncm_unbind+0x2ac/0x350 drivers/net/usb/cdc_ncm.c:1019 usbnet_disconnect+0x1e2/0x300 drivers/net/usb/usbnet.c:1708 usb_unbind_interface+0x1dd/0x9b0 drivers/usb/core/driver.c:460 device_remove drivers/base/dd.c:619 [inline] device_remove+0x12a/0x180 drivers/base/dd.c:611 __device_release_driver drivers/base/dd.c:1357 [inline] device_release_driver_internal+0x441/0x610 drivers/base/dd.c:1380 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:678 device_del+0x376/0x9b0 drivers/base/core.c:3967 usb_disable_device+0x367/0x810 drivers/usb/core/message.c:1484 usb_disconnect+0x2e2/0x9a0 drivers/usb/core/hub.c:2355 hub_port_connect drivers/usb/core/hub.c:5425 [inline] hub_port_connect_change drivers/usb/core/hub.c:5725 [inline] port_event drivers/usb/core/hub.c:5889 [inline] hub_event+0x1bb1/0x4420 drivers/usb/core/hub.c:5971 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_put+0x4d/0x1d0 lib/klist.c:219 Code: c1 ea 03 80 3c 02 00 0f 85 74 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 43 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 fc d9 0c RSP: 0018:ffffc9000448f440 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888051e47c80 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8be6bd35 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff24995dc R10: ffffffff924caee3 R11: 000000000000776b R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff924caea0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880d456c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffb9623a4c0 CR3: 000000003f458000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 74 01 00 00 jne 0x181 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4c 8b 23 mov (%rbx),%r12 1a: 49 83 e4 fe and $0xfffffffffffffffe,%r12 1e: 49 8d 7c 24 58 lea 0x58(%r12),%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 43 01 00 00 jne 0x177 34: 4c 89 e7 mov %r12,%rdi 37: 4d 8b 74 24 58 mov 0x58(%r12),%r14 3c: e8 .byte 0xe8 3d: fc cld 3e: d9 .byte 0xd9 3f: 0c .byte 0xc