------------[ cut here ]------------ WARNING: CPU: 0 PID: 9417 at fs/libfs.c:2117 stashed_dentry_prune+0x97/0xa0 fs/libfs.c:2117 Modules linked in: CPU: 0 PID: 9417 Comm: syz-executor.5 Not tainted 6.8.0-syzkaller-00711-g045395d86acd #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 dc c7 e2 ff 31 c9 4c 89 f0 f0 49 0f b1 0f eb 05 e8 8b a8 80 ff 5b 41 5c 41 5e 41 5f e9 4f 43 60 09 e8 7a a8 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:ffffc9001794f4c8 EFLAGS: 00010246 RAX: ffffffff821313d6 RBX: ffff888099453e58 RCX: 0000000000040000 RDX: ffffc90009e4b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000001 R08: ffffffff820d3e74 R09: 1ffff1101328a7bf R10: dffffc0000000000 R11: ffffffff82131340 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888099453d60 R15: 0000000000000000 FS: 00007fce203036c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e4d379198 CR3: 000000002d6ac000 CR4: 0000000000350ef0 Call Trace: __dentry_kill+0xab/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+0x632/0xd50 step_into+0xca9/0x1080 fs/namei.c:1875 open_last_lookups fs/namei.c:3590 [inline] path_openat+0x18af/0x3240 fs/namei.c:3797 do_filp_open+0x234/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+0x6f/0x77 RIP: 0033:0x7fce1f67c9a0 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:00007fce20302ff0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fce1f67c9a0 RDX: 0000000000000000 RSI: 00007fce1f6c9265 RDI: 00000000ffffff9c RBP: 00007fce1f6c9265 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 000000000000000b R14: 00007fce1f7abf80 R15: 00007ffdd87674b8