general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 3683 Comm: iou-wrk-3682 Not tainted 5.18.0-rc6-next-20220512-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add_valid+0x47/0xa0 lib/list_debug.c:26 Code: fa 48 c1 ea 03 80 3c 02 00 75 50 49 8b 54 24 08 48 39 f2 0f 85 56 73 43 05 48 b8 00 00 00 00 00 fc ff df 48 89 f2 48 c1 ea 03 <80> 3c 02 00 75 3a 48 8b 16 4c 39 e2 0f 85 5b 73 43 05 48 39 f5 0f RSP: 0018:ffffc90002fd7ae8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888023ed0000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88801ef405c8 RBP: ffff888023ed0000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81f05205 R11: 0000000000000000 R12: ffff88801ef405c0 R13: ffff88801ef405c8 R14: ffff88807a30f1e0 R15: ffff888023ed0020 FS: 000055555604c300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2aed5d7b08 CR3: 0000000023ed5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:69 [inline] list_add_tail include/linux/list.h:102 [inline] list_move_tail include/linux/list.h:230 [inline] io_add_buffers fs/io_uring.c:5596 [inline] io_provide_buffers fs/io_uring.c:5655 [inline] io_issue_sqe+0x2b72/0xa140 fs/io_uring.c:8174 io_wq_submit_work+0x22a/0x600 fs/io_uring.c:8286 io_worker_handle_work+0xb1c/0x1ab0 fs/io-wq.c:597 io_wqe_worker+0x637/0xdb0 fs/io-wq.c:644 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:297 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid+0x47/0xa0 lib/list_debug.c:26 Code: fa 48 c1 ea 03 80 3c 02 00 75 50 49 8b 54 24 08 48 39 f2 0f 85 56 73 43 05 48 b8 00 00 00 00 00 fc ff df 48 89 f2 48 c1 ea 03 <80> 3c 02 00 75 3a 48 8b 16 4c 39 e2 0f 85 5b 73 43 05 48 39 f5 0f RSP: 0018:ffffc90002fd7ae8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888023ed0000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88801ef405c8 RBP: ffff888023ed0000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81f05205 R11: 0000000000000000 R12: ffff88801ef405c0 R13: ffff88801ef405c8 R14: ffff88807a30f1e0 R15: ffff888023ed0020 FS: 000055555604c300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2aed5d7b08 CR3: 0000000023ed5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fa cli 1: 48 c1 ea 03 shr $0x3,%rdx 5: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 9: 75 50 jne 0x5b b: 49 8b 54 24 08 mov 0x8(%r12),%rdx 10: 48 39 f2 cmp %rsi,%rdx 13: 0f 85 56 73 43 05 jne 0x543736f 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 f2 mov %rsi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 3a jne 0x6a 30: 48 8b 16 mov (%rsi),%rdx 33: 4c 39 e2 cmp %r12,%rdx 36: 0f 85 5b 73 43 05 jne 0x5437397 3c: 48 39 f5 cmp %rsi,%rbp 3f: 0f .byte 0xf