------------[ cut here ]------------ remove_proc_entry: removing non-empty directory 'net/rpc', leaking at least 'nfs' WARNING: CPU: 1 PID: 11996 at fs/proc/generic.c:727 remove_proc_entry+0x45e/0x530 fs/proc/generic.c:727 Modules linked in: CPU: 1 UID: 0 PID: 11996 Comm: syz.2.1487 Not tainted 6.14.0-syzkaller-09584-g7d06015d936c #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:remove_proc_entry+0x45e/0x530 fs/proc/generic.c:727 Code: 3c 02 00 0f 85 85 00 00 00 48 8b 93 d8 00 00 00 4d 89 f0 4c 89 e9 48 c7 c6 00 23 a2 8b 48 c7 c7 20 22 a2 8b e8 43 bf 21 ff 90 <0f> 0b 90 90 e9 5f fe ff ff e8 04 29 62 ff 90 48 b8 00 00 00 00 00 RSP: 0018:ffffc90019917b70 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88807a40d000 RCX: ffffc9000c0a9000 RDX: 0000000000080000 RSI: ffffffff817ade75 RDI: 0000000000000001 RBP: ffff888042031700 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000013eb0 R12: ffff888042031640 R13: ffff888042031724 R14: ffff888029127364 R15: dffffc0000000000 FS: 00007fc7819b46c0(0000) GS:ffff888124ae4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdc8cd56d58 CR3: 0000000024d58000 CR4: 00000000003526f0 Call Trace: sunrpc_exit_net+0x46/0x90 net/sunrpc/sunrpc_syms.c:76 ops_exit_list+0xb0/0x180 net/core/net_namespace.c:172 setup_net+0x4e8/0x850 net/core/net_namespace.c:396 copy_net_ns+0x2a6/0x5f0 net/core/net_namespace.c:518 create_new_namespaces+0x3ea/0xad0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc0/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x45b/0xa40 kernel/fork.c:3337 __do_sys_unshare kernel/fork.c:3408 [inline] __se_sys_unshare kernel/fork.c:3406 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3406 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc780b8d169 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:00007fc7819b4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fc780da5fa0 RCX: 00007fc780b8d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000080 RBP: 00007fc780c0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc780da5fa0 R15: 00007fffbce0eab8