general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 9016 Comm: syz-executor.2 Not tainted 5.10.173 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:io_arm_poll_handler io_uring/io_uring.c:5795 [inline] RIP: 0010:__io_queue_sqe+0x69f/0xa60 io_uring/io_uring.c:7043 Code: 0f 85 24 03 00 00 48 8b 3d d6 8a da 02 ba 48 00 00 00 be 20 0a 00 00 e8 cf ce 7d ff 48 8d 78 14 49 89 c5 48 89 f8 48 c1 e8 03 <42> 0f b6 14 20 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffff8880439d7b28 EFLAGS: 00010213 RAX: 0000000000000002 RBX: 1ffff1100873af6b RCX: 0000000000000000 RDX: 0000000000000048 RSI: 0000000000000000 RDI: 0000000000000014 RBP: ffff88800f050dc0 R08: 0000000000000000 R09: ffffffff8509e133 R10: fffffbfff0a13c26 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88800f050e18 R15: ffff88800f050e08 FS: 00007fcf1336f700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 000000000f8be000 CR4: 0000000000350ef0 Call Trace: io_queue_sqe io_uring/io_uring.c:7071 [inline] io_submit_sqe io_uring/io_uring.c:7248 [inline] io_submit_sqes+0x4484/0x86e0 io_uring/io_uring.c:7354 __do_sys_io_uring_enter+0x6b5/0x17b0 io_uring/io_uring.c:10083 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fcf15df9b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcf1336f188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fcf15f0cf60 RCX: 00007fcf15df9b19 RDX: 0000000000000000 RSI: 0000000000005c33 RDI: 0000000000000005 RBP: 00007fcf1336f1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fff1e4ac29f R14: 00007fcf1336f300 R15: 0000000000022000 Modules linked in: ---[ end trace 9c382eaf18591ec7 ]--- RIP: 0010:io_arm_poll_handler io_uring/io_uring.c:5795 [inline] RIP: 0010:__io_queue_sqe+0x69f/0xa60 io_uring/io_uring.c:7043 Code: 0f 85 24 03 00 00 48 8b 3d d6 8a da 02 ba 48 00 00 00 be 20 0a 00 00 e8 cf ce 7d ff 48 8d 78 14 49 89 c5 48 89 f8 48 c1 e8 03 <42> 0f b6 14 20 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffff8880439d7b28 EFLAGS: 00010213 RAX: 0000000000000002 RBX: 1ffff1100873af6b RCX: 0000000000000000 RDX: 0000000000000048 RSI: 0000000000000000 RDI: 0000000000000014 RBP: ffff88800f050dc0 R08: 0000000000000000 R09: ffffffff8509e133 R10: fffffbfff0a13c26 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88800f050e18 R15: ffff88800f050e08 FS: 00007fcf1336f700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 000000000f8be000 CR4: 0000000000350ef0 FAT-fs (loop5): bogus number of reserved sectors FAT-fs (loop5): Can't find a valid FAT filesystem FAT-fs (loop5): bogus number of reserved sectors FAT-fs (loop5): Can't find a valid FAT filesystem ---------------- Code disassembly (best guess): 0: 0f 85 24 03 00 00 jne 0x32a 6: 48 8b 3d d6 8a da 02 mov 0x2da8ad6(%rip),%rdi # 0x2da8ae3 d: ba 48 00 00 00 mov $0x48,%edx 12: be 20 0a 00 00 mov $0xa20,%esi 17: e8 cf ce 7d ff callq 0xff7dceeb 1c: 48 8d 78 14 lea 0x14(%rax),%rdi 20: 49 89 c5 mov %rax,%r13 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 14 20 movzbl (%rax,%r12,1),%edx <-- trapping instruction 2f: 48 89 f8 mov %rdi,%rax 32: 83 e0 07 and $0x7,%eax 35: 83 c0 03 add $0x3,%eax 38: 38 d0 cmp %dl,%al 3a: 7c 08 jl 0x44 3c: 84 d2 test %dl,%dl 3e: 0f .byte 0xf 3f: 85 .byte 0x85