general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 PID: 10164 Comm: syz-executor.4 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:file_inode include/linux/fs.h:1304 [inline] RIP: 0010:__io_file_supports_nowait+0x20/0x460 fs/io_uring.c:2733 Code: ba e1 ff eb ae 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 41 54 55 53 48 89 fb 48 83 c7 20 48 89 fa 48 83 ec 08 48 c1 ea 03 <80> 3c 02 00 0f 85 83 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc9000413f950 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff92000827f41 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffff888034908780 R08: 0000000000000000 R09: ffff8880349087b8 R10: ffff8880349087ca R11: 0000000000000000 R12: ffffc9000413fa28 R13: 0000000000000001 R14: 0000000000000000 R15: ffffc9000413fa78 FS: 00007f12b8548700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 000000001e427000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_file_supports_nowait fs/io_uring.c:2771 [inline] io_file_supports_nowait fs/io_uring.c:2764 [inline] io_read+0x3ae/0x1090 fs/io_uring.c:3388 io_issue_sqe+0x1c8/0x5cc0 fs/io_uring.c:6291 __io_queue_sqe+0x85/0x960 fs/io_uring.c:6586 tctx_task_work+0x171/0x4b0 fs/io_uring.c:2090 task_work_run+0xc0/0x160 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+0x256/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/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:00007f12b8548188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000200 RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff78e614af R14: 00007f12b8548300 R15: 0000000000022000 Modules linked in: ---[ end trace 2c80a1c2b8f438cd ]--- RIP: 0010:file_inode include/linux/fs.h:1304 [inline] RIP: 0010:__io_file_supports_nowait+0x20/0x460 fs/io_uring.c:2733 Code: ba e1 ff eb ae 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 41 54 55 53 48 89 fb 48 83 c7 20 48 89 fa 48 83 ec 08 48 c1 ea 03 <80> 3c 02 00 0f 85 83 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc9000413f950 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff92000827f41 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffff888034908780 R08: 0000000000000000 R09: ffff8880349087b8 R10: ffff8880349087ca R11: 0000000000000000 R12: ffffc9000413fa28 R13: 0000000000000001 R14: 0000000000000000 R15: ffffc9000413fa78 FS: 00007f12b8548700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005589f00ad9a0 CR3: 000000001e427000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ba e1 ff eb ae mov $0xaeebffe1,%edx 5: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 11: fc ff df 14: 41 54 push %r12 16: 55 push %rbp 17: 53 push %rbx 18: 48 89 fb mov %rdi,%rbx 1b: 48 83 c7 20 add $0x20,%rdi 1f: 48 89 fa mov %rdi,%rdx 22: 48 83 ec 08 sub $0x8,%rsp 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 83 03 00 00 jne 0x3b7 34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3b: fc ff df 3e: 48 rex.W 3f: 8b .byte 0x8b