general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 8504 Comm: syz-executor.2 Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:io_file_from_index fs/io_uring.c:5969 [inline] RIP: 0010:io_sqe_files_register fs/io_uring.c:7375 [inline] RIP: 0010:__io_uring_register fs/io_uring.c:9469 [inline] RIP: 0010:__do_sys_io_uring_register+0x2fd2/0x3ee0 fs/io_uring.c:9559 Code: ec 03 49 c1 ee 03 49 01 ec 49 01 ee e8 57 21 9b ff 41 80 3c 24 00 0f 85 7d 0d 00 00 4d 8b af b8 01 00 00 4c 89 e8 48 c1 e8 03 <80> 3c 28 00 0f 85 58 0d 00 00 49 8b 55 00 89 d8 c1 f8 09 48 98 4c RSP: 0018:ffffc900075efd68 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000cbd0000 RDX: 0000000000040000 RSI: ffffffff81da1489 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff8880a3ea513f R10: 0000000000000000 R11: 0000000000000000 R12: ffffed10122c5837 R13: 0000000000000000 R14: ffffed10122c5838 R15: ffff88809162c000 FS: 00007fa5f75a6700(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000074d198 CR3: 00000000908ab000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa5f75a5c78 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00000000000083c0 RCX: 000000000045de59 RDX: 00000000200004c0 RSI: 0000000000000002 RDI: 0000000000000004 RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fffd57f5b1f R14: 00007fa5f75a69c0 R15: 000000000118bf2c Modules linked in: ---[ end trace 3f3da9a2c6bf7baf ]--- RIP: 0010:io_file_from_index fs/io_uring.c:5969 [inline] RIP: 0010:io_sqe_files_register fs/io_uring.c:7375 [inline] RIP: 0010:__io_uring_register fs/io_uring.c:9469 [inline] RIP: 0010:__do_sys_io_uring_register+0x2fd2/0x3ee0 fs/io_uring.c:9559 Code: ec 03 49 c1 ee 03 49 01 ec 49 01 ee e8 57 21 9b ff 41 80 3c 24 00 0f 85 7d 0d 00 00 4d 8b af b8 01 00 00 4c 89 e8 48 c1 e8 03 <80> 3c 28 00 0f 85 58 0d 00 00 49 8b 55 00 89 d8 c1 f8 09 48 98 4c RSP: 0018:ffffc900075efd68 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000cbd0000 RDX: 0000000000040000 RSI: ffffffff81da1489 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff8880a3ea513f R10: 0000000000000000 R11: 0000000000000000 R12: ffffed10122c5837 R13: 0000000000000000 R14: ffffed10122c5838 R15: ffff88809162c000 FS: 00007fa5f75a6700(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe7e91b567 CR3: 00000000908ab000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400