[ 3.629840] ------------[ cut here ]------------ [ 3.629923] refcount_t: underflow; use-after-free. [ 3.630013] WARNING: CPU: 3 PID: 12 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 3.630116] Modules linked in: nf_conntrack_netlink tcp_diag inet_diag nf_conntrack_ftp nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables veth [ 3.630275] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 3.630381] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.630455] Workqueue: netns cleanup_net [ 3.630505] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 3.630570] Code: b8 e8 18 ed b9 ff 90 0f 0b 90 90 c3 80 3d d9 ea ea 00 00 75 89 c6 05 d0 ea ea 00 01 90 48 c7 c7 78 de 71 b8 e8 f5 ec b9 ff 90 <0f> 0b 90 90 c3 80 3d b4 ea ea 00 00 0f 85 62 ff ff ff c6 05 a7 ea [ 3.630781] RSP: 0018:ffffb32d40067d50 EFLAGS: 00010286 [ 3.630844] RAX: 0000000000000000 RBX: ffffb32d40067d60 RCX: 00000000ffffdfff [ 3.630930] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 3.631017] RBP: ffffb32d40067868 R08: ffffffffb8b56d28 R09: 00000000ffffdfff [ 3.631101] R10: ffffffffb8a76d40 R11: ffffffffb8b26d40 R12: dead000000000122 [ 3.631179] R13: 00000000fffb79c8 R14: 0000000000000001 R15: ffff8aa9c4f09000 [ 3.631271] FS: 0000000000000000(0000) GS:ffff8aaa45b58000(0000) knlGS:0000000000000000 [ 3.631358] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.631429] CR2: 00007f41b3981000 CR3: 0000000022841003 CR4: 0000000000772ef0 [ 3.631521] PKRU: 55555554 [ 3.631550] Call Trace: [ 3.631582] [ 3.631610] netdev_run_todo+0x21a/0x550 [ 3.631668] ops_undo_list+0x1e3/0x1f0 [ 3.631724] cleanup_net+0x1b7/0x2b0 [ 3.631774] process_one_work+0x162/0x380 [ 3.631824] worker_thread+0x299/0x3c0 [ 3.631865] ? rescuer_thread+0x4c0/0x4c0 [ 3.631912] kthread+0x101/0x1f0 [ 3.631962] ? kthreads_online_cpu+0x110/0x110 [ 3.632025] ? kthreads_online_cpu+0x110/0x110 [ 3.632081] ret_from_fork+0x11c/0x140 [ 3.632134] ? kthreads_online_cpu+0x110/0x110 [ 3.632190] ret_from_fork_asm+0x11/0x20 [ 3.632244] [ 3.632272] ---[ end trace 0000000000000000 ]---