general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 PID: 18157 Comm: syz-executor.0 Not tainted 5.19.0-rc2-syzkaller-00050-g018ab4fabddd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hlist_empty include/linux/list.h:876 [inline] RIP: 0010:sk_head include/net/sock.h:653 [inline] RIP: 0010:__inet_hash_connect+0x20b/0x1450 net/ipv4/inet_hashtables.c:866 Code: 0f 85 28 11 00 00 49 8b 9f a0 06 00 00 48 89 ef e8 da ac a2 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 f0 10 00 00 4c 8b 63 40 4d 85 e4 74 0d e8 2d 00 RSP: 0018:ffffc9000cc674b8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff815ed050 RDX: 0000000000000008 RSI: 0000000000000004 RDI: 0000000000000040 RBP: ffff888026add968 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200198ce89 R11: 0000000000000000 R12: ffff8880776b8000 R13: 0000000000009de2 R14: ffffffff91308960 R15: ffff888027a670c0 FS: 00007f7811028700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202d4000 CR3: 0000000027f54000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dccp_v4_connect+0xc5c/0x16f0 net/dccp/ipv4.c:108 __inet_stream_connect+0x8cf/0xed0 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:1979 io_connect+0x15f/0x690 fs/io_uring.c:6767 io_issue_sqe+0x342c/0x9750 fs/io_uring.c:8449 io_queue_sqe fs/io_uring.c:8791 [inline] io_submit_sqe fs/io_uring.c:9055 [inline] io_submit_sqes+0x161d/0x8000 fs/io_uring.c:9166 __do_sys_io_uring_enter+0x1112/0x2300 fs/io_uring.c:12098 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+0x46/0xb0 RIP: 0033:0x7f780fe89109 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:00007f7811028168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f780ff9c030 RCX: 00007f780fe89109 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000005 RBP: 00007f78110281d0 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f78104cfb1f R14: 00007f7811028300 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:653 [inline] RIP: 0010:__inet_hash_connect+0x20b/0x1450 net/ipv4/inet_hashtables.c:866 Code: 0f 85 28 11 00 00 49 8b 9f a0 06 00 00 48 89 ef e8 da ac a2 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 f0 10 00 00 4c 8b 63 40 4d 85 e4 74 0d e8 2d 00 RSP: 0018:ffffc9000cc674b8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff815ed050 RDX: 0000000000000008 RSI: 0000000000000004 RDI: 0000000000000040 RBP: ffff888026add968 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200198ce89 R11: 0000000000000000 R12: ffff8880776b8000 R13: 0000000000009de2 R14: ffffffff91308960 R15: ffff888027a670c0 FS: 00007f7811028700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202d4000 CR3: 0000000027f54000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0f 85 28 11 00 00 jne 0x112e 6: 49 8b 9f a0 06 00 00 mov 0x6a0(%r15),%rbx d: 48 89 ef mov %rbp,%rdi 10: e8 da ac a2 01 callq 0x1a2acef 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 f0 10 00 00 jne 0x1124 34: 4c 8b 63 40 mov 0x40(%rbx),%r12 38: 4d 85 e4 test %r12,%r12 3b: 74 0d je 0x4a 3d: e8 .byte 0xe8 3e: 2d .byte 0x2d