Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 0 UID: 0 PID: 7665 Comm: syz.1.349 Not tainted 6.12.0-rc5-next-20241031-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:io_uring_show_fdinfo+0xeed/0x1810 io_uring/fdinfo.c:181 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 cb 68 3c f6 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 a5 68 3c f6 4d 89 fe 48 8b 1b 48 89 RSP: 0018:ffffc9000356f7a0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000018 RCX: dffffc0000000000 RDX: ffffc900046d2000 RSI: 0000000000000833 RDI: 0000000000000834 RBP: ffffc9000356f9e0 R08: ffffffff821d3660 R09: 1ffff1100cac1c2b R10: dffffc0000000000 R11: ffffed100cac1c2c R12: 0000000000000002 R13: dffffc0000000000 R14: ffff888063a7a128 R15: ffff888063a7a120 FS: 00007f4cfa6fd6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9764da318 CR3: 000000007c072000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seq_show+0x608/0x770 fs/proc/fd.c:68 seq_read_iter+0x43f/0xd70 fs/seq_file.c:230 seq_read+0x3a9/0x4f0 fs/seq_file.c:162 vfs_read+0x1fc/0xb70 fs/read_write.c:567 ksys_pread64 fs/read_write.c:764 [inline] __do_sys_pread64 fs/read_write.c:774 [inline] __se_sys_pread64 fs/read_write.c:771 [inline] __x64_sys_pread64+0x1aa/0x230 fs/read_write.c:771 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4cf997e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4cfa6fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000011 RAX: ffffffffffffffda RBX: 00007f4cf9b35f80 RCX: 00007f4cf997e719 RDX: 00000000000000ed RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f4cf99f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4cf9b35f80 R15: 00007ffda9286298 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:io_uring_show_fdinfo+0xeed/0x1810 io_uring/fdinfo.c:181 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 cb 68 3c f6 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 a5 68 3c f6 4d 89 fe 48 8b 1b 48 89 RSP: 0018:ffffc9000356f7a0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000018 RCX: dffffc0000000000 RDX: ffffc900046d2000 RSI: 0000000000000833 RDI: 0000000000000834 RBP: ffffc9000356f9e0 R08: ffffffff821d3660 R09: 1ffff1100cac1c2b R10: dffffc0000000000 R11: ffffed100cac1c2c R12: 0000000000000002 R13: dffffc0000000000 R14: ffff888063a7a128 R15: ffff888063a7a120 FS: 00007f4cfa6fd6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056154c679000 CR3: 000000007c072000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 4: 74 08 je 0xe 6: 48 89 df mov %rbx,%rdi 9: e8 cb 68 3c f6 call 0xf63c68d9 e: 48 8b 1b mov (%rbx),%rbx 11: 48 83 c3 18 add $0x18,%rbx 15: 48 89 d8 mov %rbx,%rax 18: 48 c1 e8 03 shr $0x3,%rax 1c: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 23: fc ff df * 26: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2a: 74 08 je 0x34 2c: 48 89 df mov %rbx,%rdi 2f: e8 a5 68 3c f6 call 0xf63c68d9 34: 4d 89 fe mov %r15,%r14 37: 48 8b 1b mov (%rbx),%rbx 3a: 48 rex.W 3b: 89 .byte 0x89