[ 10.146399][ T199] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 10.146470][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.146472][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 10.146474][ T199] preempt_count: 1, expected: 0 [ 10.146474][ T199] RCU nest depth: 0, expected: 0 [ 10.146475][ T199] locks held by ip/199: 5, last CPU#0: [ 10.146478][ T199] #0: ffffffffa2522700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.146490][ T199] #1: ffffffffa1d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.146496][ T199] #2: ffffffffa1d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.146499][ T199] #3: ffffffffa1c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.146502][ T199] #4: ffffffffa1c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.146506][ T199] irq event stamp: 23848 [ 10.146507][ T199] hardirqs last enabled at (23847): [] __down_trylock_console_sem+0x86/0xa0 [ 10.146510][ T199] hardirqs last disabled at (23848): [] console_emit_next_record+0x3f8/0x4f0 [ 10.146512][ T199] softirqs last enabled at (23826): [] bond_update_slave_arr+0x7ae/0xcf0 [ 10.146515][ T199] softirqs last disabled at (23824): [] bond_update_slave_arr+0x6af/0xcf0 [ 10.146517][ T199] Preemption disabled at: [ 10.146518][ T199] [] vprintk_emit+0x31b/0x3e0 [ 10.146524][ T199] CPU: 0 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.146527][ T199] Tainted: [W]=WARN [ 10.146528][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.146530][ T199] Call Trace: [ 10.146532][ T199] [ 10.146533][ T199] dump_stack_lvl+0x6f/0xa0 [ 10.146538][ T199] ? vprintk_emit+0x31b/0x3e0 [ 10.146540][ T199] __might_resched.cold+0x1fe/0x2c1 [ 10.146545][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.146549][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 10.146554][ T199] __kmalloc_noprof+0x443/0x760 [ 10.146557][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 10.146563][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 10.146565][ T199] alloc_buf.isra.0+0x4b/0x260 [ 10.146569][ T199] put_chars+0x1e1/0x2f0 [ 10.146572][ T199] ? __send_to_port+0x420/0x420 [ 10.146580][ T199] hvc_console_print+0x292/0x780 [ 10.146587][ T199] ? hvc_write+0x3a0/0x3a0 [ 10.146590][ T199] ? lock_acquire+0x13c/0x160 [ 10.146595][ T199] console_emit_next_record+0x252/0x4f0 [ 10.146598][ T199] ? devkmsg_read+0x4e0/0x4e0 [ 10.146603][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.146606][ T199] ? lock_acquire+0x13c/0x160 [ 10.146611][ T199] console_flush_one_record+0x46f/0x710 [ 10.146614][ T199] ? console_emit_next_record+0x4f0/0x4f0 [ 10.146616][ T199] ? __lock_acquire+0x518/0xc20 [ 10.146622][ T199] console_unlock+0xee/0x1f0 [ 10.146624][ T199] ? console_flush_one_record+0x710/0x710 [ 10.146626][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.146628][ T199] ? lock_acquire+0x60/0x160 [ 10.146632][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.146634][ T199] ? vprintk_emit+0x320/0x3e0 [ 10.146637][ T199] vprintk_emit+0x37c/0x3e0 [ 10.146640][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 10.146643][ T199] ? packet_sendmsg_spkt+0x1350/0x1350 [ 10.146649][ T199] _printk+0xc7/0x100 [ 10.146652][ T199] ? snapshot_read.cold+0x21/0x21 [ 10.146656][ T199] ? __mutex_unlock_slowpath+0x9e/0x740 [ 10.146659][ T199] ? netdev_name+0x43/0x60 [ 10.146662][ T199] ? __netdev_printk+0x17f/0x1d0 [ 10.146666][ T199] netdev_info+0xe2/0x116 [ 10.146668][ T199] ? netdev_notice+0x120/0x120 [ 10.146672][ T199] ? bond_lower_state_changed+0x160/0x160 [ 10.146676][ T199] ? netdev_upper_dev_link+0xb0/0xb0 [ 10.146681][ T199] bond_enslave.cold+0x156/0x4f7 [ 10.146690][ T199] ? find_held_lock+0x2b/0x80 [ 10.146692][ T199] ? bond_update_slave_arr+0xcf0/0xcf0 [ 10.146693][ T199] ? mark_usage+0x61/0x170 [ 10.146696][ T199] ? __lock_acquire+0x518/0xc20 [ 10.146697][ T199] ? __lock_acquire+0x500/0xc20 [ 10.146702][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.146710][ T199] ? is_bpf_text_address+0x72/0x110 [ 10.146714][ T199] ? kernel_text_address+0x149/0x170 [ 10.146719][ T199] do_set_master+0x3b2/0x780 [ 10.146724][ T199] do_setlink.isra.0+0x9ec/0x2a60 [ 10.146728][ T199] ? stack_trace_save+0x93/0xc0 [ 10.146731][ T199] ? rtnl_link_get_size+0x350/0x350 [ 10.146733][ T199] ? rcu_read_lock_any_held+0x66/0x90 [ 10.146736][ T199] ? stack_depot_save_flags+0x38e/0x790 [ 10.146739][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.146742][ T199] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.146744][ T199] ? validate_chain+0x38b/0xc20 [ 10.146747][ T199] ? kasan_save_stack+0x3d/0x50 [ 10.146749][ T199] ? kasan_save_stack+0x2f/0x50 [ 10.146750][ T199] ? kasan_save_track+0x14/0x30 [ 10.146752][ T199] ? __lock_acquire+0x518/0xc20 [ 10.146755][ T199] ? netlink_seq_next+0x1e/0x60 [ 10.146758][ T199] ? ___sys_sendmsg+0xc0/0x1d0 [ 10.146762][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.146765][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 10.146768][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.146770][ T199] ? lock_acquire+0x13c/0x160 [ 10.146771][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.146773][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.146775][ T199] ? trace_contention_end+0xb3/0x180 [ 10.146778][ T199] ? __mutex_lock+0x1db/0x1ea0 [ 10.146779][ T199] ? __mutex_lock+0x9a3/0x1ea0 [ 10.146781][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 10.146785][ T199] ? ww_mutex_lock+0x160/0x160 [ 10.146787][ T199] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.146793][ T199] ? __rtnl_newlink+0x3fa/0xa50 [ 10.146799][ T199] rtnl_newlink+0x9f1/0x11b0 [ 10.146805][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 10.146808][ T199] ? __lock_acquire+0x518/0xc20 [ 10.146813][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.146815][ T199] ? find_held_lock+0x2b/0x80 [ 10.146817][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 10.146819][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 10.146824][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 10.146826][ T199] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.146830][ T199] ? rtnl_link_fill+0x900/0x900 [ 10.146832][ T199] ? __lock_acquire+0x518/0xc20 [ 10.146837][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 10.146839][ T199] ? find_held_lock+0x2b/0x80 [ 10.146843][ T199] netlink_rcv_skb+0x14e/0x3a0 [ 10.146845][ T199] ? rtnl_link_fill+0x900/0x900 [ 10.146848][ T199] ? netlink_ack+0xcd0/0xcd0 [ 10.146855][ T199] ? netlink_deliver_tap+0xc5/0x330 [ 10.146856][ T199] ? netlink_deliver_tap+0x13c/0x330 [ 10.146861][ T199] netlink_unicast+0x486/0x750 [ 10.146865][ T199] ? netlink_attachskb+0x810/0x810 [ 10.146867][ T199] ? __lock_acquire+0x518/0xc20 [ 10.146872][ T199] netlink_sendmsg+0x735/0xc60 [ 10.146876][ T199] ? netlink_unicast+0x750/0x750 [ 10.146880][ T199] ? __might_fault+0x97/0x140 [ 10.146889][ T199] ____sys_sendmsg+0x415/0x880 [ 10.146893][ T199] ? copy_msghdr_from_user+0x279/0x420 [ 10.146896][ T199] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.146897][ T199] ? move_addr_to_kernel+0x40/0x40 [ 10.146905][ T199] ___sys_sendmsg+0x14e/0x1d0 [ 10.146907][ T199] ? copy_msghdr_from_user+0x420/0x420 [ 10.146928][ T199] __sys_sendmsg+0x12c/0x1d0 [ 10.146931][ T199] ? __sys_sendmsg_sock+0x20/0x20 [ 10.146937][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.146941][ T199] do_syscall_64+0xff/0x530 [ 10.146943][ T199] ? exc_page_fault+0xee/0x100 [ 10.146946][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.146948][ T199] RIP: 0033:0x7f8e3257d54e [ 10.146953][ T199] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.146955][ T199] RSP: 002b:00007fff66a19740 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.146957][ T199] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f8e3257d54e [ 10.146959][ T199] RDX: 0000000000000000 RSI: 00007fff66a197f0 RDI: 0000000000000005 [ 10.146960][ T199] RBP: 00007fff66a19750 R08: 0000000000000000 R09: 0000000000000000 [ 10.146960][ T199] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91a78f [ 10.146961][ T199] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff66a19ec0 [ 10.146968][ T199] [ 10.194723][ T199] ip (199) used greatest stack depth: 22824 bytes left [ 10.219238][ T200] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 10.297584][ T203] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 10.338973][ T204] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 77.525751][ T71] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 77.525829][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 77.525831][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 77.525833][ T71] preempt_count: 202, expected: 0 [ 77.525834][ T71] RCU nest depth: 2, expected: 0 [ 77.525835][ T71] locks held by kworker/u16:1/71: 9, last CPU#1: [ 77.525838][ T71] #0: ff1100000d5fa940 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 77.525850][ T71] #1: ffa00000004c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 77.525853][ T71] #2: ff1100000cb02e98 (&bond->mode_lock){+...}-{3:3}, at: bond_3ad_state_machine_handler+0xd2/0x1f00 [ 77.525859][ T71] #3: ffffffffa1db0b00 (rcu_read_lock){....}-{1:3}, at: bond_3ad_state_machine_handler+0xe9/0x1f00 [ 77.525862][ T71] #4: ffffffffa1db0b00 (rcu_read_lock){....}-{1:3}, at: ad_agg_selection_logic+0xdc/0x1b70 [ 77.525865][ T71] #5: ffffffffa1d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 77.525870][ T71] #6: ffffffffa1d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 77.525873][ T71] #7: ffffffffa1c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 77.525876][ T71] #8: ffffffffa1c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 77.525880][ T71] irq event stamp: 18481 [ 77.525881][ T71] hardirqs last enabled at (18480): [] __down_trylock_console_sem+0x86/0xa0 [ 77.525885][ T71] hardirqs last disabled at (18481): [] console_emit_next_record+0x3f8/0x4f0 [ 77.525887][ T71] softirqs last enabled at (18456): [] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.525890][ T71] softirqs last disabled at (18474): [] bond_3ad_state_machine_handler+0xd2/0x1f00 [ 77.525894][ T71] Preemption disabled at: [ 77.525894][ T71] [<0000000000000000>] 0x0 [ 77.525902][ T71] CPU: 1 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 77.525906][ T71] Tainted: [W]=WARN [ 77.525906][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.525908][ T71] Workqueue: bond0 bond_3ad_state_machine_handler [ 77.525911][ T71] Call Trace: [ 77.525913][ T71] [ 77.525915][ T71] dump_stack_lvl+0x6f/0xa0 [ 77.525921][ T71] __might_resched.cold+0x1fe/0x2c1 [ 77.525926][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 77.525930][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 77.525935][ T71] __kmalloc_noprof+0x443/0x760 [ 77.525938][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 77.525944][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 77.525946][ T71] alloc_buf.isra.0+0x4b/0x260 [ 77.525950][ T71] put_chars+0x1e1/0x2f0 [ 77.525954][ T71] ? __send_to_port+0x420/0x420 [ 77.525959][ T71] ? validate_chain+0x34a/0xc20 [ 77.525963][ T71] hvc_console_print+0x292/0x780 [ 77.525968][ T71] ? mark_usage+0x61/0x170 [ 77.525970][ T71] ? __lock_acquire+0x518/0xc20 [ 77.525972][ T71] ? __lock_acquire+0x518/0xc20 [ 77.525976][ T71] ? hvc_write+0x3a0/0x3a0 [ 77.525979][ T71] ? console_emit_next_record+0x202/0x4f0 [ 77.525982][ T71] ? rcu_is_watching+0x16/0xd0 [ 77.525986][ T71] ? lock_acquire+0x13c/0x160 [ 77.525990][ T71] console_emit_next_record+0x252/0x4f0 [ 77.525993][ T71] ? devkmsg_read+0x4e0/0x4e0 [ 77.525998][ T71] ? rcu_is_watching+0x16/0xd0 [ 77.526000][ T71] ? lock_acquire+0x13c/0x160 [ 77.526004][ T71] console_flush_one_record+0x46f/0x710 [ 77.526008][ T71] ? console_emit_next_record+0x4f0/0x4f0 [ 77.526009][ T71] ? __lock_acquire+0x518/0xc20 [ 77.526015][ T71] console_unlock+0xee/0x1f0 [ 77.526017][ T71] ? console_flush_one_record+0x710/0x710 [ 77.526019][ T71] ? rcu_is_watching+0x16/0xd0 [ 77.526021][ T71] ? lock_acquire+0x60/0x160 [ 77.526025][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 77.526027][ T71] ? vprintk_emit+0x320/0x3e0 [ 77.526030][ T71] vprintk_emit+0x37c/0x3e0 [ 77.526033][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 77.526036][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 77.526041][ T71] _printk+0xc7/0x100 [ 77.526044][ T71] ? snapshot_read.cold+0x21/0x21 [ 77.526046][ T71] ? ___ratelimit+0x4e7/0xa00 [ 77.526052][ T71] ? idr_get_free+0x830/0x830 [ 77.526057][ T71] ad_agg_selection_logic.cold+0x120/0x16c [ 77.526064][ T71] ? find_held_lock+0x2b/0x80 [ 77.526067][ T71] ? bond_3ad_set_carrier+0x5f0/0x5f0 [ 77.526070][ T71] ? __get_first_agg.isra.0+0xda/0x1c0 [ 77.526074][ T71] ad_port_selection_logic+0x8a8/0x1820 [ 77.526079][ T71] ? bond_3ad_unbind_slave+0x1f80/0x1f80 [ 77.526081][ T71] ? ad_rx_machine+0x282/0x1950 [ 77.526085][ T71] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 77.526090][ T71] ? ad_mux_machine+0x1b50/0x1b50 [ 77.526092][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 77.526094][ T71] ? process_one_work+0xd80/0x1560 [ 77.526097][ T71] ? rcu_is_watching+0x16/0xd0 [ 77.526099][ T71] ? rcu_is_watching+0x16/0xd0 [ 77.526100][ T71] ? lock_acquire+0x13c/0x160 [ 77.526102][ T71] ? rcu_is_watching+0x16/0xd0 [ 77.526106][ T71] process_one_work+0xe3e/0x1560 [ 77.526112][ T71] ? __queue_delayed_work+0x470/0x470 [ 77.526115][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 77.526123][ T71] worker_thread+0x4f1/0xd60 [ 77.526127][ T71] ? rescuer_thread+0x1340/0x1340 [ 77.526128][ T71] ? __kthread_parkme+0xbd/0x210 [ 77.526132][ T71] ? rescuer_thread+0x1340/0x1340 [ 77.526135][ T71] ? rescuer_thread+0x1340/0x1340 [ 77.526136][ T71] kthread+0x367/0x460 [ 77.526138][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 77.526142][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.526145][ T71] ret_from_fork+0x474/0x6b0 [ 77.526150][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 77.526154][ T71] ? __switch_to+0x5a3/0xe00 [ 77.526157][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.526161][ T71] ret_from_fork_asm+0x11/0x20 [ 77.526170][ T71] [ 77.549744][ T71] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 77.550410][ T71] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 77.550806][ T71] bond0: active interface up! [ 77.757419][ C1] [ 77.757522][ C1] ======================================================== [ 77.757729][ C1] WARNING: possible irq lock inversion dependency detected [ 77.757944][ C1] 7.2.0-virtme #1 Tainted: G W [ 77.758117][ C1] -------------------------------------------------------- [ 77.758321][ C1] kworker/u16:1/71 just changed the state of lock: [ 77.758491][ C1] ff1100000c812e98 (&bond->mode_lock){+.-.}-{3:3}, at: bond_3ad_rx_indication+0x242/0x8e0 [ 77.758736][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 77.758947][ C1] (fs_reclaim){+.+.}-{0:0} [ 77.758949][ C1] [ 77.758949][ C1] [ 77.758949][ C1] and interrupts could create inverse lock ordering between them. [ 77.758949][ C1] [ 77.759445][ C1] [ 77.759445][ C1] other info that might help us debug this: [ 77.759642][ C1] Chain exists of: [ 77.759642][ C1] &bond->mode_lock --> console_owner --> fs_reclaim [ 77.759642][ C1] [ 77.759951][ C1] Possible interrupt unsafe locking scenario: [ 77.759951][ C1] [ 77.760150][ C1] CPU0 CPU1 [ 77.760286][ C1] ---- ---- [ 77.760429][ C1] lock(fs_reclaim); [ 77.760532][ C1] local_irq_disable(); [ 77.760701][ C1] lock(&bond->mode_lock); [ 77.760900][ C1] lock(console_owner); [ 77.761070][ C1] [ 77.761178][ C1] lock(&bond->mode_lock); [ 77.761317][ C1] [ 77.761317][ C1] *** DEADLOCK *** [ 77.761317][ C1] [ 77.761518][ C1] locks held by kworker/u16:1/71: 3, last CPU#1: [ 77.761690][ C1] #0: ff1100000d5fa940 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 77.761965][ C1] #1: ffa00000004c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 77.762262][ C1] #2: ffffffffa1db0b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 77.762505][ C1] [ 77.762505][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 77.762734][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 77.762877][ C1] HARDIRQ-ON-W at: [ 77.762988][ C1] __lock_acquire+0x388/0xc20 [ 77.763168][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.763338][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.763514][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 77.763722][ C1] kthread_create_worker_on_node+0xea/0x210 [ 77.763930][ C1] workqueue_init+0x2a/0x680 [ 77.764103][ C1] kernel_init_freeable+0x2fe/0x630 [ 77.764306][ C1] kernel_init+0x21/0x150 [ 77.764483][ C1] ret_from_fork+0x474/0x6b0 [ 77.764652][ C1] ret_from_fork_asm+0x11/0x20 [ 77.764823][ C1] SOFTIRQ-ON-W at: [ 77.764927][ C1] __lock_acquire+0x388/0xc20 [ 77.765098][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.765266][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.765439][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 77.765642][ C1] kthread_create_worker_on_node+0xea/0x210 [ 77.765843][ C1] workqueue_init+0x2a/0x680 [ 77.766016][ C1] kernel_init_freeable+0x2fe/0x630 [ 77.766221][ C1] kernel_init+0x21/0x150 [ 77.766395][ C1] ret_from_fork+0x474/0x6b0 [ 77.766564][ C1] ret_from_fork_asm+0x11/0x20 [ 77.766735][ C1] INITIAL USE at: [ 77.766837][ C1] __lock_acquire+0x388/0xc20 [ 77.767011][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.767185][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.767353][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 77.767563][ C1] kthread_create_worker_on_node+0xea/0x210 [ 77.767767][ C1] workqueue_init+0x2a/0x680 [ 77.767936][ C1] kernel_init_freeable+0x2fe/0x630 [ 77.768105][ C1] kernel_init+0x21/0x150 [ 77.768274][ C1] ret_from_fork+0x474/0x6b0 [ 77.768446][ C1] ret_from_fork_asm+0x11/0x20 [ 77.768614][ C1] } [ 77.768691][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 77.768900][ C1] ... acquired at: [ 77.769002][ C1] __lock_acquire+0x518/0xc20 [ 77.769143][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.769276][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.769416][ C1] __kmalloc_noprof+0xd3/0x760 [ 77.769548][ C1] alloc_buf.isra.0+0x4b/0x260 [ 77.769683][ C1] put_chars+0x1e1/0x2f0 [ 77.769814][ C1] hvc_console_print+0x292/0x780 [ 77.769955][ C1] console_emit_next_record+0x252/0x4f0 [ 77.770088][ C1] console_flush_one_record+0x46f/0x710 [ 77.770267][ C1] console_unlock+0xee/0x1f0 [ 77.770405][ C1] vprintk_emit+0x37c/0x3e0 [ 77.770583][ C1] _printk+0xc7/0x100 [ 77.770685][ C1] i8042_pnp_init+0xf7/0x3c0 [ 77.770864][ C1] i8042_platform_init+0x3f9/0x460 [ 77.771000][ C1] i8042_init+0x45/0x130 [ 77.771178][ C1] do_one_initcall+0x124/0x4f0 [ 77.771313][ C1] kernel_init_freeable+0x596/0x630 [ 77.771497][ C1] kernel_init+0x21/0x150 [ 77.771630][ C1] ret_from_fork+0x474/0x6b0 [ 77.771808][ C1] ret_from_fork_asm+0x11/0x20 [ 77.771945][ C1] [ 77.772018][ C1] -> (console_owner){....}-{0:0} { [ 77.772202][ C1] INITIAL USE at: [ 77.772302][ C1] } [ 77.772430][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 77.772627][ C1] ... acquired at: [ 77.772770][ C1] __lock_acquire+0x518/0xc20 [ 77.772903][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.773083][ C1] console_lock_spinning_enable+0x5c/0x60 [ 77.773249][ C1] console_emit_next_record+0x1f4/0x4f0 [ 77.773386][ C1] console_flush_one_record+0x46f/0x710 [ 77.773520][ C1] console_unlock+0xee/0x1f0 [ 77.773698][ C1] vprintk_emit+0x37c/0x3e0 [ 77.773829][ C1] _printk+0xc7/0x100 [ 77.773976][ C1] ad_agg_selection_logic.cold+0x120/0x16c [ 77.774143][ C1] ad_port_selection_logic+0x8a8/0x1820 [ 77.774323][ C1] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 77.774490][ C1] process_one_work+0xe3e/0x1560 [ 77.774666][ C1] worker_thread+0x4f1/0xd60 [ 77.774798][ C1] kthread+0x367/0x460 [ 77.774949][ C1] ret_from_fork+0x474/0x6b0 [ 77.775080][ C1] ret_from_fork_asm+0x11/0x20 [ 77.775259][ C1] [ 77.775325][ C1] -> (&bond->mode_lock){+.-.}-{3:3} { [ 77.775513][ C1] HARDIRQ-ON-W at: [ 77.775614][ C1] __lock_acquire+0x388/0xc20 [ 77.775833][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.776001][ C1] _raw_spin_lock_bh+0x38/0x50 [ 77.776223][ C1] bond_3ad_update_lacp_active+0xb8/0x260 [ 77.776473][ C1] bond_option_lacp_active_set+0x77/0x1f0 [ 77.776674][ C1] __bond_opt_set+0x1b1/0x390 [ 77.776891][ C1] bond_changelink+0x1504/0x23e0 [ 77.777105][ C1] bond_newlink+0x9e/0xf0 [ 77.777273][ C1] rtnl_newlink_create+0x2d0/0x850 [ 77.777495][ C1] __rtnl_newlink+0x22b/0xa50 [ 77.777664][ C1] rtnl_newlink+0x9f1/0x11b0 [ 77.777877][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 77.778097][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 77.778265][ C1] netlink_unicast+0x486/0x750 [ 77.778482][ C1] netlink_sendmsg+0x735/0xc60 [ 77.778694][ C1] ____sys_sendmsg+0x415/0x880 [ 77.778865][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 77.779078][ C1] __sys_sendmsg+0x12c/0x1d0 [ 77.779246][ C1] do_syscall_64+0xff/0x530 [ 77.779462][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 77.779708][ C1] IN-SOFTIRQ-W at: [ 77.779807][ C1] __lock_acquire+0x388/0xc20 [ 77.780029][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.780195][ C1] _raw_spin_lock+0x33/0x40 [ 77.780415][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 77.780629][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.780795][ C1] bond_handle_frame+0x16b/0xca0 [ 77.781013][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.781261][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 77.781467][ C1] process_backlog+0x431/0x14c0 [ 77.781679][ C1] __napi_poll+0xa7/0x3b0 [ 77.781896][ C1] net_rx_action+0x513/0xf50 [ 77.782065][ C1] handle_softirqs+0x1d3/0x900 [ 77.782282][ C1] do_softirq+0xac/0xe0 [ 77.782502][ C1] __local_bh_enable_ip+0x118/0x150 [ 77.782670][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.782921][ C1] process_one_work+0xe3e/0x1560 [ 77.783136][ C1] worker_thread+0x4f1/0xd60 [ 77.783304][ C1] kthread+0x367/0x460 [ 77.783490][ C1] ret_from_fork+0x474/0x6b0 [ 77.783659][ C1] ret_from_fork_asm+0x11/0x20 [ 77.783875][ C1] INITIAL USE at: [ 77.783979][ C1] __lock_acquire+0x388/0xc20 [ 77.784194][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.784413][ C1] _raw_spin_lock_bh+0x38/0x50 [ 77.784583][ C1] bond_3ad_update_lacp_active+0xb8/0x260 [ 77.784834][ C1] bond_option_lacp_active_set+0x77/0x1f0 [ 77.785084][ C1] __bond_opt_set+0x1b1/0x390 [ 77.785253][ C1] bond_changelink+0x1504/0x23e0 [ 77.785427][ C1] bond_newlink+0x9e/0xf0 [ 77.785646][ C1] rtnl_newlink_create+0x2d0/0x850 [ 77.785813][ C1] __rtnl_newlink+0x22b/0xa50 [ 77.786031][ C1] rtnl_newlink+0x9f1/0x11b0 [ 77.786200][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 77.786419][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 77.786634][ C1] netlink_unicast+0x486/0x750 [ 77.786800][ C1] netlink_sendmsg+0x735/0xc60 [ 77.787020][ C1] ____sys_sendmsg+0x415/0x880 [ 77.787232][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 77.787402][ C1] __sys_sendmsg+0x12c/0x1d0 [ 77.787615][ C1] do_syscall_64+0xff/0x530 [ 77.787782][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 77.788032][ C1] } [ 77.788101][ C1] ... key at: [] __key.27+0x0/0x40 [ 77.788342][ C1] ... acquired at: [ 77.788492][ C1] mark_lock+0x1d7/0xa00 [ 77.788626][ C1] mark_usage+0x42/0x170 [ 77.788805][ C1] __lock_acquire+0x388/0xc20 [ 77.788941][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.789119][ C1] _raw_spin_lock+0x33/0x40 [ 77.789252][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 77.789436][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.789569][ C1] bond_handle_frame+0x16b/0xca0 [ 77.789747][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.789917][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 77.790130][ C1] process_backlog+0x431/0x14c0 [ 77.790265][ C1] __napi_poll+0xa7/0x3b0 [ 77.790449][ C1] net_rx_action+0x513/0xf50 [ 77.790581][ C1] handle_softirqs+0x1d3/0x900 [ 77.790761][ C1] do_softirq+0xac/0xe0 [ 77.790861][ C1] __local_bh_enable_ip+0x118/0x150 [ 77.791042][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.791207][ C1] process_one_work+0xe3e/0x1560 [ 77.791393][ C1] worker_thread+0x4f1/0xd60 [ 77.791527][ C1] kthread+0x367/0x460 [ 77.791672][ C1] ret_from_fork+0x474/0x6b0 [ 77.791805][ C1] ret_from_fork_asm+0x11/0x20 [ 77.791989][ C1] [ 77.792057][ C1] [ 77.792057][ C1] stack backtrace: [ 77.792271][ C1] CPU: 1 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 77.792275][ C1] Tainted: [W]=WARN [ 77.792276][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.792278][ C1] Workqueue: bond0 bond_3ad_state_machine_handler [ 77.792281][ C1] Call Trace: [ 77.792282][ C1] [ 77.792284][ C1] dump_stack_lvl+0x6f/0xa0 [ 77.792287][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 77.792290][ C1] mark_lock_irq+0x989/0x9c0 [ 77.792293][ C1] mark_lock+0x1d7/0xa00 [ 77.792295][ C1] mark_usage+0x42/0x170 [ 77.792297][ C1] __lock_acquire+0x388/0xc20 [ 77.792299][ C1] ? __unwind_start+0x42e/0x900 [ 77.792303][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.792305][ C1] ? bond_3ad_rx_indication+0x242/0x8e0 [ 77.792306][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.792309][ C1] ? lock_acquire+0x13c/0x160 [ 77.792312][ C1] _raw_spin_lock+0x33/0x40 [ 77.792313][ C1] ? bond_3ad_rx_indication+0x242/0x8e0 [ 77.792315][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 77.792316][ C1] ? rcu_read_lock_any_held+0x3c/0x90 [ 77.792319][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.792321][ C1] ? bond_3ad_get_active_agg_info+0x120/0x120 [ 77.792323][ C1] ? kasan_save_stack+0x2f/0x50 [ 77.792325][ C1] ? kasan_record_aux_stack+0x9b/0xc0 [ 77.792327][ C1] ? insert_work+0x30/0x1f0 [ 77.792329][ C1] bond_handle_frame+0x16b/0xca0 [ 77.792332][ C1] ? bond_net_exit_batch+0x2a0/0x2a0 [ 77.792333][ C1] ? bond_net_exit_batch+0x2a0/0x2a0 [ 77.792335][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.792338][ C1] ? find_held_lock+0x2b/0x80 [ 77.792340][ C1] ? do_xdp_generic+0x4a0/0x4a0 [ 77.792342][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 77.792345][ C1] ? mark_usage+0x61/0x170 [ 77.792347][ C1] ? __lock_acquire+0x518/0xc20 [ 77.792349][ C1] ? process_backlog+0x3f1/0x14c0 [ 77.792350][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 77.792352][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 77.792354][ C1] ? process_backlog+0x3f1/0x14c0 [ 77.792355][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 77.792357][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.792359][ C1] process_backlog+0x431/0x14c0 [ 77.792361][ C1] __napi_poll+0xa7/0x3b0 [ 77.792363][ C1] net_rx_action+0x513/0xf50 [ 77.792366][ C1] ? __napi_poll+0x3b0/0x3b0 [ 77.792368][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 77.792370][ C1] ? __rwlock_init+0x150/0x150 [ 77.792372][ C1] ? __run_timers+0xaa0/0xaa0 [ 77.792374][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.792375][ C1] ? mark_held_locks+0x40/0x70 [ 77.792378][ C1] handle_softirqs+0x1d3/0x900 [ 77.792385][ C1] ? _local_bh_enable+0xc0/0xc0 [ 77.792387][ C1] ? _local_bh_enable+0xc0/0xc0 [ 77.792389][ C1] do_softirq+0xac/0xe0 [ 77.792391][ C1] [ 77.792392][ C1] [ 77.792392][ C1] __local_bh_enable_ip+0x118/0x150 [ 77.792394][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.792397][ C1] ? ad_mux_machine+0x1b50/0x1b50 [ 77.792398][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 77.792400][ C1] ? process_one_work+0xd80/0x1560 [ 77.792401][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.792403][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.792404][ C1] ? lock_acquire+0x13c/0x160 [ 77.792406][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.792407][ C1] process_one_work+0xe3e/0x1560 [ 77.792410][ C1] ? __queue_delayed_work+0x470/0x470 [ 77.792411][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 77.792414][ C1] worker_thread+0x4f1/0xd60 [ 77.792416][ C1] ? rescuer_thread+0x1340/0x1340 [ 77.792417][ C1] ? __kthread_parkme+0xbd/0x210 [ 77.792419][ C1] ? rescuer_thread+0x1340/0x1340 [ 77.792421][ C1] ? rescuer_thread+0x1340/0x1340 [ 77.792422][ C1] kthread+0x367/0x460 [ 77.792424][ C1] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 77.792427][ C1] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.792429][ C1] ret_from_fork+0x474/0x6b0 [ 77.792431][ C1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 77.792433][ C1] ? __switch_to+0x5a3/0xe00 [ 77.792436][ C1] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.792438][ C1] ret_from_fork_asm+0x11/0x20 [ 77.792441][ C1] [ 90.321273][ T3355] bond0: (slave eth0): Releasing backup interface [ 90.321289][ T3355] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 90.321294][ T3355] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3355, name: ip [ 90.321296][ T3355] preempt_count: 1, expected: 0 [ 90.321297][ T3355] RCU nest depth: 0, expected: 0 [ 90.321298][ T3355] INFO: lockdep is turned off. [ 90.321299][ T3355] irq event stamp: 0 [ 90.321300][ T3355] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 90.321304][ T3355] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 90.321311][ T3355] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 90.321313][ T3355] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 90.321314][ T3355] Preemption disabled at: [ 90.321315][ T3355] [] vprintk_emit+0x31b/0x3e0 [ 90.321322][ T3355] CPU: 2 UID: 0 PID: 3355 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 90.321325][ T3355] Tainted: [W]=WARN [ 90.321326][ T3355] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 90.321328][ T3355] Call Trace: [ 90.321330][ T3355] [ 90.321331][ T3355] dump_stack_lvl+0x6f/0xa0 [ 90.321336][ T3355] ? vprintk_emit+0x31b/0x3e0 [ 90.321337][ T3355] __might_resched.cold+0x1fe/0x2c1 [ 90.321341][ T3355] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 90.321344][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321347][ T3355] __kmalloc_noprof+0x443/0x760 [ 90.321351][ T3355] ? __rwlock_init+0x150/0x150 [ 90.321354][ T3355] ? alloc_buf.isra.0+0x4b/0x260 [ 90.321358][ T3355] ? do_raw_spin_unlock+0x59/0x250 [ 90.321359][ T3355] alloc_buf.isra.0+0x4b/0x260 [ 90.321362][ T3355] put_chars+0x1e1/0x2f0 [ 90.321365][ T3355] ? __send_to_port+0x420/0x420 [ 90.321367][ T3355] ? desc_read+0x2f0/0x2f0 [ 90.321369][ T3355] ? console_prepend_replay+0x20/0x20 [ 90.321371][ T3355] ? desc_read+0x219/0x2f0 [ 90.321373][ T3355] hvc_console_print+0x292/0x780 [ 90.321376][ T3355] ? _prb_read_valid+0x450/0x6e0 [ 90.321379][ T3355] ? hvc_write+0x3a0/0x3a0 [ 90.321381][ T3355] ? do_raw_spin_lock+0x131/0x280 [ 90.321382][ T3355] ? __rwlock_init+0x150/0x150 [ 90.321383][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321385][ T3355] ? lock_acquire+0x13c/0x160 [ 90.321387][ T3355] console_emit_next_record+0x252/0x4f0 [ 90.321390][ T3355] ? devkmsg_read+0x4e0/0x4e0 [ 90.321391][ T3355] ? _prb_read_valid+0x6e0/0x6e0 [ 90.321393][ T3355] ? __asan_memmove+0x3c/0x60 [ 90.321395][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321396][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321398][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321399][ T3355] ? lock_acquire+0x13c/0x160 [ 90.321401][ T3355] ? console_flush_one_record+0x111/0x710 [ 90.321402][ T3355] console_flush_one_record+0x46f/0x710 [ 90.321404][ T3355] ? console_emit_next_record+0x4f0/0x4f0 [ 90.321407][ T3355] console_unlock+0xee/0x1f0 [ 90.321408][ T3355] ? lock_acquire+0x13c/0x160 [ 90.321410][ T3355] ? console_flush_one_record+0x710/0x710 [ 90.321411][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321412][ T3355] ? lock_release+0x184/0x1f0 [ 90.321414][ T3355] ? lock_acquire+0x60/0x160 [ 90.321416][ T3355] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 90.321417][ T3355] ? __down_trylock_console_sem+0x5e/0xa0 [ 90.321420][ T3355] ? vprintk_emit+0x320/0x3e0 [ 90.321421][ T3355] vprintk_emit+0x37c/0x3e0 [ 90.321423][ T3355] ? wake_up_klogd_work_func+0x90/0x90 [ 90.321425][ T3355] ? do_raw_spin_lock+0x131/0x280 [ 90.321426][ T3355] ? __rwlock_init+0x150/0x150 [ 90.321428][ T3355] _printk+0xc7/0x100 [ 90.321431][ T3355] ? snapshot_read.cold+0x21/0x21 [ 90.321432][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321434][ T3355] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 90.321437][ T3355] ? do_raw_spin_unlock+0x59/0x250 [ 90.321438][ T3355] ? trace_hardirqs_on+0x36/0x40 [ 90.321440][ T3355] ? netdev_name+0x43/0x60 [ 90.321442][ T3355] ? __netdev_printk+0x17f/0x1d0 [ 90.321444][ T3355] netdev_info+0xe2/0x116 [ 90.321446][ T3355] ? netdev_notice+0x120/0x120 [ 90.321448][ T3355] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 90.321452][ T3355] ? trace_irq_enable.constprop.0+0x30/0x160 [ 90.321453][ T3355] __bond_release_one.cold+0x80/0xa60 [ 90.321457][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321465][ T3355] ? bond_enslave+0x5100/0x5100 [ 90.321468][ T3355] ? lock_release+0x184/0x1f0 [ 90.321470][ T3355] ? unwind_next_frame+0x69b/0x1ea0 [ 90.321472][ T3355] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.321476][ T3355] ? kernel_text_address+0x149/0x170 [ 90.321479][ T3355] do_set_master+0x15c/0x780 [ 90.321482][ T3355] do_setlink.isra.0+0x9ec/0x2a60 [ 90.321484][ T3355] ? stack_trace_save+0x93/0xc0 [ 90.321487][ T3355] ? rtnl_link_get_size+0x350/0x350 [ 90.321489][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321490][ T3355] ? stack_depot_save_flags+0x1bc/0x790 [ 90.321493][ T3355] ? kasan_save_stack+0x3d/0x50 [ 90.321495][ T3355] ? kasan_save_stack+0x2f/0x50 [ 90.321496][ T3355] ? kasan_save_track+0x14/0x30 [ 90.321497][ T3355] ? __kasan_kmalloc+0x7b/0x90 [ 90.321498][ T3355] ? __kmalloc_cache_noprof+0x29a/0x620 [ 90.321500][ T3355] ? rtnl_newlink+0x124/0x11b0 [ 90.321501][ T3355] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 90.321503][ T3355] ? netlink_rcv_skb+0x14e/0x3a0 [ 90.321506][ T3355] ? netlink_unicast+0x486/0x750 [ 90.321507][ T3355] ? netlink_sendmsg+0x735/0xc60 [ 90.321509][ T3355] ? ____sys_sendmsg+0x415/0x880 [ 90.321511][ T3355] ? ___sys_sendmsg+0x14e/0x1d0 [ 90.321512][ T3355] ? __sys_sendmsg+0x12c/0x1d0 [ 90.321513][ T3355] ? do_syscall_64+0xff/0x530 [ 90.321516][ T3355] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.321518][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321519][ T3355] ? lock_acquire+0x13c/0x160 [ 90.321521][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321522][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321524][ T3355] ? trace_contention_end+0xb3/0x180 [ 90.321525][ T3355] ? __mutex_lock+0x1db/0x1ea0 [ 90.321527][ T3355] ? __mutex_lock+0x9a3/0x1ea0 [ 90.321529][ T3355] ? rtnl_newlink+0x9a8/0x11b0 [ 90.321531][ T3355] ? ww_mutex_lock+0x160/0x160 [ 90.321532][ T3355] ? nla_get_range_signed+0x3d0/0x3d0 [ 90.321535][ T3355] ? __rtnl_newlink+0x3fa/0xa50 [ 90.321538][ T3355] rtnl_newlink+0x9f1/0x11b0 [ 90.321541][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321542][ T3355] ? rtnl_bridge_getlink+0x850/0x850 [ 90.321544][ T3355] ? lock_acquire+0x13c/0x160 [ 90.321546][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321547][ T3355] ? is_bpf_text_address+0x3e/0x110 [ 90.321550][ T3355] ? is_bpf_text_address+0x72/0x110 [ 90.321551][ T3355] ? kernel_text_address+0x149/0x170 [ 90.321553][ T3355] ? __kernel_text_address+0x12/0x30 [ 90.321555][ T3355] ? write_profile+0xf0/0xf0 [ 90.321556][ T3355] ? unwind_get_return_address+0x67/0xd0 [ 90.321558][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321559][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321560][ T3355] ? cap_capable+0x1d7/0x3d0 [ 90.321564][ T3355] ? lock_acquire+0x13c/0x160 [ 90.321565][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321567][ T3355] ? rtnl_bridge_getlink+0x850/0x850 [ 90.321569][ T3355] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 90.321571][ T3355] ? rtnl_link_fill+0x900/0x900 [ 90.321573][ T3355] ? filter_irq_stacks+0xd0/0xd0 [ 90.321574][ T3355] ? stack_depot_save_flags+0x1bc/0x790 [ 90.321577][ T3355] netlink_rcv_skb+0x14e/0x3a0 [ 90.321578][ T3355] ? rtnl_link_fill+0x900/0x900 [ 90.321580][ T3355] ? lock_release+0x184/0x1f0 [ 90.321582][ T3355] ? netlink_ack+0xcd0/0xcd0 [ 90.321583][ T3355] ? __netlink_lookup+0xb9/0x6b0 [ 90.321586][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321587][ T3355] ? lock_release+0x184/0x1f0 [ 90.321590][ T3355] netlink_unicast+0x486/0x750 [ 90.321592][ T3355] ? netlink_attachskb+0x810/0x810 [ 90.321593][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321595][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321596][ T3355] ? lock_acquire+0x13c/0x160 [ 90.321598][ T3355] netlink_sendmsg+0x735/0xc60 [ 90.321600][ T3355] ? netlink_unicast+0x750/0x750 [ 90.321602][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321603][ T3355] ? lock_release+0x184/0x1f0 [ 90.321605][ T3355] ____sys_sendmsg+0x415/0x880 [ 90.321607][ T3355] ? copy_msghdr_from_user+0x279/0x420 [ 90.321608][ T3355] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 90.321609][ T3355] ? move_addr_to_kernel+0x40/0x40 [ 90.321611][ T3355] ? filter_irq_stacks+0xd0/0xd0 [ 90.321614][ T3355] ___sys_sendmsg+0x14e/0x1d0 [ 90.321615][ T3355] ? copy_msghdr_from_user+0x420/0x420 [ 90.321620][ T3355] __sys_sendmsg+0x12c/0x1d0 [ 90.321622][ T3355] ? __sys_sendmsg_sock+0x20/0x20 [ 90.321624][ T3355] ? rcu_is_watching+0x16/0xd0 [ 90.321626][ T3355] do_syscall_64+0xff/0x530 [ 90.321627][ T3355] ? exc_page_fault+0xee/0x100 [ 90.321629][ T3355] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.321631][ T3355] RIP: 0033:0x7f0c5687b54e [ 90.321633][ T3355] 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 [ 90.321635][ T3355] RSP: 002b:00007ffc92ce05a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 90.321638][ T3355] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f0c5687b54e [ 90.321640][ T3355] RDX: 0000000000000000 RSI: 00007ffc92ce0650 RDI: 0000000000000005 [ 90.321641][ T3355] RBP: 00007ffc92ce05b0 R08: 0000000000000000 R09: 0000000000000000 [ 90.321642][ T3355] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91a7df [ 90.321643][ T3355] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc92ce0d20 [ 90.321645][ T3355] [ 90.352909][ T3355] bond0: (slave eth0): the permanent HWaddr of slave - 06:dd:a9:ec:79:fc - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 90.353414][ T3355] bond0: active interface up! [ 90.406704][ T3357] bond0: (slave eth1): Releasing backup interface [ 193.027135][ T71] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 193.027151][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 193.027154][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 193.027155][ T71] preempt_count: 202, expected: 0 [ 193.027157][ T71] RCU nest depth: 0, expected: 0 [ 193.027157][ T71] INFO: lockdep is turned off. [ 193.027159][ T71] irq event stamp: 19372 [ 193.027160][ T71] hardirqs last enabled at (19372): [] _raw_spin_unlock_irq+0x28/0x50 [ 193.027169][ T71] hardirqs last disabled at (19371): [] _raw_spin_lock_irq+0x4a/0x50 [ 193.027171][ T71] softirqs last enabled at (19366): [] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 193.027175][ T71] softirqs last disabled at (19367): [] do_softirq+0xac/0xe0 [ 193.027179][ T71] Preemption disabled at: [ 193.027180][ T71] [<0000000000000000>] 0x0 [ 193.027186][ T71] CPU: 1 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 193.027191][ T71] Tainted: [W]=WARN [ 193.027191][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 193.027193][ T71] Workqueue: netns cleanup_net [ 193.027199][ T71] Call Trace: [ 193.027200][ T71] [ 193.027202][ T71] dump_stack_lvl+0x6f/0xa0 [ 193.027207][ T71] __might_resched.cold+0x1fe/0x2c1 [ 193.027211][ T71] ? __asan_memcpy+0x3c/0x60 [ 193.027215][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 193.027218][ T71] ? record_print_text+0x2fc/0x3e0 [ 193.027221][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027225][ T71] __kmalloc_noprof+0x443/0x760 [ 193.027228][ T71] ? __rwlock_init+0x150/0x150 [ 193.027230][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 193.027234][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 193.027235][ T71] alloc_buf.isra.0+0x4b/0x260 [ 193.027238][ T71] put_chars+0x1e1/0x2f0 [ 193.027240][ T71] ? __send_to_port+0x420/0x420 [ 193.027242][ T71] ? desc_read+0x219/0x2f0 [ 193.027245][ T71] hvc_console_print+0x292/0x780 [ 193.027250][ T71] ? hvc_write+0x3a0/0x3a0 [ 193.027252][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027253][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027254][ T71] ? lock_acquire+0x13c/0x160 [ 193.027257][ T71] console_emit_next_record+0x252/0x4f0 [ 193.027260][ T71] ? devkmsg_read+0x4e0/0x4e0 [ 193.027261][ T71] ? _prb_read_valid+0x6e0/0x6e0 [ 193.027263][ T71] ? __asan_memmove+0x3c/0x60 [ 193.027265][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027266][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027267][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027268][ T71] ? lock_acquire+0x13c/0x160 [ 193.027271][ T71] ? console_flush_one_record+0x111/0x710 [ 193.027272][ T71] console_flush_one_record+0x46f/0x710 [ 193.027274][ T71] ? console_emit_next_record+0x4f0/0x4f0 [ 193.027276][ T71] console_unlock+0xee/0x1f0 [ 193.027278][ T71] ? lock_acquire+0x13c/0x160 [ 193.027279][ T71] ? console_flush_one_record+0x710/0x710 [ 193.027281][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027282][ T71] ? lock_release+0x184/0x1f0 [ 193.027284][ T71] ? lock_acquire+0x60/0x160 [ 193.027285][ T71] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 193.027287][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 193.027294][ T71] ? vprintk_emit+0x320/0x3e0 [ 193.027295][ T71] vprintk_emit+0x37c/0x3e0 [ 193.027298][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 193.027299][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027300][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 193.027304][ T71] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 193.027305][ T71] ? __dev_queue_xmit+0x93b/0x1a20 [ 193.027308][ T71] ? __dev_queue_xmit+0x93b/0x1a20 [ 193.027309][ T71] ? trace_hardirqs_on+0x36/0x40 [ 193.027311][ T71] _printk+0xc7/0x100 [ 193.027314][ T71] ? snapshot_read.cold+0x21/0x21 [ 193.027316][ T71] ? kmalloc_reserve+0x103/0x2d0 [ 193.027319][ T71] ? netdev_name+0x43/0x60 [ 193.027322][ T71] ? __netdev_printk+0x17f/0x1d0 [ 193.027323][ T71] netdev_info+0xe2/0x116 [ 193.027325][ T71] ? netdev_notice+0x120/0x120 [ 193.027327][ T71] ? __netdev_alloc_skb+0x3e/0x970 [ 193.027330][ T71] bond_3ad_unbind_slave.cold+0xe0/0x3bf [ 193.027334][ T71] ? ad_agg_selection_logic+0x1b70/0x1b70 [ 193.027336][ T71] ? sync_rcu_exp_select_cpus+0x630/0x700 [ 193.027338][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 193.027339][ T71] ? sysfs_remove_files+0x90/0x120 [ 193.027343][ T71] __bond_release_one+0x7b0/0x970 [ 193.027345][ T71] ? lock_acquire+0x13c/0x160 [ 193.027347][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027348][ T71] ? bond_enslave+0x5100/0x5100 [ 193.027350][ T71] ? ipvlan_port_create+0x541/0x5a0 [ 193.027352][ T71] ? ipvlan_port_get+0xeb/0x3b0 [ 193.027353][ T71] ? ipvlan_port_create+0x5a0/0x5a0 [ 193.027354][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027357][ T71] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 193.027358][ T71] ? packet_sendmsg_spkt+0x1350/0x1350 [ 193.027362][ T71] bond_uninit+0x119/0x190 [ 193.027364][ T71] ? ip6_route_dev_notify+0x3d/0x380 [ 193.027367][ T71] ? bond_siocdevprivate+0x170/0x170 [ 193.027369][ T71] unregister_netdevice_many_notify+0xee7/0x1b40 [ 193.027372][ T71] ? unregister_netdevice_queued+0x80/0x80 [ 193.027374][ T71] ? trace_hardirqs_on+0x36/0x40 [ 193.027376][ T71] ? rtnl_is_locked+0x15/0x20 [ 193.027378][ T71] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 193.027382][ T71] ops_undo_list+0x615/0x8f0 [ 193.027384][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 193.027385][ T71] ? idr_destroy+0x121/0x250 [ 193.027389][ T71] cleanup_net+0x431/0x890 [ 193.027390][ T71] ? net_passive_dec+0x230/0x230 [ 193.027391][ T71] ? update_load_avg+0x141/0xf00 [ 193.027394][ T71] ? lock_acquire+0x13c/0x160 [ 193.027396][ T71] ? rcu_is_watching+0x16/0xd0 [ 193.027398][ T71] process_one_work+0xe3e/0x1560 [ 193.027401][ T71] ? __queue_delayed_work+0x470/0x470 [ 193.027403][ T71] ? __rwlock_init+0x150/0x150 [ 193.027405][ T71] worker_thread+0x4f1/0xd60 [ 193.027407][ T71] ? rescuer_thread+0x1340/0x1340 [ 193.027409][ T71] ? __kthread_parkme+0xbd/0x210 [ 193.027411][ T71] ? rescuer_thread+0x1340/0x1340 [ 193.027413][ T71] ? rescuer_thread+0x1340/0x1340 [ 193.027414][ T71] kthread+0x367/0x460 [ 193.027416][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 193.027417][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 193.027420][ T71] ret_from_fork+0x474/0x6b0 [ 193.027423][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 193.027425][ T71] ? __switch_to+0x5a3/0xe00 [ 193.027429][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 193.027431][ T71] ret_from_fork_asm+0x11/0x20 [ 193.027435][ T71] [ 193.042708][ T71] bond0 (unregistering): (slave eth0): Releasing backup interface [ 193.045706][ T71] bond0 (unregistering): Released all slaves [ 193.061265][ T71] bond0: (slave eth1): Removing an active aggregator [ 193.061847][ T71] bond0: (slave eth1): Releasing backup interface [ 193.129071][ T71] bond0 (unregistering): Released all slaves