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: 5964 Comm: kworker/1:8 Tainted: G L syzkaller #0 PREEMPT_{RT,(full)}
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: events __usb_queue_reset_device
RIP: 0010:usb_gadget_udc_reset+0x27/0x60 drivers/usb/gadget/udc/core.c:1200
Code: 90 90 90 f3 0f 1e fa 41 56 53 49 89 f6 48 89 fb e8 ee 5a f1 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 7b c1 53 fb 4d 8b 1e 48 89 df 2e 2e
RSP: 0018:ffffc90005a07308 EFLAGS: 00010202
RAX: 0000000000000008 RBX: ffff888026ad4c40 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88802fdb5b6c R08: ffffffff8edb0a77 R09: 1ffffffff1db614e
R10: dffffc0000000000 R11: fffffbfff1db614f R12: ffff888026ad4c40
R13: 1ffff110289ee0a1 R14: 0000000000000040 R15: 1ffff11004d5a987
FS: 0000000000000000(0000) GS:ffff888126e06000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa8ac6feeb8 CR3: 000000004d7aa000 CR4: 00000000003526f0
Call Trace:
<TASK>
set_link_state+0x80b/0x1220 drivers/usb/gadget/udc/dummy_hcd.c:469
dummy_hub_control+0xa09/0x1a30 drivers/usb/gadget/udc/dummy_hcd.c:-1
rh_call_control drivers/usb/core/hcd.c:656 [inline]
rh_urb_enqueue drivers/usb/core/hcd.c:821 [inline]
usb_hcd_submit_urb+0xdbe/0x1b60 drivers/usb/core/hcd.c:1542
usb_start_wait_urb+0x115/0x4f0 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:466 [inline]
hub_port_reset+0x3c7/0x1830 drivers/usb/core/hub.c:3083
hub_port_init+0x299/0x28d0 drivers/usb/core/hub.c:4939
usb_reset_and_verify_device+0x4cd/0x1ad0 drivers/usb/core/hub.c:6215
usb_reset_device+0x552/0xb50 drivers/usb/core/hub.c:6410
__usb_queue_reset_device+0x73/0xa0 drivers/usb/core/message.c:1904
process_one_work kernel/workqueue.c:3257 [inline]
process_scheduled_works+0xad1/0x1770 kernel/workqueue.c:3340
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3421
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:usb_gadget_udc_reset+0x27/0x60 drivers/usb/gadget/udc/core.c:1200
Code: 90 90 90 f3 0f 1e fa 41 56 53 49 89 f6 48 89 fb e8 ee 5a f1 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 7b c1 53 fb 4d 8b 1e 48 89 df 2e 2e
RSP: 0018:ffffc90005a07308 EFLAGS: 00010202
RAX: 0000000000000008 RBX: ffff888026ad4c40 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88802fdb5b6c R08: ffffffff8edb0a77 R09: 1ffffffff1db614e
R10: dffffc0000000000 R11: fffffbfff1db614f R12: ffff888026ad4c40
R13: 1ffff110289ee0a1 R14: 0000000000000040 R15: 1ffff11004d5a987
FS: 0000000000000000(0000) GS:ffff888126e06000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa8ac6feeb8 CR3: 000000004d7aa000 CR4: 00000000003526f0
----------------
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 ee 5a f1 fa call 0xfaf15b03
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 7b c1 53 fb call 0xfb53c1b3
38: 4d 8b 1e mov (%r14),%r11
3b: 48 89 df mov %rbx,%rdi
3e: 2e cs
3f: 2e cs