[ 9.008989][ T175] bond0: (slave eth0): making interface the new active one [ 9.009046][ T175] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.009048][ T175] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 175, name: ip [ 9.009049][ T175] preempt_count: 1, expected: 0 [ 9.009050][ T175] RCU nest depth: 0, expected: 0 [ 9.009051][ T175] locks held by ip/175: 5, last CPU#0: [ 9.009053][ T175] #0: ffffffff8a322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.009065][ T175] #1: ffffffff89b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.009071][ T175] #2: ffffffff89b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.009075][ T175] #3: ffffffff89a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.009077][ T175] #4: ffffffff89a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.009081][ T175] irq event stamp: 38678 [ 9.009082][ T175] hardirqs last enabled at (38677): [] __down_trylock_console_sem+0x86/0xa0 [ 9.009085][ T175] hardirqs last disabled at (38678): [] console_emit_next_record+0x3f8/0x4f0 [ 9.009086][ T175] softirqs last enabled at (38554): [] __alloc_skb+0x4c5/0x5f0 [ 9.009089][ T175] softirqs last disabled at (38552): [] __alloc_skb+0x4c5/0x5f0 [ 9.009091][ T175] Preemption disabled at: [ 9.009092][ T175] [] vprintk_emit+0x31b/0x3e0 [ 9.009097][ T175] CPU: 0 UID: 0 PID: 175 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.009101][ T175] Tainted: [W]=WARN [ 9.009102][ T175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.009103][ T175] Call Trace: [ 9.009105][ T175] [ 9.009106][ T175] dump_stack_lvl+0x6f/0xa0 [ 9.009111][ T175] ? vprintk_emit+0x31b/0x3e0 [ 9.009113][ T175] __might_resched.cold+0x1fe/0x2c1 [ 9.009117][ T175] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.009121][ T175] ? __kmalloc_noprof+0xdb/0x760 [ 9.009126][ T175] __kmalloc_noprof+0x443/0x760 [ 9.009128][ T175] ? alloc_buf.isra.0+0x4b/0x260 [ 9.009134][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 9.009137][ T175] alloc_buf.isra.0+0x4b/0x260 [ 9.009140][ T175] put_chars+0x1e1/0x2f0 [ 9.009143][ T175] ? __send_to_port+0x420/0x420 [ 9.009147][ T175] ? validate_chain+0x34a/0xc20 [ 9.009152][ T175] hvc_console_print+0x292/0x780 [ 9.009155][ T175] ? __lock_acquire+0x518/0xc20 [ 9.009160][ T175] ? hvc_write+0x3a0/0x3a0 [ 9.009163][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.009169][ T175] console_emit_next_record+0x252/0x4f0 [ 9.009172][ T175] ? devkmsg_read+0x4e0/0x4e0 [ 9.009176][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.009178][ T175] ? lock_acquire+0x13c/0x160 [ 9.009182][ T175] console_flush_one_record+0x46f/0x710 [ 9.009185][ T175] ? console_emit_next_record+0x4f0/0x4f0 [ 9.009187][ T175] ? __lock_acquire+0x518/0xc20 [ 9.009192][ T175] console_unlock+0xee/0x1f0 [ 9.009194][ T175] ? console_flush_one_record+0x710/0x710 [ 9.009196][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.009197][ T175] ? lock_acquire+0x60/0x160 [ 9.009201][ T175] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.009203][ T175] ? vprintk_emit+0x320/0x3e0 [ 9.009206][ T175] vprintk_emit+0x37c/0x3e0 [ 9.009209][ T175] ? wake_up_klogd_work_func+0x90/0x90 [ 9.009211][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.009213][ T175] ? flush_tlb_mm_range+0x2ac/0x570 [ 9.009218][ T175] _printk+0xc7/0x100 [ 9.009221][ T175] ? snapshot_read.cold+0x21/0x21 [ 9.009225][ T175] ? find_held_lock+0x2b/0x80 [ 9.009227][ T175] ? netdev_name+0x43/0x60 [ 9.009229][ T175] ? __netdev_printk+0x17f/0x1d0 [ 9.009233][ T175] netdev_info+0xe2/0x116 [ 9.009235][ T175] ? netdev_notice+0x120/0x120 [ 9.009239][ T175] ? lockdep_rtnl_is_held+0x1a/0x20 [ 9.009241][ T175] ? bond_ipsec_del_sa_all+0x357/0x520 [ 9.009247][ T175] bond_change_active_slave.cold+0x52/0x21b [ 9.009251][ T175] ? lockdep_rtnl_is_held+0x1a/0x20 [ 9.009252][ T175] ? bond_choose_primary_or_current+0x246/0x6a0 [ 9.009255][ T175] ? bond_peer_notify_work_rearm+0x80/0x80 [ 9.009258][ T175] ? static_key_slow_inc_cpuslocked+0xa8/0xd0 [ 9.009264][ T175] bond_select_active_slave+0x114/0x4f0 [ 9.009267][ T175] ? bond_change_active_slave+0x21c0/0x21c0 [ 9.009272][ T175] ? static_key_slow_inc+0x27/0x30 [ 9.009274][ T175] bond_enslave+0x2437/0x5100 [ 9.009280][ T175] ? find_held_lock+0x2b/0x80 [ 9.009282][ T175] ? bond_update_slave_arr+0xcf0/0xcf0 [ 9.009283][ T175] ? mark_usage+0x61/0x170 [ 9.009285][ T175] ? __lock_acquire+0x518/0xc20 [ 9.009287][ T175] ? __lock_acquire+0x501/0xc20 [ 9.009291][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.009298][ T175] ? is_bpf_text_address+0x72/0x110 [ 9.009301][ T175] ? kernel_text_address+0x149/0x170 [ 9.009307][ T175] do_set_master+0x3b2/0x780 [ 9.009311][ T175] do_setlink.isra.0+0x9ec/0x2a60 [ 9.009314][ T175] ? stack_trace_save+0x93/0xc0 [ 9.009317][ T175] ? rtnl_link_get_size+0x350/0x350 [ 9.009319][ T175] ? rcu_read_lock_any_held+0x66/0x90 [ 9.009322][ T175] ? stack_depot_save_flags+0x38e/0x790 [ 9.009325][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.009327][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.009329][ T175] ? validate_chain+0x38b/0xc20 [ 9.009332][ T175] ? kasan_save_stack+0x3d/0x50 [ 9.009334][ T175] ? kasan_save_stack+0x2f/0x50 [ 9.009336][ T175] ? kasan_save_track+0x14/0x30 [ 9.009338][ T175] ? __lock_acquire+0x518/0xc20 [ 9.009340][ T175] ? netlink_seq_next+0x5e/0x60 [ 9.009343][ T175] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.009347][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.009349][ T175] ? rtnl_newlink+0x9a8/0x11b0 [ 9.009352][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.009354][ T175] ? lock_acquire+0x13c/0x160 [ 9.009356][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.009357][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.009359][ T175] ? trace_contention_end+0xb3/0x180 [ 9.009361][ T175] ? __mutex_lock+0x1db/0x1ea0 [ 9.009364][ T175] ? __mutex_lock+0x9a3/0x1ea0 [ 9.009366][ T175] ? rtnl_newlink+0x9a8/0x11b0 [ 9.009370][ T175] ? ww_mutex_lock+0x160/0x160 [ 9.009371][ T175] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.009377][ T175] ? __rtnl_newlink+0x3fa/0xa50 [ 9.009382][ T175] rtnl_newlink+0x9f1/0x11b0 [ 9.009388][ T175] ? rtnl_bridge_getlink+0x850/0x850 [ 9.009390][ T175] ? __lock_acquire+0x518/0xc20 [ 9.009395][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.009397][ T175] ? find_held_lock+0x2b/0x80 [ 9.009399][ T175] ? rtnl_bridge_getlink+0x850/0x850 [ 9.009401][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 9.009405][ T175] ? rtnl_bridge_getlink+0x850/0x850 [ 9.009407][ T175] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.009411][ T175] ? rtnl_link_fill+0x900/0x900 [ 9.009412][ T175] ? __lock_acquire+0x518/0xc20 [ 9.009417][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 9.009419][ T175] ? find_held_lock+0x2b/0x80 [ 9.009422][ T175] netlink_rcv_skb+0x14e/0x3a0 [ 9.009424][ T175] ? rtnl_link_fill+0x900/0x900 [ 9.009427][ T175] ? netlink_ack+0xcd0/0xcd0 [ 9.009433][ T175] ? netlink_deliver_tap+0xc5/0x330 [ 9.009435][ T175] ? netlink_deliver_tap+0x13c/0x330 [ 9.009439][ T175] netlink_unicast+0x486/0x750 [ 9.009443][ T175] ? netlink_attachskb+0x810/0x810 [ 9.009445][ T175] ? __lock_acquire+0x518/0xc20 [ 9.009449][ T175] netlink_sendmsg+0x735/0xc60 [ 9.009453][ T175] ? netlink_unicast+0x750/0x750 [ 9.009457][ T175] ? __might_fault+0x97/0x140 [ 9.009462][ T175] ____sys_sendmsg+0x415/0x880 [ 9.009464][ T175] ? copy_msghdr_from_user+0x279/0x420 [ 9.009466][ T175] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.009467][ T175] ? move_addr_to_kernel+0x40/0x40 [ 9.009474][ T175] ___sys_sendmsg+0x14e/0x1d0 [ 9.009477][ T175] ? copy_msghdr_from_user+0x420/0x420 [ 9.009491][ T175] __sys_sendmsg+0x12c/0x1d0 [ 9.009494][ T175] ? __sys_sendmsg_sock+0x20/0x20 [ 9.009500][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.009503][ T175] do_syscall_64+0xff/0x530 [ 9.009505][ T175] ? exc_page_fault+0xee/0x100 [ 9.009508][ T175] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.009510][ T175] RIP: 0033:0x7f766ea6554e [ 9.009514][ 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.009515][ T175] RSP: 002b:00007fffa6421aa0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.009518][ T175] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f766ea6554e [ 9.009520][ T175] RDX: 0000000000000000 RSI: 00007fffa6421b50 RDI: 0000000000000005 [ 9.009521][ T175] RBP: 00007fffa6421ab0 R08: 0000000000000000 R09: 0000000000000000 [ 9.009521][ T175] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a912156 [ 9.009522][ T175] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffa6422210 [ 9.009529][ T175] [ 9.047068][ T175] bond0: (slave eth0): Enslaving as an active interface with an up link [ 9.053117][ T175] ip (175) used greatest stack depth: 22440 bytes left [ 13.340360][ T180] bond0: (slave eth0): Releasing backup interface [ 13.340378][ T180] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.340380][ T180] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 180, name: ip [ 13.340381][ T180] preempt_count: 1, expected: 0 [ 13.340382][ T180] RCU nest depth: 0, expected: 0 [ 13.340383][ T180] locks held by ip/180: 5, last CPU#0: [ 13.340385][ T180] #0: ffffffff8a322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 13.340398][ T180] #1: ffffffff89b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.340404][ T180] #2: ffffffff89b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.340407][ T180] #3: ffffffff89a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.340410][ T180] #4: ffffffff89a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 13.340414][ T180] irq event stamp: 39708 [ 13.340414][ T180] hardirqs last enabled at (39707): [] __down_trylock_console_sem+0x86/0xa0 [ 13.340418][ T180] hardirqs last disabled at (39708): [] console_emit_next_record+0x3f8/0x4f0 [ 13.340419][ T180] softirqs last enabled at (39630): [] inet6_fill_ifla6_attrs+0x1ac2/0x2140 [ 13.340423][ T180] softirqs last disabled at (39628): [] inet6_fill_ifla6_attrs+0x1a72/0x2140 [ 13.340425][ T180] Preemption disabled at: [ 13.340426][ T180] [] vprintk_emit+0x31b/0x3e0 [ 13.340431][ T180] CPU: 0 UID: 0 PID: 180 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.340434][ T180] Tainted: [W]=WARN [ 13.340435][ T180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.340437][ T180] Call Trace: [ 13.340439][ T180] [ 13.340440][ T180] dump_stack_lvl+0x6f/0xa0 [ 13.340445][ T180] ? vprintk_emit+0x31b/0x3e0 [ 13.340447][ T180] __might_resched.cold+0x1fe/0x2c1 [ 13.340452][ T180] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.340455][ T180] ? __kmalloc_noprof+0xdb/0x760 [ 13.340460][ T180] __kmalloc_noprof+0x443/0x760 [ 13.340463][ T180] ? alloc_buf.isra.0+0x4b/0x260 [ 13.340469][ T180] ? do_raw_spin_unlock+0x59/0x250 [ 13.340471][ T180] alloc_buf.isra.0+0x4b/0x260 [ 13.340474][ T180] put_chars+0x1e1/0x2f0 [ 13.340478][ T180] ? __send_to_port+0x420/0x420 [ 13.340481][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.340485][ T180] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.340487][ T180] ? validate_chain+0x38b/0xc20 [ 13.340491][ T180] hvc_console_print+0x292/0x780 [ 13.340495][ T180] ? mark_usage+0x61/0x170 [ 13.340497][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340499][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340503][ T180] ? hvc_write+0x3a0/0x3a0 [ 13.340505][ T180] ? console_emit_next_record+0x202/0x4f0 [ 13.340508][ T180] ? rcu_is_watching+0x16/0xd0 [ 13.340510][ T180] ? lock_acquire+0x13c/0x160 [ 13.340515][ T180] console_emit_next_record+0x252/0x4f0 [ 13.340518][ T180] ? devkmsg_read+0x4e0/0x4e0 [ 13.340522][ T180] ? rcu_is_watching+0x16/0xd0 [ 13.340524][ T180] ? lock_acquire+0x13c/0x160 [ 13.340528][ T180] console_flush_one_record+0x46f/0x710 [ 13.340532][ T180] ? console_emit_next_record+0x4f0/0x4f0 [ 13.340533][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340538][ T180] console_unlock+0xee/0x1f0 [ 13.340541][ T180] ? console_flush_one_record+0x710/0x710 [ 13.340542][ T180] ? rcu_is_watching+0x16/0xd0 [ 13.340544][ T180] ? lock_acquire+0x60/0x160 [ 13.340548][ T180] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.340549][ T180] ? vprintk_emit+0x320/0x3e0 [ 13.340552][ T180] vprintk_emit+0x37c/0x3e0 [ 13.340556][ T180] ? wake_up_klogd_work_func+0x90/0x90 [ 13.340557][ T180] ? packet_sendmsg_spkt+0x1350/0x1350 [ 13.340564][ T180] _printk+0xc7/0x100 [ 13.340567][ T180] ? snapshot_read.cold+0x21/0x21 [ 13.340571][ T180] ? netdev_name+0x43/0x60 [ 13.340574][ T180] ? __netdev_printk+0x17f/0x1d0 [ 13.340578][ T180] netdev_info+0xe2/0x116 [ 13.340580][ T180] ? netdev_notice+0x120/0x120 [ 13.340585][ T180] ? netdev_upper_dev_unlink+0x79/0xa0 [ 13.340588][ T180] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 13.340592][ T180] __bond_release_one.cold+0x80/0xa60 [ 13.340598][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340600][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340602][ T180] ? bond_enslave+0x5100/0x5100 [ 13.340607][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 13.340609][ T180] ? find_held_lock+0x2b/0x80 [ 13.340616][ T180] ? kernel_text_address+0x149/0x170 [ 13.340621][ T180] do_set_master+0x15c/0x780 [ 13.340625][ T180] do_setlink.isra.0+0x9ec/0x2a60 [ 13.340629][ T180] ? stack_trace_save+0x93/0xc0 [ 13.340632][ T180] ? rtnl_link_get_size+0x350/0x350 [ 13.340634][ T180] ? rcu_read_lock_any_held+0x66/0x90 [ 13.340636][ T180] ? stack_depot_save_flags+0x38e/0x790 [ 13.340639][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.340641][ T180] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.340643][ T180] ? validate_chain+0x38b/0xc20 [ 13.340646][ T180] ? kasan_save_stack+0x3d/0x50 [ 13.340648][ T180] ? kasan_save_stack+0x2f/0x50 [ 13.340650][ T180] ? kasan_save_track+0x14/0x30 [ 13.340652][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340654][ T180] ? netlink_seq_next+0x5e/0x60 [ 13.340657][ T180] ? ___sys_sendmsg+0xc0/0x1d0 [ 13.340661][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 13.340663][ T180] ? rtnl_newlink+0x9a8/0x11b0 [ 13.340666][ T180] ? rcu_is_watching+0x16/0xd0 [ 13.340668][ T180] ? lock_acquire+0x13c/0x160 [ 13.340670][ T180] ? rcu_is_watching+0x16/0xd0 [ 13.340671][ T180] ? rcu_is_watching+0x16/0xd0 [ 13.340673][ T180] ? trace_contention_end+0xb3/0x180 [ 13.340676][ T180] ? __mutex_lock+0x1db/0x1ea0 [ 13.340678][ T180] ? __mutex_lock+0x9a3/0x1ea0 [ 13.340680][ T180] ? rtnl_newlink+0x9a8/0x11b0 [ 13.340684][ T180] ? ww_mutex_lock+0x160/0x160 [ 13.340685][ T180] ? nla_get_range_signed+0x3d0/0x3d0 [ 13.340692][ T180] ? __rtnl_newlink+0x3fa/0xa50 [ 13.340697][ T180] rtnl_newlink+0x9f1/0x11b0 [ 13.340703][ T180] ? rtnl_bridge_getlink+0x850/0x850 [ 13.340705][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340710][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 13.340712][ T180] ? find_held_lock+0x2b/0x80 [ 13.340714][ T180] ? rtnl_bridge_getlink+0x850/0x850 [ 13.340716][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 13.340720][ T180] ? rtnl_bridge_getlink+0x850/0x850 [ 13.340723][ T180] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 13.340727][ T180] ? rtnl_link_fill+0x900/0x900 [ 13.340728][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340733][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 13.340735][ T180] ? find_held_lock+0x2b/0x80 [ 13.340739][ T180] netlink_rcv_skb+0x14e/0x3a0 [ 13.340740][ T180] ? rtnl_link_fill+0x900/0x900 [ 13.340744][ T180] ? netlink_ack+0xcd0/0xcd0 [ 13.340750][ T180] ? netlink_deliver_tap+0xc5/0x330 [ 13.340751][ T180] ? netlink_deliver_tap+0x13c/0x330 [ 13.340756][ T180] netlink_unicast+0x486/0x750 [ 13.340759][ T180] ? netlink_attachskb+0x810/0x810 [ 13.340762][ T180] ? __lock_acquire+0x518/0xc20 [ 13.340766][ T180] netlink_sendmsg+0x735/0xc60 [ 13.340770][ T180] ? netlink_unicast+0x750/0x750 [ 13.340774][ T180] ? __might_fault+0x97/0x140 [ 13.340780][ T180] ____sys_sendmsg+0x415/0x880 [ 13.340782][ T180] ? copy_msghdr_from_user+0x279/0x420 [ 13.340784][ T180] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 13.340785][ T180] ? move_addr_to_kernel+0x40/0x40 [ 13.340792][ T180] ___sys_sendmsg+0x14e/0x1d0 [ 13.340795][ T180] ? copy_msghdr_from_user+0x420/0x420 [ 13.340811][ T180] __sys_sendmsg+0x12c/0x1d0 [ 13.340813][ T180] ? __sys_sendmsg_sock+0x20/0x20 [ 13.340819][ T180] ? rcu_is_watching+0x16/0xd0 [ 13.340822][ T180] do_syscall_64+0xff/0x530 [ 13.340824][ T180] ? exc_page_fault+0xee/0x100 [ 13.340827][ T180] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.340829][ T180] RIP: 0033:0x7f061898554e [ 13.340833][ 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 [ 13.340835][ T180] RSP: 002b:00007ffef22e51f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 13.340837][ T180] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f061898554e [ 13.340839][ T180] RDX: 0000000000000000 RSI: 00007ffef22e52a0 RDI: 0000000000000005 [ 13.340840][ T180] RBP: 00007ffef22e5200 R08: 0000000000000000 R09: 0000000000000000 [ 13.340840][ T180] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91215a [ 13.340841][ T180] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffef22e5960 [ 13.340848][ T180] [ 13.552424][ T183] bond0: (slave eth0): Enslaving as an active interface with an up link [ 17.795775][ T70] bond0: (slave eth0): Releasing backup interface [ 17.795856][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.795858][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 17.795860][ T70] preempt_count: 1, expected: 0 [ 17.795860][ T70] RCU nest depth: 0, expected: 0 [ 17.795861][ T70] locks held by kworker/u16:1/70: 8, last CPU#2: [ 17.795863][ T70] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 17.795875][ T70] #1: ffa00000004b7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 17.795878][ T70] #2: ffffffff8a306b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 17.795883][ T70] #3: ffffffff8a322700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 17.795888][ T70] #4: ffffffff89b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.795893][ T70] #5: ffffffff89b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.795896][ T70] #6: ffffffff89a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.795898][ T70] #7: ffffffff89a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.795902][ T70] irq event stamp: 8850 [ 17.795902][ T70] hardirqs last enabled at (8849): [] __down_trylock_console_sem+0x86/0xa0 [ 17.795906][ T70] hardirqs last disabled at (8850): [] console_emit_next_record+0x3f8/0x4f0 [ 17.795910][ T70] softirqs last enabled at (8722): [] xfrm_dev_policy_flush+0x17c/0x220 [ 17.795914][ T70] softirqs last disabled at (8720): [] xfrm_dev_policy_flush+0x49/0x220 [ 17.795916][ T70] Preemption disabled at: [ 17.795917][ T70] [] vprintk_emit+0x31b/0x3e0 [ 17.795922][ T70] CPU: 2 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.795925][ T70] Tainted: [W]=WARN [ 17.795926][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.795928][ T70] Workqueue: netns cleanup_net [ 17.795931][ T70] Call Trace: [ 17.795933][ T70] [ 17.795935][ T70] dump_stack_lvl+0x6f/0xa0 [ 17.795941][ T70] ? vprintk_emit+0x31b/0x3e0 [ 17.795942][ T70] __might_resched.cold+0x1fe/0x2c1 [ 17.795947][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.795950][ T70] ? __kmalloc_noprof+0xdb/0x760 [ 17.795955][ T70] __kmalloc_noprof+0x443/0x760 [ 17.795958][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 17.795964][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 17.795966][ T70] alloc_buf.isra.0+0x4b/0x260 [ 17.795970][ T70] put_chars+0x1e1/0x2f0 [ 17.795974][ T70] ? __send_to_port+0x420/0x420 [ 17.795977][ T70] ? validate_chain+0x34a/0xc20 [ 17.795983][ T70] hvc_console_print+0x292/0x780 [ 17.795986][ T70] ? __lock_acquire+0x518/0xc20 [ 17.795992][ T70] ? hvc_write+0x3a0/0x3a0 [ 17.795995][ T70] ? rcu_is_watching+0x16/0xd0 [ 17.796001][ T70] console_emit_next_record+0x252/0x4f0 [ 17.796005][ T70] ? devkmsg_read+0x4e0/0x4e0 [ 17.796009][ T70] ? rcu_is_watching+0x16/0xd0 [ 17.796010][ T70] ? lock_acquire+0x13c/0x160 [ 17.796015][ T70] console_flush_one_record+0x46f/0x710 [ 17.796019][ T70] ? console_emit_next_record+0x4f0/0x4f0 [ 17.796020][ T70] ? __lock_acquire+0x518/0xc20 [ 17.796025][ T70] console_unlock+0xee/0x1f0 [ 17.796028][ T70] ? console_flush_one_record+0x710/0x710 [ 17.796029][ T70] ? rcu_is_watching+0x16/0xd0 [ 17.796031][ T70] ? lock_acquire+0x60/0x160 [ 17.796037][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.796039][ T70] ? vprintk_emit+0x320/0x3e0 [ 17.796042][ T70] vprintk_emit+0x37c/0x3e0 [ 17.796046][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 17.796047][ T70] ? packet_sendmsg_spkt+0x1350/0x1350 [ 17.796054][ T70] _printk+0xc7/0x100 [ 17.796058][ T70] ? snapshot_read.cold+0x21/0x21 [ 17.796062][ T70] ? netdev_name+0x43/0x60 [ 17.796065][ T70] ? __netdev_printk+0x17f/0x1d0 [ 17.796069][ T70] netdev_info+0xe2/0x116 [ 17.796071][ T70] ? netdev_notice+0x120/0x120 [ 17.796076][ T70] ? netdev_upper_dev_unlink+0x79/0xa0 [ 17.796078][ T70] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 17.796082][ T70] __bond_release_one.cold+0x80/0xa60 [ 17.796089][ T70] ? bond_enslave+0x5100/0x5100 [ 17.796092][ T70] ? __lock_acquire+0x518/0xc20 [ 17.796097][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 17.796104][ T70] ? lockdep_rtnl_is_held+0x1a/0x20 [ 17.796106][ T70] ? bond_slave_netdev_event.isra.0+0x247/0x820 [ 17.796108][ T70] ? lockdep_rtnl_is_held+0x1a/0x20 [ 17.796112][ T70] bond_netdev_event+0x13f/0x300 [ 17.796114][ T70] notifier_call_chain+0xae/0x300 [ 17.796120][ T70] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 17.796126][ T70] ? unregister_netdevice_queued+0x80/0x80 [ 17.796134][ T70] default_device_exit_batch+0x38b/0x600 [ 17.796136][ T70] ? generic_xdp_install+0x470/0x470 [ 17.796139][ T70] ? unregister_netdevice_queue+0x470/0x470 [ 17.796142][ T70] ? rtnl_is_locked+0x15/0x20 [ 17.796143][ T70] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 17.796149][ T70] ops_undo_list+0x2ce/0x8f0 [ 17.796152][ T70] ? lockdep_hardirqs_on+0x91/0x130 [ 17.796156][ T70] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 17.796157][ T70] ? __lock_release.isra.0+0x69/0x1a0 [ 17.796160][ T70] ? idr_destroy+0x121/0x250 [ 17.796165][ T70] cleanup_net+0x431/0x890 [ 17.796168][ T70] ? net_passive_dec+0x230/0x230 [ 17.796171][ T70] ? lock_acquire+0x13c/0x160 [ 17.796173][ T70] ? rcu_is_watching+0x16/0xd0 [ 17.796177][ T70] process_one_work+0xe3e/0x1560 [ 17.796183][ T70] ? __queue_delayed_work+0x470/0x470 [ 17.796185][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 17.796193][ T70] worker_thread+0x4f1/0xd60 [ 17.796197][ T70] ? rescuer_thread+0x1340/0x1340 [ 17.796198][ T70] ? __kthread_parkme+0xbd/0x210 [ 17.796201][ T70] ? rescuer_thread+0x1340/0x1340 [ 17.796203][ T70] ? rescuer_thread+0x1340/0x1340 [ 17.796205][ T70] kthread+0x367/0x460 [ 17.796207][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.796210][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.796213][ T70] ret_from_fork+0x474/0x6b0 [ 17.796217][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 17.796221][ T70] ? __switch_to+0x5a3/0xe00 [ 17.796224][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.796227][ T70] ret_from_fork_asm+0x11/0x20 [ 17.796236][ T70] [ 17.867913][ T70] bond0 (unregistering): Released all slaves