general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 1 PID: 6045 Comm: syz-executor.0 Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:hlist_empty include/linux/list.h:876 [inline] RIP: 0010:sk_head include/net/sock.h:706 [inline] RIP: 0010:__inet_hash_connect+0x217/0x1660 net/ipv4/inet_hashtables.c:941 Code: 85 a9 13 00 00 49 8b 9c 24 a0 06 00 00 48 89 ef e8 5e 74 a9 01 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 40 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 85 12 00 00 4c 8b 73 40 4d 85 f6 74 0d e8 61 f7 RSP: 0018:ffffc90005d1f790 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff815ef790 RDX: 0000000000000008 RSI: 0000000000000004 RDI: 0000000000000040 RBP: ffff888027649240 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000ba3ee4 R11: 000000000008c07c R12: ffff88807ba78000 R13: 000000000000b426 R14: ffffffff8daa34c0 R15: ffff8880457c9c40 FS: 00007f811c591700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f811c590ff8 CR3: 000000001ef79000 CR4: 00000000003526e0 Call Trace: dccp_v4_connect+0xc40/0x2010 net/dccp/ipv4.c:129 __inet_stream_connect+0x69a/0xec0 net/ipv4/af_inet.c:660 inet_stream_connect+0x53/0xa0 net/ipv4/af_inet.c:724 __sys_connect_file+0x14f/0x190 net/socket.c:1976 io_connect+0x15e/0x4b0 io_uring/net.c:1413 io_issue_sqe+0x69d/0xd00 io_uring/io_uring.c:1740 io_queue_sqe io_uring/io_uring.c:1914 [inline] io_submit_sqe io_uring/io_uring.c:2172 [inline] io_submit_sqes+0x936/0x1d10 io_uring/io_uring.c:2283 __do_sys_io_uring_enter+0xadb/0x2430 io_uring/io_uring.c:3227 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f811b48a5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f811c591168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f811b5abf80 RCX: 00007f811b48a5a9 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000003 RBP: 00007f811c5911d0 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007f811badfb1f R14: 00007f811c591300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hlist_empty include/linux/list.h:876 [inline] RIP: 0010:sk_head include/net/sock.h:706 [inline] RIP: 0010:__inet_hash_connect+0x217/0x1660 net/ipv4/inet_hashtables.c:941 Code: 85 a9 13 00 00 49 8b 9c 24 a0 06 00 00 48 89 ef e8 5e 74 a9 01 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 40 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 85 12 00 00 4c 8b 73 40 4d 85 f6 74 0d e8 61 f7 RSP: 0018:ffffc90005d1f790 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff815ef790 RDX: 0000000000000008 RSI: 0000000000000004 RDI: 0000000000000040 RBP: ffff888027649240 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000ba3ee4 R11: 000000000008c07c R12: ffff88807ba78000 R13: 000000000000b426 R14: ffffffff8daa34c0 R15: ffff8880457c9c40 FS: 00007f811c591700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f811c590ff8 CR3: 000000001ef79000 CR4: 00000000003526e0 ---------------- Code disassembly (best guess): 0: 85 a9 13 00 00 49 test %ebp,0x49000013(%rcx) 6: 8b 9c 24 a0 06 00 00 mov 0x6a0(%rsp),%ebx d: 48 89 ef mov %rbp,%rdi 10: e8 5e 74 a9 01 callq 0x1a97473 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 8d 7b 40 lea 0x40(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 85 12 00 00 jne 0x12b9 34: 4c 8b 73 40 mov 0x40(%rbx),%r14 38: 4d 85 f6 test %r14,%r14 3b: 74 0d je 0x4a 3d: e8 .byte 0xe8 3e: 61 (bad) 3f: f7 .byte 0xf7