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: 15233 Comm: syz-executor.4 Not tainted 5.18.0-rc6-next-20220513-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 0b 77 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 10 77 43 05 48 39 f5 0f RSP: 0018:ffffc90015607970 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888077f52000 RCX: ffffc90005dd1000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88806448ca48 RBP: ffff888077f52000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81f09555 R11: 0000000000000000 R12: ffff88806448ca40 R13: ffff88806448ca48 R14: ffff88804586f1e0 R15: ffff888077f52020 FS: 00007f3332b0c700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3006d088a2 CR3: 000000003c950000 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:5600 [inline] io_provide_buffers fs/io_uring.c:5659 [inline] io_issue_sqe+0x2b72/0xa140 fs/io_uring.c:8178 io_queue_sqe fs/io_uring.c:8495 [inline] io_submit_sqe fs/io_uring.c:8757 [inline] io_submit_sqes+0x16b0/0x7e50 fs/io_uring.c:8868 __do_sys_io_uring_enter+0x117f/0x2360 fs/io_uring.c:11769 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:0x7f3331a890e9 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:00007f3332b0c168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f3331b9bf60 RCX: 00007f3331a890e9 RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000003 RBP: 00007f3331ae308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf41048ef R14: 00007f3332b0c300 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 0b 77 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 10 77 43 05 48 39 f5 0f RSP: 0018:ffffc90015607970 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888077f52000 RCX: ffffc90005dd1000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88806448ca48 RBP: ffff888077f52000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81f09555 R11: 0000000000000000 R12: ffff88806448ca40 R13: ffff88806448ca48 R14: ffff88804586f1e0 R15: ffff888077f52020 FS: 00007f3332b0c700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3006d9d090 CR3: 000000003c950000 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 0b 77 43 05 jne 0x5437724 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 10 77 43 05 jne 0x543774c 3c: 48 39 f5 cmp %rsi,%rbp 3f: 0f .byte 0xf