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: 17950 Comm: syz-executor.3 Not tainted 5.18.0-rc6-next-20220516-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 be 88 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 c3 88 43 05 48 39 f5 0f RSP: 0018:ffffc90015777968 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88807e407000 RCX: ffffc90003d57000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888079b3d748 RBP: ffff88807e407000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81f08d66 R11: 0000000000000000 R12: ffff888079b3d740 R13: ffff888079b3d748 R14: ffff888076e941e0 R15: ffff88807e407020 FS: 00007f17b5a79700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f17b48d6808 CR3: 000000001d848000 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:5609 [inline] io_provide_buffers fs/io_uring.c:5668 [inline] io_issue_sqe+0x2ba3/0xa550 fs/io_uring.c:8246 io_queue_sqe fs/io_uring.c:8565 [inline] io_submit_sqe fs/io_uring.c:8827 [inline] io_submit_sqes+0x16b0/0x8020 fs/io_uring.c:8938 __do_sys_io_uring_enter+0x117f/0x2360 fs/io_uring.c:11839 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:0x7f17b48890e9 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:00007f17b5a79168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f17b499bf60 RCX: 00007f17b48890e9 RDX: 0000000000000000 RSI: 000000000000263f RDI: 0000000000000003 RBP: 00007f17b48e308d R08: 0000000000000000 R09: 000000001f000002 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd0a7ecdf R14: 00007f17b5a79300 R15: 0000000000022000 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 be 88 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 c3 88 43 05 48 39 f5 0f RSP: 0018:ffffc90015777968 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88807e407000 RCX: ffffc90003d57000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888079b3d748 RBP: ffff88807e407000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81f08d66 R11: 0000000000000000 R12: ffff888079b3d740 R13: ffff888079b3d748 R14: ffff888076e941e0 R15: ffff88807e407020 FS: 00007f17b5a79700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f17b5a58718 CR3: 000000001d848000 CR4: 00000000003506e0 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 be 88 43 05 jne 0x54388d7 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 c3 88 43 05 jne 0x54388ff 3c: 48 39 f5 cmp %rsi,%rbp 3f: 0f .byte 0xf