general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 8014 Comm: syz-executor.2 Not tainted 6.5.0-syzkaller-08894-gb97d64c72259 #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:ffffc90003167c88 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000a489000 RDX: 0000000000040000 RSI: ffffffff841ce130 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88803040c000 R13: dffffc0000000000 R14: 0000000000003fff R15: 0000000000000000 FS: 00007ff70d7d36c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30625000 CR3: 000000007a8f9000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seq_show+0x587/0x8b0 fs/proc/fd.c:70 traverse.part.0.constprop.0+0xff/0x630 fs/seq_file.c:111 traverse fs/seq_file.c:98 [inline] seq_lseek+0x2b6/0x450 fs/seq_file.c:323 vfs_llseek fs/read_write.c:289 [inline] ksys_lseek+0x134/0x1a0 fs/read_write.c:302 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:0x7ff70ca7cae9 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:00007ff70d7d30c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000008 RAX: ffffffffffffffda RBX: 00007ff70cb9bf80 RCX: 00007ff70ca7cae9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 000000000000000d RBP: 00007ff70cac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff70cb9bf80 R15: 00007ff70ccbfa48 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:ffffc90003167c88 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000a489000 RDX: 0000000000040000 RSI: ffffffff841ce130 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88803040c000 R13: dffffc0000000000 R14: 0000000000003fff R15: 0000000000000000 FS: 00007ff70d7d36c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020008000 CR3: 000000007a8f9000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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