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: 28107 Comm: syz-executor.2 Not tainted 6.5.0-next-20230831-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:io_uring_show_fdinfo+0x4dc/0x1d70 io_uring/fdinfo.c:96 Code: 24 10 42 8d 1c 38 48 8b 44 24 38 80 38 00 0f 85 4c 14 00 00 49 8b 84 24 d0 00 00 00 44 21 f3 48 8d 1c 98 48 89 d8 48 c1 e8 03 <42> 0f b6 14 28 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffffc900167779d8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90003c12000 RDX: 0000000000040000 RSI: ffffffff841f4b70 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88807e8aa000 R13: dffffc0000000000 R14: 00000000000003ff R15: 0000000000000000 FS: 00007f12441486c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30824000 CR3: 000000001c565000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seq_show+0x587/0x8b0 fs/proc/fd.c:70 seq_read_iter+0x4e5/0x1280 fs/seq_file.c:230 seq_read+0x196/0x240 fs/seq_file.c:162 vfs_read+0x1ce/0x930 fs/read_write.c:468 ksys_read+0x12f/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f124347cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f12441480c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f124359bf80 RCX: 00007f124347cae9 RDX: 0000000000002020 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007f12434c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f124359bf80 R15: 00007ffec5df3be8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:io_uring_show_fdinfo+0x4dc/0x1d70 io_uring/fdinfo.c:96 Code: 24 10 42 8d 1c 38 48 8b 44 24 38 80 38 00 0f 85 4c 14 00 00 49 8b 84 24 d0 00 00 00 44 21 f3 48 8d 1c 98 48 89 d8 48 c1 e8 03 <42> 0f b6 14 28 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffffc900167779d8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90003c12000 RDX: 0000000000040000 RSI: ffffffff841f4b70 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88807e8aa000 R13: dffffc0000000000 R14: 00000000000003ff R15: 0000000000000000 FS: 00007f12441486c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f897814f000 CR3: 000000001c565000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000000040f3 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 10 and $0x10,%al 2: 42 8d 1c 38 lea (%rax,%r15,1),%ebx 6: 48 8b 44 24 38 mov 0x38(%rsp),%rax b: 80 38 00 cmpb $0x0,(%rax) e: 0f 85 4c 14 00 00 jne 0x1460 14: 49 8b 84 24 d0 00 00 mov 0xd0(%r12),%rax 1b: 00 1c: 44 21 f3 and %r14d,%ebx 1f: 48 8d 1c 98 lea (%rax,%rbx,4),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 14 28 movzbl (%rax,%r13,1),%edx <-- trapping instruction 2f: 48 89 d8 mov %rbx,%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