[ 3.133574] ------------[ cut here ]------------ [ 3.133654] refcount_t: underflow; use-after-free. [ 3.133722] WARNING: CPU: 3 PID: 64 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 3.133810] Modules linked in: [ 3.133854] CPU: 3 UID: 0 PID: 64 Comm: kworker/u16:1 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 3.133947] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.134012] Workqueue: netns cleanup_net [ 3.134062] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 3.134120] Code: 91 e8 48 df ba ff 90 0f 0b 90 90 c3 80 3d c9 50 ec 00 00 75 89 c6 05 c0 50 ec 00 01 90 48 c7 c7 c8 4a f2 91 e8 25 df ba ff 90 <0f> 0b 90 90 c3 80 3d a4 50 ec 00 00 0f 85 62 ff ff ff c6 05 97 50 [ 3.134305] RSP: 0018:ffffa9b78023fd50 EFLAGS: 00010286 [ 3.134355] RAX: 0000000000000000 RBX: ffffa9b78023fd60 RCX: 00000000ffffdfff [ 3.134433] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 3.134509] RBP: ffffa9b78023f878 R08: ffffffff9235ca28 R09: 00000000ffffdfff [ 3.134588] R10: ffffffff9227ca40 R11: ffffffff9232ca40 R12: dead000000000122 [ 3.134671] R13: 00000000fffb77d5 R14: 0000000000000001 R15: ffff92af06f99000 [ 3.134748] FS: 0000000000000000(0000) GS:ffff92afac340000(0000) knlGS:0000000000000000 [ 3.134829] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.134889] CR2: 00007fa871839000 CR3: 0000000036a47001 CR4: 0000000000772ef0 [ 3.134965] PKRU: 55555554 [ 3.134990] Call Trace: [ 3.135018] [ 3.135046] netdev_run_todo+0x21a/0x550 [ 3.135097] ops_undo_list+0x1e3/0x1f0 [ 3.135141] cleanup_net+0x1b7/0x2b0 [ 3.135178] process_one_work+0x162/0x380 [ 3.135227] worker_thread+0x299/0x3c0 [ 3.135271] ? rescuer_thread+0x4c0/0x4c0 [ 3.135311] kthread+0x101/0x1f0 [ 3.135357] ? kthreads_online_cpu+0x110/0x110 [ 3.135408] ? kthreads_online_cpu+0x110/0x110 [ 3.135467] ret_from_fork+0x11c/0x140 [ 3.135514] ? kthreads_online_cpu+0x110/0x110 [ 3.135568] ret_from_fork_asm+0x11/0x20 [ 3.135620] [ 3.135644] ---[ end trace 0000000000000000 ]--- [ 6.290658] netem: version 1.3