[ 2.248788] ------------[ cut here ]------------ [ 2.248901] refcount_t: underflow; use-after-free. [ 2.248971] WARNING: CPU: 1 PID: 67 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 2.249065] Modules linked in: [ 2.249122] CPU: 1 UID: 0 PID: 67 Comm: kworker/u16:1 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.249225] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.249296] Workqueue: netns cleanup_net [ 2.249348] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 2.249412] Code: ad e8 e8 54 ba ff 90 0f 0b 90 90 c3 80 3d 00 e6 2b 01 00 75 89 c6 05 f7 e5 2b 01 01 90 48 c7 c7 f8 48 d5 ad e8 c5 54 ba ff 90 <0f> 0b 90 90 c3 80 3d db e5 2b 01 00 0f 85 62 ff ff ff c6 05 ce e5 [ 2.249608] RSP: 0018:ffffba8380257d50 EFLAGS: 00010286 [ 2.249660] RAX: 0000000000000000 RBX: ffffba8380257d60 RCX: 00000000ffffdfff [ 2.249746] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 2.249838] RBP: ffffba8380257858 R08: ffffffffae55ba28 R09: 00000000ffffdfff [ 2.249909] R10: ffffffffae47ba40 R11: ffffffffae52ba40 R12: dead000000000122 [ 2.249991] R13: 00000000fffb7466 R14: 0000000000000001 R15: ffff92230469a000 [ 2.250076] FS: 0000000000000000(0000) GS:ffff922390011000(0000) knlGS:0000000000000000 [ 2.250168] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.250237] CR2: 00007f4c3af10520 CR3: 0000000017846005 CR4: 0000000000772ef0 [ 2.250322] PKRU: 55555554 [ 2.250358] Call Trace: [ 2.250387] [ 2.250423] netdev_run_todo+0x21a/0x550 [ 2.250474] ops_undo_list+0x1e3/0x1f0 [ 2.250522] cleanup_net+0x1b7/0x300 [ 2.250574] process_one_work+0x162/0x380 [ 2.250625] worker_thread+0x299/0x3c0 [ 2.250676] ? rescuer_thread+0x4c0/0x4c0 [ 2.250725] kthread+0x101/0x1f0 [ 2.250778] ? kthreads_online_cpu+0x110/0x110 [ 2.250839] ? kthreads_online_cpu+0x110/0x110 [ 2.250895] ret_from_fork+0x11c/0x140 [ 2.250944] ? kthreads_online_cpu+0x110/0x110 [ 2.251007] ret_from_fork_asm+0x11/0x20 [ 2.251060] [ 2.251091] ---[ end trace 0000000000000000 ]---