[ 2.981776] netem: version 1.3 [ 104.826015] ------------[ cut here ]------------ [ 104.826148] refcount_t: underflow; use-after-free. [ 104.826269] WARNING: CPU: 3 PID: 65 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 104.826382] Modules linked in: sch_netem [ 104.826425] CPU: 3 UID: 0 PID: 65 Comm: kworker/u16:1 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 104.826523] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 104.826593] Workqueue: netns cleanup_net [ 104.826701] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 104.826762] Code: b0 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 b0 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 [ 104.826951] RSP: 0018:ffffc1b5c0247d50 EFLAGS: 00010286 [ 104.827010] RAX: 0000000000000000 RBX: ffffc1b5c0247d60 RCX: 00000000ffffdfff [ 104.827087] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 104.827170] RBP: ffffc1b5c0247878 R08: ffffffffb135ca28 R09: 00000000ffffdfff [ 104.827245] R10: ffffffffb127ca40 R11: ffffffffb132ca40 R12: dead000000000122 [ 104.827321] R13: 00000000fffd0512 R14: 0000000000000001 R15: ffff9c4183218000 [ 104.827404] FS: 0000000000000000(0000) GS:ffff9c420d340000(0000) knlGS:0000000000000000 [ 104.827487] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 104.827554] CR2: 000055ceb3bd2dec CR3: 0000000002f66003 CR4: 0000000000772ef0 [ 104.827656] PKRU: 55555554 [ 104.827695] Call Trace: [ 104.827728] [ 104.827761] netdev_run_todo+0x21a/0x550 [ 104.827821] ops_undo_list+0x1e3/0x1f0 [ 104.827873] cleanup_net+0x1b7/0x2b0 [ 104.827920] process_one_work+0x162/0x380 [ 104.827983] worker_thread+0x299/0x3c0 [ 104.828026] ? rescuer_thread+0x4c0/0x4c0 [ 104.828072] kthread+0x101/0x1f0 [ 104.828128] ? kthreads_online_cpu+0x110/0x110 [ 104.828185] ? kthreads_online_cpu+0x110/0x110 [ 104.828236] ret_from_fork+0x11c/0x140 [ 104.828295] ? kthreads_online_cpu+0x110/0x110 [ 104.828351] ret_from_fork_asm+0x11/0x20 [ 104.828409] [ 104.828435] ---[ end trace 0000000000000000 ]---