------------[ cut here ]------------ WARNING: CPU: 0 PID: 687 at net/l2tp/l2tp_core.c:1881 l2tp_exit_net+0x170/0x178 net/l2tp/l2tp_core.c:1881 Modules linked in: CPU: 0 UID: 0 PID: 687 Comm: kworker/u8:7 Not tainted 6.12.0-rc6-syzkaller-g563047e691f2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: netns cleanup_net pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : l2tp_exit_net+0x170/0x178 net/l2tp/l2tp_core.c:1881 lr : idr_is_empty include/linux/idr.h:162 [inline] lr : l2tp_exit_net+0x168/0x178 net/l2tp/l2tp_core.c:1881 sp : ffff80009d4379d0 x29: ffff80009d4379d0 x28: ffff80009d437a60 x27: 00000000ffffffff x26: 1ffff00012523aec x25: ffff80009291d740 x24: ffff800092717a00 x23: ffff0000f0429d80 x22: dfff800000000000 x21: 0000000004000000 x20: ffff0000cfd80888 x19: ffff0000cfd80840 x18: 1fffe000366c6c76 x17: ffff80008f80d000 x16: ffff800080586484 x15: 0000000000000001 x14: ffff80008f8105d8 x13: dfff800000000000 x12: 0000000094151aa3 x11: 00000000ea20018d x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c711bc80 x7 : ffff80008a8f4578 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000002 Call trace: l2tp_exit_net+0x170/0x178 net/l2tp/l2tp_core.c:1881 (P) idr_is_empty include/linux/idr.h:162 [inline] (L) l2tp_exit_net+0x168/0x178 net/l2tp/l2tp_core.c:1881 (L) ops_exit_list net/core/net_namespace.c:173 [inline] cleanup_net+0x640/0x9b4 net/core/net_namespace.c:626 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 irq event stamp: 1970498 hardirqs last enabled at (1970497): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (1970497): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (1970498): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (1970470): [] l2tp_ip_exit_net+0xcc/0x134 net/l2tp/l2tp_ip.c:682 softirqs last disabled at (1970468): [] l2tp_ip_exit_net+0x3c/0x134 net/l2tp/l2tp_ip.c:679 ---[ end trace 0000000000000000 ]--- hsr_slave_0: left promiscuous mode hsr_slave_1: left promiscuous mode batman_adv: batadv0: Interface deactivated: batadv_slave_0 batman_adv: batadv0: Removing interface: batadv_slave_0 batman_adv: batadv0: Interface deactivated: batadv_slave_1 batman_adv: batadv0: Removing interface: batadv_slave_1 veth1_macvtap: left promiscuous mode veth0_macvtap: left promiscuous mode veth1_vlan: left promiscuous mode veth0_vlan: left promiscuous mode team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device team_slave_0 removed