[ 2.065921] bond0: (slave eth0): making interface the new active one [ 2.066047] bond0: (slave eth0): Enslaving as an active interface with an up link [ 6.265378] bond0: (slave eth0): Releasing backup interface [ 6.343905] bond0: (slave eth0): Enslaving as an active interface with an up link [ 10.487854] ------------[ cut here ]------------ [ 10.487996] refcount_t: underflow; use-after-free. [ 10.488107] WARNING: CPU: 2 PID: 242 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 10.488243] Modules linked in: [ 10.488313] CPU: 2 UID: 0 PID: 242 Comm: kworker/u16:2 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 10.488404] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.488481] Workqueue: netns cleanup_net [ 10.488547] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 10.488623] Code: 8a e8 88 98 ba ff 90 0f 0b 90 90 c3 80 3d 69 b4 eb 00 00 75 89 c6 05 60 b4 eb 00 01 90 48 c7 c7 98 6e 34 8a e8 65 98 ba ff 90 <0f> 0b 90 90 c3 80 3d 44 b4 eb 00 00 0f 85 62 ff ff ff c6 05 37 b4 [ 10.488819] RSP: 0018:ffffa1ee8059fd50 EFLAGS: 00010286 [ 10.488889] RAX: 0000000000000000 RBX: ffffa1ee8059fd60 RCX: 00000000ffffdfff [ 10.489013] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 10.489113] RBP: ffffa1ee8059f878 R08: ffffffff8a756a28 R09: 00000000ffffdfff [ 10.489219] R10: ffffffff8a676a40 R11: ffffffff8a726a40 R12: dead000000000122 [ 10.489304] R13: 00000000fffb9498 R14: 0000000000000001 R15: ffff8dc1c321d000 [ 10.489408] FS: 0000000000000000(0000) GS:ffff8dc273eb7000(0000) knlGS:0000000000000000 [ 10.489516] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 10.489587] CR2: 0000557f11c7fdec CR3: 0000000004e1a001 CR4: 0000000000772ef0 [ 10.489682] PKRU: 55555554 [ 10.489728] Call Trace: [ 10.489779] [ 10.489835] netdev_run_todo+0x21a/0x550 [ 10.489910] ops_undo_list+0x1e3/0x1f0 [ 10.489968] cleanup_net+0x1b7/0x2b0 [ 10.490031] process_one_work+0x162/0x380 [ 10.490098] worker_thread+0x299/0x3c0 [ 10.490154] ? rescuer_thread+0x4c0/0x4c0 [ 10.490208] kthread+0x101/0x1f0 [ 10.490263] ? kthreads_online_cpu+0x110/0x110 [ 10.490331] ? kthreads_online_cpu+0x110/0x110 [ 10.490394] ret_from_fork+0x11c/0x140 [ 10.490462] ? kthreads_online_cpu+0x110/0x110 [ 10.490526] ret_from_fork_asm+0x11/0x20 [ 10.490587] [ 10.490632] ---[ end trace 0000000000000000 ]--- [ 10.491085] bond0: (slave eth0): Releasing backup interface [ 10.513183] bond0 (unregistering): Released all slaves