------------[ cut here ]------------ ida_free called for id=3078 which is not allocated. WARNING: CPU: 0 PID: 16310 at lib/idr.c:592 ida_free+0x280/0x310 lib/idr.c:592 Modules linked in: CPU: 0 UID: 0 PID: 16310 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:ida_free+0x280/0x310 lib/idr.c:592 Code: 00 00 00 00 fc ff df 48 8b 5c 24 10 48 8b 7c 24 40 48 89 de e8 31 28 0c 00 90 48 c7 c7 c0 26 76 8c 44 89 fe e8 e1 8c 55 f6 90 <0f> 0b 90 90 eb 34 e8 c5 02 92 f6 49 bd 00 00 00 00 00 fc ff df eb RSP: 0018:ffffc900053ff260 EFLAGS: 00010246 RAX: abc148c6a1fd0b00 RBX: 0000000000000a02 RCX: ffff888026bf5a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900053ff358 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1b7a1d4 R12: 1ffff92000a7fe50 R13: dffffc0000000000 R14: ffff88804a866a00 R15: 0000000000000c06 FS: 0000000000000000(0000) GS:ffff88812637e000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f5407000 CR3: 00000000375e8000 CR4: 00000000003526f0 Call Trace: proc_free_inum fs/proc/generic.c:216 [inline] pde_put+0x7e/0x1b0 fs/proc/generic.c:696 remove_proc_subtree+0x3e8/0x530 fs/proc/generic.c:796 snmp6_unregister_dev+0xae/0xf0 net/ipv6/proc.c:274 addrconf_ifdown+0x240/0x1880 net/ipv6/addrconf.c:3870 addrconf_notify+0x1bc/0x1010 net/ipv6/addrconf.c:-1 notifier_call_chain+0x1b6/0x3e0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2267 [inline] call_netdevice_notifiers net/core/dev.c:2281 [inline] unregister_netdevice_many_notify+0x14d7/0x1ff0 net/core/dev.c:12166 macvlan_device_event+0x7d2/0x860 drivers/net/macvlan.c:1834 notifier_call_chain+0x1b6/0x3e0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2267 [inline] call_netdevice_notifiers net/core/dev.c:2281 [inline] unregister_netdevice_many_notify+0x14d7/0x1ff0 net/core/dev.c:12166 unregister_netdevice_many net/core/dev.c:12229 [inline] unregister_netdevice_queue+0x33c/0x380 net/core/dev.c:12073 unregister_netdevice include/linux/netdevice.h:3385 [inline] __tun_detach+0xda4/0x1560 drivers/net/tun.c:621 tun_detach drivers/net/tun.c:637 [inline] tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3436 __fput+0x44c/0xa70 fs/file_table.c:468 task_work_run+0x1d4/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6b5/0x2300 kernel/exit.c:961 do_group_exit+0x21c/0x2d0 kernel/exit.c:1102 __do_sys_exit_group kernel/exit.c:1113 [inline] __se_sys_exit_group kernel/exit.c:1111 [inline] __ia32_sys_exit_group+0x3f/0x40 kernel/exit.c:1111 ia32_sys_call+0x21f4/0x2200 arch/x86/include/generated/asm/syscalls_32.h:253 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb6/0x2b0 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x34/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf704e539 Code: Unable to access opcode bytes at 0xf704e50f. RSP: 002b:00000000f753fd0c EFLAGS: 00000206 ORIG_RAX: 00000000000000fc RAX: ffffffffffffffda RBX: 0000000000000043 RCX: 00000000f753fd58 RDX: 0000000000000000 RSI: 0000000000001388 RDI: 00000000f7181956 RBP: 00000000f73e5ff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000