general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 1 PID: 11359 Comm: syz-executor.2 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:file_inode include/linux/fs.h:1350 [inline] RIP: 0010:__io_file_supports_nowait+0x28/0x3e0 fs/io_uring.c:2785 Code: 66 90 55 41 57 41 56 41 54 53 41 89 f6 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 e3 06 91 ff 49 8d 5f 20 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 e9 3b db ff 48 8b 2b 48 89 e8 48 RSP: 0018:ffffc9001029f430 EFLAGS: 00010202 RAX: 0000000000000004 RBX: 0000000000000020 RCX: 0000000000040000 RDX: ffffc9000d498000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9001029fc70 R08: ffffffff81ef101b R09: ffffffff81ef0371 R10: 0000000000000027 R11: ffff88808a710000 R12: dffffc0000000000 R13: 1ffff1100ebcc153 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f83ececa700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000056c030 CR3: 000000003e837000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_file_supports_nowait fs/io_uring.c:2823 [inline] io_read fs/io_uring.c:3440 [inline] io_issue_sqe+0xed3/0x9280 fs/io_uring.c:6558 __io_queue_sqe+0xe3/0x1000 fs/io_uring.c:6864 tctx_task_work+0x2ad/0x560 fs/io_uring.c:2143 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:212 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x180/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:302 do_syscall_64+0x4c/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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:00007f83ececa188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000002 RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000006b21 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffccb89319f R14: 00007f83ececa300 R15: 0000000000022000 Modules linked in: ---[ end trace 4d95e48db7bb93c0 ]--- RIP: 0010:file_inode include/linux/fs.h:1350 [inline] RIP: 0010:__io_file_supports_nowait+0x28/0x3e0 fs/io_uring.c:2785 Code: 66 90 55 41 57 41 56 41 54 53 41 89 f6 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 e3 06 91 ff 49 8d 5f 20 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 e9 3b db ff 48 8b 2b 48 89 e8 48 RSP: 0018:ffffc9001029f430 EFLAGS: 00010202 RAX: 0000000000000004 RBX: 0000000000000020 RCX: 0000000000040000 RDX: ffffc9000d498000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9001029fc70 R08: ffffffff81ef101b R09: ffffffff81ef0371 R10: 0000000000000027 R11: ffff88808a710000 R12: dffffc0000000000 R13: 1ffff1100ebcc153 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f83ececa700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056515b13d160 CR3: 000000003e837000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 66 90 xchg %ax,%ax 2: 55 push %rbp 3: 41 57 push %r15 5: 41 56 push %r14 7: 41 54 push %r12 9: 53 push %rbx a: 41 89 f6 mov %esi,%r14d d: 49 89 ff mov %rdi,%r15 10: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 17: fc ff df 1a: e8 e3 06 91 ff callq 0xff910702 1f: 49 8d 5f 20 lea 0x20(%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 e9 3b db ff callq 0xffdb3c22 39: 48 8b 2b mov (%rbx),%rbp 3c: 48 89 e8 mov %rbp,%rax 3f: 48 rex.W