general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 0 PID: 10836 Comm: syz.6.3124 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:dummy_queue+0x1b7/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 92 63 6a fe 4d 8b 24 24 49 83 c4 58 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02 RSP: 0018:ffffc90007fd7888 EFLAGS: 00010002 RAX: 000000000000000b RBX: ffff88812d1cde10 RCX: dffffc0000000000 RDX: ffff8881150a5100 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc90007fd7900 R08: ffff888131eba401 R09: 1ffff110263d7480 R10: 0000000000000000 R11: ffffffff834c8bc0 R12: 0000000000000058 R13: ffff88812d1cde00 R14: 1ffff11025a39bc0 R15: ffff88810da70c90 FS: 00007f8c6e2bd6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8c6d44fd3b CR3: 0000000147204000 CR4: 00000000003506b0 Call Trace: usb_ep_queue+0xdf/0x220 drivers/usb/gadget/udc/core.c:308 gs_start_tx+0x455/0xdb0 drivers/usb/gadget/function/u_serial.c:275 gs_write+0xc5/0xf0 drivers/usb/gadget/function/u_serial.c:756 process_output_block drivers/tty/n_tty.c:586 [inline] n_tty_write+0xd8c/0x1210 drivers/tty/n_tty.c:2377 do_tty_write drivers/tty/tty_io.c:1018 [inline] file_tty_write+0x4e9/0x850 drivers/tty/tty_io.c:1089 tty_write+0x3c/0x50 drivers/tty/tty_io.c:1110 call_write_iter include/linux/fs.h:2282 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x5ef/0xd00 fs/read_write.c:584 ksys_write+0x14a/0x260 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8c6d39de99 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8c6e2bd028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8c6d625fa0 RCX: 00007f8c6d39de99 RDX: 0000000000000002 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007f8c6d433eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8c6d626038 R14: 00007f8c6d625fa0 R15: 00007ffe5b0ab268 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dummy_queue+0x1b7/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 92 63 6a fe 4d 8b 24 24 49 83 c4 58 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02 RSP: 0018:ffffc90007fd7888 EFLAGS: 00010002 RAX: 000000000000000b RBX: ffff88812d1cde10 RCX: dffffc0000000000 RDX: ffff8881150a5100 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc90007fd7900 R08: ffff888131eba401 R09: 1ffff110263d7480 R10: 0000000000000000 R11: ffffffff834c8bc0 R12: 0000000000000058 R13: ffff88812d1cde00 R14: 1ffff11025a39bc0 R15: ffff88810da70c90 FS: 00007f8c6e2bd6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8c6d44fd3b CR3: 0000000147204000 CR4: 00000000003506b0 ---------------- Code disassembly (best guess): 0: fc cld 1: ff lcall (bad) 2: df 80 3c 08 00 74 filds 0x7400083c(%rax) 8: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4) c: e8 92 63 6a fe call 0xfe6a63a3 11: 4d 8b 24 24 mov (%r12),%r12 15: 49 83 c4 58 add $0x58,%r12 19: 4c 89 e0 mov %r12,%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: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 f5 05 00 00 jne 0x62b 36: 45 8b 24 24 mov (%r12),%r12d 3a: 44 89 e6 mov %r12d,%esi 3d: 83 e6 02 and $0x2,%esi