BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 103ba8067 P4D 103ba8067 PUD 103bd4067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 1838 Comm: syz-executor.0 Not tainted 6.5.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:io_uring_show_fdinfo+0x15c/0x6d0 io_uring/fdinfo.c:96 Code: 83 e0 01 89 44 24 28 45 31 ff 48 89 5c 24 30 48 89 6c 24 18 44 89 64 24 2c 41 8d 04 2f 49 8b 8d d0 00 00 00 8b 54 24 04 21 d0 <44> 8b 2c 81 41 39 d5 0f 87 ad 00 00 00 44 89 ed 8b 4c 24 28 d3 e5 RSP: 0018:ffffc90001977dc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888104300000 RCX: 0000000000000000 RDX: 0000000000003fff RSI: ffffffff8210b865 RDI: ffff888101bd3099 RBP: 0000000000000000 R08: ffff0a00ffffff00 R09: 00000000ffff0a00 R10: 0000001000000000 R11: 0000000400000001 R12: 0000000000000001 R13: ffff88810aa70000 R14: ffff88810928c0e8 R15: 0000000000000000 FS: 00007fd8542af6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000103b92000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seq_show+0x190/0x1d0 fs/proc/fd.c:70 traverse+0x9d/0x1a0 fs/seq_file.c:111 seq_lseek+0x5a/0xc0 fs/seq_file.c:323 vfs_llseek fs/read_write.c:289 [inline] ksys_lseek fs/read_write.c:302 [inline] __do_sys_lseek fs/read_write.c:313 [inline] __se_sys_lseek fs/read_write.c:311 [inline] __x64_sys_lseek+0x54/0x90 fs/read_write.c:311 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd85472cae9 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:00007fd8542af0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000008 RAX: ffffffffffffffda RBX: 00007fd85484bf80 RCX: 00007fd85472cae9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007fd85477847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fd85484bf80 R15: 00007ffc1f53e308 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:io_uring_show_fdinfo+0x15c/0x6d0 io_uring/fdinfo.c:96 Code: 83 e0 01 89 44 24 28 45 31 ff 48 89 5c 24 30 48 89 6c 24 18 44 89 64 24 2c 41 8d 04 2f 49 8b 8d d0 00 00 00 8b 54 24 04 21 d0 <44> 8b 2c 81 41 39 d5 0f 87 ad 00 00 00 44 89 ed 8b 4c 24 28 d3 e5 RSP: 0018:ffffc90001977dc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888104300000 RCX: 0000000000000000 RDX: 0000000000003fff RSI: ffffffff8210b865 RDI: ffff888101bd3099 RBP: 0000000000000000 R08: ffff0a00ffffff00 R09: 00000000ffff0a00 R10: 0000001000000000 R11: 0000000400000001 R12: 0000000000000001 R13: ffff88810aa70000 R14: ffff88810928c0e8 R15: 0000000000000000 FS: 00007fd8542af6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000103b92000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 83 e0 01 and $0x1,%eax 3: 89 44 24 28 mov %eax,0x28(%rsp) 7: 45 31 ff xor %r15d,%r15d a: 48 89 5c 24 30 mov %rbx,0x30(%rsp) f: 48 89 6c 24 18 mov %rbp,0x18(%rsp) 14: 44 89 64 24 2c mov %r12d,0x2c(%rsp) 19: 41 8d 04 2f lea (%r15,%rbp,1),%eax 1d: 49 8b 8d d0 00 00 00 mov 0xd0(%r13),%rcx 24: 8b 54 24 04 mov 0x4(%rsp),%edx 28: 21 d0 and %edx,%eax * 2a: 44 8b 2c 81 mov (%rcx,%rax,4),%r13d <-- trapping instruction 2e: 41 39 d5 cmp %edx,%r13d 31: 0f 87 ad 00 00 00 ja 0xe4 37: 44 89 ed mov %r13d,%ebp 3a: 8b 4c 24 28 mov 0x28(%rsp),%ecx 3e: d3 e5 shl %cl,%ebp