[ 2.004924] ------------[ cut here ]------------ [ 2.005047] refcount_t: underflow; use-after-free. [ 2.005110] WARNING: CPU: 0 PID: 67 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 2.005184] Modules linked in: veth [ 2.005219] CPU: 0 UID: 0 PID: 67 Comm: kworker/u16:1 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.005294] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.005344] Workqueue: netns cleanup_net [ 2.005388] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 2.005441] Code: a6 e8 f8 c3 ba ff 90 0f 0b 90 90 c3 80 3d 39 c1 eb 00 00 75 89 c6 05 30 c1 eb 00 01 90 48 c7 c7 30 a0 b1 a6 e8 d5 c3 ba ff 90 <0f> 0b 90 90 c3 80 3d 14 c1 eb 00 00 0f 85 62 ff ff ff c6 05 07 c1 [ 2.005588] RSP: 0018:ffffaf0040253d50 EFLAGS: 00010286 [ 2.005631] RAX: 0000000000000000 RBX: ffffaf0040253d60 RCX: 00000000ffffdfff [ 2.005717] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 2.005805] RBP: ffffaf0040253880 R08: ffffffffa6f56a28 R09: 00000000ffffdfff [ 2.005894] R10: ffffffffa6e76a40 R11: ffffffffa6f26a40 R12: dead000000000122 [ 2.005971] R13: 00000000fffb736f R14: 0000000000000001 R15: ffffa0be851b9000 [ 2.006042] FS: 0000000000000000(0000) GS:ffffa0bf175e2000(0000) knlGS:0000000000000000 [ 2.006115] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.006183] CR2: 00007f4757ff64c0 CR3: 00000000029c4005 CR4: 0000000000772ef0 [ 2.006238] PKRU: 55555554 [ 2.006268] Call Trace: [ 2.006290] [ 2.006313] netdev_run_todo+0x21a/0x550 [ 2.006358] ops_undo_list+0x1e3/0x1f0 [ 2.006391] cleanup_net+0x1b7/0x2b0 [ 2.006440] process_one_work+0x162/0x380 [ 2.006484] worker_thread+0x299/0x3c0 [ 2.006551] ? rescuer_thread+0x4c0/0x4c0 [ 2.006591] kthread+0x101/0x1f0 [ 2.006625] ? kthreads_online_cpu+0x110/0x110 [ 2.006679] ? kthreads_online_cpu+0x110/0x110 [ 2.006721] ret_from_fork+0x11c/0x140 [ 2.006788] ? kthreads_online_cpu+0x110/0x110 [ 2.006849] ret_from_fork_asm+0x11/0x20 [ 2.006893] [ 2.006918] ---[ end trace 0000000000000000 ]---