[ 9.900422][ T175] bond0: (slave eth0): making interface the new active one [ 9.900493][ T175] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.900495][ T175] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 175, name: ip [ 9.900497][ T175] preempt_count: 1, expected: 0 [ 9.900498][ T175] RCU nest depth: 0, expected: 0 [ 9.900499][ T175] locks held by ip/175: 5, last CPU#3: [ 9.900501][ T175] #0: ffffffffab322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.900513][ T175] #1: ffffffffaab99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.900519][ T175] #2: ffffffffaab99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.900523][ T175] #3: ffffffffaaa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.900526][ T175] #4: ffffffffaaa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.900529][ T175] irq event stamp: 43334 [ 9.900530][ T175] hardirqs last enabled at (43333): [] __down_trylock_console_sem+0x86/0xa0 [ 9.900533][ T175] hardirqs last disabled at (43334): [] console_emit_next_record+0x3f8/0x4f0 [ 9.900535][ T175] softirqs last enabled at (43212): [] __alloc_skb+0x4c5/0x5f0 [ 9.900538][ T175] softirqs last disabled at (43210): [] __alloc_skb+0x4c5/0x5f0 [ 9.900541][ T175] Preemption disabled at: [ 9.900541][ T175] [] vprintk_emit+0x31b/0x3e0 [ 9.900547][ T175] CPU: 3 UID: 0 PID: 175 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.900551][ T175] Tainted: [W]=WARN [ 9.900552][ T175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.900554][ T175] Call Trace: [ 9.900556][ T175] [ 9.900557][ T175] dump_stack_lvl+0x6f/0xa0 [ 9.900563][ T175] ? vprintk_emit+0x31b/0x3e0 [ 9.900564][ T175] __might_resched.cold+0x1fe/0x2c1 [ 9.900569][ T175] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.900573][ T175] ? __kmalloc_noprof+0xdb/0x760 [ 9.900578][ T175] __kmalloc_noprof+0x443/0x760 [ 9.900581][ T175] ? alloc_buf.isra.0+0x4b/0x260 [ 9.900587][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 9.900589][ T175] alloc_buf.isra.0+0x4b/0x260 [ 9.900593][ T175] put_chars+0x1e1/0x2f0 [ 9.900596][ T175] ? __send_to_port+0x420/0x420 [ 9.900600][ T175] ? validate_chain+0x34a/0xc20 [ 9.900606][ T175] hvc_console_print+0x292/0x780 [ 9.900609][ T175] ? __lock_acquire+0x518/0xc20 [ 9.900614][ T175] ? hvc_write+0x3a0/0x3a0 [ 9.900617][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.900623][ T175] console_emit_next_record+0x252/0x4f0 [ 9.900626][ T175] ? devkmsg_read+0x4e0/0x4e0 [ 9.900630][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.900632][ T175] ? lock_acquire+0x13c/0x160 [ 9.900636][ T175] console_flush_one_record+0x46f/0x710 [ 9.900640][ T175] ? console_emit_next_record+0x4f0/0x4f0 [ 9.900641][ T175] ? __lock_acquire+0x518/0xc20 [ 9.900647][ T175] console_unlock+0xee/0x1f0 [ 9.900649][ T175] ? console_flush_one_record+0x710/0x710 [ 9.900650][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.900652][ T175] ? lock_acquire+0x60/0x160 [ 9.900656][ T175] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.900658][ T175] ? vprintk_emit+0x320/0x3e0 [ 9.900661][ T175] vprintk_emit+0x37c/0x3e0 [ 9.900664][ T175] ? wake_up_klogd_work_func+0x90/0x90 [ 9.900667][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.900668][ T175] ? flush_tlb_mm_range+0x2ac/0x570 [ 9.900674][ T175] _printk+0xc7/0x100 [ 9.900677][ T175] ? snapshot_read.cold+0x21/0x21 [ 9.900681][ T175] ? find_held_lock+0x2b/0x80 [ 9.900683][ T175] ? netdev_name+0x43/0x60 [ 9.900686][ T175] ? __netdev_printk+0x17f/0x1d0 [ 9.900689][ T175] netdev_info+0xe2/0x116 [ 9.900691][ T175] ? netdev_notice+0x120/0x120 [ 9.900696][ T175] ? lockdep_rtnl_is_held+0x1a/0x20 [ 9.900698][ T175] ? bond_ipsec_del_sa_all+0x357/0x520 [ 9.900704][ T175] bond_change_active_slave.cold+0x52/0x21b [ 9.900708][ T175] ? lockdep_rtnl_is_held+0x1a/0x20 [ 9.900709][ T175] ? bond_choose_primary_or_current+0x246/0x6a0 [ 9.900713][ T175] ? bond_peer_notify_work_rearm+0x80/0x80 [ 9.900716][ T175] ? static_key_slow_inc_cpuslocked+0xa8/0xd0 [ 9.900722][ T175] bond_select_active_slave+0x114/0x4f0 [ 9.900725][ T175] ? bond_change_active_slave+0x21c0/0x21c0 [ 9.900731][ T175] ? static_key_slow_inc+0x27/0x30 [ 9.900732][ T175] bond_enslave+0x2437/0x5100 [ 9.900738][ T175] ? find_held_lock+0x2b/0x80 [ 9.900740][ T175] ? bond_update_slave_arr+0xcf0/0xcf0 [ 9.900742][ T175] ? mark_usage+0x61/0x170 [ 9.900744][ T175] ? __lock_acquire+0x518/0xc20 [ 9.900746][ T175] ? __lock_acquire+0x501/0xc20 [ 9.900750][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.900757][ T175] ? is_bpf_text_address+0x72/0x110 [ 9.900761][ T175] ? kernel_text_address+0x149/0x170 [ 9.900766][ T175] do_set_master+0x3b2/0x780 [ 9.900770][ T175] do_setlink.isra.0+0x9ec/0x2a60 [ 9.900774][ T175] ? stack_trace_save+0x93/0xc0 [ 9.900777][ T175] ? rtnl_link_get_size+0x350/0x350 [ 9.900779][ T175] ? rcu_read_lock_any_held+0x66/0x90 [ 9.900782][ T175] ? stack_depot_save_flags+0x38e/0x790 [ 9.900785][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.900788][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.900790][ T175] ? validate_chain+0x38b/0xc20 [ 9.900793][ T175] ? kasan_save_stack+0x3d/0x50 [ 9.900795][ T175] ? kasan_save_stack+0x2f/0x50 [ 9.900796][ T175] ? kasan_save_track+0x14/0x30 [ 9.900798][ T175] ? __lock_acquire+0x518/0xc20 [ 9.900801][ T175] ? netlink_seq_next+0x1e/0x60 [ 9.900804][ T175] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.900808][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.900810][ T175] ? rtnl_newlink+0x9a8/0x11b0 [ 9.900813][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.900815][ T175] ? lock_acquire+0x13c/0x160 [ 9.900817][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.900818][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.900820][ T175] ? trace_contention_end+0xb3/0x180 [ 9.900822][ T175] ? __mutex_lock+0x1db/0x1ea0 [ 9.900825][ T175] ? __mutex_lock+0x9a3/0x1ea0 [ 9.900827][ T175] ? rtnl_newlink+0x9a8/0x11b0 [ 9.900831][ T175] ? ww_mutex_lock+0x160/0x160 [ 9.900833][ T175] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.900839][ T175] ? __rtnl_newlink+0x3fa/0xa50 [ 9.900844][ T175] rtnl_newlink+0x9f1/0x11b0 [ 9.900850][ T175] ? rtnl_bridge_getlink+0x850/0x850 [ 9.900852][ T175] ? __lock_acquire+0x518/0xc20 [ 9.900857][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.900859][ T175] ? find_held_lock+0x2b/0x80 [ 9.900861][ T175] ? rtnl_bridge_getlink+0x850/0x850 [ 9.900863][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 9.900867][ T175] ? rtnl_bridge_getlink+0x850/0x850 [ 9.900870][ T175] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.900873][ T175] ? rtnl_link_fill+0x900/0x900 [ 9.900875][ T175] ? __lock_acquire+0x518/0xc20 [ 9.900880][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.900882][ T175] ? find_held_lock+0x2b/0x80 [ 9.900885][ T175] netlink_rcv_skb+0x14e/0x3a0 [ 9.900887][ T175] ? rtnl_link_fill+0x900/0x900 [ 9.900891][ T175] ? netlink_ack+0xcd0/0xcd0 [ 9.900897][ T175] ? netlink_deliver_tap+0xc5/0x330 [ 9.900898][ T175] ? netlink_deliver_tap+0x13c/0x330 [ 9.900902][ T175] netlink_unicast+0x486/0x750 [ 9.900906][ T175] ? netlink_attachskb+0x810/0x810 [ 9.900909][ T175] ? __lock_acquire+0x518/0xc20 [ 9.900913][ T175] netlink_sendmsg+0x735/0xc60 [ 9.900917][ T175] ? netlink_unicast+0x750/0x750 [ 9.900921][ T175] ? __might_fault+0x97/0x140 [ 9.900927][ T175] ____sys_sendmsg+0x415/0x880 [ 9.900929][ T175] ? copy_msghdr_from_user+0x279/0x420 [ 9.900931][ T175] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.900932][ T175] ? move_addr_to_kernel+0x40/0x40 [ 9.900939][ T175] ___sys_sendmsg+0x14e/0x1d0 [ 9.900947][ T175] ? copy_msghdr_from_user+0x420/0x420 [ 9.900964][ T175] __sys_sendmsg+0x12c/0x1d0 [ 9.900966][ T175] ? __sys_sendmsg_sock+0x20/0x20 [ 9.900972][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.900975][ T175] do_syscall_64+0xff/0x530 [ 9.900977][ T175] ? exc_page_fault+0xee/0x100 [ 9.900981][ T175] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.900983][ T175] RIP: 0033:0x7fe2ec20f54e [ 9.900987][ T175] 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 [ 9.900989][ T175] RSP: 002b:00007ffcc3f85af0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.900991][ T175] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fe2ec20f54e [ 9.900993][ T175] RDX: 0000000000000000 RSI: 00007ffcc3f85ba0 RDI: 0000000000000005 [ 9.900994][ T175] RBP: 00007ffcc3f85b00 R08: 0000000000000000 R09: 0000000000000000 [ 9.900994][ T175] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b32a [ 9.900995][ T175] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffcc3f86260 [ 9.901002][ T175] [ 9.943626][ T175] bond0: (slave eth0): Enslaving as an active interface with an up link [ 9.957989][ T175] ip (175) used greatest stack depth: 22440 bytes left [ 14.285744][ T180] bond0: (slave eth0): Releasing backup interface [ 14.285763][ T180] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.285766][ T180] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 180, name: ip [ 14.285768][ T180] preempt_count: 1, expected: 0 [ 14.285769][ T180] RCU nest depth: 0, expected: 0 [ 14.285771][ T180] locks held by ip/180: 5, last CPU#3: [ 14.285774][ T180] #0: ffffffffab322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 14.285789][ T180] #1: ffffffffaab99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.285797][ T180] #2: ffffffffaab99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.285801][ T180] #3: ffffffffaaa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.285804][ T180] #4: ffffffffaaa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.285808][ T180] irq event stamp: 43060 [ 14.285809][ T180] hardirqs last enabled at (43059): [] __down_trylock_console_sem+0x86/0xa0 [ 14.285812][ T180] hardirqs last disabled at (43060): [] console_emit_next_record+0x3f8/0x4f0 [ 14.285814][ T180] softirqs last enabled at (42982): [] inet6_fill_ifla6_attrs+0x1ac2/0x2140 [ 14.285818][ T180] softirqs last disabled at (42980): [] inet6_fill_ifla6_attrs+0x1a72/0x2140 [ 14.285820][ T180] Preemption disabled at: [ 14.285821][ T180] [] vprintk_emit+0x31b/0x3e0 [ 14.285826][ T180] CPU: 3 UID: 0 PID: 180 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.285830][ T180] Tainted: [W]=WARN [ 14.285830][ T180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.285832][ T180] Call Trace: [ 14.285834][ T180] [ 14.285836][ T180] dump_stack_lvl+0x6f/0xa0 [ 14.285841][ T180] ? vprintk_emit+0x31b/0x3e0 [ 14.285843][ T180] __might_resched.cold+0x1fe/0x2c1 [ 14.285848][ T180] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.285851][ T180] ? __kmalloc_noprof+0xdb/0x760 [ 14.285857][ T180] __kmalloc_noprof+0x443/0x760 [ 14.285859][ T180] ? alloc_buf.isra.0+0x4b/0x260 [ 14.285865][ T180] ? do_raw_spin_unlock+0x59/0x250 [ 14.285868][ T180] alloc_buf.isra.0+0x4b/0x260 [ 14.285871][ T180] put_chars+0x1e1/0x2f0 [ 14.285874][ T180] ? __send_to_port+0x420/0x420 [ 14.285878][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.285882][ T180] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.285885][ T180] ? validate_chain+0x38b/0xc20 [ 14.285889][ T180] hvc_console_print+0x292/0x780 [ 14.285893][ T180] ? mark_usage+0x61/0x170 [ 14.285895][ T180] ? __lock_acquire+0x518/0xc20 [ 14.285897][ T180] ? __lock_acquire+0x518/0xc20 [ 14.285901][ T180] ? hvc_write+0x3a0/0x3a0 [ 14.285903][ T180] ? console_emit_next_record+0x202/0x4f0 [ 14.285906][ T180] ? rcu_is_watching+0x16/0xd0 [ 14.285908][ T180] ? lock_acquire+0x13c/0x160 [ 14.285912][ T180] console_emit_next_record+0x252/0x4f0 [ 14.285916][ T180] ? devkmsg_read+0x4e0/0x4e0 [ 14.285919][ T180] ? rcu_is_watching+0x16/0xd0 [ 14.285921][ T180] ? lock_acquire+0x13c/0x160 [ 14.285925][ T180] console_flush_one_record+0x46f/0x710 [ 14.285929][ T180] ? console_emit_next_record+0x4f0/0x4f0 [ 14.285930][ T180] ? __lock_acquire+0x518/0xc20 [ 14.285936][ T180] console_unlock+0xee/0x1f0 [ 14.285938][ T180] ? console_flush_one_record+0x710/0x710 [ 14.285939][ T180] ? rcu_is_watching+0x16/0xd0 [ 14.285941][ T180] ? lock_acquire+0x60/0x160 [ 14.285945][ T180] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.285947][ T180] ? vprintk_emit+0x320/0x3e0 [ 14.285950][ T180] vprintk_emit+0x37c/0x3e0 [ 14.285953][ T180] ? wake_up_klogd_work_func+0x90/0x90 [ 14.285954][ T180] ? packet_sendmsg_spkt+0x1350/0x1350 [ 14.285966][ T180] _printk+0xc7/0x100 [ 14.285970][ T180] ? snapshot_read.cold+0x21/0x21 [ 14.285974][ T180] ? netdev_name+0x43/0x60 [ 14.285977][ T180] ? __netdev_printk+0x17f/0x1d0 [ 14.285981][ T180] netdev_info+0xe2/0x116 [ 14.285983][ T180] ? netdev_notice+0x120/0x120 [ 14.285988][ T180] ? netdev_upper_dev_unlink+0x79/0xa0 [ 14.285991][ T180] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 14.285995][ T180] __bond_release_one.cold+0x80/0xa60 [ 14.286001][ T180] ? __lock_acquire+0x518/0xc20 [ 14.286003][ T180] ? __lock_acquire+0x518/0xc20 [ 14.286005][ T180] ? bond_enslave+0x5100/0x5100 [ 14.286010][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 14.286012][ T180] ? find_held_lock+0x2b/0x80 [ 14.286019][ T180] ? kernel_text_address+0x149/0x170 [ 14.286024][ T180] do_set_master+0x15c/0x780 [ 14.286028][ T180] do_setlink.isra.0+0x9ec/0x2a60 [ 14.286032][ T180] ? stack_trace_save+0x93/0xc0 [ 14.286035][ T180] ? rtnl_link_get_size+0x350/0x350 [ 14.286037][ T180] ? rcu_read_lock_any_held+0x66/0x90 [ 14.286039][ T180] ? stack_depot_save_flags+0x38e/0x790 [ 14.286042][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.286044][ T180] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.286046][ T180] ? validate_chain+0x38b/0xc20 [ 14.286049][ T180] ? kasan_save_stack+0x3d/0x50 [ 14.286051][ T180] ? kasan_save_stack+0x2f/0x50 [ 14.286052][ T180] ? kasan_save_track+0x14/0x30 [ 14.286055][ T180] ? __lock_acquire+0x518/0xc20 [ 14.286057][ T180] ? netlink_seq_next+0x1e/0x60 [ 14.286060][ T180] ? ___sys_sendmsg+0xc0/0x1d0 [ 14.286065][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 14.286067][ T180] ? rtnl_newlink+0x9a8/0x11b0 [ 14.286070][ T180] ? rcu_is_watching+0x16/0xd0 [ 14.286072][ T180] ? lock_acquire+0x13c/0x160 [ 14.286073][ T180] ? rcu_is_watching+0x16/0xd0 [ 14.286075][ T180] ? rcu_is_watching+0x16/0xd0 [ 14.286076][ T180] ? trace_contention_end+0xb3/0x180 [ 14.286079][ T180] ? __mutex_lock+0x1db/0x1ea0 [ 14.286081][ T180] ? __mutex_lock+0x9a3/0x1ea0 [ 14.286083][ T180] ? rtnl_newlink+0x9a8/0x11b0 [ 14.286087][ T180] ? ww_mutex_lock+0x160/0x160 [ 14.286089][ T180] ? nla_get_range_signed+0x3d0/0x3d0 [ 14.286095][ T180] ? __rtnl_newlink+0x3fa/0xa50 [ 14.286100][ T180] rtnl_newlink+0x9f1/0x11b0 [ 14.286106][ T180] ? rtnl_bridge_getlink+0x850/0x850 [ 14.286108][ T180] ? __lock_acquire+0x518/0xc20 [ 14.286113][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 14.286115][ T180] ? find_held_lock+0x2b/0x80 [ 14.286117][ T180] ? rtnl_bridge_getlink+0x850/0x850 [ 14.286119][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 14.286125][ T180] ? rtnl_bridge_getlink+0x850/0x850 [ 14.286128][ T180] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 14.286131][ T180] ? rtnl_link_fill+0x900/0x900 [ 14.286133][ T180] ? __lock_acquire+0x518/0xc20 [ 14.286137][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 14.286140][ T180] ? find_held_lock+0x2b/0x80 [ 14.286143][ T180] netlink_rcv_skb+0x14e/0x3a0 [ 14.286145][ T180] ? rtnl_link_fill+0x900/0x900 [ 14.286149][ T180] ? netlink_ack+0xcd0/0xcd0 [ 14.286155][ T180] ? netlink_deliver_tap+0xc5/0x330 [ 14.286156][ T180] ? netlink_deliver_tap+0x13c/0x330 [ 14.286160][ T180] netlink_unicast+0x486/0x750 [ 14.286164][ T180] ? netlink_attachskb+0x810/0x810 [ 14.286167][ T180] ? __lock_acquire+0x518/0xc20 [ 14.286171][ T180] netlink_sendmsg+0x735/0xc60 [ 14.286175][ T180] ? netlink_unicast+0x750/0x750 [ 14.286179][ T180] ? __might_fault+0x97/0x140 [ 14.286184][ T180] ____sys_sendmsg+0x415/0x880 [ 14.286186][ T180] ? copy_msghdr_from_user+0x279/0x420 [ 14.286188][ T180] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 14.286190][ T180] ? move_addr_to_kernel+0x40/0x40 [ 14.286196][ T180] ___sys_sendmsg+0x14e/0x1d0 [ 14.286199][ T180] ? copy_msghdr_from_user+0x420/0x420 [ 14.286214][ T180] __sys_sendmsg+0x12c/0x1d0 [ 14.286217][ T180] ? __sys_sendmsg_sock+0x20/0x20 [ 14.286223][ T180] ? rcu_is_watching+0x16/0xd0 [ 14.286226][ T180] do_syscall_64+0xff/0x530 [ 14.286227][ T180] ? exc_page_fault+0xee/0x100 [ 14.286231][ T180] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.286233][ T180] RIP: 0033:0x7f78d305b54e [ 14.286237][ T180] 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.286238][ T180] RSP: 002b:00007ffec8351610 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 14.286241][ T180] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f78d305b54e [ 14.286242][ T180] RDX: 0000000000000000 RSI: 00007ffec83516c0 RDI: 0000000000000005 [ 14.286243][ T180] RBP: 00007ffec8351620 R08: 0000000000000000 R09: 0000000000000000 [ 14.286244][ T180] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b32e [ 14.286245][ T180] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffec8351d80 [ 14.286251][ T180] [ 14.555185][ T183] bond0: (slave eth0): Enslaving as an active interface with an up link [ 18.819414][ T176] bond0: (slave eth0): Releasing backup interface [ 18.819474][ T176] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.819477][ T176] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 176, name: kworker/u16:2 [ 18.819480][ T176] preempt_count: 1, expected: 0 [ 18.819481][ T176] RCU nest depth: 0, expected: 0 [ 18.819483][ T176] locks held by kworker/u16:2/176: 8, last CPU#2: [ 18.819485][ T176] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 18.819500][ T176] #1: ffa0000001497d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 18.819505][ T176] #2: ffffffffab306b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 18.819513][ T176] #3: ffffffffab322700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 18.819520][ T176] #4: ffffffffaab99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.819527][ T176] #5: ffffffffaab99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.819532][ T176] #6: ffffffffaaa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.819538][ T176] #7: ffffffffaaa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 18.819543][ T176] irq event stamp: 11576 [ 18.819544][ T176] hardirqs last enabled at (11575): [] __down_trylock_console_sem+0x86/0xa0 [ 18.819549][ T176] hardirqs last disabled at (11576): [] console_emit_next_record+0x3f8/0x4f0 [ 18.819551][ T176] softirqs last enabled at (11448): [] xfrm_dev_policy_flush+0x17c/0x220 [ 18.819556][ T176] softirqs last disabled at (11446): [] xfrm_dev_policy_flush+0x49/0x220 [ 18.819559][ T176] Preemption disabled at: [ 18.819560][ T176] [] vprintk_emit+0x31b/0x3e0 [ 18.819567][ T176] CPU: 2 UID: 0 PID: 176 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.819572][ T176] Tainted: [W]=WARN [ 18.819573][ T176] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.819575][ T176] Workqueue: netns cleanup_net [ 18.819580][ T176] Call Trace: [ 18.819582][ T176] [ 18.819585][ T176] dump_stack_lvl+0x6f/0xa0 [ 18.819592][ T176] ? vprintk_emit+0x31b/0x3e0 [ 18.819595][ T176] __might_resched.cold+0x1fe/0x2c1 [ 18.819601][ T176] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.819606][ T176] ? __kmalloc_noprof+0xdb/0x760 [ 18.819614][ T176] __kmalloc_noprof+0x443/0x760 [ 18.819618][ T176] ? alloc_buf.isra.0+0x4b/0x260 [ 18.819628][ T176] ? do_raw_spin_unlock+0x59/0x250 [ 18.819631][ T176] alloc_buf.isra.0+0x4b/0x260 [ 18.819637][ T176] put_chars+0x1e1/0x2f0 [ 18.819642][ T176] ? __send_to_port+0x420/0x420 [ 18.819648][ T176] ? validate_chain+0x34a/0xc20 [ 18.819658][ T176] hvc_console_print+0x292/0x780 [ 18.819663][ T176] ? __lock_acquire+0x518/0xc20 [ 18.819673][ T176] ? hvc_write+0x3a0/0x3a0 [ 18.819678][ T176] ? rcu_is_watching+0x16/0xd0 [ 18.819688][ T176] console_emit_next_record+0x252/0x4f0 [ 18.819694][ T176] ? devkmsg_read+0x4e0/0x4e0 [ 18.819702][ T176] ? rcu_is_watching+0x16/0xd0 [ 18.819705][ T176] ? lock_acquire+0x13c/0x160 [ 18.819713][ T176] console_flush_one_record+0x46f/0x710 [ 18.819719][ T176] ? console_emit_next_record+0x4f0/0x4f0 [ 18.819722][ T176] ? __lock_acquire+0x518/0xc20 [ 18.819732][ T176] console_unlock+0xee/0x1f0 [ 18.819736][ T176] ? console_flush_one_record+0x710/0x710 [ 18.819738][ T176] ? rcu_is_watching+0x16/0xd0 [ 18.819742][ T176] ? lock_acquire+0x60/0x160 [ 18.819749][ T176] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.819752][ T176] ? vprintk_emit+0x320/0x3e0 [ 18.819757][ T176] vprintk_emit+0x37c/0x3e0 [ 18.819763][ T176] ? wake_up_klogd_work_func+0x90/0x90 [ 18.819765][ T176] ? packet_sendmsg_spkt+0x1350/0x1350 [ 18.819777][ T176] _printk+0xc7/0x100 [ 18.819782][ T176] ? snapshot_read.cold+0x21/0x21 [ 18.819790][ T176] ? netdev_name+0x43/0x60 [ 18.819794][ T176] ? __netdev_printk+0x17f/0x1d0 [ 18.819800][ T176] netdev_info+0xe2/0x116 [ 18.819804][ T176] ? netdev_notice+0x120/0x120 [ 18.819812][ T176] ? netdev_upper_dev_unlink+0x79/0xa0 [ 18.819816][ T176] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 18.819824][ T176] __bond_release_one.cold+0x80/0xa60 [ 18.819836][ T176] ? bond_enslave+0x5100/0x5100 [ 18.819839][ T176] ? __lock_acquire+0x518/0xc20 [ 18.819848][ T176] ? lock_acquire.part.0+0xd4/0x280 [ 18.819860][ T176] ? lockdep_rtnl_is_held+0x1a/0x20 [ 18.819864][ T176] ? bond_slave_netdev_event.isra.0+0x247/0x820 [ 18.819868][ T176] ? lockdep_rtnl_is_held+0x1a/0x20 [ 18.819874][ T176] bond_netdev_event+0x13f/0x300 [ 18.819878][ T176] notifier_call_chain+0xae/0x300 [ 18.819889][ T176] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 18.819898][ T176] ? unregister_netdevice_queued+0x80/0x80 [ 18.819912][ T176] default_device_exit_batch+0x38b/0x600 [ 18.819917][ T176] ? generic_xdp_install+0x470/0x470 [ 18.819921][ T176] ? unregister_netdevice_queue+0x470/0x470 [ 18.819925][ T176] ? rtnl_is_locked+0x15/0x20 [ 18.819928][ T176] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 18.819937][ T176] ops_undo_list+0x2ce/0x8f0 [ 18.819943][ T176] ? lockdep_hardirqs_on+0x91/0x130 [ 18.819948][ T176] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 18.819950][ T176] ? __lock_release.isra.0+0x69/0x1a0 [ 18.819956][ T176] ? idr_destroy+0x121/0x250 [ 18.819964][ T176] cleanup_net+0x431/0x890 [ 18.819969][ T176] ? net_passive_dec+0x230/0x230 [ 18.819981][ T176] ? lock_acquire+0x13c/0x160 [ 18.819984][ T176] ? rcu_is_watching+0x16/0xd0 [ 18.819991][ T176] process_one_work+0xe3e/0x1560 [ 18.820003][ T176] ? __queue_delayed_work+0x470/0x470 [ 18.820007][ T176] ? lock_acquire.part.0+0xd4/0x280 [ 18.820021][ T176] worker_thread+0x4f1/0xd60 [ 18.820028][ T176] ? rescuer_thread+0x1340/0x1340 [ 18.820030][ T176] ? __kthread_parkme+0xbd/0x210 [ 18.820035][ T176] ? rescuer_thread+0x1340/0x1340 [ 18.820039][ T176] ? rescuer_thread+0x1340/0x1340 [ 18.820042][ T176] kthread+0x367/0x460 [ 18.820045][ T176] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.820050][ T176] ? kthread_affine_preferred+0x4c0/0x4c0 [ 18.820055][ T176] ret_from_fork+0x474/0x6b0 [ 18.820061][ T176] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 18.820067][ T176] ? __switch_to+0x5a3/0xe00 [ 18.820072][ T176] ? kthread_affine_preferred+0x4c0/0x4c0 [ 18.820077][ T176] ret_from_fork_asm+0x11/0x20 [ 18.820093][ T176] [ 18.927007][ T176] bond0 (unregistering): Released all slaves