general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 1 PID: 18638 Comm: syz-executor.0 Not tainted 5.14.0-rc5-next-20210816-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__io_req_set_refcount fs/io_uring.c:1152 [inline] RIP: 0010:__io_prep_linked_timeout fs/io_uring.c:1348 [inline] RIP: 0010:io_prep_linked_timeout fs/io_uring.c:1356 [inline] RIP: 0010:__io_queue_sqe+0x278/0xeb0 fs/io_uring.c:6708 Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 07 0c 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 70 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 3e 0b 00 00 45 8b 74 24 58 31 RSP: 0018:ffffc9000208fb40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff92000411f6f RCX: ffffc90003031000 RDX: 000000000000000b RSI: ffffffff81e1bcbf RDI: 0000000000000058 RBP: ffff8880664853c0 R08: 0000000000000001 R09: ffff88806648541f R10: ffffed100cc90a83 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888066485430 R15: ffff888066485430 FS: 00007fefc003c700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200001c0 CR3: 000000007c395000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_queue_sqe fs/io_uring.c:6742 [inline] io_submit_sqe fs/io_uring.c:6890 [inline] io_submit_sqes+0x6c1d/0x9010 fs/io_uring.c:7013 __do_sys_io_uring_enter+0xf4f/0x1f10 fs/io_uring.c:9610 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+0x44/0xae RIP: 0033:0x4665e9 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:00007fefc003c188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffa57a781f R14: 00007fefc003c300 R15: 0000000000022000 Modules linked in: ---[ end trace c148463be03b3642 ]--- RIP: 0010:__io_req_set_refcount fs/io_uring.c:1152 [inline] RIP: 0010:__io_prep_linked_timeout fs/io_uring.c:1348 [inline] RIP: 0010:io_prep_linked_timeout fs/io_uring.c:1356 [inline] RIP: 0010:__io_queue_sqe+0x278/0xeb0 fs/io_uring.c:6708 Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 07 0c 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 70 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 3e 0b 00 00 45 8b 74 24 58 31 RSP: 0018:ffffc9000208fb40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff92000411f6f RCX: ffffc90003031000 RDX: 000000000000000b RSI: ffffffff81e1bcbf RDI: 0000000000000058 RBP: ffff8880664853c0 R08: 0000000000000001 R09: ffff88806648541f R10: ffffed100cc90a83 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888066485430 R15: ffff888066485430 FS: 00007fefc003c700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeed8d4ff8 CR3: 000000007c395000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 fa mov %edi,%edx 2: 48 c1 ea 03 shr $0x3,%rdx 6: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) a: 0f 85 07 0c 00 00 jne 0xc17 10: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 17: fc ff df 1a: 4c 8b 65 70 mov 0x70(%rbp),%r12 1e: 49 8d 7c 24 58 lea 0x58(%r12),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e 3e 0b 00 00 jle 0xb78 3a: 45 8b 74 24 58 mov 0x58(%r12),%r14d 3f: 31 .byte 0x31