------------[ cut here ]------------ WARNING: CPU: 0 PID: 1905 at fs/libfs.c:2117 stashed_dentry_prune+0x97/0xa0 fs/libfs.c:2117 Modules linked in: CPU: 0 PID: 1905 Comm: syz-executor.3 Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:stashed_dentry_prune+0x97/0xa0 fs/libfs.c:2117 Code: 00 00 e8 ac c4 e2 ff 31 c9 4c 89 f0 f0 49 0f b1 0f eb 05 e8 5b 8d 80 ff 5b 41 5c 41 5e 41 5f c3 cc cc cc cc e8 4a 8d 80 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:ffffc90009a474c8 EFLAGS: 00010246 RAX: ffffffff821472d6 RBX: ffff888025599410 RCX: 0000000000040000 RDX: ffffc9000a479000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000001 R08: ffffffff820e9d24 R09: 1ffff11004ab3276 R10: dffffc0000000000 R11: ffffffff82147240 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888025599318 R15: 0000000000000000 FS: 00007f3e2b4486c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f49765a8000 CR3: 000000005f262000 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 proc_ns_get_link+0xf9/0x230 fs/proc/namespaces.c:61 pick_link+0x631/0xd50 step_into+0xca9/0x1080 fs/namei.c:1875 open_last_lookups fs/namei.c:3590 [inline] path_openat+0x18b0/0x3240 fs/namei.c:3797 do_filp_open+0x235/0x490 fs/namei.c:3827 do_sys_openat2+0x13e/0x1d0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1433 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f3e2a67c9a0 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 09 82 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 5c 82 02 00 8b 44 RSP: 002b:00007f3e2b447fa0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f3e2a67c9a0 RDX: 0000000000000002 RSI: 00007f3e2b448030 RDI: 00000000ffffff9c RBP: 00007f3e2b448030 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 000000000000000b R14: 00007f3e2a7abf80 R15: 00007f3e2a8cfa48