usb 7-1: reset high-speed USB device number 50 using dummy_hcd usb 7-1: device descriptor read/64, error -32 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 1 UID: 0 PID: 25833 Comm: kworker/1:0 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: usb_hub_wq hub_event RIP: 0010:usb_gadget_udc_reset+0x27/0x60 drivers/usb/gadget/udc/core.c:1195 Code: 90 90 90 f3 0f 1e fa 41 56 53 49 89 f6 48 89 fb e8 8e 81 f4 fa 49 83 c6 40 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 6b 33 56 fb 4d 8b 1e 48 89 df 2e e8 RSP: 0018:ffffc9000496e480 EFLAGS: 00010202 RAX: 0000000000000008 RBX: ffff888027930c40 RCX: dffffc0000000000 RDX: ffffc9001ce02000 RSI: 00000000000114f7 RDI: 00000000000114f8 RBP: ffff888030ff4e6c R08: ffffffff8ef76677 R09: 1ffffffff1deecce R10: dffffc0000000000 R11: fffffbfff1deeccf R12: ffff888027930c40 R13: 1ffff11004f662a1 R14: 0000000000000040 R15: 1ffff11004f26187 FS: 0000000000000000(0000) GS:ffff888126cc8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0f296021e0 CR3: 000000006ef36000 CR4: 00000000003526f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: set_link_state+0x80b/0x1220 drivers/usb/gadget/udc/dummy_hcd.c:469 dummy_hub_control+0xcc0/0x1760 drivers/usb/gadget/udc/dummy_hcd.c:2327 rh_call_control drivers/usb/core/hcd.c:656 [inline] rh_urb_enqueue drivers/usb/core/hcd.c:821 [inline] usb_hcd_submit_urb+0xde9/0x1a80 drivers/usb/core/hcd.c:1542 usb_start_wait_urb+0x114/0x4c0 drivers/usb/core/message.c:59 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x232/0x3e0 drivers/usb/core/message.c:154 set_port_feature drivers/usb/core/hub.c:470 [inline] hub_port_reset+0x390/0x1740 drivers/usb/core/hub.c:3082 hub_port_init+0x2b0/0x2800 drivers/usb/core/hub.c:4938 usb_reset_and_verify_device+0x103b/0x1a80 drivers/usb/core/hub.c:6214 usb_reset_device+0x552/0xae0 drivers/usb/core/hub.c:6409 sd_config+0x24d/0x1550 drivers/media/usb/gspca/se401.c:221 gspca_dev_probe2+0x826/0x1450 drivers/media/usb/gspca/gspca.c:1529 usb_probe_interface+0x668/0xc30 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x26d/0x9e0 drivers/base/dd.c:659 __driver_probe_device+0x18c/0x2f0 drivers/base/dd.c:801 driver_probe_device+0x4f/0x430 drivers/base/dd.c:831 __device_attach_driver+0x2ce/0x530 drivers/base/dd.c:959 bus_for_each_drv+0x254/0x2e0 drivers/base/bus.c:462 __device_attach+0x2bb/0x400 drivers/base/dd.c:1031 bus_probe_device+0x188/0x260 drivers/base/bus.c:537 device_add+0x7b6/0xb50 drivers/base/core.c:3689 usb_set_configuration+0x1a87/0x20e0 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:250 usb_probe_device+0x1c4/0x390 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x26d/0x9e0 drivers/base/dd.c:659 __driver_probe_device+0x18c/0x2f0 drivers/base/dd.c:801 driver_probe_device+0x4f/0x430 drivers/base/dd.c:831 __device_attach_driver+0x2ce/0x530 drivers/base/dd.c:959 bus_for_each_drv+0x254/0x2e0 drivers/base/bus.c:462 __device_attach+0x2bb/0x400 drivers/base/dd.c:1031 bus_probe_device+0x188/0x260 drivers/base/bus.c:537 device_add+0x7b6/0xb50 drivers/base/core.c:3689 usb_new_device+0xa29/0x16e0 drivers/usb/core/hub.c:2694 hub_port_connect drivers/usb/core/hub.c:5566 [inline] hub_port_connect_change drivers/usb/core/hub.c:5706 [inline] port_event drivers/usb/core/hub.c:5870 [inline] hub_event+0x2958/0x4a20 drivers/usb/core/hub.c:5952 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 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:usb_gadget_udc_reset+0x27/0x60 drivers/usb/gadget/udc/core.c:1195 Code: 90 90 90 f3 0f 1e fa 41 56 53 49 89 f6 48 89 fb e8 8e 81 f4 fa 49 83 c6 40 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 6b 33 56 fb 4d 8b 1e 48 89 df 2e e8 RSP: 0018:ffffc9000496e480 EFLAGS: 00010202 RAX: 0000000000000008 RBX: ffff888027930c40 RCX: dffffc0000000000 RDX: ffffc9001ce02000 RSI: 00000000000114f7 RDI: 00000000000114f8 RBP: ffff888030ff4e6c R08: ffffffff8ef76677 R09: 1ffffffff1deecce R10: dffffc0000000000 R11: fffffbfff1deeccf R12: ffff888027930c40 R13: 1ffff11004f662a1 R14: 0000000000000040 R15: 1ffff11004f26187 FS: 0000000000000000(0000) GS:ffff888126cc8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0f296021e0 CR3: 000000006ef36000 CR4: 00000000003526f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: f3 0f 1e fa endbr64 7: 41 56 push %r14 9: 53 push %rbx a: 49 89 f6 mov %rsi,%r14 d: 48 89 fb mov %rdi,%rbx 10: e8 8e 81 f4 fa call 0xfaf481a3 15: 49 83 c6 40 add $0x40,%r14 19: 4c 89 f0 mov %r14,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 f7 mov %r14,%rdi 33: e8 6b 33 56 fb call 0xfb5633a3 38: 4d 8b 1e mov (%r14),%r11 3b: 48 89 df mov %rbx,%rdi 3e: 2e cs 3f: e8 .byte 0xe8