Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 5619 Comm: syz-executor384 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dummy_set_selfpowered+0xbe/0x160 drivers/usb/gadget/udc/dummy_hcd.c:888 Code: 8d 34 c6 49 81 c6 c8 07 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 2c 63 f8 fa 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 13 63 f8 fa 41 be 00 14 00 00 4d RSP: 0018:ffffc90004db7780 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88802d253e80 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff873996b0 R12: dffffc0000000000 R13: ffff88803e49a528 R14: ffff88801f7e1408 R15: 0000000000000000 FS: 000055558ac8b400(0000) GS:ffff8881259f2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 00000000450f4000 CR4: 00000000003526f0 Call Trace: usb_gadget_set_selfpowered+0x75/0x260 drivers/usb/gadget/udc/core.c:578 composite_dev_prepare+0x2fa/0x320 drivers/usb/gadget/composite.c:2440 configfs_composite_bind+0xa5/0x1410 drivers/usb/gadget/configfs.c:1701 gadget_bind_driver+0x2ca/0x9e0 drivers/usb/gadget/udc/core.c:1662 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898 __driver_attach+0x339/0x600 drivers/base/dd.c:1292 bus_for_each_dev+0x23e/0x2c0 drivers/base/bus.c:383 bus_add_driver+0x348/0x670 drivers/base/bus.c:763 driver_register+0x23a/0x320 drivers/base/driver.c:174 usb_gadget_register_driver_owner+0xf9/0x270 drivers/usb/gadget/udc/core.c:1752 gadget_dev_desc_UDC_store+0x1c9/0x2f0 drivers/usb/gadget/configfs.c:300 flush_write_buffer fs/configfs/file.c:207 [inline] configfs_write_iter+0x33a/0x430 fs/configfs/file.c:229 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x61e/0xbb0 fs/read_write.c:687 ksys_write+0x156/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x17b/0x530 arch/x86/entry/syscall_64.c:85 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc3fbf30689 Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 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 d8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc37b77f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00737973796d2f2e RCX: 00007fc3fbf30689 RDX: 000000000000000c RSI: 0000200000000680 RDI: 0000000000000003 RBP: 0000000000017f72 R08: 0000000000000006 R09: 0000000000000006 R10: 0000000000000006 R11: 0000000000000246 R12: 00007ffc37b77f3c R13: 431bde82d7b634db R14: 00007fc3fbfc3c40 R15: 0000000000000002 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dummy_set_selfpowered+0xbe/0x160 drivers/usb/gadget/udc/dummy_hcd.c:888 Code: 8d 34 c6 49 81 c6 c8 07 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 2c 63 f8 fa 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 13 63 f8 fa 41 be 00 14 00 00 4d RSP: 0018:ffffc90004db7780 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88802d253e80 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff873996b0 R12: dffffc0000000000 R13: ffff88803e49a528 R14: ffff88801f7e1408 R15: 0000000000000000 FS: 000055558ac8b400(0000) GS:ffff8881259f2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 00000000450f4000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 8d 34 c6 lea (%rsi,%rax,8),%esi 3: 49 81 c6 c8 07 00 00 add $0x7c8,%r14 a: 4c 89 f0 mov %r14,%rax d: 48 c1 e8 03 shr $0x3,%rax 11: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 16: 74 08 je 0x20 18: 4c 89 f7 mov %r14,%rdi 1b: e8 2c 63 f8 fa call 0xfaf8634c 20: 4d 8b 3e mov (%r14),%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 13 63 f8 fa call 0xfaf8634c 39: 41 be 00 14 00 00 mov $0x1400,%r14d 3f: 4d rex.WRB