[ 10.512950][ T199] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 10.513012][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.513014][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 10.513016][ T199] preempt_count: 1, expected: 0 [ 10.513017][ T199] RCU nest depth: 0, expected: 0 [ 10.513018][ T199] locks held by ip/199: 5, last CPU#1: [ 10.513020][ T199] #0: ffffffff96d1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.513032][ T199] #1: ffffffff9657ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.513037][ T199] #2: ffffffff9657de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.513041][ T199] #3: ffffffff9649d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.513045][ T199] #4: ffffffff9649d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.513048][ T199] irq event stamp: 36990 [ 10.513049][ T199] hardirqs last enabled at (36989): [] __down_trylock_console_sem+0x86/0xa0 [ 10.513052][ T199] hardirqs last disabled at (36990): [] console_emit_next_record+0x3d4/0x4c0 [ 10.513054][ T199] softirqs last enabled at (36876): [] __alloc_skb+0x4c2/0x5f0 [ 10.513057][ T199] softirqs last disabled at (36874): [] __alloc_skb+0x4c2/0x5f0 [ 10.513060][ T199] Preemption disabled at: [ 10.513060][ T199] [] vprintk_emit+0x31b/0x3e0 [ 10.513065][ T199] CPU: 1 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.513069][ T199] Tainted: [W]=WARN [ 10.513070][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.513072][ T199] Call Trace: [ 10.513073][ T199] [ 10.513074][ T199] dump_stack_lvl+0x6f/0xa0 [ 10.513080][ T199] ? vprintk_emit+0x31b/0x3e0 [ 10.513082][ T199] __might_resched.cold+0x1fe/0x2c1 [ 10.513087][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.513091][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 10.513095][ T199] __kmalloc_noprof+0x443/0x760 [ 10.513097][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 10.513104][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 10.513106][ T199] alloc_buf.isra.0+0x4b/0x260 [ 10.513110][ T199] put_chars+0x1e1/0x2f0 [ 10.513112][ T199] ? __send_to_port+0x420/0x420 [ 10.513116][ T199] ? validate_chain+0x34a/0xc20 [ 10.513120][ T199] hvc_console_print+0x292/0x780 [ 10.513124][ T199] ? mark_usage+0x61/0x170 [ 10.513126][ T199] ? __lock_acquire+0x518/0xc20 [ 10.513128][ T199] ? __lock_acquire+0x518/0xc20 [ 10.513132][ T199] ? hvc_write+0x3a0/0x3a0 [ 10.513135][ T199] ? console_emit_next_record+0x1df/0x4c0 [ 10.513138][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513140][ T199] ? lock_acquire+0x13c/0x160 [ 10.513144][ T199] console_emit_next_record+0x22f/0x4c0 [ 10.513148][ T199] ? devkmsg_read+0x4b0/0x4b0 [ 10.513150][ T199] ? console_flush_one_record+0x106/0x710 [ 10.513153][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513154][ T199] ? lock_acquire+0x13c/0x160 [ 10.513158][ T199] console_flush_one_record+0x46f/0x710 [ 10.513162][ T199] ? console_emit_next_record+0x4c0/0x4c0 [ 10.513164][ T199] ? __lock_acquire+0x518/0xc20 [ 10.513169][ T199] console_unlock+0xee/0x1f0 [ 10.513172][ T199] ? console_flush_one_record+0x710/0x710 [ 10.513174][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513176][ T199] ? lock_acquire+0xe0/0x160 [ 10.513179][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.513181][ T199] ? vprintk_emit+0x320/0x3e0 [ 10.513184][ T199] vprintk_emit+0x37c/0x3e0 [ 10.513187][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 10.513189][ T199] ? unregister_vlan_dev+0x380/0x380 [ 10.513195][ T199] _printk+0xc7/0x100 [ 10.513199][ T199] ? snapshot_read.cold+0x21/0x21 [ 10.513203][ T199] ? __mutex_unlock_slowpath+0x9e/0x740 [ 10.513205][ T199] ? netdev_name+0x43/0x60 [ 10.513209][ T199] ? __netdev_printk+0x17f/0x1d0 [ 10.513213][ T199] netdev_info+0xe2/0x116 [ 10.513215][ T199] ? netdev_notice+0x120/0x120 [ 10.513220][ T199] ? bond_lower_state_changed+0x160/0x160 [bonding] [ 10.513230][ T199] ? netdev_upper_dev_link+0xb0/0xb0 [ 10.513236][ T199] bond_enslave.cold+0x156/0x4f7 [bonding] [ 10.513247][ T199] ? find_held_lock+0x2b/0x80 [ 10.513249][ T199] ? bond_update_slave_arr+0xcf0/0xcf0 [bonding] [ 10.513255][ T199] ? mark_usage+0x61/0x170 [ 10.513257][ T199] ? __lock_acquire+0x518/0xc20 [ 10.513258][ T199] ? __lock_acquire+0x483/0xc20 [ 10.513263][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.513273][ T199] ? is_bpf_text_address+0x72/0x110 [ 10.513277][ T199] ? kernel_text_address+0x149/0x170 [ 10.513282][ T199] do_set_master+0x3b2/0x780 [ 10.513286][ T199] do_setlink.isra.0+0x9ec/0x2a60 [ 10.513289][ T199] ? stack_trace_save+0x93/0xc0 [ 10.513293][ T199] ? rtnl_link_get_size+0x350/0x350 [ 10.513294][ T199] ? rcu_read_lock_any_held+0x66/0x90 [ 10.513297][ T199] ? stack_depot_save_flags+0x38e/0x790 [ 10.513301][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.513303][ T199] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.513305][ T199] ? validate_chain+0x38b/0xc20 [ 10.513307][ T199] ? kasan_save_stack+0x3d/0x50 [ 10.513309][ T199] ? kasan_save_stack+0x2f/0x50 [ 10.513310][ T199] ? kasan_save_track+0x14/0x30 [ 10.513312][ T199] ? __kasan_kmalloc+0x7b/0x90 [ 10.513314][ T199] ? __lock_acquire+0x518/0xc20 [ 10.513316][ T199] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.513319][ T199] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.513323][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.513325][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 10.513327][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513329][ T199] ? lock_acquire+0x13c/0x160 [ 10.513331][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513332][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513333][ T199] ? trace_contention_end+0xb3/0x180 [ 10.513336][ T199] ? __mutex_lock+0x1db/0x1ea0 [ 10.513337][ T199] ? __mutex_lock+0x9a3/0x1ea0 [ 10.513339][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 10.513342][ T199] ? ww_mutex_lock+0x160/0x160 [ 10.513343][ T199] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.513348][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513350][ T199] ? __rtnl_newlink+0x3fa/0xa50 [ 10.513355][ T199] rtnl_newlink+0x9f1/0x11b0 [ 10.513361][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 10.513363][ T199] ? __lock_acquire+0x518/0xc20 [ 10.513367][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.513369][ T199] ? find_held_lock+0x2b/0x80 [ 10.513371][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 10.513373][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 10.513376][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 10.513379][ T199] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.513382][ T199] ? rtnl_link_fill+0x920/0x920 [ 10.513383][ T199] ? __lock_acquire+0x518/0xc20 [ 10.513388][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.513389][ T199] ? find_held_lock+0x2b/0x80 [ 10.513393][ T199] netlink_rcv_skb+0x14e/0x3a0 [ 10.513396][ T199] ? rtnl_link_fill+0x920/0x920 [ 10.513399][ T199] ? netlink_ack+0xcf0/0xcf0 [ 10.513405][ T199] ? netlink_deliver_tap+0xc5/0x330 [ 10.513407][ T199] ? netlink_deliver_tap+0x13c/0x330 [ 10.513412][ T199] netlink_unicast+0x486/0x750 [ 10.513416][ T199] ? netlink_attachskb+0x810/0x810 [ 10.513418][ T199] ? find_held_lock+0x2b/0x80 [ 10.513422][ T199] netlink_sendmsg+0x75b/0xc90 [ 10.513426][ T199] ? netlink_unicast+0x750/0x750 [ 10.513430][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 10.513432][ T199] ? __import_iovec+0x36c/0x620 [ 10.513437][ T199] __sock_sendmsg+0xce/0x190 [ 10.513439][ T199] ____sys_sendmsg+0x61a/0x860 [ 10.513442][ T199] ? copy_msghdr_from_user+0x279/0x420 [ 10.513444][ T199] ? sock_write_iter+0x400/0x400 [ 10.513445][ T199] ? move_addr_to_kernel+0x40/0x40 [ 10.513453][ T199] ___sys_sendmsg+0x14e/0x1d0 [ 10.513456][ T199] ? copy_msghdr_from_user+0x420/0x420 [ 10.513471][ T199] __sys_sendmsg+0x12c/0x1d0 [ 10.513474][ T199] ? __sys_sendmsg_sock+0x20/0x20 [ 10.513480][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.513483][ T199] do_syscall_64+0xff/0x530 [ 10.513486][ T199] ? exc_page_fault+0xee/0x100 [ 10.513489][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.513491][ T199] RIP: 0033:0x7fd5f43b654e [ 10.513494][ T199] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.513496][ T199] RSP: 002b:00007ffee6c57760 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.513498][ T199] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd5f43b654e [ 10.513500][ T199] RDX: 0000000000000000 RSI: 00007ffee6c57810 RDI: 0000000000000005 [ 10.513501][ T199] RBP: 00007ffee6c57770 R08: 0000000000000000 R09: 0000000000000000 [ 10.513502][ T199] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e55c [ 10.513502][ T199] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffee6c57ed0 [ 10.513509][ T199] [ 10.561473][ T199] ip (199) used greatest stack depth: 22760 bytes left [ 10.826042][ T204] bond0: (slave bond_slave_1): Releasing backup interface [ 10.979267][ T12] bond0 (unregistering): Released all slaves [ 11.524791][ T216] 8021q: adding VLAN 0 to HW filter on device bond0 [ 11.524816][ T216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.524819][ T216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 216, name: ip [ 11.524820][ T216] preempt_count: 1, expected: 0 [ 11.524821][ T216] RCU nest depth: 0, expected: 0 [ 11.524822][ T216] locks held by ip/216: 5, last CPU#0: [ 11.524824][ T216] #0: ffffffff96d1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.524837][ T216] #1: ffffffff9657ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.524842][ T216] #2: ffffffff9657de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.524847][ T216] #3: ffffffff9649d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.524850][ T216] #4: ffffffff9649d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.524854][ T216] irq event stamp: 34352 [ 11.524855][ T216] hardirqs last enabled at (34351): [] __down_trylock_console_sem+0x86/0xa0 [ 11.524858][ T216] hardirqs last disabled at (34352): [] console_emit_next_record+0x3d4/0x4c0 [ 11.524860][ T216] softirqs last enabled at (34346): [] addrconf_permanent_addr+0x2b1/0x9c0 [ 11.524864][ T216] softirqs last disabled at (34344): [] addrconf_permanent_addr+0x108/0x9c0 [ 11.524866][ T216] Preemption disabled at: [ 11.524866][ T216] [] vprintk_emit+0x31b/0x3e0 [ 11.524871][ T216] CPU: 0 UID: 0 PID: 216 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.524875][ T216] Tainted: [W]=WARN [ 11.524876][ T216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.524877][ T216] Call Trace: [ 11.524879][ T216] [ 11.524881][ T216] dump_stack_lvl+0x6f/0xa0 [ 11.524887][ T216] ? vprintk_emit+0x31b/0x3e0 [ 11.524889][ T216] __might_resched.cold+0x1fe/0x2c1 [ 11.524893][ T216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.524898][ T216] ? __kmalloc_noprof+0xdb/0x760 [ 11.524902][ T216] __kmalloc_noprof+0x443/0x760 [ 11.524904][ T216] ? alloc_buf.isra.0+0x4b/0x260 [ 11.524911][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 11.524913][ T216] alloc_buf.isra.0+0x4b/0x260 [ 11.524917][ T216] put_chars+0x1e1/0x2f0 [ 11.524920][ T216] ? __send_to_port+0x420/0x420 [ 11.524923][ T216] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.524926][ T216] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.524929][ T216] ? validate_chain+0x38b/0xc20 [ 11.524933][ T216] hvc_console_print+0x292/0x780 [ 11.524937][ T216] ? mark_usage+0x61/0x170 [ 11.524939][ T216] ? __lock_acquire+0x518/0xc20 [ 11.524941][ T216] ? __lock_acquire+0x518/0xc20 [ 11.524945][ T216] ? hvc_write+0x3a0/0x3a0 [ 11.524947][ T216] ? lock_acquire.part.0+0xd4/0x280 [ 11.524951][ T216] ? lock_acquire+0x13c/0x160 [ 11.524955][ T216] console_emit_next_record+0x22f/0x4c0 [ 11.524959][ T216] ? devkmsg_read+0x4b0/0x4b0 [ 11.524961][ T216] ? console_flush_one_record+0x106/0x710 [ 11.524964][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.524966][ T216] ? lock_acquire+0x13c/0x160 [ 11.524970][ T216] console_flush_one_record+0x46f/0x710 [ 11.524974][ T216] ? console_emit_next_record+0x4c0/0x4c0 [ 11.524976][ T216] ? __lock_acquire+0x518/0xc20 [ 11.524981][ T216] console_unlock+0xee/0x1f0 [ 11.524984][ T216] ? console_flush_one_record+0x710/0x710 [ 11.524986][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.524988][ T216] ? lock_acquire+0xe0/0x160 [ 11.524992][ T216] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.524993][ T216] ? vprintk_emit+0x320/0x3e0 [ 11.524996][ T216] vprintk_emit+0x37c/0x3e0 [ 11.524999][ T216] ? wake_up_klogd_work_func+0x90/0x90 [ 11.525001][ T216] ? __lock_acquire+0x518/0xc20 [ 11.525006][ T216] _printk+0xc7/0x100 [ 11.525010][ T216] ? snapshot_read.cold+0x21/0x21 [ 11.525013][ T216] ? lock_acquire.part.0+0xd4/0x280 [ 11.525015][ T216] ? find_held_lock+0x2b/0x80 [ 11.525019][ T216] ? notifier_call_chain+0x14a/0x300 [ 11.525022][ T216] vlan_device_event.cold+0x1c/0x1fc [ 11.525027][ T216] ? packet_notifier+0x1c5/0xbd0 [ 11.525032][ T216] ? unregister_vlan_dev+0x380/0x380 [ 11.525038][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.525040][ T216] notifier_call_chain+0xae/0x300 [ 11.525045][ T216] __dev_notify_flags+0x1b7/0x450 [ 11.525050][ T216] ? netif_change_name+0x8c0/0x8c0 [ 11.525054][ T216] ? netif_set_allmulti+0x2c0/0x2c0 [ 11.525056][ T216] ? kernel_text_address+0x149/0x170 [ 11.525059][ T216] ? __kernel_text_address+0x12/0x30 [ 11.525061][ T216] ? write_profile+0xf0/0xf0 [ 11.525066][ T216] netif_change_flags+0xfe/0x190 [ 11.525069][ T216] do_setlink.isra.0+0x1d25/0x2a60 [ 11.525074][ T216] ? stack_trace_save+0x93/0xc0 [ 11.525076][ T216] ? rtnl_link_get_size+0x350/0x350 [ 11.525077][ T216] ? rcu_read_lock_any_held+0x66/0x90 [ 11.525079][ T216] ? stack_depot_save_flags+0x38e/0x790 [ 11.525083][ T216] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.525085][ T216] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.525086][ T216] ? validate_chain+0x38b/0xc20 [ 11.525089][ T216] ? kasan_save_stack+0x3d/0x50 [ 11.525091][ T216] ? kasan_save_stack+0x2f/0x50 [ 11.525092][ T216] ? kasan_save_track+0x14/0x30 [ 11.525094][ T216] ? __kasan_kmalloc+0x7b/0x90 [ 11.525096][ T216] ? __lock_acquire+0x518/0xc20 [ 11.525098][ T216] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.525101][ T216] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.525104][ T216] ? lock_acquire.part.0+0xd4/0x280 [ 11.525106][ T216] ? rtnl_newlink+0x9a8/0x11b0 [ 11.525109][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.525111][ T216] ? lock_acquire+0x13c/0x160 [ 11.525112][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.525113][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.525115][ T216] ? trace_contention_end+0xb3/0x180 [ 11.525117][ T216] ? __mutex_lock+0x1db/0x1ea0 [ 11.525120][ T216] ? __mutex_lock+0x9a3/0x1ea0 [ 11.525122][ T216] ? rtnl_newlink+0x9a8/0x11b0 [ 11.525125][ T216] ? ww_mutex_lock+0x160/0x160 [ 11.525129][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.525131][ T216] ? __rtnl_newlink+0x3fa/0xa50 [ 11.525136][ T216] rtnl_newlink+0x9f1/0x11b0 [ 11.525141][ T216] ? rtnl_bridge_getlink+0x850/0x850 [ 11.525143][ T216] ? __lock_acquire+0x518/0xc20 [ 11.525148][ T216] ? lock_acquire.part.0+0xd4/0x280 [ 11.525150][ T216] ? find_held_lock+0x2b/0x80 [ 11.525152][ T216] ? rtnl_bridge_getlink+0x850/0x850 [ 11.525153][ T216] ? __lock_release.isra.0+0x69/0x1a0 [ 11.525157][ T216] ? rtnl_bridge_getlink+0x850/0x850 [ 11.525159][ T216] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.525162][ T216] ? rtnl_link_fill+0x920/0x920 [ 11.525164][ T216] ? __lock_acquire+0x518/0xc20 [ 11.525168][ T216] ? lock_acquire.part.0+0xd4/0x280 [ 11.525170][ T216] ? find_held_lock+0x2b/0x80 [ 11.525173][ T216] netlink_rcv_skb+0x14e/0x3a0 [ 11.525177][ T216] ? rtnl_link_fill+0x920/0x920 [ 11.525180][ T216] ? netlink_ack+0xcf0/0xcf0 [ 11.525186][ T216] ? netlink_deliver_tap+0xc5/0x330 [ 11.525188][ T216] ? netlink_deliver_tap+0x13c/0x330 [ 11.525193][ T216] netlink_unicast+0x486/0x750 [ 11.525197][ T216] ? netlink_attachskb+0x810/0x810 [ 11.525199][ T216] ? find_held_lock+0x2b/0x80 [ 11.525204][ T216] netlink_sendmsg+0x75b/0xc90 [ 11.525208][ T216] ? netlink_unicast+0x750/0x750 [ 11.525211][ T216] ? __lock_release.isra.0+0x69/0x1a0 [ 11.525213][ T216] ? __import_iovec+0x36c/0x620 [ 11.525218][ T216] __sock_sendmsg+0xce/0x190 [ 11.525221][ T216] ____sys_sendmsg+0x61a/0x860 [ 11.525224][ T216] ? copy_msghdr_from_user+0x279/0x420 [ 11.525226][ T216] ? sock_write_iter+0x400/0x400 [ 11.525227][ T216] ? move_addr_to_kernel+0x40/0x40 [ 11.525235][ T216] ___sys_sendmsg+0x14e/0x1d0 [ 11.525238][ T216] ? copy_msghdr_from_user+0x420/0x420 [ 11.525254][ T216] __sys_sendmsg+0x12c/0x1d0 [ 11.525257][ T216] ? __sys_sendmsg_sock+0x20/0x20 [ 11.525263][ T216] ? rcu_is_watching+0x16/0xd0 [ 11.525266][ T216] do_syscall_64+0xff/0x530 [ 11.525269][ T216] ? exc_page_fault+0xee/0x100 [ 11.525274][ T216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.525277][ T216] RIP: 0033:0x7feaf4b9454e [ 11.525282][ T216] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 11.525283][ T216] RSP: 002b:00007fffce838360 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.525286][ T216] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007feaf4b9454e [ 11.525287][ T216] RDX: 0000000000000000 RSI: 00007fffce838410 RDI: 0000000000000005 [ 11.525288][ T216] RBP: 00007fffce838370 R08: 0000000000000000 R09: 0000000000000000 [ 11.525289][ T216] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e55d [ 11.525290][ T216] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffce838ad0 [ 11.525297][ T216] [ 11.677011][ T12] bond0 (unregistering): Released all slaves [ 12.146685][ T227] 8021q: adding VLAN 0 to HW filter on device bond0 [ 12.251211][ T12] bond0 (unregistering): Released all slaves [ 12.789603][ T12] bond0 (unregistering): Released all slaves [ 12.789624][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.789627][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 12.789628][ T12] preempt_count: 1, expected: 0 [ 12.789629][ T12] RCU nest depth: 0, expected: 0 [ 12.789630][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 12.789632][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.789644][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.789648][ T12] #2: ffffffff96cffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 12.789654][ T12] #3: ffffffff96d1b740 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 12.789657][ T12] #4: ffffffff9657ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.789661][ T12] #5: ffffffff9657de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.789665][ T12] #6: ffffffff9649d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.789669][ T12] #7: ffffffff9649d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.789673][ T12] irq event stamp: 106694 [ 12.789674][ T12] hardirqs last enabled at (106693): [] __down_trylock_console_sem+0x86/0xa0 [ 12.789676][ T12] hardirqs last disabled at (106694): [] console_emit_next_record+0x3d4/0x4c0 [ 12.789678][ T12] softirqs last enabled at (106686): [] unregister_netdevice_many_notify+0xd0b/0x1b40 [ 12.789681][ T12] softirqs last disabled at (106684): [] dev_mc_flush+0x56/0xa0 [ 12.789683][ T12] Preemption disabled at: [ 12.789684][ T12] [] vprintk_emit+0x31b/0x3e0 [ 12.789689][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.789692][ T12] Tainted: [W]=WARN [ 12.789693][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.789695][ T12] Workqueue: netns cleanup_net [ 12.789698][ T12] Call Trace: [ 12.789700][ T12] [ 12.789702][ T12] dump_stack_lvl+0x6f/0xa0 [ 12.789708][ T12] ? vprintk_emit+0x31b/0x3e0 [ 12.789710][ T12] __might_resched.cold+0x1fe/0x2c1 [ 12.789714][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.789718][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 12.789723][ T12] __kmalloc_noprof+0x443/0x760 [ 12.789725][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 12.789731][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 12.789734][ T12] alloc_buf.isra.0+0x4b/0x260 [ 12.789737][ T12] put_chars+0x1e1/0x2f0 [ 12.789740][ T12] ? __send_to_port+0x420/0x420 [ 12.789741][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.789745][ T12] ? validate_chain+0x38b/0xc20 [ 12.789751][ T12] hvc_console_print+0x292/0x780 [ 12.789758][ T12] ? hvc_write+0x3a0/0x3a0 [ 12.789761][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.789763][ T12] ? lock_acquire+0x13c/0x160 [ 12.789767][ T12] console_emit_next_record+0x22f/0x4c0 [ 12.789771][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 12.789773][ T12] ? console_flush_one_record+0x106/0x710 [ 12.789777][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.789778][ T12] ? lock_acquire+0x13c/0x160 [ 12.789782][ T12] console_flush_one_record+0x46f/0x710 [ 12.789787][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 12.789788][ T12] ? __lock_acquire+0x518/0xc20 [ 12.789794][ T12] console_unlock+0xee/0x1f0 [ 12.789797][ T12] ? console_flush_one_record+0x710/0x710 [ 12.789799][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.789801][ T12] ? lock_acquire+0xe0/0x160 [ 12.789808][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.789810][ T12] ? vprintk_emit+0x320/0x3e0 [ 12.789813][ T12] vprintk_emit+0x37c/0x3e0 [ 12.789816][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 12.789819][ T12] ? look_up_lock_class+0x65/0x150 [ 12.789825][ T12] _printk+0xc7/0x100 [ 12.789828][ T12] ? snapshot_read.cold+0x21/0x21 [ 12.789830][ T12] ? __lock_acquire+0x518/0xc20 [ 12.789834][ T12] ? netdev_name+0x43/0x60 [ 12.789838][ T12] ? __netdev_printk+0x17f/0x1d0 [ 12.789842][ T12] netdev_info+0xe2/0x116 [ 12.789845][ T12] ? netdev_notice+0x120/0x120 [ 12.789850][ T12] ? bond_xdp+0xf0/0xf0 [bonding] [ 12.789860][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 12.789864][ T12] ? notifier_call_chain+0x14a/0x300 [ 12.789868][ T12] bond_uninit.cold+0xf/0xb8 [bonding] [ 12.789878][ T12] ? bond_siocdevprivate+0x170/0x170 [bonding] [ 12.789889][ T12] unregister_netdevice_many_notify+0xee7/0x1b40 [ 12.789894][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 12.789895][ T12] ? queue_rcu_work+0x7c/0xa0 [ 12.789898][ T12] ? ipmr_free_table+0x12e/0x2a0 [ 12.789902][ T12] ? mutex_is_locked+0x1c/0x50 [ 12.789904][ T12] ? rtnl_is_locked+0x15/0x20 [ 12.789906][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 12.789909][ T12] ? mutex_is_locked+0x1c/0x50 [ 12.789912][ T12] ops_undo_list+0x615/0x8f0 [ 12.789917][ T12] ? netns_install+0x2a0/0x2a0 [ 12.789918][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.789924][ T12] cleanup_net+0x431/0x940 [ 12.789927][ T12] ? net_passive_dec+0x230/0x230 [ 12.789931][ T12] ? lock_acquire+0x13c/0x160 [ 12.789933][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.789936][ T12] process_one_work+0xe3e/0x1560 [ 12.789943][ T12] ? __queue_delayed_work+0x470/0x470 [ 12.789946][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.789954][ T12] worker_thread+0x4f1/0xd60 [ 12.789961][ T12] ? rescuer_thread+0x1340/0x1340 [ 12.789963][ T12] kthread+0x367/0x460 [ 12.789965][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.789969][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.789971][ T12] ret_from_fork+0x474/0x6b0 [ 12.789976][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.789979][ T12] ? __switch_to+0x5a3/0xe00 [ 12.789983][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.789986][ T12] ret_from_fork_asm+0x11/0x20 [ 12.789995][ T12] [ 12.992177][ T241] 8021q: adding VLAN 0 to HW filter on device bond0 [ 13.147126][ T244] bond0 (unregistering): Released all slaves