[ 9.176091][ T200] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 9.176143][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.176145][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: ip [ 9.176147][ T200] preempt_count: 1, expected: 0 [ 9.176148][ T200] RCU nest depth: 0, expected: 0 [ 9.176149][ T200] locks held by ip/200: 5, last CPU#3: [ 9.176151][ T200] #0: ffffffff8f522700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.176162][ T200] #1: ffffffff8ed99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.176168][ T200] #2: ffffffff8ed99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.176171][ T200] #3: ffffffff8ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.176174][ T200] #4: ffffffff8ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.176178][ T200] irq event stamp: 16968 [ 9.176179][ T200] hardirqs last enabled at (16967): [] __down_trylock_console_sem+0x86/0xa0 [ 9.176182][ T200] hardirqs last disabled at (16968): [] console_emit_next_record+0x3f8/0x4f0 [ 9.176183][ T200] softirqs last enabled at (16942): [] bond_update_slave_arr+0x7ae/0xcf0 [ 9.176187][ T200] softirqs last disabled at (16940): [] bond_update_slave_arr+0x6af/0xcf0 [ 9.176188][ T200] Preemption disabled at: [ 9.176189][ T200] [] vprintk_emit+0x31b/0x3e0 [ 9.176194][ T200] CPU: 3 UID: 0 PID: 200 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.176198][ T200] Tainted: [W]=WARN [ 9.176198][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.176200][ T200] Call Trace: [ 9.176201][ T200] [ 9.176203][ T200] dump_stack_lvl+0x6f/0xa0 [ 9.176208][ T200] ? vprintk_emit+0x31b/0x3e0 [ 9.176210][ T200] __might_resched.cold+0x1fe/0x2c1 [ 9.176218][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.176222][ T200] ? __kmalloc_noprof+0xdb/0x760 [ 9.176227][ T200] __kmalloc_noprof+0x443/0x760 [ 9.176230][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 9.176236][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 9.176238][ T200] alloc_buf.isra.0+0x4b/0x260 [ 9.176241][ T200] put_chars+0x1e1/0x2f0 [ 9.176244][ T200] ? __send_to_port+0x420/0x420 [ 9.176251][ T200] hvc_console_print+0x292/0x780 [ 9.176258][ T200] ? hvc_write+0x3a0/0x3a0 [ 9.176261][ T200] ? lock_acquire+0x13c/0x160 [ 9.176266][ T200] console_emit_next_record+0x252/0x4f0 [ 9.176269][ T200] ? devkmsg_read+0x4e0/0x4e0 [ 9.176273][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.176276][ T200] ? lock_acquire+0x13c/0x160 [ 9.176280][ T200] console_flush_one_record+0x46f/0x710 [ 9.176283][ T200] ? console_emit_next_record+0x4f0/0x4f0 [ 9.176285][ T200] ? __lock_acquire+0x518/0xc20 [ 9.176290][ T200] console_unlock+0xee/0x1f0 [ 9.176293][ T200] ? console_flush_one_record+0x710/0x710 [ 9.176294][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.176296][ T200] ? lock_acquire+0x60/0x160 [ 9.176300][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.176302][ T200] ? vprintk_emit+0x320/0x3e0 [ 9.176305][ T200] vprintk_emit+0x37c/0x3e0 [ 9.176308][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 9.176310][ T200] ? packet_sendmsg_spkt+0x1350/0x1350 [ 9.176316][ T200] _printk+0xc7/0x100 [ 9.176319][ T200] ? snapshot_read.cold+0x21/0x21 [ 9.176323][ T200] ? __mutex_unlock_slowpath+0x9e/0x740 [ 9.176326][ T200] ? netdev_name+0x43/0x60 [ 9.176329][ T200] ? __netdev_printk+0x17f/0x1d0 [ 9.176332][ T200] netdev_info+0xe2/0x116 [ 9.176334][ T200] ? netdev_notice+0x120/0x120 [ 9.176338][ T200] ? bond_lower_state_changed+0x160/0x160 [ 9.176342][ T200] ? netdev_upper_dev_link+0xb0/0xb0 [ 9.176347][ T200] bond_enslave.cold+0x156/0x4f7 [ 9.176354][ T200] ? find_held_lock+0x2b/0x80 [ 9.176357][ T200] ? bond_update_slave_arr+0xcf0/0xcf0 [ 9.176358][ T200] ? mark_usage+0x61/0x170 [ 9.176360][ T200] ? __lock_acquire+0x518/0xc20 [ 9.176362][ T200] ? __lock_acquire+0x500/0xc20 [ 9.176366][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.176373][ T200] ? is_bpf_text_address+0x72/0x110 [ 9.176377][ T200] ? kernel_text_address+0x149/0x170 [ 9.176382][ T200] do_set_master+0x3b2/0x780 [ 9.176386][ T200] do_setlink.isra.0+0x9ec/0x2a60 [ 9.176389][ T200] ? stack_trace_save+0x93/0xc0 [ 9.176393][ T200] ? rtnl_link_get_size+0x350/0x350 [ 9.176395][ T200] ? rcu_read_lock_any_held+0x66/0x90 [ 9.176397][ T200] ? stack_depot_save_flags+0x38e/0x790 [ 9.176400][ T200] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.176403][ T200] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.176405][ T200] ? validate_chain+0x38b/0xc20 [ 9.176408][ T200] ? kasan_save_stack+0x3d/0x50 [ 9.176410][ T200] ? kasan_save_stack+0x2f/0x50 [ 9.176411][ T200] ? kasan_save_track+0x14/0x30 [ 9.176413][ T200] ? __lock_acquire+0x518/0xc20 [ 9.176415][ T200] ? netlink_seq_next+0x5e/0x60 [ 9.176418][ T200] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.176423][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.176425][ T200] ? rtnl_newlink+0x9a8/0x11b0 [ 9.176428][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.176430][ T200] ? lock_acquire+0x13c/0x160 [ 9.176434][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.176435][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.176437][ T200] ? trace_contention_end+0xb3/0x180 [ 9.176439][ T200] ? __mutex_lock+0x1db/0x1ea0 [ 9.176441][ T200] ? __mutex_lock+0x9a3/0x1ea0 [ 9.176443][ T200] ? rtnl_newlink+0x9a8/0x11b0 [ 9.176447][ T200] ? ww_mutex_lock+0x160/0x160 [ 9.176448][ T200] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.176454][ T200] ? __rtnl_newlink+0x3fa/0xa50 [ 9.176460][ T200] rtnl_newlink+0x9f1/0x11b0 [ 9.176465][ T200] ? rtnl_bridge_getlink+0x850/0x850 [ 9.176468][ T200] ? __lock_acquire+0x518/0xc20 [ 9.176472][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.176474][ T200] ? find_held_lock+0x2b/0x80 [ 9.176476][ T200] ? rtnl_bridge_getlink+0x850/0x850 [ 9.176479][ T200] ? __lock_release.isra.0+0x69/0x1a0 [ 9.176482][ T200] ? rtnl_bridge_getlink+0x850/0x850 [ 9.176485][ T200] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.176488][ T200] ? rtnl_link_fill+0x900/0x900 [ 9.176490][ T200] ? __lock_acquire+0x518/0xc20 [ 9.176495][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.176497][ T200] ? find_held_lock+0x2b/0x80 [ 9.176500][ T200] netlink_rcv_skb+0x14e/0x3a0 [ 9.176502][ T200] ? rtnl_link_fill+0x900/0x900 [ 9.176505][ T200] ? netlink_ack+0xcd0/0xcd0 [ 9.176511][ T200] ? netlink_deliver_tap+0xc5/0x330 [ 9.176513][ T200] ? netlink_deliver_tap+0x13c/0x330 [ 9.176517][ T200] netlink_unicast+0x486/0x750 [ 9.176521][ T200] ? netlink_attachskb+0x810/0x810 [ 9.176523][ T200] ? __lock_acquire+0x518/0xc20 [ 9.176527][ T200] netlink_sendmsg+0x735/0xc60 [ 9.176531][ T200] ? netlink_unicast+0x750/0x750 [ 9.176535][ T200] ? __might_fault+0x97/0x140 [ 9.176540][ T200] ____sys_sendmsg+0x415/0x880 [ 9.176542][ T200] ? copy_msghdr_from_user+0x279/0x420 [ 9.176544][ T200] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.176546][ T200] ? move_addr_to_kernel+0x40/0x40 [ 9.176552][ T200] ___sys_sendmsg+0x14e/0x1d0 [ 9.176555][ T200] ? copy_msghdr_from_user+0x420/0x420 [ 9.176570][ T200] __sys_sendmsg+0x12c/0x1d0 [ 9.176572][ T200] ? __sys_sendmsg_sock+0x20/0x20 [ 9.176578][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.176581][ T200] do_syscall_64+0xff/0x530 [ 9.176583][ T200] ? exc_page_fault+0xee/0x100 [ 9.176586][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.176588][ T200] RIP: 0033:0x7fe8219ea54e [ 9.176592][ T200] 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.176594][ T200] RSP: 002b:00007ffc2549ca60 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.176596][ T200] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fe8219ea54e [ 9.176598][ T200] RDX: 0000000000000000 RSI: 00007ffc2549cb10 RDI: 0000000000000005 [ 9.176598][ T200] RBP: 00007ffc2549ca70 R08: 0000000000000000 R09: 0000000000000000 [ 9.176599][ T200] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916f26 [ 9.176600][ T200] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc2549d1e0 [ 9.176606][ T200] [ 9.217081][ T200] ip (200) used greatest stack depth: 22824 bytes left [ 9.238540][ T201] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 9.309928][ T204] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 9.340707][ T205] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 76.495885][ T70] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 76.495940][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 76.495943][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 76.495944][ T70] preempt_count: 202, expected: 0 [ 76.495946][ T70] RCU nest depth: 2, expected: 0 [ 76.495946][ T70] locks held by kworker/u16:1/70: 9, last CPU#2: [ 76.495949][ T70] #0: ff1100000cadc140 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 76.495961][ T70] #1: ffa00000004b7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 76.495964][ T70] #2: ff110000090b2e98 (&bond->mode_lock){+...}-{3:3}, at: bond_3ad_state_machine_handler+0xd2/0x1f00 [ 76.495970][ T70] #3: ffffffff8edb0b00 (rcu_read_lock){....}-{1:3}, at: bond_3ad_state_machine_handler+0xe9/0x1f00 [ 76.495973][ T70] #4: ffffffff8edb0b00 (rcu_read_lock){....}-{1:3}, at: ad_agg_selection_logic+0xdc/0x1b70 [ 76.495976][ T70] #5: ffffffff8ed99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 76.495980][ T70] #6: ffffffff8ed99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 76.495983][ T70] #7: ffffffff8ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 76.495986][ T70] #8: ffffffff8ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 76.495990][ T70] irq event stamp: 19807 [ 76.495991][ T70] hardirqs last enabled at (19806): [] __down_trylock_console_sem+0x86/0xa0 [ 76.495994][ T70] hardirqs last disabled at (19807): [] console_emit_next_record+0x3f8/0x4f0 [ 76.495995][ T70] softirqs last enabled at (19782): [] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.495997][ T70] softirqs last disabled at (19800): [] bond_3ad_state_machine_handler+0xd2/0x1f00 [ 76.495999][ T70] Preemption disabled at: [ 76.496000][ T70] [<0000000000000000>] 0x0 [ 76.496007][ T70] CPU: 2 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 76.496010][ T70] Tainted: [W]=WARN [ 76.496011][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 76.496012][ T70] Workqueue: bond0 bond_3ad_state_machine_handler [ 76.496016][ T70] Call Trace: [ 76.496017][ T70] [ 76.496019][ T70] dump_stack_lvl+0x6f/0xa0 [ 76.496025][ T70] __might_resched.cold+0x1fe/0x2c1 [ 76.496029][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 76.496032][ T70] ? __kmalloc_noprof+0xdb/0x760 [ 76.496038][ T70] __kmalloc_noprof+0x443/0x760 [ 76.496041][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 76.496046][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 76.496049][ T70] alloc_buf.isra.0+0x4b/0x260 [ 76.496052][ T70] put_chars+0x1e1/0x2f0 [ 76.496055][ T70] ? __send_to_port+0x420/0x420 [ 76.496060][ T70] ? validate_chain+0x34a/0xc20 [ 76.496064][ T70] hvc_console_print+0x292/0x780 [ 76.496068][ T70] ? mark_usage+0x61/0x170 [ 76.496070][ T70] ? __lock_acquire+0x518/0xc20 [ 76.496072][ T70] ? __lock_acquire+0x518/0xc20 [ 76.496076][ T70] ? hvc_write+0x3a0/0x3a0 [ 76.496079][ T70] ? console_emit_next_record+0x202/0x4f0 [ 76.496082][ T70] ? rcu_is_watching+0x16/0xd0 [ 76.496085][ T70] ? lock_acquire+0x13c/0x160 [ 76.496089][ T70] console_emit_next_record+0x252/0x4f0 [ 76.496093][ T70] ? devkmsg_read+0x4e0/0x4e0 [ 76.496097][ T70] ? rcu_is_watching+0x16/0xd0 [ 76.496098][ T70] ? lock_acquire+0x13c/0x160 [ 76.496103][ T70] console_flush_one_record+0x46f/0x710 [ 76.496106][ T70] ? console_emit_next_record+0x4f0/0x4f0 [ 76.496108][ T70] ? __lock_acquire+0x518/0xc20 [ 76.496113][ T70] console_unlock+0xee/0x1f0 [ 76.496116][ T70] ? console_flush_one_record+0x710/0x710 [ 76.496117][ T70] ? rcu_is_watching+0x16/0xd0 [ 76.496119][ T70] ? lock_acquire+0x60/0x160 [ 76.496123][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 76.496125][ T70] ? vprintk_emit+0x320/0x3e0 [ 76.496128][ T70] vprintk_emit+0x37c/0x3e0 [ 76.496131][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 76.496133][ T70] ? __lock_release.isra.0+0x69/0x1a0 [ 76.496138][ T70] _printk+0xc7/0x100 [ 76.496141][ T70] ? snapshot_read.cold+0x21/0x21 [ 76.496143][ T70] ? ___ratelimit+0x4e7/0xa00 [ 76.496149][ T70] ? idr_get_free+0x830/0x830 [ 76.496153][ T70] ad_agg_selection_logic.cold+0x120/0x16c [ 76.496159][ T70] ? find_held_lock+0x2b/0x80 [ 76.496162][ T70] ? bond_3ad_set_carrier+0x5f0/0x5f0 [ 76.496165][ T70] ? __get_first_agg.isra.0+0xda/0x1c0 [ 76.496169][ T70] ad_port_selection_logic+0x8a8/0x1820 [ 76.496173][ T70] ? bond_3ad_unbind_slave+0x1f80/0x1f80 [ 76.496176][ T70] ? ad_rx_machine+0x282/0x1950 [ 76.496180][ T70] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 76.496184][ T70] ? ad_mux_machine+0x1b50/0x1b50 [ 76.496186][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 76.496188][ T70] ? process_one_work+0xd80/0x1560 [ 76.496191][ T70] ? rcu_is_watching+0x16/0xd0 [ 76.496192][ T70] ? rcu_is_watching+0x16/0xd0 [ 76.496194][ T70] ? lock_acquire+0x13c/0x160 [ 76.496196][ T70] ? rcu_is_watching+0x16/0xd0 [ 76.496200][ T70] process_one_work+0xe3e/0x1560 [ 76.496205][ T70] ? __queue_delayed_work+0x470/0x470 [ 76.496208][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 76.496215][ T70] worker_thread+0x4f1/0xd60 [ 76.496219][ T70] ? rescuer_thread+0x1340/0x1340 [ 76.496220][ T70] ? __kthread_parkme+0xbd/0x210 [ 76.496224][ T70] ? rescuer_thread+0x1340/0x1340 [ 76.496226][ T70] ? rescuer_thread+0x1340/0x1340 [ 76.496228][ T70] kthread+0x367/0x460 [ 76.496230][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 76.496233][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.496236][ T70] ret_from_fork+0x474/0x6b0 [ 76.496240][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 76.496244][ T70] ? __switch_to+0x5a3/0xe00 [ 76.496247][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.496250][ T70] ret_from_fork_asm+0x11/0x20 [ 76.496259][ T70] [ 76.522755][ T70] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 76.523239][ T70] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 76.523626][ T70] bond0: active interface up! [ 76.740536][ C0] [ 76.740631][ C0] ======================================================== [ 76.740830][ C0] WARNING: possible irq lock inversion dependency detected [ 76.741025][ C0] 7.2.0-virtme #1 Tainted: G W [ 76.741182][ C0] -------------------------------------------------------- [ 76.741369][ C0] kworker/u16:1/70 just changed the state of lock: [ 76.741536][ C0] ff1100000bc92e98 (&bond->mode_lock){+.-.}-{3:3}, at: bond_3ad_rx_indication+0x242/0x8e0 [ 76.741765][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 76.741956][ C0] (fs_reclaim){+.+.}-{0:0} [ 76.741959][ C0] [ 76.741959][ C0] [ 76.741959][ C0] and interrupts could create inverse lock ordering between them. [ 76.741959][ C0] [ 76.742420][ C0] [ 76.742420][ C0] other info that might help us debug this: [ 76.742608][ C0] Chain exists of: [ 76.742608][ C0] &bond->mode_lock --> console_owner --> fs_reclaim [ 76.742608][ C0] [ 76.742900][ C0] Possible interrupt unsafe locking scenario: [ 76.742900][ C0] [ 76.743089][ C0] CPU0 CPU1 [ 76.743217][ C0] ---- ---- [ 76.743345][ C0] lock(fs_reclaim); [ 76.743443][ C0] local_irq_disable(); [ 76.743602][ C0] lock(&bond->mode_lock); [ 76.743762][ C0] lock(console_owner); [ 76.743923][ C0] [ 76.744020][ C0] lock(&bond->mode_lock); [ 76.744150][ C0] [ 76.744150][ C0] *** DEADLOCK *** [ 76.744150][ C0] [ 76.744338][ C0] locks held by kworker/u16:1/70: 3, last CPU#0: [ 76.744497][ C0] #0: ff1100000cadc140 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 76.744753][ C0] #1: ffa00000004b7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 76.745043][ C0] #2: ffffffff8edb0b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 76.745265][ C0] [ 76.745265][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 76.745485][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 76.745619][ C0] HARDIRQ-ON-W at: [ 76.745720][ C0] __lock_acquire+0x388/0xc20 [ 76.745890][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.746050][ C0] fs_reclaim_acquire+0xd5/0x120 [ 76.746211][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 76.746405][ C0] kthread_create_worker_on_node+0xea/0x210 [ 76.746596][ C0] workqueue_init+0x2a/0x680 [ 76.746760][ C0] kernel_init_freeable+0x2fe/0x630 [ 76.746962][ C0] kernel_init+0x21/0x150 [ 76.747127][ C0] ret_from_fork+0x474/0x6b0 [ 76.747290][ C0] ret_from_fork_asm+0x11/0x20 [ 76.747456][ C0] SOFTIRQ-ON-W at: [ 76.747555][ C0] __lock_acquire+0x388/0xc20 [ 76.747716][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.747886][ C0] fs_reclaim_acquire+0xd5/0x120 [ 76.748049][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 76.748243][ C0] kthread_create_worker_on_node+0xea/0x210 [ 76.748437][ C0] workqueue_init+0x2a/0x680 [ 76.748598][ C0] kernel_init_freeable+0x2fe/0x630 [ 76.748793][ C0] kernel_init+0x21/0x150 [ 76.748959][ C0] ret_from_fork+0x474/0x6b0 [ 76.749119][ C0] ret_from_fork_asm+0x11/0x20 [ 76.749282][ C0] INITIAL USE at: [ 76.749379][ C0] __lock_acquire+0x388/0xc20 [ 76.749542][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.749706][ C0] fs_reclaim_acquire+0xd5/0x120 [ 76.749870][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 76.750071][ C0] kthread_create_worker_on_node+0xea/0x210 [ 76.750312][ C0] workqueue_init+0x2a/0x680 [ 76.750521][ C0] kernel_init_freeable+0x2fe/0x630 [ 76.750685][ C0] kernel_init+0x21/0x150 [ 76.750850][ C0] ret_from_fork+0x474/0x6b0 [ 76.751061][ C0] ret_from_fork_asm+0x11/0x20 [ 76.751268][ C0] } [ 76.751336][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 76.751574][ C0] ... acquired at: [ 76.751674][ C0] __lock_acquire+0x518/0xc20 [ 76.751853][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.752030][ C0] fs_reclaim_acquire+0xd5/0x120 [ 76.752203][ C0] __kmalloc_noprof+0xd3/0x760 [ 76.752333][ C0] alloc_buf.isra.0+0x4b/0x260 [ 76.752507][ C0] put_chars+0x1e1/0x2f0 [ 76.752636][ C0] hvc_console_print+0x292/0x780 [ 76.752766][ C0] console_emit_next_record+0x252/0x4f0 [ 76.752943][ C0] console_flush_one_record+0x46f/0x710 [ 76.753116][ C0] console_unlock+0xee/0x1f0 [ 76.753245][ C0] vprintk_emit+0x37c/0x3e0 [ 76.753461][ C0] _printk+0xc7/0x100 [ 76.753561][ C0] i8042_pnp_init+0xf7/0x3c0 [ 76.753734][ C0] i8042_platform_init+0x3f9/0x460 [ 76.753862][ C0] i8042_init+0x45/0x130 [ 76.754038][ C0] do_one_initcall+0x124/0x4f0 [ 76.754167][ C0] kernel_init_freeable+0x596/0x630 [ 76.754340][ C0] kernel_init+0x21/0x150 [ 76.754468][ C0] ret_from_fork+0x474/0x6b0 [ 76.754640][ C0] ret_from_fork_asm+0x11/0x20 [ 76.754769][ C0] [ 76.754881][ C0] -> (console_owner){....}-{0:0} { [ 76.755013][ C0] INITIAL USE at: [ 76.755110][ C0] } [ 76.755217][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 76.755410][ C0] ... acquired at: [ 76.755505][ C0] __lock_acquire+0x518/0xc20 [ 76.755634][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.755805][ C0] console_lock_spinning_enable+0x5c/0x60 [ 76.755967][ C0] console_emit_next_record+0x1f4/0x4f0 [ 76.756140][ C0] console_flush_one_record+0x46f/0x710 [ 76.756269][ C0] console_unlock+0xee/0x1f0 [ 76.756440][ C0] vprintk_emit+0x37c/0x3e0 [ 76.756571][ C0] _printk+0xc7/0x100 [ 76.756711][ C0] ad_agg_selection_logic.cold+0x120/0x16c [ 76.756873][ C0] ad_port_selection_logic+0x8a8/0x1820 [ 76.757049][ C0] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 76.757250][ C0] process_one_work+0xe3e/0x1560 [ 76.757377][ C0] worker_thread+0x4f1/0xd60 [ 76.757549][ C0] kthread+0x367/0x460 [ 76.757646][ C0] ret_from_fork+0x474/0x6b0 [ 76.757774][ C0] ret_from_fork_asm+0x11/0x20 [ 76.758035][ C0] [ 76.758099][ C0] -> (&bond->mode_lock){+.-.}-{3:3} { [ 76.758277][ C0] HARDIRQ-ON-W at: [ 76.758375][ C0] __lock_acquire+0x388/0xc20 [ 76.758583][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.758747][ C0] _raw_spin_lock_bh+0x38/0x50 [ 76.758958][ C0] bond_3ad_update_lacp_active+0xb8/0x260 [ 76.759193][ C0] bond_option_lacp_active_set+0x77/0x1f0 [ 76.759385][ C0] __bond_opt_set+0x1b1/0x390 [ 76.759591][ C0] bond_changelink+0x1504/0x23e0 [ 76.759797][ C0] bond_newlink+0x9e/0xf0 [ 76.759963][ C0] rtnl_newlink_create+0x2d0/0x850 [ 76.760170][ C0] __rtnl_newlink+0x22b/0xa50 [ 76.760377][ C0] rtnl_newlink+0x9f1/0x11b0 [ 76.760538][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 76.760745][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 76.760913][ C0] netlink_unicast+0x486/0x750 [ 76.761116][ C0] netlink_sendmsg+0x735/0xc60 [ 76.761320][ C0] ____sys_sendmsg+0x415/0x880 [ 76.761481][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 76.761682][ C0] __sys_sendmsg+0x12c/0x1d0 [ 76.761891][ C0] do_syscall_64+0xff/0x530 [ 76.762095][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 76.762331][ C0] IN-SOFTIRQ-W at: [ 76.762426][ C0] __lock_acquire+0x388/0xc20 [ 76.762632][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.762837][ C0] _raw_spin_lock+0x33/0x40 [ 76.763003][ C0] bond_3ad_rx_indication+0x242/0x8e0 [ 76.763255][ C0] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.763416][ C0] bond_handle_frame+0x16b/0xca0 [ 76.763576][ C0] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.763771][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 76.763970][ C0] process_backlog+0x431/0x14c0 [ 76.764131][ C0] __napi_poll+0xa7/0x3b0 [ 76.764293][ C0] net_rx_action+0x513/0xf50 [ 76.764454][ C0] handle_softirqs+0x1d3/0x900 [ 76.764613][ C0] do_softirq+0xac/0xe0 [ 76.764775][ C0] __local_bh_enable_ip+0x118/0x150 [ 76.764941][ C0] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.765132][ C0] process_one_work+0xe3e/0x1560 [ 76.765294][ C0] worker_thread+0x4f1/0xd60 [ 76.765456][ C0] kthread+0x367/0x460 [ 76.765586][ C0] ret_from_fork+0x474/0x6b0 [ 76.765748][ C0] ret_from_fork_asm+0x11/0x20 [ 76.765918][ C0] INITIAL USE at: [ 76.766014][ C0] __lock_acquire+0x388/0xc20 [ 76.766175][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.766337][ C0] _raw_spin_lock_bh+0x38/0x50 [ 76.766498][ C0] bond_3ad_update_lacp_active+0xb8/0x260 [ 76.766691][ C0] bond_option_lacp_active_set+0x77/0x1f0 [ 76.766890][ C0] __bond_opt_set+0x1b1/0x390 [ 76.767050][ C0] bond_changelink+0x1504/0x23e0 [ 76.767210][ C0] bond_newlink+0x9e/0xf0 [ 76.767375][ C0] rtnl_newlink_create+0x2d0/0x850 [ 76.767537][ C0] __rtnl_newlink+0x22b/0xa50 [ 76.767699][ C0] rtnl_newlink+0x9f1/0x11b0 [ 76.767860][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 76.768025][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 76.768186][ C0] netlink_unicast+0x486/0x750 [ 76.768344][ C0] netlink_sendmsg+0x735/0xc60 [ 76.768504][ C0] ____sys_sendmsg+0x415/0x880 [ 76.768666][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 76.768824][ C0] __sys_sendmsg+0x12c/0x1d0 [ 76.768988][ C0] do_syscall_64+0xff/0x530 [ 76.769372][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 76.769567][ C0] } [ 76.769633][ C0] ... key at: [] __key.27+0x0/0x40 [ 76.769868][ C0] ... acquired at: [ 76.770010][ C0] mark_lock+0x1d7/0xa00 [ 76.770182][ C0] mark_usage+0x42/0x170 [ 76.770355][ C0] __lock_acquire+0x388/0xc20 [ 76.770483][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.770610][ C0] _raw_spin_lock+0x33/0x40 [ 76.770738][ C0] bond_3ad_rx_indication+0x242/0x8e0 [ 76.770865][ C0] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.770996][ C0] bond_handle_frame+0x16b/0xca0 [ 76.771123][ C0] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.771281][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 76.771440][ C0] process_backlog+0x431/0x14c0 [ 76.771566][ C0] __napi_poll+0xa7/0x3b0 [ 76.771694][ C0] net_rx_action+0x513/0xf50 [ 76.771822][ C0] handle_softirqs+0x1d3/0x900 [ 76.771954][ C0] do_softirq+0xac/0xe0 [ 76.772049][ C0] __local_bh_enable_ip+0x118/0x150 [ 76.772176][ C0] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.772334][ C0] process_one_work+0xe3e/0x1560 [ 76.772462][ C0] worker_thread+0x4f1/0xd60 [ 76.772588][ C0] kthread+0x367/0x460 [ 76.772684][ C0] ret_from_fork+0x474/0x6b0 [ 76.772813][ C0] ret_from_fork_asm+0x11/0x20 [ 76.772946][ C0] [ 76.773009][ C0] [ 76.773009][ C0] stack backtrace: [ 76.773170][ C0] CPU: 0 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 76.773174][ C0] Tainted: [W]=WARN [ 76.773174][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 76.773176][ C0] Workqueue: bond0 bond_3ad_state_machine_handler [ 76.773179][ C0] Call Trace: [ 76.773180][ C0] [ 76.773182][ C0] dump_stack_lvl+0x6f/0xa0 [ 76.773184][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 76.773187][ C0] mark_lock_irq+0x989/0x9c0 [ 76.773189][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 76.773193][ C0] mark_lock+0x1d7/0xa00 [ 76.773196][ C0] mark_usage+0x42/0x170 [ 76.773197][ C0] __lock_acquire+0x388/0xc20 [ 76.773200][ C0] lock_acquire.part.0+0xd4/0x280 [ 76.773202][ C0] ? bond_3ad_rx_indication+0x242/0x8e0 [ 76.773203][ C0] ? rcu_is_watching+0x16/0xd0 [ 76.773205][ C0] ? update_sd_lb_stats.constprop.0+0x2cf/0xd70 [ 76.773207][ C0] ? lock_acquire+0x13c/0x160 [ 76.773209][ C0] _raw_spin_lock+0x33/0x40 [ 76.773211][ C0] ? bond_3ad_rx_indication+0x242/0x8e0 [ 76.773212][ C0] bond_3ad_rx_indication+0x242/0x8e0 [ 76.773213][ C0] ? trace_pelt_cfs_tp+0x9b/0x190 [ 76.773215][ C0] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.773217][ C0] ? bond_3ad_get_active_agg_info+0x120/0x120 [ 76.773220][ C0] bond_handle_frame+0x16b/0xca0 [ 76.773222][ C0] ? bond_net_exit_batch+0x2a0/0x2a0 [ 76.773224][ C0] ? bond_net_exit_batch+0x2a0/0x2a0 [ 76.773225][ C0] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.773227][ C0] ? find_held_lock+0x2b/0x80 [ 76.773229][ C0] ? mark_held_locks+0x40/0x70 [ 76.773232][ C0] ? do_xdp_generic+0x4a0/0x4a0 [ 76.773233][ C0] ? _raw_spin_unlock_irq_enable+0x6d/0x90 [ 76.773235][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 76.773237][ C0] ? mark_usage+0x61/0x170 [ 76.773239][ C0] ? __lock_acquire+0x518/0xc20 [ 76.773241][ C0] ? process_backlog+0x3f1/0x14c0 [ 76.773242][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 76.773244][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 76.773245][ C0] ? process_backlog+0x3f1/0x14c0 [ 76.773247][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 76.773248][ C0] ? rcu_is_watching+0x16/0xd0 [ 76.773250][ C0] process_backlog+0x431/0x14c0 [ 76.773253][ C0] __napi_poll+0xa7/0x3b0 [ 76.773254][ C0] net_rx_action+0x513/0xf50 [ 76.773257][ C0] ? __napi_poll+0x3b0/0x3b0 [ 76.773259][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 76.773260][ C0] ? __rwlock_init+0x150/0x150 [ 76.773262][ C0] ? __run_timers+0xaa0/0xaa0 [ 76.773265][ C0] ? rcu_is_watching+0x16/0xd0 [ 76.773266][ C0] ? mark_held_locks+0x40/0x70 [ 76.773268][ C0] handle_softirqs+0x1d3/0x900 [ 76.773270][ C0] ? _local_bh_enable+0xc0/0xc0 [ 76.773272][ C0] ? _local_bh_enable+0xc0/0xc0 [ 76.773274][ C0] do_softirq+0xac/0xe0 [ 76.773276][ C0] [ 76.773277][ C0] [ 76.773277][ C0] __local_bh_enable_ip+0x118/0x150 [ 76.773279][ C0] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.773281][ C0] ? ad_mux_machine+0x1b50/0x1b50 [ 76.773282][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 76.773284][ C0] ? process_one_work+0xd80/0x1560 [ 76.773286][ C0] ? rcu_is_watching+0x16/0xd0 [ 76.773287][ C0] ? rcu_is_watching+0x16/0xd0 [ 76.773288][ C0] ? lock_acquire+0x13c/0x160 [ 76.773290][ C0] ? rcu_is_watching+0x16/0xd0 [ 76.773291][ C0] process_one_work+0xe3e/0x1560 [ 76.773293][ C0] ? __queue_delayed_work+0x470/0x470 [ 76.773295][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 76.773298][ C0] worker_thread+0x4f1/0xd60 [ 76.773300][ C0] ? rescuer_thread+0x1340/0x1340 [ 76.773301][ C0] ? __kthread_parkme+0xbd/0x210 [ 76.773303][ C0] ? rescuer_thread+0x1340/0x1340 [ 76.773304][ C0] ? rescuer_thread+0x1340/0x1340 [ 76.773305][ C0] kthread+0x367/0x460 [ 76.773307][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 76.773309][ C0] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.773311][ C0] ret_from_fork+0x474/0x6b0 [ 76.773313][ C0] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 76.773315][ C0] ? __switch_to+0x5a3/0xe00 [ 76.773318][ C0] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.773320][ C0] ret_from_fork_asm+0x11/0x20 [ 76.773323][ C0] [ 89.293941][ T3491] bond0: (slave eth0): Releasing backup interface [ 89.293958][ T3491] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 89.293960][ T3491] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3491, name: ip [ 89.293962][ T3491] preempt_count: 1, expected: 0 [ 89.293963][ T3491] RCU nest depth: 0, expected: 0 [ 89.293964][ T3491] INFO: lockdep is turned off. [ 89.293965][ T3491] irq event stamp: 0 [ 89.293966][ T3491] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 89.293970][ T3491] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 89.293977][ T3491] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 89.293979][ T3491] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 89.293981][ T3491] Preemption disabled at: [ 89.293982][ T3491] [] vprintk_emit+0x31b/0x3e0 [ 89.293988][ T3491] CPU: 2 UID: 0 PID: 3491 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 89.293992][ T3491] Tainted: [W]=WARN [ 89.293993][ T3491] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.293994][ T3491] Call Trace: [ 89.293996][ T3491] [ 89.293997][ T3491] dump_stack_lvl+0x6f/0xa0 [ 89.294007][ T3491] ? vprintk_emit+0x31b/0x3e0 [ 89.294009][ T3491] __might_resched.cold+0x1fe/0x2c1 [ 89.294013][ T3491] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 89.294016][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294019][ T3491] __kmalloc_noprof+0x443/0x760 [ 89.294023][ T3491] ? __rwlock_init+0x150/0x150 [ 89.294025][ T3491] ? alloc_buf.isra.0+0x4b/0x260 [ 89.294030][ T3491] ? do_raw_spin_unlock+0x59/0x250 [ 89.294031][ T3491] alloc_buf.isra.0+0x4b/0x260 [ 89.294033][ T3491] put_chars+0x1e1/0x2f0 [ 89.294036][ T3491] ? __send_to_port+0x420/0x420 [ 89.294038][ T3491] ? desc_read+0x2f0/0x2f0 [ 89.294040][ T3491] ? console_prepend_replay+0x20/0x20 [ 89.294042][ T3491] ? desc_read+0x219/0x2f0 [ 89.294044][ T3491] hvc_console_print+0x292/0x780 [ 89.294047][ T3491] ? _prb_read_valid+0x450/0x6e0 [ 89.294049][ T3491] ? hvc_write+0x3a0/0x3a0 [ 89.294051][ T3491] ? do_raw_spin_lock+0x131/0x280 [ 89.294052][ T3491] ? __rwlock_init+0x150/0x150 [ 89.294054][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294055][ T3491] ? lock_acquire+0x13c/0x160 [ 89.294058][ T3491] console_emit_next_record+0x252/0x4f0 [ 89.294060][ T3491] ? devkmsg_read+0x4e0/0x4e0 [ 89.294061][ T3491] ? _prb_read_valid+0x6e0/0x6e0 [ 89.294063][ T3491] ? __asan_memmove+0x3c/0x60 [ 89.294065][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294067][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294068][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294069][ T3491] ? lock_acquire+0x13c/0x160 [ 89.294071][ T3491] ? console_flush_one_record+0x111/0x710 [ 89.294072][ T3491] console_flush_one_record+0x46f/0x710 [ 89.294074][ T3491] ? console_emit_next_record+0x4f0/0x4f0 [ 89.294076][ T3491] console_unlock+0xee/0x1f0 [ 89.294078][ T3491] ? lock_acquire+0x13c/0x160 [ 89.294079][ T3491] ? console_flush_one_record+0x710/0x710 [ 89.294081][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294082][ T3491] ? lock_release+0x184/0x1f0 [ 89.294083][ T3491] ? lock_acquire+0x60/0x160 [ 89.294085][ T3491] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 89.294087][ T3491] ? __down_trylock_console_sem+0x5e/0xa0 [ 89.294089][ T3491] ? vprintk_emit+0x320/0x3e0 [ 89.294090][ T3491] vprintk_emit+0x37c/0x3e0 [ 89.294092][ T3491] ? wake_up_klogd_work_func+0x90/0x90 [ 89.294094][ T3491] ? do_raw_spin_lock+0x131/0x280 [ 89.294095][ T3491] ? __rwlock_init+0x150/0x150 [ 89.294096][ T3491] _printk+0xc7/0x100 [ 89.294099][ T3491] ? snapshot_read.cold+0x21/0x21 [ 89.294101][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294102][ T3491] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 89.294105][ T3491] ? do_raw_spin_unlock+0x59/0x250 [ 89.294106][ T3491] ? trace_hardirqs_on+0x36/0x40 [ 89.294107][ T3491] ? netdev_name+0x43/0x60 [ 89.294110][ T3491] ? __netdev_printk+0x17f/0x1d0 [ 89.294112][ T3491] netdev_info+0xe2/0x116 [ 89.294113][ T3491] ? netdev_notice+0x120/0x120 [ 89.294116][ T3491] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 89.294119][ T3491] ? trace_irq_enable.constprop.0+0x30/0x160 [ 89.294121][ T3491] __bond_release_one.cold+0x80/0xa60 [ 89.294125][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294127][ T3491] ? bond_enslave+0x5100/0x5100 [ 89.294129][ T3491] ? lock_release+0x184/0x1f0 [ 89.294131][ T3491] ? unwind_next_frame+0x69b/0x1ea0 [ 89.294134][ T3491] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.294137][ T3491] ? kernel_text_address+0x149/0x170 [ 89.294140][ T3491] do_set_master+0x15c/0x780 [ 89.294143][ T3491] do_setlink.isra.0+0x9ec/0x2a60 [ 89.294145][ T3491] ? stack_trace_save+0x93/0xc0 [ 89.294148][ T3491] ? rtnl_link_get_size+0x350/0x350 [ 89.294150][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294151][ T3491] ? stack_depot_save_flags+0x1bc/0x790 [ 89.294155][ T3491] ? kasan_save_stack+0x3d/0x50 [ 89.294156][ T3491] ? kasan_save_stack+0x2f/0x50 [ 89.294157][ T3491] ? kasan_save_track+0x14/0x30 [ 89.294158][ T3491] ? __kasan_kmalloc+0x7b/0x90 [ 89.294159][ T3491] ? __kmalloc_cache_noprof+0x29a/0x620 [ 89.294161][ T3491] ? rtnl_newlink+0x124/0x11b0 [ 89.294162][ T3491] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 89.294164][ T3491] ? netlink_rcv_skb+0x14e/0x3a0 [ 89.294167][ T3491] ? netlink_unicast+0x486/0x750 [ 89.294168][ T3491] ? netlink_sendmsg+0x735/0xc60 [ 89.294170][ T3491] ? ____sys_sendmsg+0x415/0x880 [ 89.294172][ T3491] ? ___sys_sendmsg+0x14e/0x1d0 [ 89.294173][ T3491] ? __sys_sendmsg+0x12c/0x1d0 [ 89.294175][ T3491] ? do_syscall_64+0xff/0x530 [ 89.294177][ T3491] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.294179][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294180][ T3491] ? lock_acquire+0x13c/0x160 [ 89.294182][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294183][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294184][ T3491] ? trace_contention_end+0xb3/0x180 [ 89.294186][ T3491] ? __mutex_lock+0x1db/0x1ea0 [ 89.294188][ T3491] ? __mutex_lock+0x9a3/0x1ea0 [ 89.294189][ T3491] ? rtnl_newlink+0x9a8/0x11b0 [ 89.294191][ T3491] ? ww_mutex_lock+0x160/0x160 [ 89.294193][ T3491] ? nla_get_range_signed+0x3d0/0x3d0 [ 89.294196][ T3491] ? __rtnl_newlink+0x3fa/0xa50 [ 89.294199][ T3491] rtnl_newlink+0x9f1/0x11b0 [ 89.294201][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294203][ T3491] ? rtnl_bridge_getlink+0x850/0x850 [ 89.294204][ T3491] ? lock_acquire+0x13c/0x160 [ 89.294206][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294207][ T3491] ? is_bpf_text_address+0x3e/0x110 [ 89.294210][ T3491] ? is_bpf_text_address+0x72/0x110 [ 89.294211][ T3491] ? kernel_text_address+0x149/0x170 [ 89.294213][ T3491] ? __kernel_text_address+0x12/0x30 [ 89.294214][ T3491] ? write_profile+0xf0/0xf0 [ 89.294216][ T3491] ? unwind_get_return_address+0x67/0xd0 [ 89.294218][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294219][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294220][ T3491] ? cap_capable+0x1d7/0x3d0 [ 89.294224][ T3491] ? lock_acquire+0x13c/0x160 [ 89.294225][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294227][ T3491] ? rtnl_bridge_getlink+0x850/0x850 [ 89.294228][ T3491] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 89.294231][ T3491] ? rtnl_link_fill+0x900/0x900 [ 89.294232][ T3491] ? filter_irq_stacks+0xd0/0xd0 [ 89.294234][ T3491] ? stack_depot_save_flags+0x1bc/0x790 [ 89.294236][ T3491] netlink_rcv_skb+0x14e/0x3a0 [ 89.294238][ T3491] ? rtnl_link_fill+0x900/0x900 [ 89.294239][ T3491] ? lock_release+0x184/0x1f0 [ 89.294241][ T3491] ? netlink_ack+0xcd0/0xcd0 [ 89.294242][ T3491] ? __netlink_lookup+0xb9/0x6b0 [ 89.294245][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294246][ T3491] ? lock_release+0x184/0x1f0 [ 89.294248][ T3491] netlink_unicast+0x486/0x750 [ 89.294250][ T3491] ? netlink_attachskb+0x810/0x810 [ 89.294252][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294253][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294254][ T3491] ? lock_acquire+0x13c/0x160 [ 89.294256][ T3491] netlink_sendmsg+0x735/0xc60 [ 89.294258][ T3491] ? netlink_unicast+0x750/0x750 [ 89.294260][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294262][ T3491] ? lock_release+0x184/0x1f0 [ 89.294264][ T3491] ____sys_sendmsg+0x415/0x880 [ 89.294265][ T3491] ? copy_msghdr_from_user+0x279/0x420 [ 89.294267][ T3491] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 89.294268][ T3491] ? move_addr_to_kernel+0x40/0x40 [ 89.294269][ T3491] ? filter_irq_stacks+0xd0/0xd0 [ 89.294272][ T3491] ___sys_sendmsg+0x14e/0x1d0 [ 89.294273][ T3491] ? copy_msghdr_from_user+0x420/0x420 [ 89.294278][ T3491] __sys_sendmsg+0x12c/0x1d0 [ 89.294279][ T3491] ? __sys_sendmsg_sock+0x20/0x20 [ 89.294282][ T3491] ? rcu_is_watching+0x16/0xd0 [ 89.294283][ T3491] do_syscall_64+0xff/0x530 [ 89.294284][ T3491] ? exc_page_fault+0xee/0x100 [ 89.294287][ T3491] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.294288][ T3491] RIP: 0033:0x7f0e66bb754e [ 89.294290][ T3491] 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 [ 89.294291][ T3491] RSP: 002b:00007ffe76548870 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 89.294295][ T3491] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f0e66bb754e [ 89.294297][ T3491] RDX: 0000000000000000 RSI: 00007ffe76548920 RDI: 0000000000000005 [ 89.294297][ T3491] RBP: 00007ffe76548880 R08: 0000000000000000 R09: 0000000000000000 [ 89.294298][ T3491] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916f76 [ 89.294299][ T3491] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe76548ff0 [ 89.294301][ T3491] [ 89.324488][ T3491] bond0: (slave eth0): the permanent HWaddr of slave - 22:59:93:34:3d:59 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 89.324850][ T3491] bond0: active interface up! [ 89.363465][ T70] bond0: Warning: Found an uninitialized port [ 89.364089][ T3493] bond0: (slave eth1): Releasing backup interface [ 191.799205][ T12] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 191.799221][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 191.799223][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 191.799225][ T12] preempt_count: 202, expected: 0 [ 191.799226][ T12] RCU nest depth: 0, expected: 0 [ 191.799227][ T12] INFO: lockdep is turned off. [ 191.799228][ T12] irq event stamp: 166 [ 191.799229][ T12] hardirqs last enabled at (165): [] _raw_spin_unlock_irq+0x28/0x50 [ 191.799237][ T12] hardirqs last disabled at (166): [] __schedule+0x1246/0x20e0 [ 191.799241][ T12] softirqs last enabled at (90): [] addrconf_verify_rtnl+0x38a/0x10b0 [ 191.799244][ T12] softirqs last disabled at (84): [] addrconf_verify_rtnl+0x31/0x10b0 [ 191.799245][ T12] Preemption disabled at: [ 191.799246][ T12] [<0000000000000000>] 0x0 [ 191.799252][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 191.799256][ T12] Tainted: [W]=WARN [ 191.799257][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 191.799258][ T12] Workqueue: netns cleanup_net [ 191.799263][ T12] Call Trace: [ 191.799265][ T12] [ 191.799266][ T12] dump_stack_lvl+0x6f/0xa0 [ 191.799272][ T12] __might_resched.cold+0x1fe/0x2c1 [ 191.799275][ T12] ? __asan_memcpy+0x3c/0x60 [ 191.799279][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 191.799281][ T12] ? record_print_text+0x2fc/0x3e0 [ 191.799285][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799288][ T12] __kmalloc_noprof+0x443/0x760 [ 191.799291][ T12] ? __rwlock_init+0x150/0x150 [ 191.799293][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 191.799297][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 191.799298][ T12] alloc_buf.isra.0+0x4b/0x260 [ 191.799300][ T12] put_chars+0x1e1/0x2f0 [ 191.799303][ T12] ? __send_to_port+0x420/0x420 [ 191.799305][ T12] ? desc_read+0x219/0x2f0 [ 191.799307][ T12] hvc_console_print+0x292/0x780 [ 191.799312][ T12] ? hvc_write+0x3a0/0x3a0 [ 191.799313][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799315][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799316][ T12] ? lock_acquire+0x13c/0x160 [ 191.799318][ T12] console_emit_next_record+0x252/0x4f0 [ 191.799321][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 191.799322][ T12] ? _prb_read_valid+0x6e0/0x6e0 [ 191.799324][ T12] ? __asan_memmove+0x3c/0x60 [ 191.799325][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799326][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799327][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799329][ T12] ? lock_acquire+0x13c/0x160 [ 191.799331][ T12] ? console_flush_one_record+0x111/0x710 [ 191.799332][ T12] console_flush_one_record+0x46f/0x710 [ 191.799334][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 191.799336][ T12] console_unlock+0xee/0x1f0 [ 191.799337][ T12] ? lock_acquire+0x13c/0x160 [ 191.799339][ T12] ? console_flush_one_record+0x710/0x710 [ 191.799340][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799341][ T12] ? lock_release+0x184/0x1f0 [ 191.799343][ T12] ? lock_acquire+0x60/0x160 [ 191.799345][ T12] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 191.799346][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 191.799348][ T12] ? vprintk_emit+0x320/0x3e0 [ 191.799350][ T12] vprintk_emit+0x37c/0x3e0 [ 191.799352][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 191.799353][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799354][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 191.799357][ T12] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 191.799358][ T12] ? __dev_queue_xmit+0x93b/0x1a20 [ 191.799361][ T12] ? __dev_queue_xmit+0x93b/0x1a20 [ 191.799362][ T12] ? trace_hardirqs_on+0x36/0x40 [ 191.799363][ T12] _printk+0xc7/0x100 [ 191.799366][ T12] ? snapshot_read.cold+0x21/0x21 [ 191.799368][ T12] ? kmalloc_reserve+0x103/0x2d0 [ 191.799371][ T12] ? netdev_name+0x43/0x60 [ 191.799373][ T12] ? __netdev_printk+0x17f/0x1d0 [ 191.799375][ T12] netdev_info+0xe2/0x116 [ 191.799377][ T12] ? netdev_notice+0x120/0x120 [ 191.799379][ T12] ? __netdev_alloc_skb+0x3e/0x970 [ 191.799381][ T12] bond_3ad_unbind_slave.cold+0xe0/0x3bf [ 191.799385][ T12] ? ad_agg_selection_logic+0x1b70/0x1b70 [ 191.799387][ T12] ? sync_rcu_exp_select_cpus+0x630/0x700 [ 191.799389][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 191.799391][ T12] ? sysfs_remove_files+0x90/0x120 [ 191.799394][ T12] __bond_release_one+0x7b0/0x970 [ 191.799396][ T12] ? lock_acquire+0x13c/0x160 [ 191.799398][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799399][ T12] ? bond_enslave+0x5100/0x5100 [ 191.799400][ T12] ? ipvlan_port_create+0x541/0x5a0 [ 191.799402][ T12] ? ipvlan_port_get+0xeb/0x3b0 [ 191.799403][ T12] ? ipvlan_port_create+0x5a0/0x5a0 [ 191.799405][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799407][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 191.799409][ T12] ? packet_sendmsg_spkt+0x1350/0x1350 [ 191.799412][ T12] bond_uninit+0x119/0x190 [ 191.799413][ T12] ? ip6_route_dev_notify+0x3d/0x380 [ 191.799415][ T12] ? bond_siocdevprivate+0x170/0x170 [ 191.799417][ T12] unregister_netdevice_many_notify+0xee7/0x1b40 [ 191.799420][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 191.799421][ T12] ? trace_hardirqs_on+0x36/0x40 [ 191.799423][ T12] ? rtnl_is_locked+0x15/0x20 [ 191.799425][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 191.799429][ T12] ops_undo_list+0x615/0x8f0 [ 191.799431][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 191.799434][ T12] ? idr_destroy+0x121/0x250 [ 191.799437][ T12] cleanup_net+0x431/0x890 [ 191.799439][ T12] ? net_passive_dec+0x230/0x230 [ 191.799440][ T12] ? update_load_avg+0x141/0xf00 [ 191.799443][ T12] ? lock_acquire+0x13c/0x160 [ 191.799444][ T12] ? rcu_is_watching+0x16/0xd0 [ 191.799446][ T12] process_one_work+0xe3e/0x1560 [ 191.799449][ T12] ? __queue_delayed_work+0x470/0x470 [ 191.799450][ T12] ? common_interrupt+0xc2/0xf0 [ 191.799453][ T12] ? __rwlock_init+0x150/0x150 [ 191.799455][ T12] worker_thread+0x4f1/0xd60 [ 191.799457][ T12] ? rescuer_thread+0x1340/0x1340 [ 191.799458][ T12] kthread+0x367/0x460 [ 191.799461][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 191.799462][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 191.799464][ T12] ret_from_fork+0x474/0x6b0 [ 191.799468][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 191.799470][ T12] ? __switch_to+0x5a3/0xe00 [ 191.799473][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 191.799475][ T12] ret_from_fork_asm+0x11/0x20 [ 191.799478][ T12] [ 191.817563][ T12] bond0 (unregistering): (slave eth0): Releasing backup interface [ 191.825773][ T12] bond0 (unregistering): Released all slaves [ 191.837760][ T12] bond0: (slave eth1): Removing an active aggregator [ 191.838003][ T12] bond0: (slave eth1): Releasing backup interface [ 191.903702][ T12] bond0 (unregistering): Released all slaves