------------[ cut here ]------------ ida_free called for id=1082 which is not allocated. WARNING: CPU: 1 PID: 20246 at lib/idr.c:592 ida_free+0x1f9/0x2e0 lib/idr.c:592 Modules linked in: CPU: 1 UID: 0 PID: 20246 Comm: syz.0.2910 Tainted: GF R U syzkaller #0 PREEMPT(full) Tainted: [F]=FORCED_MODULE, [R]=FORCED_RMMOD, [U]=USER Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:ida_free+0x1f9/0x2e0 lib/idr.c:592 Code: 7c f6 41 83 fe 3e 76 72 e8 d4 44 7c f6 48 8b 7c 24 28 4c 89 ee e8 77 01 0d 00 90 48 c7 c7 c0 73 cf 8c 89 ee e8 a8 1a 3b f6 90 <0f> 0b 90 90 e8 ae 44 7c f6 48 b8 00 00 00 00 00 fc ff df 48 01 c3 RSP: 0018:ffffc900041afa08 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff92000835f42 RCX: ffffc9001cd98000 RDX: 0000000000080000 RSI: ffffffff81797cf5 RDI: 0000000000000001 RBP: 000000000000043a R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880312fcf00 R13: 0000000000000246 R14: 000000000000003a R15: ffff8880312fcf00 FS: 00007f3fb270e6c0(0000) GS:ffff888124f8c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3f047f5f98 CR3: 0000000024484000 CR4: 00000000003526f0 Call Trace: proc_free_inum fs/proc/generic.c:216 [inline] pde_put fs/proc/generic.c:696 [inline] pde_put+0xa9/0x1d0 fs/proc/generic.c:693 remove_proc_entry+0x2d3/0x530 fs/proc/generic.c:739 proc_net_ns_exit+0x3f/0x80 fs/proc/proc_net.c:404 ops_exit_list net/core/net_namespace.c:199 [inline] ops_undo_list+0x2ee/0xab0 net/core/net_namespace.c:252 setup_net+0x1e2/0x390 net/core/net_namespace.c:461 copy_net_ns+0x2f8/0x690 net/core/net_namespace.c:580 create_new_namespaces+0x3ea/0xa90 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc0/0x1f0 kernel/nsproxy.c:218 ksys_unshare+0x45b/0xa40 kernel/fork.c:3129 __do_sys_unshare kernel/fork.c:3200 [inline] __se_sys_unshare kernel/fork.c:3198 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3198 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3fb178eec9 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:00007f3fb270e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f3fb19e5fa0 RCX: 00007f3fb178eec9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000080 RBP: 00007f3fb1811f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3fb19e6038 R14: 00007f3fb19e5fa0 R15: 00007ffc6793b4d8