[ 20.596172][ T263] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 20.750324][ T264] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 20.904488][ T265] bond0: (slave eth2): Enslaving as a backup interface with a down link [ 21.052577][ T266] bond0: (slave eth3): Enslaving as a backup interface with a down link [ 21.182695][ T267] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 21.349211][ T268] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 21.486259][ T269] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 21.636054][ T270] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 21.765586][ T12] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 21.771744][ T12] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 21.772782][ T12] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 21.773614][ T12] bond0: (slave eth2): link status definitely up, 10000 Mbps full duplex [ 21.775217][ T12] bond0: (slave eth3): link status definitely up, 10000 Mbps full duplex [ 21.775807][ T12] bond0: active interface up! [ 23.529964][ T12] bond0: (slave eth1): link status definitely down, disabling slave [ 23.545668][ T12] bond0: (slave eth1): link status definitely down, disabling slave [ 24.273690][ T12] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 24.364104][ T12] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 24.365056][ T12] bond0: active interface up! [ 26.449762][ T12] bond0: (slave eth1): link status definitely down, disabling slave [ 26.457679][ T12] bond0: (slave eth1): link status definitely down, disabling slave [ 27.178789][ T69] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 27.186674][ T69] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 29.121600][ T12] bond0 (unregistering): (slave eth0): Releasing backup interface [ 29.153765][ T12] bond0 (unregistering): (slave eth1): Releasing backup interface [ 29.164249][ T12] bond0 (unregistering): (slave eth2): Releasing backup interface [ 29.174488][ T12] bond0 (unregistering): (slave eth3): Removing an active aggregator [ 29.176333][ T12] bond0 (unregistering): (slave eth3): Releasing backup interface [ 29.184081][ T12] bond0 (unregistering): Released all slaves [ 29.197208][ T69] bond0: (slave eth0): link status definitely down, disabling slave [ 29.199015][ T69] bond0: (slave eth1): link status definitely down, disabling slave [ 29.202460][ T329] bond0: (slave eth0): link status definitely down, disabling slave [ 29.203862][ T329] bond0: (slave eth1): link status definitely down, disabling slave [ 29.204680][ T329] bond0: now running without any active interface! [ 29.207688][ T12] ================================================================== [ 29.208116][ T12] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0 [ 29.208547][ T12] Read of size 1 at addr ffff88800a4cc69c by task kworker/u16:0/12 [ 29.208934][ T12] [ 29.209084][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full) [ 29.209092][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.209097][ T12] Workqueue: netns cleanup_net [ 29.209108][ T12] Call Trace: [ 29.209111][ T12] [ 29.209115][ T12] dump_stack_lvl+0x82/0xc0 [ 29.209123][ T12] print_address_description.constprop.0+0x2c/0x3a0 [ 29.209132][ T12] ? kobject_put+0xbb/0xd0 [ 29.209138][ T12] print_report+0xb4/0x270 [ 29.209143][ T12] ? kobject_put+0xbb/0xd0 [ 29.209147][ T12] ? kasan_addr_to_slab+0x21/0x70 [ 29.209152][ T12] ? kobject_put+0xbb/0xd0 [ 29.209156][ T12] kasan_report+0xca/0x100 [ 29.209162][ T12] ? kobject_put+0xbb/0xd0 [ 29.209171][ T12] kobject_put+0xbb/0xd0 [ 29.209176][ T12] netdev_run_todo+0x5f0/0xc60 [ 29.209184][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 29.209189][ T12] ? unregister_netdevice_many+0x20/0x20 [ 29.209194][ T12] ? generic_xdp_install+0x410/0x410 [ 29.209198][ T12] ? __lock_release+0x5d/0x170 [ 29.209213][ T12] ops_undo_list+0x714/0x890 [ 29.209222][ T12] ? netns_get+0x110/0x110 [ 29.209227][ T12] ? cleanup_net+0x2d6/0x830 [ 29.209236][ T12] cleanup_net+0x3b2/0x830 [ 29.209243][ T12] ? net_passive_dec+0x190/0x190 [ 29.209250][ T12] ? rcu_is_watching+0x12/0xb0 [ 29.209260][ T12] process_one_work+0xe35/0x1650 [ 29.209274][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 29.209284][ T12] ? assign_work+0x168/0x240 [ 29.209292][ T12] worker_thread+0x591/0xcf0 [ 29.209302][ T12] ? rescuer_thread+0xd10/0xd10 [ 29.209308][ T12] kthread+0x37b/0x5f0 [ 29.209315][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 29.209319][ T12] ? ret_from_fork+0x1b/0x270 [ 29.209328][ T12] ? __lock_release+0x5d/0x170 [ 29.209334][ T12] ? rcu_is_watching+0x12/0xb0 [ 29.209339][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 29.209345][ T12] ret_from_fork+0x1db/0x270 [ 29.209350][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 29.209354][ T12] ret_from_fork_asm+0x11/0x20 [ 29.209370][ T12] [ 29.209373][ T12] [ 29.220741][ T12] Allocated by task 238: [ 29.220948][ T12] kasan_save_stack+0x24/0x40 [ 29.221390][ T12] kasan_save_track+0x14/0x30 [ 29.221653][ T12] __kasan_kmalloc+0x7b/0x90 [ 29.221924][ T12] __kvmalloc_node_noprof+0x2e5/0x8e0 [ 29.222195][ T12] alloc_netdev_mqs+0x7d/0x1310 [ 29.222464][ T12] sit_init_net+0x169/0x550 [ 29.222775][ T12] ops_init+0x189/0x550 [ 29.222984][ T12] setup_net+0xf1/0x380 [ 29.223206][ T12] copy_net_ns+0x21a/0x380 [ 29.223646][ T12] create_new_namespaces+0x35f/0x900 [ 29.223918][ T12] unshare_nsproxy_namespaces+0x89/0x120 [ 29.224200][ T12] ksys_unshare+0x2a3/0x660 [ 29.224475][ T12] __x64_sys_unshare+0x31/0x40 [ 29.224920][ T12] do_syscall_64+0xc1/0xfd0 [ 29.225178][ T12] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.225497][ T12] [ 29.225640][ T12] Freed by task 12: [ 29.225845][ T12] kasan_save_stack+0x24/0x40 [ 29.226282][ T12] kasan_save_track+0x14/0x30 [ 29.226551][ T12] __kasan_save_free_info+0x3b/0x60 [ 29.226832][ T12] __kasan_slab_free+0x3f/0x60 [ 29.227092][ T12] kfree+0x21d/0x540 [ 29.227460][ T12] device_release+0x9c/0x210 [ 29.227731][ T12] kobject_cleanup+0xfe/0x360 [ 29.227999][ T12] netdev_run_todo+0x81f/0xc60 [ 29.228262][ T12] ops_undo_list+0x714/0x890 [ 29.228531][ T12] cleanup_net+0x3b2/0x830 [ 29.228796][ T12] process_one_work+0xe35/0x1650 [ 29.229059][ T12] worker_thread+0x591/0xcf0 [ 29.229331][ T12] kthread+0x37b/0x5f0 [ 29.229703][ T12] ret_from_fork+0x1db/0x270 [ 29.229987][ T12] ret_from_fork_asm+0x11/0x20 [ 29.230247][ T12] [ 29.230384][ T12] The buggy address belongs to the object at ffff88800a4cc000 [ 29.230384][ T12] which belongs to the cache kmalloc-4k of size 4096 [ 29.231197][ T12] The buggy address is located 1692 bytes inside of [ 29.231197][ T12] freed 4096-byte region [ffff88800a4cc000, ffff88800a4cd000) [ 29.231819][ T12] [ 29.232095][ T12] The buggy address belongs to the physical page: [ 29.232421][ T12] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa4c8 [ 29.232882][ T12] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 29.233474][ T12] flags: 0x80000000000040(head|node=0|zone=1) [ 29.233823][ T12] page_type: f5(slab) [ 29.234048][ T12] raw: 0080000000000040 ffff888001043700 ffffea000016ee10 ffffea000016b810 [ 29.234720][ T12] raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000 [ 29.235227][ T12] head: 0080000000000040 ffff888001043700 ffffea000016ee10 ffffea000016b810 [ 29.235717][ T12] head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000 [ 29.236405][ T12] head: 0080000000000003 ffffea0000293201 00000000ffffffff 00000000ffffffff [ 29.236916][ T12] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 29.237388][ T12] page dumped because: kasan: bad access detected [ 29.237891][ T12] [ 29.238034][ T12] Memory state around the buggy address: [ 29.238445][ T12] ffff88800a4cc580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.239008][ T12] ffff88800a4cc600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.239395][ T12] >ffff88800a4cc680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.239799][ T12] ^ [ 29.240074][ T12] ffff88800a4cc700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.240451][ T12] ffff88800a4cc780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.241000][ T12] ================================================================== [ 29.241626][ T12] Disabling lock debugging due to kernel taint [ 29.241984][ T12] ------------[ cut here ]------------ [ 29.242236][ T12] refcount_t: underflow; use-after-free. [ 29.242884][ T12] WARNING: CPU: 1 PID: 12 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0 [ 29.243363][ T12] Modules linked in: [ 29.243585][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full) [ 29.244211][ T12] Tainted: [B]=BAD_PAGE [ 29.244433][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.244859][ T12] Workqueue: netns cleanup_net [ 29.245171][ T12] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0 [ 29.245528][ T12] Code: a2 b5 02 80 fb 01 0f 87 db 6e d8 fe 83 e3 01 0f 85 51 ff ff ff c6 05 c2 a2 b5 02 01 90 48 c7 c7 60 a8 05 89 e8 72 c3 17 ff 90 <0f> 0b 90 90 e9 33 ff ff ff 48 89 df e8 20 69 a0 ff e9 ba fe ff ff [ 29.246512][ T12] RSP: 0018:ffffc900000c7a08 EFLAGS: 00010282 [ 29.246852][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 29.247243][ T12] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 29.247645][ T12] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff133e134 [ 29.248047][ T12] R10: 0000000000000003 R11: ffffc900000c7580 R12: 0000000000000001 [ 29.248451][ T12] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100 [ 29.248810][ T12] FS: 0000000000000000(0000) GS:ffff8880ab401000(0000) knlGS:0000000000000000 [ 29.249254][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.249577][ T12] CR2: 000055612ecb5dec CR3: 000000000cb61005 CR4: 0000000000772ef0 [ 29.249951][ T12] PKRU: 55555554 [ 29.250140][ T12] Call Trace: [ 29.250332][ T12] [ 29.250463][ T12] netdev_run_todo+0x5f0/0xc60 [ 29.250736][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 29.251012][ T12] ? unregister_netdevice_many+0x20/0x20 [ 29.251448][ T12] ? generic_xdp_install+0x410/0x410 [ 29.251708][ T12] ? __lock_release+0x5d/0x170 [ 29.251973][ T12] ops_undo_list+0x714/0x890 [ 29.252209][ T12] ? netns_get+0x110/0x110 [ 29.252624][ T12] ? cleanup_net+0x2d6/0x830 [ 29.252884][ T12] cleanup_net+0x3b2/0x830 [ 29.253135][ T12] ? net_passive_dec+0x190/0x190 [ 29.253398][ T12] ? rcu_is_watching+0x12/0xb0 [ 29.253816][ T12] process_one_work+0xe35/0x1650 [ 29.254089][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 29.254358][ T12] ? assign_work+0x168/0x240 [ 29.254621][ T12] worker_thread+0x591/0xcf0 [ 29.255043][ T12] ? rescuer_thread+0xd10/0xd10 [ 29.255290][ T12] kthread+0x37b/0x5f0 [ 29.255486][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 29.255736][ T12] ? ret_from_fork+0x1b/0x270 [ 29.256185][ T12] ? __lock_release+0x5d/0x170 [ 29.256461][ T12] ? rcu_is_watching+0x12/0xb0 [ 29.256725][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 29.256983][ T12] ret_from_fork+0x1db/0x270 [ 29.257423][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 29.257679][ T12] ret_from_fork_asm+0x11/0x20 [ 29.257938][ T12] [ 29.258139][ T12] irq event stamp: 40135 [ 29.258346][ T12] hardirqs last enabled at (40135): [] finish_task_switch.isra.0+0x245/0x960 [ 29.259023][ T12] hardirqs last disabled at (40134): [] __schedule+0x94a/0x1b10 [ 29.259499][ T12] softirqs last enabled at (40094): [] handle_softirqs+0x352/0x610 [ 29.260102][ T12] softirqs last disabled at (39885): [] irq_exit_rcu+0xab/0x100 [ 29.260545][ T12] ---[ end trace 0000000000000000 ]--- [ 29.275693][ T12] bond0: (slave eth1): Releasing backup interface [ 29.308018][ T12] bond0: (slave eth0): Releasing backup interface [ 29.339974][ T12] bond0: (slave eth1): Releasing backup interface [ 29.363803][ T12] bond0: (slave eth0): Releasing backup interface [ 29.568703][ T69] bond0 (unregistering): Released all slaves [ 30.004772][ T69] bond0 (unregistering): Released all slaves