[ 10.202743][ T176] bond0: (slave eth0): making interface the new active one [ 10.202804][ T176] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.202806][ T176] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 176, name: ip [ 10.202808][ T176] preempt_count: 1, expected: 0 [ 10.202809][ T176] RCU nest depth: 0, expected: 0 [ 10.202810][ T176] locks held by ip/176: 5, last CPU#2: [ 10.202812][ T176] #0: ffffffffa8322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.202824][ T176] #1: ffffffffa7b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.202830][ T176] #2: ffffffffa7b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.202833][ T176] #3: ffffffffa7a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.202836][ T176] #4: ffffffffa7a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.202840][ T176] irq event stamp: 30564 [ 10.202840][ T176] hardirqs last enabled at (30563): [] __down_trylock_console_sem+0x86/0xa0 [ 10.202844][ T176] hardirqs last disabled at (30564): [] console_emit_next_record+0x3f8/0x4f0 [ 10.202845][ T176] softirqs last enabled at (30440): [] __alloc_skb+0x4c5/0x5f0 [ 10.202848][ T176] softirqs last disabled at (30438): [] __alloc_skb+0x4c5/0x5f0 [ 10.202850][ T176] Preemption disabled at: [ 10.202851][ T176] [] vprintk_emit+0x31b/0x3e0 [ 10.202857][ T176] CPU: 2 UID: 0 PID: 176 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.202860][ T176] Tainted: [W]=WARN [ 10.202861][ T176] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.202863][ T176] Call Trace: [ 10.202864][ T176] [ 10.202866][ T176] dump_stack_lvl+0x6f/0xa0 [ 10.202871][ T176] ? vprintk_emit+0x31b/0x3e0 [ 10.202873][ T176] __might_resched.cold+0x1fe/0x2c1 [ 10.202877][ T176] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.202881][ T176] ? __kmalloc_noprof+0xdb/0x760 [ 10.202886][ T176] __kmalloc_noprof+0x443/0x760 [ 10.202888][ T176] ? alloc_buf.isra.0+0x4b/0x260 [ 10.202895][ T176] ? do_raw_spin_unlock+0x59/0x250 [ 10.202897][ T176] alloc_buf.isra.0+0x4b/0x260 [ 10.202900][ T176] put_chars+0x1e1/0x2f0 [ 10.202904][ T176] ? __send_to_port+0x420/0x420 [ 10.202907][ T176] ? validate_chain+0x34a/0xc20 [ 10.202913][ T176] hvc_console_print+0x292/0x780 [ 10.202916][ T176] ? __lock_acquire+0x518/0xc20 [ 10.202921][ T176] ? hvc_write+0x3a0/0x3a0 [ 10.202924][ T176] ? rcu_is_watching+0x16/0xd0 [ 10.202930][ T176] console_emit_next_record+0x252/0x4f0 [ 10.202933][ T176] ? devkmsg_read+0x4e0/0x4e0 [ 10.202937][ T176] ? rcu_is_watching+0x16/0xd0 [ 10.202939][ T176] ? lock_acquire+0x13c/0x160 [ 10.202943][ T176] console_flush_one_record+0x46f/0x710 [ 10.202947][ T176] ? console_emit_next_record+0x4f0/0x4f0 [ 10.202948][ T176] ? __lock_acquire+0x518/0xc20 [ 10.202953][ T176] console_unlock+0xee/0x1f0 [ 10.202956][ T176] ? console_flush_one_record+0x710/0x710 [ 10.202957][ T176] ? rcu_is_watching+0x16/0xd0 [ 10.202959][ T176] ? lock_acquire+0x60/0x160 [ 10.202963][ T176] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.202965][ T176] ? vprintk_emit+0x320/0x3e0 [ 10.202969][ T176] vprintk_emit+0x37c/0x3e0 [ 10.202973][ T176] ? wake_up_klogd_work_func+0x90/0x90 [ 10.202975][ T176] ? lock_acquire.part.0+0xd4/0x280 [ 10.202977][ T176] ? flush_tlb_mm_range+0x2ac/0x570 [ 10.202982][ T176] _printk+0xc7/0x100 [ 10.202985][ T176] ? snapshot_read.cold+0x21/0x21 [ 10.202989][ T176] ? find_held_lock+0x2b/0x80 [ 10.202991][ T176] ? netdev_name+0x43/0x60 [ 10.202994][ T176] ? __netdev_printk+0x17f/0x1d0 [ 10.202998][ T176] netdev_info+0xe2/0x116 [ 10.203000][ T176] ? netdev_notice+0x120/0x120 [ 10.203004][ T176] ? lockdep_rtnl_is_held+0x1a/0x20 [ 10.203006][ T176] ? bond_ipsec_del_sa_all+0x357/0x520 [ 10.203012][ T176] bond_change_active_slave.cold+0x52/0x21b [ 10.203016][ T176] ? lockdep_rtnl_is_held+0x1a/0x20 [ 10.203017][ T176] ? bond_choose_primary_or_current+0x246/0x6a0 [ 10.203020][ T176] ? bond_peer_notify_work_rearm+0x80/0x80 [ 10.203023][ T176] ? static_key_slow_inc_cpuslocked+0xa8/0xd0 [ 10.203029][ T176] bond_select_active_slave+0x114/0x4f0 [ 10.203033][ T176] ? bond_change_active_slave+0x21c0/0x21c0 [ 10.203038][ T176] ? static_key_slow_inc+0x27/0x30 [ 10.203040][ T176] bond_enslave+0x2437/0x5100 [ 10.203046][ T176] ? find_held_lock+0x2b/0x80 [ 10.203048][ T176] ? bond_update_slave_arr+0xcf0/0xcf0 [ 10.203049][ T176] ? mark_usage+0x61/0x170 [ 10.203051][ T176] ? __lock_acquire+0x518/0xc20 [ 10.203053][ T176] ? __lock_acquire+0x501/0xc20 [ 10.203058][ T176] ? lock_acquire.part.0+0xd4/0x280 [ 10.203064][ T176] ? is_bpf_text_address+0x72/0x110 [ 10.203068][ T176] ? kernel_text_address+0x149/0x170 [ 10.203073][ T176] do_set_master+0x3b2/0x780 [ 10.203077][ T176] do_setlink.isra.0+0x9ec/0x2a60 [ 10.203081][ T176] ? stack_trace_save+0x93/0xc0 [ 10.203084][ T176] ? rtnl_link_get_size+0x350/0x350 [ 10.203086][ T176] ? rcu_read_lock_any_held+0x66/0x90 [ 10.203089][ T176] ? stack_depot_save_flags+0x38e/0x790 [ 10.203092][ T176] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.203094][ T176] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.203096][ T176] ? validate_chain+0x38b/0xc20 [ 10.203099][ T176] ? kasan_save_stack+0x3d/0x50 [ 10.203101][ T176] ? kasan_save_stack+0x2f/0x50 [ 10.203103][ T176] ? kasan_save_track+0x14/0x30 [ 10.203105][ T176] ? __lock_acquire+0x518/0xc20 [ 10.203107][ T176] ? netlink_seq_next+0x5e/0x60 [ 10.203110][ T176] ? ___sys_sendmsg+0xc0/0x1d0 [ 10.203114][ T176] ? lock_acquire.part.0+0xd4/0x280 [ 10.203116][ T176] ? rtnl_newlink+0x9a8/0x11b0 [ 10.203119][ T176] ? rcu_is_watching+0x16/0xd0 [ 10.203121][ T176] ? lock_acquire+0x13c/0x160 [ 10.203123][ T176] ? rcu_is_watching+0x16/0xd0 [ 10.203124][ T176] ? rcu_is_watching+0x16/0xd0 [ 10.203126][ T176] ? trace_contention_end+0xb3/0x180 [ 10.203129][ T176] ? __mutex_lock+0x1db/0x1ea0 [ 10.203132][ T176] ? __mutex_lock+0x9a3/0x1ea0 [ 10.203134][ T176] ? rtnl_newlink+0x9a8/0x11b0 [ 10.203137][ T176] ? ww_mutex_lock+0x160/0x160 [ 10.203139][ T176] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.203145][ T176] ? __rtnl_newlink+0x3fa/0xa50 [ 10.203151][ T176] rtnl_newlink+0x9f1/0x11b0 [ 10.203156][ T176] ? rtnl_bridge_getlink+0x850/0x850 [ 10.203159][ T176] ? __lock_acquire+0x518/0xc20 [ 10.203163][ T176] ? lock_acquire.part.0+0xd4/0x280 [ 10.203165][ T176] ? find_held_lock+0x2b/0x80 [ 10.203167][ T176] ? rtnl_bridge_getlink+0x850/0x850 [ 10.203170][ T176] ? __lock_release.isra.0+0x69/0x1a0 [ 10.203174][ T176] ? rtnl_bridge_getlink+0x850/0x850 [ 10.203176][ T176] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.203180][ T176] ? rtnl_link_fill+0x900/0x900 [ 10.203181][ T176] ? __lock_acquire+0x518/0xc20 [ 10.203186][ T176] ? lock_acquire.part.0+0xd4/0x280 [ 10.203188][ T176] ? find_held_lock+0x2b/0x80 [ 10.203192][ T176] netlink_rcv_skb+0x14e/0x3a0 [ 10.203194][ T176] ? rtnl_link_fill+0x900/0x900 [ 10.203197][ T176] ? netlink_ack+0xcd0/0xcd0 [ 10.203203][ T176] ? netlink_deliver_tap+0xc5/0x330 [ 10.203204][ T176] ? netlink_deliver_tap+0x13c/0x330 [ 10.203209][ T176] netlink_unicast+0x486/0x750 [ 10.203212][ T176] ? netlink_attachskb+0x810/0x810 [ 10.203215][ T176] ? __lock_acquire+0x518/0xc20 [ 10.203219][ T176] netlink_sendmsg+0x735/0xc60 [ 10.203223][ T176] ? netlink_unicast+0x750/0x750 [ 10.203227][ T176] ? __might_fault+0x97/0x140 [ 10.203232][ T176] ____sys_sendmsg+0x415/0x880 [ 10.203234][ T176] ? copy_msghdr_from_user+0x279/0x420 [ 10.203236][ T176] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.203238][ T176] ? move_addr_to_kernel+0x40/0x40 [ 10.203245][ T176] ___sys_sendmsg+0x14e/0x1d0 [ 10.203247][ T176] ? copy_msghdr_from_user+0x420/0x420 [ 10.203264][ T176] __sys_sendmsg+0x12c/0x1d0 [ 10.203267][ T176] ? __sys_sendmsg_sock+0x20/0x20 [ 10.203272][ T176] ? rcu_is_watching+0x16/0xd0 [ 10.203276][ T176] do_syscall_64+0xff/0x530 [ 10.203278][ T176] ? exc_page_fault+0xee/0x100 [ 10.203281][ T176] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.203283][ T176] RIP: 0033:0x7f3226e7654e [ 10.203287][ T176] 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.203289][ T176] RSP: 002b:00007ffc4fe822a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.203291][ T176] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f3226e7654e [ 10.203293][ T176] RDX: 0000000000000000 RSI: 00007ffc4fe82350 RDI: 0000000000000005 [ 10.203294][ T176] RBP: 00007ffc4fe822b0 R08: 0000000000000000 R09: 0000000000000000 [ 10.203294][ T176] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a910a93 [ 10.203295][ T176] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc4fe82a10 [ 10.203302][ T176] [ 10.259103][ T176] bond0: (slave eth0): Enslaving as an active interface with an up link [ 10.270648][ T176] ip (176) used greatest stack depth: 22440 bytes left [ 14.683229][ T183] bond0: (slave eth0): Releasing backup interface [ 14.683251][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.683256][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: ip [ 14.683259][ T183] preempt_count: 1, expected: 0 [ 14.683260][ T183] RCU nest depth: 0, expected: 0 [ 14.683262][ T183] locks held by ip/183: 5, last CPU#2: [ 14.683265][ T183] #0: ffffffffa8322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 14.683280][ T183] #1: ffffffffa7b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.683289][ T183] #2: ffffffffa7b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.683294][ T183] #3: ffffffffa7a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.683299][ T183] #4: ffffffffa7a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.683305][ T183] irq event stamp: 46226 [ 14.683306][ T183] hardirqs last enabled at (46225): [] __down_trylock_console_sem+0x86/0xa0 [ 14.683311][ T183] hardirqs last disabled at (46226): [] console_emit_next_record+0x3f8/0x4f0 [ 14.683313][ T183] softirqs last enabled at (46148): [] inet6_fill_ifla6_attrs+0x1ac2/0x2140 [ 14.683318][ T183] softirqs last disabled at (46146): [] inet6_fill_ifla6_attrs+0x1a72/0x2140 [ 14.683321][ T183] Preemption disabled at: [ 14.683322][ T183] [] vprintk_emit+0x31b/0x3e0 [ 14.683329][ T183] CPU: 2 UID: 0 PID: 183 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.683334][ T183] Tainted: [W]=WARN [ 14.683335][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.683337][ T183] Call Trace: [ 14.683339][ T183] [ 14.683342][ T183] dump_stack_lvl+0x6f/0xa0 [ 14.683348][ T183] ? vprintk_emit+0x31b/0x3e0 [ 14.683351][ T183] __might_resched.cold+0x1fe/0x2c1 [ 14.683357][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.683362][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 14.683369][ T183] __kmalloc_noprof+0x443/0x760 [ 14.683373][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 14.683382][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 14.683385][ T183] alloc_buf.isra.0+0x4b/0x260 [ 14.683391][ T183] put_chars+0x1e1/0x2f0 [ 14.683396][ T183] ? __send_to_port+0x420/0x420 [ 14.683401][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.683406][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.683411][ T183] ? validate_chain+0x38b/0xc20 [ 14.683417][ T183] hvc_console_print+0x292/0x780 [ 14.683422][ T183] ? mark_usage+0x61/0x170 [ 14.683425][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683428][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683435][ T183] ? hvc_write+0x3a0/0x3a0 [ 14.683439][ T183] ? console_emit_next_record+0x202/0x4f0 [ 14.683443][ T183] ? rcu_is_watching+0x16/0xd0 [ 14.683447][ T183] ? lock_acquire+0x13c/0x160 [ 14.683454][ T183] console_emit_next_record+0x252/0x4f0 [ 14.683459][ T183] ? devkmsg_read+0x4e0/0x4e0 [ 14.683466][ T183] ? rcu_is_watching+0x16/0xd0 [ 14.683470][ T183] ? lock_acquire+0x13c/0x160 [ 14.683476][ T183] console_flush_one_record+0x46f/0x710 [ 14.683483][ T183] ? console_emit_next_record+0x4f0/0x4f0 [ 14.683485][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683494][ T183] console_unlock+0xee/0x1f0 [ 14.683499][ T183] ? console_flush_one_record+0x710/0x710 [ 14.683501][ T183] ? rcu_is_watching+0x16/0xd0 [ 14.683504][ T183] ? lock_acquire+0x60/0x160 [ 14.683510][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.683513][ T183] ? vprintk_emit+0x320/0x3e0 [ 14.683518][ T183] vprintk_emit+0x37c/0x3e0 [ 14.683524][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 14.683526][ T183] ? packet_sendmsg_spkt+0x1350/0x1350 [ 14.683537][ T183] _printk+0xc7/0x100 [ 14.683542][ T183] ? snapshot_read.cold+0x21/0x21 [ 14.683549][ T183] ? netdev_name+0x43/0x60 [ 14.683553][ T183] ? __netdev_printk+0x17f/0x1d0 [ 14.683559][ T183] netdev_info+0xe2/0x116 [ 14.683563][ T183] ? netdev_notice+0x120/0x120 [ 14.683570][ T183] ? netdev_upper_dev_unlink+0x79/0xa0 [ 14.683575][ T183] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 14.683582][ T183] __bond_release_one.cold+0x80/0xa60 [ 14.683591][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683594][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683598][ T183] ? bond_enslave+0x5100/0x5100 [ 14.683605][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 14.683608][ T183] ? find_held_lock+0x2b/0x80 [ 14.683621][ T183] ? kernel_text_address+0x149/0x170 [ 14.683630][ T183] do_set_master+0x15c/0x780 [ 14.683637][ T183] do_setlink.isra.0+0x9ec/0x2a60 [ 14.683643][ T183] ? stack_trace_save+0x93/0xc0 [ 14.683648][ T183] ? rtnl_link_get_size+0x350/0x350 [ 14.683651][ T183] ? rcu_read_lock_any_held+0x66/0x90 [ 14.683654][ T183] ? stack_depot_save_flags+0x38e/0x790 [ 14.683658][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.683661][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.683664][ T183] ? validate_chain+0x38b/0xc20 [ 14.683669][ T183] ? kasan_save_stack+0x3d/0x50 [ 14.683672][ T183] ? kasan_save_stack+0x2f/0x50 [ 14.683674][ T183] ? kasan_save_track+0x14/0x30 [ 14.683678][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683681][ T183] ? netlink_seq_next+0x5e/0x60 [ 14.683686][ T183] ? ___sys_sendmsg+0xc0/0x1d0 [ 14.683698][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 14.683701][ T183] ? rtnl_newlink+0x9a8/0x11b0 [ 14.683706][ T183] ? rcu_is_watching+0x16/0xd0 [ 14.683709][ T183] ? lock_acquire+0x13c/0x160 [ 14.683712][ T183] ? rcu_is_watching+0x16/0xd0 [ 14.683714][ T183] ? rcu_is_watching+0x16/0xd0 [ 14.683717][ T183] ? trace_contention_end+0xb3/0x180 [ 14.683721][ T183] ? __mutex_lock+0x1db/0x1ea0 [ 14.683724][ T183] ? __mutex_lock+0x9a3/0x1ea0 [ 14.683728][ T183] ? rtnl_newlink+0x9a8/0x11b0 [ 14.683734][ T183] ? ww_mutex_lock+0x160/0x160 [ 14.683737][ T183] ? nla_get_range_signed+0x3d0/0x3d0 [ 14.683746][ T183] ? __rtnl_newlink+0x3fa/0xa50 [ 14.683756][ T183] rtnl_newlink+0x9f1/0x11b0 [ 14.683766][ T183] ? rtnl_bridge_getlink+0x850/0x850 [ 14.683770][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683778][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 14.683781][ T183] ? find_held_lock+0x2b/0x80 [ 14.683784][ T183] ? rtnl_bridge_getlink+0x850/0x850 [ 14.683788][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 14.683794][ T183] ? rtnl_bridge_getlink+0x850/0x850 [ 14.683798][ T183] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 14.683805][ T183] ? rtnl_link_fill+0x900/0x900 [ 14.683807][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683815][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 14.683818][ T183] ? find_held_lock+0x2b/0x80 [ 14.683825][ T183] netlink_rcv_skb+0x14e/0x3a0 [ 14.683828][ T183] ? rtnl_link_fill+0x900/0x900 [ 14.683833][ T183] ? netlink_ack+0xcd0/0xcd0 [ 14.683844][ T183] ? netlink_deliver_tap+0xc5/0x330 [ 14.683846][ T183] ? netlink_deliver_tap+0x13c/0x330 [ 14.683854][ T183] netlink_unicast+0x486/0x750 [ 14.683860][ T183] ? netlink_attachskb+0x810/0x810 [ 14.683865][ T183] ? __lock_acquire+0x518/0xc20 [ 14.683872][ T183] netlink_sendmsg+0x735/0xc60 [ 14.683879][ T183] ? netlink_unicast+0x750/0x750 [ 14.683885][ T183] ? __might_fault+0x97/0x140 [ 14.683894][ T183] ____sys_sendmsg+0x415/0x880 [ 14.683898][ T183] ? copy_msghdr_from_user+0x279/0x420 [ 14.683901][ T183] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 14.683903][ T183] ? move_addr_to_kernel+0x40/0x40 [ 14.683916][ T183] ___sys_sendmsg+0x14e/0x1d0 [ 14.683920][ T183] ? copy_msghdr_from_user+0x420/0x420 [ 14.683949][ T183] __sys_sendmsg+0x12c/0x1d0 [ 14.683953][ T183] ? __sys_sendmsg_sock+0x20/0x20 [ 14.683963][ T183] ? rcu_is_watching+0x16/0xd0 [ 14.683969][ T183] do_syscall_64+0xff/0x530 [ 14.683971][ T183] ? exc_page_fault+0xee/0x100 [ 14.683976][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.683980][ T183] RIP: 0033:0x7f6fadc5e54e [ 14.683985][ T183] 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 [ 14.683987][ T183] RSP: 002b:00007ffdcae5d370 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 14.683991][ T183] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f6fadc5e54e [ 14.683993][ T183] RDX: 0000000000000000 RSI: 00007ffdcae5d420 RDI: 0000000000000005 [ 14.683995][ T183] RBP: 00007ffdcae5d380 R08: 0000000000000000 R09: 0000000000000000 [ 14.683996][ T183] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a910a98 [ 14.683997][ T183] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdcae5dae0 [ 14.684009][ T183] [ 14.950602][ T186] bond0: (slave eth0): Enslaving as an active interface with an up link [ 19.238523][ T12] bond0: (slave eth0): Releasing backup interface [ 19.238577][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.238579][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 19.238581][ T12] preempt_count: 1, expected: 0 [ 19.238582][ T12] RCU nest depth: 0, expected: 0 [ 19.238583][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 19.238585][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 19.238597][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 19.238600][ T12] #2: ffffffffa8306b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 19.238606][ T12] #3: ffffffffa8322700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 19.238610][ T12] #4: ffffffffa7b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.238615][ T12] #5: ffffffffa7b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.238618][ T12] #6: ffffffffa7a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.238621][ T12] #7: ffffffffa7a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.238625][ T12] irq event stamp: 16636 [ 19.238626][ T12] hardirqs last enabled at (16635): [] __down_trylock_console_sem+0x86/0xa0 [ 19.238629][ T12] hardirqs last disabled at (16636): [] console_emit_next_record+0x3f8/0x4f0 [ 19.238631][ T12] softirqs last enabled at (16510): [] xfrm_dev_policy_flush+0x17c/0x220 [ 19.238634][ T12] softirqs last disabled at (16508): [] xfrm_dev_policy_flush+0x49/0x220 [ 19.238637][ T12] Preemption disabled at: [ 19.238637][ T12] [] vprintk_emit+0x31b/0x3e0 [ 19.238643][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.238647][ T12] Tainted: [W]=WARN [ 19.238648][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.238649][ T12] Workqueue: netns cleanup_net [ 19.238653][ T12] Call Trace: [ 19.238654][ T12] [ 19.238656][ T12] dump_stack_lvl+0x6f/0xa0 [ 19.238661][ T12] ? vprintk_emit+0x31b/0x3e0 [ 19.238663][ T12] __might_resched.cold+0x1fe/0x2c1 [ 19.238668][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.238672][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 19.238678][ T12] __kmalloc_noprof+0x443/0x760 [ 19.238680][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 19.238687][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 19.238689][ T12] alloc_buf.isra.0+0x4b/0x260 [ 19.238693][ T12] put_chars+0x1e1/0x2f0 [ 19.238697][ T12] ? __send_to_port+0x420/0x420 [ 19.238700][ T12] ? validate_chain+0x34a/0xc20 [ 19.238711][ T12] hvc_console_print+0x292/0x780 [ 19.238714][ T12] ? __lock_acquire+0x518/0xc20 [ 19.238720][ T12] ? hvc_write+0x3a0/0x3a0 [ 19.238723][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.238730][ T12] console_emit_next_record+0x252/0x4f0 [ 19.238733][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 19.238738][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.238740][ T12] ? lock_acquire+0x13c/0x160 [ 19.238744][ T12] console_flush_one_record+0x46f/0x710 [ 19.238749][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 19.238750][ T12] ? __lock_acquire+0x518/0xc20 [ 19.238756][ T12] console_unlock+0xee/0x1f0 [ 19.238758][ T12] ? console_flush_one_record+0x710/0x710 [ 19.238760][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.238762][ T12] ? lock_acquire+0x60/0x160 [ 19.238766][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.238768][ T12] ? vprintk_emit+0x320/0x3e0 [ 19.238771][ T12] vprintk_emit+0x37c/0x3e0 [ 19.238775][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 19.238776][ T12] ? packet_sendmsg_spkt+0x1350/0x1350 [ 19.238784][ T12] _printk+0xc7/0x100 [ 19.238787][ T12] ? snapshot_read.cold+0x21/0x21 [ 19.238792][ T12] ? netdev_name+0x43/0x60 [ 19.238795][ T12] ? __netdev_printk+0x17f/0x1d0 [ 19.238799][ T12] netdev_info+0xe2/0x116 [ 19.238801][ T12] ? netdev_notice+0x120/0x120 [ 19.238806][ T12] ? netdev_upper_dev_unlink+0x79/0xa0 [ 19.238809][ T12] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 19.238813][ T12] __bond_release_one.cold+0x80/0xa60 [ 19.238821][ T12] ? bond_enslave+0x5100/0x5100 [ 19.238824][ T12] ? __lock_acquire+0x518/0xc20 [ 19.238829][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 19.238836][ T12] ? lockdep_rtnl_is_held+0x1a/0x20 [ 19.238838][ T12] ? bond_slave_netdev_event.isra.0+0x247/0x820 [ 19.238840][ T12] ? lockdep_rtnl_is_held+0x1a/0x20 [ 19.238844][ T12] bond_netdev_event+0x13f/0x300 [ 19.238847][ T12] notifier_call_chain+0xae/0x300 [ 19.238853][ T12] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 19.238858][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 19.238867][ T12] default_device_exit_batch+0x38b/0x600 [ 19.238869][ T12] ? generic_xdp_install+0x470/0x470 [ 19.238872][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 19.238875][ T12] ? rtnl_is_locked+0x15/0x20 [ 19.238876][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 19.238882][ T12] ops_undo_list+0x2ce/0x8f0 [ 19.238886][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 19.238889][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 19.238891][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 19.238894][ T12] ? idr_destroy+0x121/0x250 [ 19.238899][ T12] cleanup_net+0x431/0x890 [ 19.238902][ T12] ? net_passive_dec+0x230/0x230 [ 19.238906][ T12] ? lock_acquire+0x13c/0x160 [ 19.238908][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.238912][ T12] process_one_work+0xe3e/0x1560 [ 19.238918][ T12] ? __queue_delayed_work+0x470/0x470 [ 19.238920][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 19.238929][ T12] worker_thread+0x4f1/0xd60 [ 19.238935][ T12] ? rescuer_thread+0x1340/0x1340 [ 19.238937][ T12] kthread+0x367/0x460 [ 19.238940][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.238943][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 19.238946][ T12] ret_from_fork+0x474/0x6b0 [ 19.238951][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 19.238954][ T12] ? __switch_to+0x5a3/0xe00 [ 19.238958][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 19.238961][ T12] ret_from_fork_asm+0x11/0x20 [ 19.238971][ T12] [ 19.312178][ T12] bond0 (unregistering): Released all slaves