[ 9.171440] ------------[ cut here ]------------ [ 9.171505] refcount_t: underflow; use-after-free. [ 9.171567] WARNING: CPU: 0 PID: 12 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 9.171628] Modules linked in: veth nf_tables [ 9.171678] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 9.171745] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.171791] Workqueue: netns cleanup_net [ 9.171826] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 9.171863] Code: b4 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 31 b4 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 [ 9.171977] RSP: 0018:ffffbb3a40067d50 EFLAGS: 00010286 [ 9.172015] RAX: 0000000000000000 RBX: ffffbb3a40067d60 RCX: 00000000ffffdfff [ 9.172066] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 9.172113] RBP: ffffbb3a40067868 R08: ffffffffb4756d28 R09: 00000000ffffdfff [ 9.172166] R10: ffffffffb4676d40 R11: ffffffffb4726d40 R12: dead000000000122 [ 9.172219] R13: 00000000fffb8f77 R14: 0000000000000001 R15: ffff957009a06000 [ 9.172274] FS: 0000000000000000(0000) GS:ffff957089dd8000(0000) knlGS:0000000000000000 [ 9.172331] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9.172375] CR2: 00000000004e5a60 CR3: 0000000006e37006 CR4: 0000000000772ef0 [ 9.172434] PKRU: 55555554 [ 9.172456] Call Trace: [ 9.172480] [ 9.172501] netdev_run_todo+0x21a/0x550 [ 9.172543] ops_undo_list+0x1e3/0x1f0 [ 9.172580] cleanup_net+0x1b7/0x2b0 [ 9.172610] process_one_work+0x162/0x380 [ 9.172654] worker_thread+0x299/0x3c0 [ 9.172686] ? rescuer_thread+0x4c0/0x4c0 [ 9.172719] kthread+0x101/0x1f0 [ 9.172754] ? kthreads_online_cpu+0x110/0x110 [ 9.172790] ? kthreads_online_cpu+0x110/0x110 [ 9.172829] ret_from_fork+0x11c/0x140 [ 9.172865] ? kthreads_online_cpu+0x110/0x110 [ 9.172903] ret_from_fork_asm+0x11/0x20 [ 9.172937] [ 9.172957] ---[ end trace 0000000000000000 ]---