R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fe2ea5abf80 R15: 00007ffda1214098 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8771 at fs/libfs.c:2117 stashed_dentry_prune+0x97/0xa0 fs/libfs.c:2117 Modules linked in: CPU: 1 PID: 8771 Comm: syz-executor.1 Not tainted 6.8.0-syzkaller-05236-g443574b03387 #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 7b 77 7f ff 5b 41 5c 41 5e 41 5f c3 cc cc cc cc e8 6a 77 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:ffffc9000da8f528 EFLAGS: 00010293 RAX: ffffffff82157906 RBX: ffff88805e97b878 RCX: ffff88807aa43c00 RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffff88805e97b780 RBP: 0000000000000001 R08: ffffffff820fa354 R09: 1ffff1100bd2f703 R10: dffffc0000000000 R11: ffffffff82157870 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88805e97b780 R15: 0000000000000000 FS: 00007fe2eb16b6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31321000 CR3: 000000001b7e8000 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 scm_pidfd_recv include/net/scm.h:147 [inline] scm_recv_unix+0x637/0xad0 include/net/scm.h:208 __unix_dgram_recvmsg+0xe22/0x1450 net/unix/af_unix.c:2511 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0x22f/0x280 net/socket.c:1068 ____sys_recvmsg+0x1db/0x470 net/socket.c:2803 ___sys_recvmsg net/socket.c:2845 [inline] __sys_recvmsg+0x2f0/0x3e0 net/socket.c:2875 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fe2ea47dea9 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:00007fe2eb16b0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007fe2ea5abf80 RCX: 00007fe2ea47dea9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007fe2eb16b120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fe2ea5abf80 R15: 00007ffda1214098