general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 1 PID: 23349 Comm: iou-sqp-23347 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sock_from_file+0x20/0x90 net/socket.c:504 Code: f5 ff ff ff c3 0f 1f 44 00 00 41 54 53 48 89 fb e8 d5 ed 64 fa 48 8d 7b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 4f 45 31 e4 48 81 7b 28 c0 19 89 8a 74 0c e8 a8 ed RSP: 0018:ffffc90002f878c8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff871060ab RDI: 0000000000000028 RBP: ffff8880a03402c0 R08: ffffffff899a72c0 R09: ffffffff81e15f38 R10: 0000000000000027 R11: 000000000000001b R12: 0000000000000001 R13: 1ffff11014068061 R14: 0000000000000003 R15: ffff8880a03402c0 FS: 00007fde8c8d8700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fde8c8b7718 CR3: 0000000021e85000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_recv+0xc1/0x840 fs/io_uring.c:4965 io_issue_sqe+0xf66/0x6ba0 fs/io_uring.c:6587 __io_queue_sqe+0x90/0xb50 fs/io_uring.c:6864 io_req_task_submit+0xbf/0x1b0 fs/io_uring.c:2218 tctx_task_work+0x166/0x610 fs/io_uring.c:2143 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:212 [inline] io_run_task_work fs/io_uring.c:2403 [inline] io_run_task_work fs/io_uring.c:2399 [inline] io_sq_thread+0x867/0x1370 fs/io_uring.c:7337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 56951f525af92b96 ]--- RIP: 0010:sock_from_file+0x20/0x90 net/socket.c:504 Code: f5 ff ff ff c3 0f 1f 44 00 00 41 54 53 48 89 fb e8 d5 ed 64 fa 48 8d 7b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 4f 45 31 e4 48 81 7b 28 c0 19 89 8a 74 0c e8 a8 ed RSP: 0018:ffffc90002f878c8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff871060ab RDI: 0000000000000028 RBP: ffff8880a03402c0 R08: ffffffff899a72c0 R09: ffffffff81e15f38 R10: 0000000000000027 R11: 000000000000001b R12: 0000000000000001 R13: 1ffff11014068061 R14: 0000000000000003 R15: ffff8880a03402c0 FS: 00007fde8c8d8700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000540198 CR3: 0000000021e85000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: ff c3 inc %ebx 2: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 7: 41 54 push %r12 9: 53 push %rbx a: 48 89 fb mov %rdi,%rbx d: e8 d5 ed 64 fa callq 0xfa64ede7 12: 48 8d 7b 28 lea 0x28(%rbx),%rdi 16: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1d: fc ff df 20: 48 89 fa mov %rdi,%rdx 23: 48 c1 ea 03 shr $0x3,%rdx * 27: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2b: 75 4f jne 0x7c 2d: 45 31 e4 xor %r12d,%r12d 30: 48 81 7b 28 c0 19 89 cmpq $0xffffffff8a8919c0,0x28(%rbx) 37: 8a 38: 74 0c je 0x46 3a: e8 .byte 0xe8 3b: a8 ed test $0xed,%al