RBP: 00007faa98b7e120 R08: 0000000020000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007faa97fabf80 R15: 00007ffc85356f68 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8343 at fs/libfs.c:2117 stashed_dentry_prune+0x97/0xa0 fs/libfs.c:2117 Modules linked in: CPU: 0 PID: 8343 Comm: syz-executor.3 Not tainted 6.8.0-syzkaller-05271-gf99c5f563c17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:stashed_dentry_prune+0x97/0xa0 fs/libfs.c:2117 Code: 00 00 e8 ac c1 e2 ff 31 c9 4c 89 f0 f0 49 0f b1 0f eb 05 e8 fb 78 7f ff 5b 41 5c 41 5e 41 5f c3 cc cc cc cc e8 ea 78 7f ff 90 <0f> 0b 90 eb e9 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90010a07788 EFLAGS: 00010293 RAX: ffffffff82157786 RBX: ffff88805fa17120 RCX: ffff888022ec9e00 RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffff88805fa17028 RBP: 0000000000000001 R08: ffffffff820fa1d4 R09: 1ffff1100bf42e18 R10: dffffc0000000000 R11: ffffffff821576f0 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88805fa17028 R15: 0000000000000000 FS: 00007faa98b7e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f57ebfafee6 CR3: 000000007b128000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __dentry_kill+0xa9/0x630 fs/dcache.c:594 dput+0x19f/0x2b0 fs/dcache.c:845 prepare_anon_dentry fs/libfs.c:2018 [inline] path_from_stashed+0x695/0xb00 fs/libfs.c:2094 pidfs_alloc_file+0x136/0x210 fs/pidfs.c:248 __pidfd_prepare kernel/fork.c:2028 [inline] pidfd_prepare+0x7c/0x130 kernel/fork.c:2076 sk_getsockopt+0x2b7e/0x3890 net/core/sock.c:1782 do_sock_getsockopt+0x270/0x850 net/socket.c:2365 __sys_getsockopt+0x271/0x330 net/socket.c:2402 __do_sys_getsockopt net/socket.c:2412 [inline] __se_sys_getsockopt net/socket.c:2409 [inline] __x64_sys_getsockopt+0xb5/0xd0 net/socket.c:2409 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7faa97e7dea9 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:00007faa98b7e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007faa97fabf80 RCX: 00007faa97e7dea9 RDX: 000000000000004d RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007faa98b7e120 R08: 0000000020000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007faa97fabf80 R15: 00007ffc85356f68