[ 4.003505] ------------[ cut here ]------------ [ 4.003603] refcount_t: underflow; use-after-free. [ 4.003678] WARNING: CPU: 0 PID: 66 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 4.003790] Modules linked in: [ 4.003844] CPU: 0 UID: 0 PID: 66 Comm: kworker/u16:1 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 4.003982] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.004054] Workqueue: netns cleanup_net [ 4.004110] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 4.004170] Code: b5 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 d2 b5 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 [ 4.004398] RSP: 0018:ffffbb3c4024fd50 EFLAGS: 00010286 [ 4.004466] RAX: 0000000000000000 RBX: ffffbb3c4024fd60 RCX: 00000000ffffdfff [ 4.004569] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 4.004675] RBP: ffffbb3c4024f878 R08: ffffffffb615ca28 R09: 00000000ffffdfff [ 4.004768] R10: ffffffffb607ca40 R11: ffffffffb612ca40 R12: dead000000000122 [ 4.004857] R13: 00000000fffb7b41 R14: 0000000000000001 R15: ffff94024329a000 [ 4.004957] FS: 0000000000000000(0000) GS:ffff9402c83c0000(0000) knlGS:0000000000000000 [ 4.005057] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.005135] CR2: 00007ffd1eca2dc8 CR3: 00000000045b8004 CR4: 0000000000772ef0 [ 4.005230] PKRU: 55555554 [ 4.005259] Call Trace: [ 4.005295] [ 4.005334] netdev_run_todo+0x21a/0x550 [ 4.005406] ops_undo_list+0x1e3/0x1f0 [ 4.005469] cleanup_net+0x1b7/0x2b0 [ 4.005520] process_one_work+0x162/0x380 [ 4.005575] worker_thread+0x299/0x3c0 [ 4.005631] ? rescuer_thread+0x4c0/0x4c0 [ 4.005674] kthread+0x101/0x1f0 [ 4.005720] ? kthreads_online_cpu+0x110/0x110 [ 4.005785] ? kthreads_online_cpu+0x110/0x110 [ 4.005847] ret_from_fork+0x11c/0x140 [ 4.005906] ? kthreads_online_cpu+0x110/0x110 [ 4.005966] ret_from_fork_asm+0x11/0x20 [ 4.006019] [ 4.006049] ---[ end trace 0000000000000000 ]--- [ 89.264190] netem: version 1.3 [ 670.071718] tc (26298) used greatest stack depth: 11864 bytes left [ 738.821323] pm_nl_ctl (30426) used greatest stack depth: 11800 bytes left