[ 16.985262][ T258] test-bond1: (slave test-bond0): Enslaving as an active interface with an up link
[ 17.000247][ T258] ip (258) used greatest stack depth: 24720 bytes left
[ 17.265493][ T263] test-bond0: (slave test-noneth0): The slave device specified does not support setting the MAC address
[ 17.267175][ T263] test-bond0: (slave test-noneth0): Error -95 calling set_mac_address
[ 17.601498][ T269] test-bond0: (slave test-bond2): Enslaving as an active interface with an up link
[ 17.612705][ T269] ip (269) used greatest stack depth: 24128 bytes left
[ 18.003835][ T274] test-bond1: (slave test-bond0): Releasing backup interface
[ 18.021866][ T274] test-bond0 (unregistering): (slave test-bond2): Releasing backup interface
[ 18.031694][ T274] test-bond0 (unregistering): Released all slaves
[ 18.081066][ T274] ==================================================================
[ 18.081478][ T274] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0
[ 18.081855][ T274] Read of size 1 at addr ffff88800b94a69c by task ip/274
[ 18.082148][ T274]
[ 18.082249][ T274] CPU: 3 UID: 0 PID: 274 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 18.082254][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 18.082256][ T274] Call Trace:
[ 18.082258][ T274]
[ 18.082260][ T274] dump_stack_lvl+0x82/0xc0
[ 18.082268][ T274] print_address_description.constprop.0+0x2c/0x3a0
[ 18.082277][ T274] ? kobject_put+0xbb/0xd0
[ 18.082283][ T274] print_report+0xb4/0x270
[ 18.082287][ T274] ? kobject_put+0xbb/0xd0
[ 18.082290][ T274] ? kasan_addr_to_slab+0x21/0x70
[ 18.082293][ T274] ? kobject_put+0xbb/0xd0
[ 18.082295][ T274] kasan_report+0xca/0x100
[ 18.082299][ T274] ? kobject_put+0xbb/0xd0
[ 18.082304][ T274] kobject_put+0xbb/0xd0
[ 18.082307][ T274] netdev_run_todo+0x5f0/0xc60
[ 18.082314][ T274] ? dev_ingress_queue_create+0x190/0x190
[ 18.082320][ T274] ? generic_xdp_install+0x410/0x410
[ 18.082325][ T274] ? unregister_netdevice_many+0x20/0x20
[ 18.082331][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.082338][ T274] rtnl_dellink+0x350/0xa30
[ 18.082344][ T274] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 18.082371][ T274] ? find_held_lock+0x2b/0x80
[ 18.082379][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.082385][ T274] ? find_held_lock+0x2b/0x80
[ 18.082389][ T274] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 18.082391][ T274] ? __lock_release+0x5d/0x170
[ 18.082396][ T274] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 18.082399][ T274] rtnetlink_rcv_msg+0x709/0xc00
[ 18.082406][ T274] ? rtnl_port_fill+0x850/0x850
[ 18.082411][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.082424][ T274] netlink_rcv_skb+0x121/0x340
[ 18.082428][ T274] ? rtnl_port_fill+0x850/0x850
[ 18.082432][ T274] ? netlink_ack+0xdd0/0xdd0
[ 18.082438][ T274] ? netlink_deliver_tap+0x13e/0x340
[ 18.082442][ T274] ? netlink_deliver_tap+0xc3/0x340
[ 18.082447][ T274] netlink_unicast+0x4aa/0x780
[ 18.082451][ T274] ? netlink_attachskb+0x810/0x810
[ 18.082454][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.082460][ T274] netlink_sendmsg+0x714/0xbd0
[ 18.082468][ T274] ? netlink_unicast+0x780/0x780
[ 18.082474][ T274] ? __import_iovec+0x230/0x3b0
[ 18.082482][ T274] ? netlink_unicast+0x780/0x780
[ 18.082486][ T274] ____sys_sendmsg+0x3dd/0x890
[ 18.082491][ T274] ? get_timestamp.constprop.0+0x380/0x380
[ 18.082494][ T274] ? __copy_msghdr+0x3c0/0x3c0
[ 18.082500][ T274] ___sys_sendmsg+0xed/0x170
[ 18.082502][ T274] ? kasan_record_aux_stack+0x8c/0xa0
[ 18.082506][ T274] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 18.082513][ T274] ? copy_msghdr_from_user+0x110/0x110
[ 18.082521][ T274] ? find_held_lock+0x2b/0x80
[ 18.082528][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.082534][ T274] ? find_held_lock+0x2b/0x80
[ 18.082537][ T274] ? __virt_addr_valid+0x22a/0x450
[ 18.082541][ T274] ? __lock_release+0x5d/0x170
[ 18.082547][ T274] __sys_sendmsg+0x10b/0x1a0
[ 18.082550][ T274] ? __call_rcu_common.constprop.0+0x318/0x630
[ 18.082556][ T274] ? __sys_sendmsg_sock+0x20/0x20
[ 18.082569][ T274] ? rcu_is_watching+0x12/0xb0
[ 18.082575][ T274] do_syscall_64+0xc1/0xfd0
[ 18.082579][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 18.082583][ T274] RIP: 0033:0x7f16773e41d7
[ 18.082589][ T274] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
[ 18.082592][ T274] RSP: 002b:00007ffd97efd328 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 18.082596][ T274] RAX: ffffffffffffffda RBX: 00007ffd97efda50 RCX: 00007f16773e41d7
[ 18.082598][ T274] RDX: 0000000000000000 RSI: 00007ffd97efd390 RDI: 0000000000000005
[ 18.082600][ T274] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 18.082603][ T274] R10: 00007f16772e0f60 R11: 0000000000000246 R12: 0000000000000002
[ 18.082606][ T274] R13: 00000000690def5c R14: 0000000000499600 R15: 0000000000000000
[ 18.082619][ T274]
[ 18.082621][ T274]
[ 18.097696][ T274] Allocated by task 246:
[ 18.097852][ T274] kasan_save_stack+0x24/0x40
[ 18.098049][ T274] kasan_save_track+0x14/0x30
[ 18.098268][ T274] __kasan_kmalloc+0x7b/0x90
[ 18.098485][ T274] __kvmalloc_node_noprof+0x2e5/0x8e0
[ 18.098689][ T274] alloc_netdev_mqs+0x7d/0x1310
[ 18.098876][ T274] rtnl_create_link+0xa9e/0xe20
[ 18.099064][ T274] rtnl_newlink_create+0x203/0x8f0
[ 18.099255][ T274] __rtnl_newlink+0x231/0xa30
[ 18.099438][ T274] rtnl_newlink+0x693/0xa60
[ 18.099620][ T274] rtnetlink_rcv_msg+0x709/0xc00
[ 18.099798][ T274] netlink_rcv_skb+0x121/0x340
[ 18.099978][ T274] netlink_unicast+0x4aa/0x780
[ 18.100184][ T274] netlink_sendmsg+0x714/0xbd0
[ 18.100367][ T274] ____sys_sendmsg+0x3dd/0x890
[ 18.100586][ T274] ___sys_sendmsg+0xed/0x170
[ 18.100766][ T274] __sys_sendmsg+0x10b/0x1a0
[ 18.100948][ T274] do_syscall_64+0xc1/0xfd0
[ 18.101135][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 18.101372][ T274]
[ 18.101599][ T274] Freed by task 274:
[ 18.101745][ T274] kasan_save_stack+0x24/0x40
[ 18.101986][ T274] kasan_save_track+0x14/0x30
[ 18.102179][ T274] __kasan_save_free_info+0x3b/0x60
[ 18.102529][ T274] __kasan_slab_free+0x3f/0x60
[ 18.102733][ T274] kfree+0x21d/0x540
[ 18.102897][ T274] device_release+0x9c/0x210
[ 18.103101][ T274] kobject_cleanup+0xfe/0x360
[ 18.103299][ T274] netdev_run_todo+0x81f/0xc60
[ 18.103599][ T274] rtnl_dellink+0x350/0xa30
[ 18.103793][ T274] rtnetlink_rcv_msg+0x709/0xc00
[ 18.103975][ T274] netlink_rcv_skb+0x121/0x340
[ 18.104182][ T274] netlink_unicast+0x4aa/0x780
[ 18.104499][ T274] netlink_sendmsg+0x714/0xbd0
[ 18.104709][ T274] ____sys_sendmsg+0x3dd/0x890
[ 18.104919][ T274] ___sys_sendmsg+0xed/0x170
[ 18.105116][ T274] __sys_sendmsg+0x10b/0x1a0
[ 18.105414][ T274] do_syscall_64+0xc1/0xfd0
[ 18.105594][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 18.105833][ T274]
[ 18.105953][ T274] The buggy address belongs to the object at ffff88800b94a000
[ 18.105953][ T274] which belongs to the cache kmalloc-8k of size 8192
[ 18.106530][ T274] The buggy address is located 1692 bytes inside of
[ 18.106530][ T274] freed 8192-byte region [ffff88800b94a000, ffff88800b94c000)
[ 18.107094][ T274]
[ 18.107190][ T274] The buggy address belongs to the physical page:
[ 18.107409][ T274] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb948
[ 18.107860][ T274] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 18.108178][ T274] flags: 0x80000000000040(head|node=0|zone=1)
[ 18.108451][ T274] page_type: f5(slab)
[ 18.108612][ T274] raw: 0080000000000040 ffff8880010438c0 ffffea000021ce10 ffffea00002e5610
[ 18.109088][ T274] raw: 0000000000000000 0000000000010001 00000000f5000000 0000000000000000
[ 18.109396][ T274] head: 0080000000000040 ffff8880010438c0 ffffea000021ce10 ffffea00002e5610
[ 18.109828][ T274] head: 0000000000000000 0000000000010001 00000000f5000000 0000000000000000
[ 18.110140][ T274] head: 0080000000000003 ffffea00002e5201 00000000ffffffff 00000000ffffffff
[ 18.110587][ T274] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[ 18.110908][ T274] page dumped because: kasan: bad access detected
[ 18.111146][ T274]
[ 18.111245][ T274] Memory state around the buggy address:
[ 18.111550][ T274] ffff88800b94a580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 18.111862][ T274] ffff88800b94a600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 18.112182][ T274] >ffff88800b94a680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 18.112619][ T274] ^
[ 18.112807][ T274] ffff88800b94a700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 18.113086][ T274] ffff88800b94a780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 18.113467][ T274] ==================================================================
[ 18.113930][ T274] Disabling lock debugging due to kernel taint
[ 18.114165][ T274] ------------[ cut here ]------------
[ 18.114340][ T274] refcount_t: underflow; use-after-free.
[ 18.114574][ T274] WARNING: CPU: 3 PID: 274 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0
[ 18.114922][ T274] Modules linked in:
[ 18.115205][ T274] CPU: 3 UID: 0 PID: 274 Comm: ip Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 18.115547][ T274] Tainted: [B]=BAD_PAGE
[ 18.115702][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 18.115965][ T274] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0
[ 18.116202][ T274] 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 c5 a0 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
[ 18.117026][ T274] RSP: 0018:ffffc90000bf71f0 EFLAGS: 00010286
[ 18.117257][ T274] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 18.117538][ T274] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001
[ 18.117958][ T274] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff42be134
[ 18.118233][ T274] R10: 0000000000000003 R11: ffffc90000bf6d80 R12: 0000000000000001
[ 18.118617][ T274] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100
[ 18.118912][ T274] FS: 00007f1677216800(0000) GS:ffff888093901000(0000) knlGS:0000000000000000
[ 18.119223][ T274] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.119544][ T274] CR2: 00007eff8364d5f0 CR3: 000000000a8d5001 CR4: 0000000000772ef0
[ 18.119810][ T274] PKRU: 55555554
[ 18.119945][ T274] Call Trace:
[ 18.120078][ T274]
[ 18.120285][ T274] netdev_run_todo+0x5f0/0xc60
[ 18.120471][ T274] ? dev_ingress_queue_create+0x190/0x190
[ 18.120655][ T274] ? generic_xdp_install+0x410/0x410
[ 18.120838][ T274] ? unregister_netdevice_many+0x20/0x20
[ 18.121128][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.121326][ T274] rtnl_dellink+0x350/0xa30
[ 18.121531][ T274] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 18.121843][ T274] ? find_held_lock+0x2b/0x80
[ 18.122177][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.122376][ T274] ? find_held_lock+0x2b/0x80
[ 18.122572][ T274] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 18.122771][ T274] ? __lock_release+0x5d/0x170
[ 18.123094][ T274] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 18.123329][ T274] rtnetlink_rcv_msg+0x709/0xc00
[ 18.123517][ T274] ? rtnl_port_fill+0x850/0x850
[ 18.123707][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.124018][ T274] netlink_rcv_skb+0x121/0x340
[ 18.124232][ T274] ? rtnl_port_fill+0x850/0x850
[ 18.124414][ T274] ? netlink_ack+0xdd0/0xdd0
[ 18.124629][ T274] ? netlink_deliver_tap+0x13e/0x340
[ 18.124961][ T274] ? netlink_deliver_tap+0xc3/0x340
[ 18.125150][ T274] netlink_unicast+0x4aa/0x780
[ 18.125318][ T274] ? netlink_attachskb+0x810/0x810
[ 18.125492][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.125789][ T274] netlink_sendmsg+0x714/0xbd0
[ 18.126004][ T274] ? netlink_unicast+0x780/0x780
[ 18.126186][ T274] ? __import_iovec+0x230/0x3b0
[ 18.126377][ T274] ? netlink_unicast+0x780/0x780
[ 18.126680][ T274] ____sys_sendmsg+0x3dd/0x890
[ 18.126850][ T274] ? get_timestamp.constprop.0+0x380/0x380
[ 18.127094][ T274] ? __copy_msghdr+0x3c0/0x3c0
[ 18.127269][ T274] ___sys_sendmsg+0xed/0x170
[ 18.127566][ T274] ? kasan_record_aux_stack+0x8c/0xa0
[ 18.127748][ T274] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 18.127995][ T274] ? copy_msghdr_from_user+0x110/0x110
[ 18.128286][ T274] ? find_held_lock+0x2b/0x80
[ 18.128492][ T274] ? __lock_acquire+0x449/0x7e0
[ 18.128682][ T274] ? find_held_lock+0x2b/0x80
[ 18.128857][ T274] ? __virt_addr_valid+0x22a/0x450
[ 18.129155][ T274] ? __lock_release+0x5d/0x170
[ 18.129332][ T274] __sys_sendmsg+0x10b/0x1a0
[ 18.129500][ T274] ? __call_rcu_common.constprop.0+0x318/0x630
[ 18.129712][ T274] ? __sys_sendmsg_sock+0x20/0x20
[ 18.129985][ T274] ? rcu_is_watching+0x12/0xb0
[ 18.130152][ T274] do_syscall_64+0xc1/0xfd0
[ 18.130376][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 18.130632][ T274] RIP: 0033:0x7f16773e41d7
[ 18.130960][ T274] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
[ 18.131803][ T274] RSP: 002b:00007ffd97efd328 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 18.132118][ T274] RAX: ffffffffffffffda RBX: 00007ffd97efda50 RCX: 00007f16773e41d7
[ 18.132450][ T274] RDX: 0000000000000000 RSI: 00007ffd97efd390 RDI: 0000000000000005
[ 18.132882][ T274] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 18.133223][ T274] R10: 00007f16772e0f60 R11: 0000000000000246 R12: 0000000000000002
[ 18.133503][ T274] R13: 00000000690def5c R14: 0000000000499600 R15: 0000000000000000
[ 18.133922][ T274]
[ 18.134069][ T274] irq event stamp: 45599
[ 18.134256][ T274] hardirqs last enabled at (45599): [] irqentry_exit+0x3b/0x80
[ 18.134710][ T274] hardirqs last disabled at (45598): [] handle_softirqs+0x47f/0x610
[ 18.135060][ T274] softirqs last enabled at (45334): [] handle_softirqs+0x352/0x610
[ 18.135395][ T274] softirqs last disabled at (45327): [] irq_exit_rcu+0xab/0x100
[ 18.135801][ T274] ---[ end trace 0000000000000000 ]---
[ 18.232546][ T275] test-bond1 (unregistering): Released all slaves
[ 18.335534][ T276] test-bond2 (unregistering): Released all slaves
[ 19.196595][ T298] test-bond1: (slave test-bond0): Enslaving as an active interface with an up link
[ 19.280865][ T300] test-bond0: (slave test-noneth0): The slave device specified does not support setting the MAC address
[ 19.281310][ T300] test-bond0: (slave test-noneth0): Setting fail_over_mac to active for active-backup mode
[ 19.289860][ T300] test-bond0: (slave test-noneth0): making interface the new active one
[ 19.290755][ T300] test-bond0: (slave test-noneth0): Enslaving as an active interface with an up link
[ 19.418181][ T301] test-bond0: (slave test-noneth0): Releasing backup interface
[ 19.497295][ T302] test-bond0: (slave test-bond2): making interface the new active one
[ 19.498142][ T302] test-bond0: (slave test-bond2): Enslaving as an active interface with an up link
[ 19.747407][ T307] test-bond1: (slave test-bond0): Releasing backup interface
[ 19.766033][ T307] test-bond0 (unregistering): (slave test-bond2): Releasing backup interface
[ 19.772517][ T307] test-bond0 (unregistering): Released all slaves
[ 19.869435][ T308] test-bond1 (unregistering): Released all slaves
[ 19.964354][ T309] test-bond2 (unregistering): Released all slaves