general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] CPU: 1 PID: 11262 Comm: syz-executor.2 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:io_commit_cqring+0x37f/0xc10 fs/io_uring.c:1318 Code: 74 08 3c 03 0f 8e fa 05 00 00 48 8d bb c0 00 00 00 41 8b ac 24 00 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b7 RSP: 0018:ffffc9000d047c58 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90020803000 RDX: 0000000000000018 RSI: ffffffff81db8861 RDI: 00000000000000c0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52001a08f8b R11: 0000000000000000 R12: ffff8880220ce000 R13: 0000000000000000 R14: 1ffff92001a08fa7 R15: ffff8880220ce0c0 FS: 0000000000000000(0000) GS:ffff88802cb00000(0063) knlGS:00000000f5523b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000009a1f404 CR3: 000000006901c000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_kill_timeouts+0x2b5/0x320 fs/io_uring.c:8606 io_ring_ctx_wait_and_kill+0x1da/0x400 fs/io_uring.c:8629 io_uring_create fs/io_uring.c:9572 [inline] io_uring_setup+0x10da/0x2ae0 fs/io_uring.c:9599 do_syscall_32_irqs_on arch/x86/entry/common.c:77 [inline] __do_fast_syscall_32+0x56/0x90 arch/x86/entry/common.c:140 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:165 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f29549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55235ac EFLAGS: 00000282 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 0000000000006db8 RCX: 0000000020000140 RDX: 00000000f5523670 RSI: 000000000816c000 RDI: 0000000020ffa000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace a73136572485901a ]--- RIP: 0010:io_commit_cqring+0x37f/0xc10 fs/io_uring.c:1318 Code: 74 08 3c 03 0f 8e fa 05 00 00 48 8d bb c0 00 00 00 41 8b ac 24 00 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b7 RSP: 0018:ffffc9000d047c58 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90020803000 RDX: 0000000000000018 RSI: ffffffff81db8861 RDI: 00000000000000c0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52001a08f8b R11: 0000000000000000 R12: ffff8880220ce000 R13: 0000000000000000 R14: 1ffff92001a08fa7 R15: ffff8880220ce0c0 FS: 0000000000000000(0000) GS:ffff88802cb00000(0063) knlGS:00000000f5523b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000009a1f404 CR3: 000000006901c000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400