tipc: Enabling of bearer rejected, failed to enable media Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 UID: 0 PID: 891 Comm: syz.3.196 Not tainted syzkaller #0 9a2c17613351c9eac8e18d74829f474689ac6bc1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dummy_queue+0x1c0/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 39 72 26 fe 4d 8b 24 24 49 83 c4 50 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:ffffc9000f52f898 EFLAGS: 00010006 RAX: 000000000000000a RBX: ffff8881144af310 RCX: dffffc0000000000 RDX: ffff8881135e3900 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc9000f52f910 R08: ffff8881150d9000 R09: 1ffff11022a1b200 R10: 0000000000000000 R11: ffffffff83b9da20 R12: 0000000000000050 R13: ffff8881144af300 R14: 1ffff11022895e60 R15: ffff888104b00c90 FS: 00007f8c913c96c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3432b2 CR3: 0000000113b9c000 CR4: 00000000003526b0 Call Trace: usb_ep_queue+0xe3/0x230 drivers/usb/gadget/udc/core.c:305 gs_start_tx+0x446/0xd90 drivers/usb/gadget/function/u_serial.c:279 gs_write+0xc8/0xf0 drivers/usb/gadget/function/u_serial.c:753 process_output_block drivers/tty/n_tty.c:575 [inline] n_tty_write+0xd6c/0x1230 drivers/tty/n_tty.c:2390 iterate_tty_write drivers/tty/tty_io.c:1015 [inline] file_tty_write+0x556/0xa50 drivers/tty/tty_io.c:1090 tty_write+0x40/0x50 drivers/tty/tty_io.c:1111 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x75f/0xfd0 fs/read_write.c:684 ksys_write+0x145/0x260 fs/read_write.c:737 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x7f/0x90 fs/read_write.c:746 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f8c9059e0d9 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:00007f8c913c9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8c90825fa0 RCX: 00007f8c9059e0d9 RDX: 0000000000000001 RSI: 0000200000000a00 RDI: 0000000000000007 RBP: 00007f8c90635024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8c90826038 R14: 00007f8c90825fa0 R15: 00007ffd16d519f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dummy_queue+0x1c0/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 39 72 26 fe 4d 8b 24 24 49 83 c4 50 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:ffffc9000f52f898 EFLAGS: 00010006 RAX: 000000000000000a RBX: ffff8881144af310 RCX: dffffc0000000000 RDX: ffff8881135e3900 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc9000f52f910 R08: ffff8881150d9000 R09: 1ffff11022a1b200 R10: 0000000000000000 R11: ffffffff83b9da20 R12: 0000000000000050 R13: ffff8881144af300 R14: 1ffff11022895e60 R15: ffff888104b00c90 FS: 00007f8c913c96c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3432b2 CR3: 0000000113b9c000 CR4: 00000000003526b0 ---------------- 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 39 72 26 fe call 0xfe26724a 11: 4d 8b 24 24 mov (%r12),%r12 15: 49 83 c4 50 add $0x50,%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