[ 9.276810][ T199] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 9.276872][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.276874][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 9.276876][ T199] preempt_count: 1, expected: 0 [ 9.276877][ T199] RCU nest depth: 0, expected: 0 [ 9.276878][ T199] locks held by ip/199: 5, last CPU#0: [ 9.276880][ T199] #0: ffffffffa7522700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.276892][ T199] #1: ffffffffa6d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.276897][ T199] #2: ffffffffa6d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.276900][ T199] #3: ffffffffa6c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.276903][ T199] #4: ffffffffa6c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.276906][ T199] irq event stamp: 21774 [ 9.276907][ T199] hardirqs last enabled at (21773): [] __down_trylock_console_sem+0x86/0xa0 [ 9.276910][ T199] hardirqs last disabled at (21774): [] console_emit_next_record+0x3f8/0x4f0 [ 9.276912][ T199] softirqs last enabled at (21752): [] bond_update_slave_arr+0x7ae/0xcf0 [ 9.276915][ T199] softirqs last disabled at (21750): [] bond_update_slave_arr+0x6af/0xcf0 [ 9.276917][ T199] Preemption disabled at: [ 9.276918][ T199] [] vprintk_emit+0x31b/0x3e0 [ 9.276923][ T199] CPU: 0 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.276926][ T199] Tainted: [W]=WARN [ 9.276927][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.276928][ T199] Call Trace: [ 9.276930][ T199] [ 9.276932][ T199] dump_stack_lvl+0x6f/0xa0 [ 9.276937][ T199] ? vprintk_emit+0x31b/0x3e0 [ 9.276939][ T199] __might_resched.cold+0x1fe/0x2c1 [ 9.276944][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.276947][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 9.276953][ T199] __kmalloc_noprof+0x443/0x760 [ 9.276955][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 9.276961][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 9.276963][ T199] alloc_buf.isra.0+0x4b/0x260 [ 9.276967][ T199] put_chars+0x1e1/0x2f0 [ 9.276970][ T199] ? __send_to_port+0x420/0x420 [ 9.276977][ T199] hvc_console_print+0x292/0x780 [ 9.276984][ T199] ? hvc_write+0x3a0/0x3a0 [ 9.276987][ T199] ? lock_acquire+0x13c/0x160 [ 9.276992][ T199] console_emit_next_record+0x252/0x4f0 [ 9.276995][ T199] ? devkmsg_read+0x4e0/0x4e0 [ 9.276998][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.277002][ T199] ? lock_acquire+0x13c/0x160 [ 9.277006][ T199] console_flush_one_record+0x46f/0x710 [ 9.277009][ T199] ? console_emit_next_record+0x4f0/0x4f0 [ 9.277011][ T199] ? __lock_acquire+0x518/0xc20 [ 9.277016][ T199] console_unlock+0xee/0x1f0 [ 9.277018][ T199] ? console_flush_one_record+0x710/0x710 [ 9.277020][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.277022][ T199] ? lock_acquire+0x60/0x160 [ 9.277025][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.277027][ T199] ? vprintk_emit+0x320/0x3e0 [ 9.277030][ T199] vprintk_emit+0x37c/0x3e0 [ 9.277033][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 9.277036][ T199] ? packet_sendmsg_spkt+0x1350/0x1350 [ 9.277042][ T199] _printk+0xc7/0x100 [ 9.277045][ T199] ? snapshot_read.cold+0x21/0x21 [ 9.277049][ T199] ? __mutex_unlock_slowpath+0x9e/0x740 [ 9.277051][ T199] ? netdev_name+0x43/0x60 [ 9.277054][ T199] ? __netdev_printk+0x17f/0x1d0 [ 9.277058][ T199] netdev_info+0xe2/0x116 [ 9.277060][ T199] ? netdev_notice+0x120/0x120 [ 9.277064][ T199] ? bond_lower_state_changed+0x160/0x160 [ 9.277067][ T199] ? netdev_upper_dev_link+0xb0/0xb0 [ 9.277072][ T199] bond_enslave.cold+0x156/0x4f7 [ 9.277080][ T199] ? find_held_lock+0x2b/0x80 [ 9.277082][ T199] ? bond_update_slave_arr+0xcf0/0xcf0 [ 9.277083][ T199] ? mark_usage+0x61/0x170 [ 9.277085][ T199] ? __lock_acquire+0x518/0xc20 [ 9.277087][ T199] ? __lock_acquire+0x500/0xc20 [ 9.277092][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 9.277099][ T199] ? is_bpf_text_address+0x72/0x110 [ 9.277102][ T199] ? kernel_text_address+0x149/0x170 [ 9.277107][ T199] do_set_master+0x3b2/0x780 [ 9.277111][ T199] do_setlink.isra.0+0x9ec/0x2a60 [ 9.277115][ T199] ? stack_trace_save+0x93/0xc0 [ 9.277118][ T199] ? rtnl_link_get_size+0x350/0x350 [ 9.277120][ T199] ? rcu_read_lock_any_held+0x66/0x90 [ 9.277123][ T199] ? stack_depot_save_flags+0x38e/0x790 [ 9.277126][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.277128][ T199] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.277130][ T199] ? validate_chain+0x38b/0xc20 [ 9.277133][ T199] ? kasan_save_stack+0x3d/0x50 [ 9.277135][ T199] ? kasan_save_stack+0x2f/0x50 [ 9.277136][ T199] ? kasan_save_track+0x14/0x30 [ 9.277139][ T199] ? __lock_acquire+0x518/0xc20 [ 9.277141][ T199] ? netlink_seq_next+0x5e/0x60 [ 9.277144][ T199] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.277148][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 9.277150][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 9.277153][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.277155][ T199] ? lock_acquire+0x13c/0x160 [ 9.277157][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.277158][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.277160][ T199] ? trace_contention_end+0xb3/0x180 [ 9.277162][ T199] ? __mutex_lock+0x1db/0x1ea0 [ 9.277164][ T199] ? __mutex_lock+0x9a3/0x1ea0 [ 9.277166][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 9.277169][ T199] ? ww_mutex_lock+0x160/0x160 [ 9.277171][ T199] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.277177][ T199] ? __rtnl_newlink+0x3fa/0xa50 [ 9.277182][ T199] rtnl_newlink+0x9f1/0x11b0 [ 9.277188][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 9.277190][ T199] ? __lock_acquire+0x518/0xc20 [ 9.277195][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 9.277197][ T199] ? find_held_lock+0x2b/0x80 [ 9.277199][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 9.277201][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 9.277205][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 9.277207][ T199] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.277211][ T199] ? rtnl_link_fill+0x900/0x900 [ 9.277213][ T199] ? __lock_acquire+0x518/0xc20 [ 9.277217][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 9.277219][ T199] ? find_held_lock+0x2b/0x80 [ 9.277223][ T199] netlink_rcv_skb+0x14e/0x3a0 [ 9.277224][ T199] ? rtnl_link_fill+0x900/0x900 [ 9.277228][ T199] ? netlink_ack+0xcd0/0xcd0 [ 9.277234][ T199] ? netlink_deliver_tap+0xc5/0x330 [ 9.277235][ T199] ? netlink_deliver_tap+0x13c/0x330 [ 9.277239][ T199] netlink_unicast+0x486/0x750 [ 9.277243][ T199] ? netlink_attachskb+0x810/0x810 [ 9.277246][ T199] ? __lock_acquire+0x518/0xc20 [ 9.277250][ T199] netlink_sendmsg+0x735/0xc60 [ 9.277254][ T199] ? netlink_unicast+0x750/0x750 [ 9.277257][ T199] ? __might_fault+0x97/0x140 [ 9.277263][ T199] ____sys_sendmsg+0x415/0x880 [ 9.277265][ T199] ? copy_msghdr_from_user+0x279/0x420 [ 9.277267][ T199] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.277268][ T199] ? move_addr_to_kernel+0x40/0x40 [ 9.277275][ T199] ___sys_sendmsg+0x14e/0x1d0 [ 9.277277][ T199] ? copy_msghdr_from_user+0x420/0x420 [ 9.277292][ T199] __sys_sendmsg+0x12c/0x1d0 [ 9.277295][ T199] ? __sys_sendmsg_sock+0x20/0x20 [ 9.277301][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.277304][ T199] do_syscall_64+0xff/0x530 [ 9.277306][ T199] ? exc_page_fault+0xee/0x100 [ 9.277309][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.277311][ T199] RIP: 0033:0x7fdfacfe854e [ 9.277315][ 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 [ 9.277317][ T199] RSP: 002b:00007ffe7955a1f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.277319][ T199] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fdfacfe854e [ 9.277320][ T199] RDX: 0000000000000000 RSI: 00007ffe7955a2a0 RDI: 0000000000000005 [ 9.277321][ T199] RBP: 00007ffe7955a200 R08: 0000000000000000 R09: 0000000000000000 [ 9.277322][ T199] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90f211 [ 9.277323][ T199] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe7955a970 [ 9.277329][ T199] [ 9.322664][ T199] ip (199) used greatest stack depth: 22824 bytes left [ 9.343020][ T200] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 9.413464][ T203] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 9.445612][ T204] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 76.619713][ T12] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 76.619823][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 76.619826][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 76.619827][ T12] preempt_count: 202, expected: 0 [ 76.619828][ T12] RCU nest depth: 2, expected: 0 [ 76.619829][ T12] locks held by kworker/u16:0/12: 9, last CPU#0: [ 76.619831][ T12] #0: ff1100000c815940 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 76.619842][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 76.619846][ T12] #2: ff1100000c6c2e98 (&bond->mode_lock){+...}-{3:3}, at: bond_3ad_state_machine_handler+0xd2/0x1f00 [ 76.619852][ T12] #3: ffffffffa6db0b00 (rcu_read_lock){....}-{1:3}, at: bond_3ad_state_machine_handler+0xe9/0x1f00 [ 76.619855][ T12] #4: ffffffffa6db0b00 (rcu_read_lock){....}-{1:3}, at: ad_agg_selection_logic+0xdc/0x1b70 [ 76.619858][ T12] #5: ffffffffa6d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 76.619862][ T12] #6: ffffffffa6d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 76.619865][ T12] #7: ffffffffa6c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 76.619868][ T12] #8: ffffffffa6c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 76.619872][ T12] irq event stamp: 27957 [ 76.619872][ T12] hardirqs last enabled at (27956): [] __down_trylock_console_sem+0x86/0xa0 [ 76.619876][ T12] hardirqs last disabled at (27957): [] console_emit_next_record+0x3f8/0x4f0 [ 76.619877][ T12] softirqs last enabled at (27934): [] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.619879][ T12] softirqs last disabled at (27948): [] bond_3ad_state_machine_handler+0xd2/0x1f00 [ 76.619881][ T12] Preemption disabled at: [ 76.619882][ T12] [<0000000000000000>] 0x0 [ 76.619888][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 76.619892][ T12] Tainted: [W]=WARN [ 76.619892][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 76.619894][ T12] Workqueue: bond0 bond_3ad_state_machine_handler [ 76.619897][ T12] Call Trace: [ 76.619899][ T12] [ 76.619900][ T12] dump_stack_lvl+0x6f/0xa0 [ 76.619906][ T12] __might_resched.cold+0x1fe/0x2c1 [ 76.619911][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 76.619914][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 76.619919][ T12] __kmalloc_noprof+0x443/0x760 [ 76.619922][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 76.619927][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 76.619929][ T12] alloc_buf.isra.0+0x4b/0x260 [ 76.619933][ T12] put_chars+0x1e1/0x2f0 [ 76.619936][ T12] ? __send_to_port+0x420/0x420 [ 76.619941][ T12] ? validate_chain+0x34a/0xc20 [ 76.619945][ T12] hvc_console_print+0x292/0x780 [ 76.619949][ T12] ? mark_usage+0x61/0x170 [ 76.619951][ T12] ? __lock_acquire+0x518/0xc20 [ 76.619953][ T12] ? __lock_acquire+0x518/0xc20 [ 76.619957][ T12] ? hvc_write+0x3a0/0x3a0 [ 76.619960][ T12] ? console_emit_next_record+0x202/0x4f0 [ 76.619962][ T12] ? rcu_is_watching+0x16/0xd0 [ 76.619966][ T12] ? lock_acquire+0x13c/0x160 [ 76.619970][ T12] console_emit_next_record+0x252/0x4f0 [ 76.619973][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 76.619977][ T12] ? rcu_is_watching+0x16/0xd0 [ 76.619979][ T12] ? lock_acquire+0x13c/0x160 [ 76.619983][ T12] console_flush_one_record+0x46f/0x710 [ 76.619987][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 76.619988][ T12] ? __lock_acquire+0x518/0xc20 [ 76.619994][ T12] console_unlock+0xee/0x1f0 [ 76.619996][ T12] ? console_flush_one_record+0x710/0x710 [ 76.619997][ T12] ? rcu_is_watching+0x16/0xd0 [ 76.619999][ T12] ? lock_acquire+0x60/0x160 [ 76.620003][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 76.620005][ T12] ? vprintk_emit+0x320/0x3e0 [ 76.620008][ T12] vprintk_emit+0x37c/0x3e0 [ 76.620011][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 76.620014][ T12] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 76.620019][ T12] _printk+0xc7/0x100 [ 76.620023][ T12] ? snapshot_read.cold+0x21/0x21 [ 76.620024][ T12] ? ___ratelimit+0x4e7/0xa00 [ 76.620030][ T12] ? idr_get_free+0x830/0x830 [ 76.620034][ T12] ad_agg_selection_logic.cold+0x120/0x16c [ 76.620040][ T12] ? find_held_lock+0x2b/0x80 [ 76.620044][ T12] ? bond_3ad_set_carrier+0x5f0/0x5f0 [ 76.620046][ T12] ? __get_first_agg.isra.0+0xda/0x1c0 [ 76.620050][ T12] ad_port_selection_logic+0x8a8/0x1820 [ 76.620054][ T12] ? bond_3ad_unbind_slave+0x1f80/0x1f80 [ 76.620057][ T12] ? ad_rx_machine+0x282/0x1950 [ 76.620061][ T12] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 76.620065][ T12] ? ad_mux_machine+0x1b50/0x1b50 [ 76.620067][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 76.620069][ T12] ? process_one_work+0xd80/0x1560 [ 76.620072][ T12] ? rcu_is_watching+0x16/0xd0 [ 76.620073][ T12] ? rcu_is_watching+0x16/0xd0 [ 76.620075][ T12] ? lock_acquire+0x13c/0x160 [ 76.620077][ T12] ? rcu_is_watching+0x16/0xd0 [ 76.620080][ T12] process_one_work+0xe3e/0x1560 [ 76.620086][ T12] ? __queue_delayed_work+0x470/0x470 [ 76.620088][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 76.620096][ T12] worker_thread+0x4f1/0xd60 [ 76.620102][ T12] ? rescuer_thread+0x1340/0x1340 [ 76.620104][ T12] kthread+0x367/0x460 [ 76.620107][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 76.620110][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.620113][ T12] ret_from_fork+0x474/0x6b0 [ 76.620117][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 76.620120][ T12] ? __switch_to+0x5a3/0xe00 [ 76.620124][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.620127][ T12] ret_from_fork_asm+0x11/0x20 [ 76.620135][ T12] [ 76.641851][ T12] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 76.642369][ T12] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 76.643689][ T12] bond0: active interface up! [ 76.846694][ C1] [ 76.846787][ C1] ======================================================== [ 76.846984][ C1] WARNING: possible irq lock inversion dependency detected [ 76.847174][ C1] 7.2.0-virtme #1 Tainted: G W [ 76.847338][ C1] -------------------------------------------------------- [ 76.847524][ C1] kworker/u16:0/12 just changed the state of lock: [ 76.847688][ C1] ff1100000c822e98 (&bond->mode_lock){+.-.}-{3:3}, at: bond_3ad_rx_indication+0x242/0x8e0 [ 76.847920][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 76.848106][ C1] (fs_reclaim){+.+.}-{0:0} [ 76.848108][ C1] [ 76.848108][ C1] [ 76.848108][ C1] and interrupts could create inverse lock ordering between them. [ 76.848108][ C1] [ 76.848576][ C1] [ 76.848576][ C1] other info that might help us debug this: [ 76.848764][ C1] Chain exists of: [ 76.848764][ C1] &bond->mode_lock --> console_owner --> fs_reclaim [ 76.848764][ C1] [ 76.849050][ C1] Possible interrupt unsafe locking scenario: [ 76.849050][ C1] [ 76.849242][ C1] CPU0 CPU1 [ 76.849369][ C1] ---- ---- [ 76.849496][ C1] lock(fs_reclaim); [ 76.849594][ C1] local_irq_disable(); [ 76.849755][ C1] lock(&bond->mode_lock); [ 76.849918][ C1] lock(console_owner); [ 76.850077][ C1] [ 76.850173][ C1] lock(&bond->mode_lock); [ 76.850306][ C1] [ 76.850306][ C1] *** DEADLOCK *** [ 76.850306][ C1] [ 76.850496][ C1] locks held by kworker/u16:0/12: 3, last CPU#1: [ 76.850657][ C1] #0: ff1100000c815940 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 76.850914][ C1] #1: ffa00000000c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 76.851195][ C1] #2: ffffffffa6db0b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 76.851422][ C1] [ 76.851422][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 76.851641][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 76.851774][ C1] HARDIRQ-ON-W at: [ 76.851873][ C1] __lock_acquire+0x388/0xc20 [ 76.852037][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.852201][ C1] fs_reclaim_acquire+0xd5/0x120 [ 76.852364][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 76.852556][ C1] kthread_create_worker_on_node+0xea/0x210 [ 76.852749][ C1] workqueue_init+0x2a/0x680 [ 76.852909][ C1] kernel_init_freeable+0x2fe/0x630 [ 76.853103][ C1] kernel_init+0x21/0x150 [ 76.853270][ C1] ret_from_fork+0x474/0x6b0 [ 76.853431][ C1] ret_from_fork_asm+0x11/0x20 [ 76.853592][ C1] SOFTIRQ-ON-W at: [ 76.853688][ C1] __lock_acquire+0x388/0xc20 [ 76.853848][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.854008][ C1] fs_reclaim_acquire+0xd5/0x120 [ 76.854170][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 76.854367][ C1] kthread_create_worker_on_node+0xea/0x210 [ 76.854559][ C1] workqueue_init+0x2a/0x680 [ 76.854719][ C1] kernel_init_freeable+0x2fe/0x630 [ 76.854911][ C1] kernel_init+0x21/0x150 [ 76.855072][ C1] ret_from_fork+0x474/0x6b0 [ 76.855237][ C1] ret_from_fork_asm+0x11/0x20 [ 76.855395][ C1] INITIAL USE at: [ 76.855490][ C1] __lock_acquire+0x388/0xc20 [ 76.855651][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.855813][ C1] fs_reclaim_acquire+0xd5/0x120 [ 76.855972][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 76.856165][ C1] kthread_create_worker_on_node+0xea/0x210 [ 76.856363][ C1] workqueue_init+0x2a/0x680 [ 76.856522][ C1] kernel_init_freeable+0x2fe/0x630 [ 76.856683][ C1] kernel_init+0x21/0x150 [ 76.856843][ C1] ret_from_fork+0x474/0x6b0 [ 76.857003][ C1] ret_from_fork_asm+0x11/0x20 [ 76.857164][ C1] } [ 76.857236][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 76.857430][ C1] ... acquired at: [ 76.857528][ C1] __lock_acquire+0x518/0xc20 [ 76.857658][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.857785][ C1] fs_reclaim_acquire+0xd5/0x120 [ 76.857912][ C1] __kmalloc_noprof+0xd3/0x760 [ 76.858039][ C1] alloc_buf.isra.0+0x4b/0x260 [ 76.858165][ C1] put_chars+0x1e1/0x2f0 [ 76.858297][ C1] hvc_console_print+0x292/0x780 [ 76.858426][ C1] console_emit_next_record+0x252/0x4f0 [ 76.858552][ C1] console_flush_one_record+0x46f/0x710 [ 76.858679][ C1] console_unlock+0xee/0x1f0 [ 76.858807][ C1] vprintk_emit+0x37c/0x3e0 [ 76.858934][ C1] _printk+0xc7/0x100 [ 76.859031][ C1] i8042_pnp_init+0xf7/0x3c0 [ 76.859158][ C1] i8042_platform_init+0x3f9/0x460 [ 76.859287][ C1] i8042_init+0x45/0x130 [ 76.859417][ C1] do_one_initcall+0x124/0x4f0 [ 76.859543][ C1] kernel_init_freeable+0x596/0x630 [ 76.859670][ C1] kernel_init+0x21/0x150 [ 76.859798][ C1] ret_from_fork+0x474/0x6b0 [ 76.859926][ C1] ret_from_fork_asm+0x11/0x20 [ 76.860054][ C1] [ 76.860121][ C1] -> (console_owner){....}-{0:0} { [ 76.860254][ C1] INITIAL USE at: [ 76.860352][ C1] } [ 76.860416][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 76.860604][ C1] ... acquired at: [ 76.860697][ C1] __lock_acquire+0x518/0xc20 [ 76.860824][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.860951][ C1] console_lock_spinning_enable+0x5c/0x60 [ 76.861109][ C1] console_emit_next_record+0x1f4/0x4f0 [ 76.861241][ C1] console_flush_one_record+0x46f/0x710 [ 76.861369][ C1] console_unlock+0xee/0x1f0 [ 76.861495][ C1] vprintk_emit+0x37c/0x3e0 [ 76.861622][ C1] _printk+0xc7/0x100 [ 76.861717][ C1] ad_agg_selection_logic.cold+0x120/0x16c [ 76.861877][ C1] ad_port_selection_logic+0x8a8/0x1820 [ 76.862005][ C1] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 76.862213][ C1] process_one_work+0xe3e/0x1560 [ 76.862340][ C1] worker_thread+0x4f1/0xd60 [ 76.862510][ C1] kthread+0x367/0x460 [ 76.862606][ C1] ret_from_fork+0x474/0x6b0 [ 76.862776][ C1] ret_from_fork_asm+0x11/0x20 [ 76.862902][ C1] [ 76.863007][ C1] -> (&bond->mode_lock){+.-.}-{3:3} { [ 76.863139][ C1] HARDIRQ-ON-W at: [ 76.863239][ C1] __lock_acquire+0x388/0xc20 [ 76.863445][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.863605][ C1] _raw_spin_lock_bh+0x38/0x50 [ 76.863768][ C1] bond_3ad_update_lacp_active+0xb8/0x260 [ 76.864006][ C1] bond_option_lacp_active_set+0x77/0x1f0 [ 76.864247][ C1] __bond_opt_set+0x1b1/0x390 [ 76.864406][ C1] bond_changelink+0x1504/0x23e0 [ 76.864610][ C1] bond_newlink+0x9e/0xf0 [ 76.864814][ C1] rtnl_newlink_create+0x2d0/0x850 [ 76.864975][ C1] __rtnl_newlink+0x22b/0xa50 [ 76.865178][ C1] rtnl_newlink+0x9f1/0x11b0 [ 76.865388][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 76.865548][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 76.865754][ C1] netlink_unicast+0x486/0x750 [ 76.865913][ C1] netlink_sendmsg+0x735/0xc60 [ 76.866116][ C1] ____sys_sendmsg+0x415/0x880 [ 76.866326][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 76.866486][ C1] __sys_sendmsg+0x12c/0x1d0 [ 76.866691][ C1] do_syscall_64+0xff/0x530 [ 76.866894][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 76.867087][ C1] IN-SOFTIRQ-W at: [ 76.867232][ C1] __lock_acquire+0x388/0xc20 [ 76.867393][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.867599][ C1] _raw_spin_lock+0x33/0x40 [ 76.867804][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 76.867963][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.868166][ C1] bond_handle_frame+0x16b/0xca0 [ 76.868330][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.868566][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 76.868757][ C1] process_backlog+0x431/0x14c0 [ 76.868916][ C1] __napi_poll+0xa7/0x3b0 [ 76.869076][ C1] net_rx_action+0x513/0xf50 [ 76.869238][ C1] handle_softirqs+0x1d3/0x900 [ 76.869400][ C1] do_softirq+0xac/0xe0 [ 76.869561][ C1] __local_bh_enable_ip+0x118/0x150 [ 76.869721][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.869913][ C1] process_one_work+0xe3e/0x1560 [ 76.870073][ C1] worker_thread+0x4f1/0xd60 [ 76.870237][ C1] kthread+0x367/0x460 [ 76.870366][ C1] ret_from_fork+0x474/0x6b0 [ 76.870526][ C1] ret_from_fork_asm+0x11/0x20 [ 76.870687][ C1] INITIAL USE at: [ 76.870783][ C1] __lock_acquire+0x388/0xc20 [ 76.870943][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.871105][ C1] _raw_spin_lock_bh+0x38/0x50 [ 76.871270][ C1] bond_3ad_update_lacp_active+0xb8/0x260 [ 76.871460][ C1] bond_option_lacp_active_set+0x77/0x1f0 [ 76.871659][ C1] __bond_opt_set+0x1b1/0x390 [ 76.871821][ C1] bond_changelink+0x1504/0x23e0 [ 76.871981][ C1] bond_newlink+0x9e/0xf0 [ 76.872142][ C1] rtnl_newlink_create+0x2d0/0x850 [ 76.872307][ C1] __rtnl_newlink+0x22b/0xa50 [ 76.872468][ C1] rtnl_newlink+0x9f1/0x11b0 [ 76.872630][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 76.872791][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 76.872951][ C1] netlink_unicast+0x486/0x750 [ 76.873112][ C1] netlink_sendmsg+0x735/0xc60 [ 76.873278][ C1] ____sys_sendmsg+0x415/0x880 [ 76.873442][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 76.873604][ C1] __sys_sendmsg+0x12c/0x1d0 [ 76.873764][ C1] do_syscall_64+0xff/0x530 [ 76.873925][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 76.874117][ C1] } [ 76.874183][ C1] ... key at: [] __key.27+0x0/0x40 [ 76.874377][ C1] ... acquired at: [ 76.874471][ C1] mark_lock+0x1d7/0xa00 [ 76.874599][ C1] mark_usage+0x42/0x170 [ 76.874727][ C1] __lock_acquire+0x388/0xc20 [ 76.874853][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.874980][ C1] _raw_spin_lock+0x33/0x40 [ 76.875108][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 76.875240][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.875366][ C1] bond_handle_frame+0x16b/0xca0 [ 76.875494][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.875652][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 76.875811][ C1] process_backlog+0x431/0x14c0 [ 76.875938][ C1] __napi_poll+0xa7/0x3b0 [ 76.876066][ C1] net_rx_action+0x513/0xf50 [ 76.876194][ C1] handle_softirqs+0x1d3/0x900 [ 76.876326][ C1] do_softirq+0xac/0xe0 [ 76.876421][ C1] __local_bh_enable_ip+0x118/0x150 [ 76.876548][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.876709][ C1] process_one_work+0xe3e/0x1560 [ 76.876836][ C1] worker_thread+0x4f1/0xd60 [ 76.876964][ C1] kthread+0x367/0x460 [ 76.877060][ C1] ret_from_fork+0x474/0x6b0 [ 76.877187][ C1] ret_from_fork_asm+0x11/0x20 [ 76.877321][ C1] [ 76.877385][ C1] [ 76.877385][ C1] stack backtrace: [ 76.877543][ C1] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 76.877547][ C1] Tainted: [W]=WARN [ 76.877548][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 76.877549][ C1] Workqueue: bond0 bond_3ad_state_machine_handler [ 76.877553][ C1] Call Trace: [ 76.877554][ C1] [ 76.877556][ C1] dump_stack_lvl+0x6f/0xa0 [ 76.877559][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 76.877562][ C1] mark_lock_irq+0x989/0x9c0 [ 76.877565][ C1] mark_lock+0x1d7/0xa00 [ 76.877567][ C1] mark_usage+0x42/0x170 [ 76.877569][ C1] __lock_acquire+0x388/0xc20 [ 76.877571][ C1] lock_acquire.part.0+0xd4/0x280 [ 76.877573][ C1] ? bond_3ad_rx_indication+0x242/0x8e0 [ 76.877575][ C1] ? rcu_is_watching+0x16/0xd0 [ 76.877578][ C1] ? lock_acquire+0x13c/0x160 [ 76.877580][ C1] _raw_spin_lock+0x33/0x40 [ 76.877582][ C1] ? bond_3ad_rx_indication+0x242/0x8e0 [ 76.877583][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 76.877585][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 76.877587][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.877589][ C1] ? bond_3ad_get_active_agg_info+0x120/0x120 [ 76.877592][ C1] bond_handle_frame+0x16b/0xca0 [ 76.877594][ C1] ? bond_net_exit_batch+0x2a0/0x2a0 [ 76.877595][ C1] ? bond_net_exit_batch+0x2a0/0x2a0 [ 76.877597][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.877599][ C1] ? __lock_acquire+0x518/0xc20 [ 76.877601][ C1] ? rcu_is_watching+0x16/0xd0 [ 76.877602][ C1] ? timerqueue_linked_add+0x207/0x560 [ 76.877605][ C1] ? pick_eevdf+0x4b5/0x800 [ 76.877607][ C1] ? do_xdp_generic+0x4a0/0x4a0 [ 76.877609][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 76.877611][ C1] ? mark_usage+0x61/0x170 [ 76.877613][ C1] ? __lock_acquire+0x518/0xc20 [ 76.877615][ C1] ? process_backlog+0x3f1/0x14c0 [ 76.877617][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 76.877618][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 76.877620][ C1] ? process_backlog+0x3f1/0x14c0 [ 76.877622][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 76.877623][ C1] ? rcu_is_watching+0x16/0xd0 [ 76.877625][ C1] process_backlog+0x431/0x14c0 [ 76.877628][ C1] __napi_poll+0xa7/0x3b0 [ 76.877629][ C1] net_rx_action+0x513/0xf50 [ 76.877632][ C1] ? __napi_poll+0x3b0/0x3b0 [ 76.877633][ C1] ? validate_chain+0x38b/0xc20 [ 76.877635][ C1] ? pwq_dec_nr_in_flight+0x780/0x780 [ 76.877637][ C1] ? do_raw_spin_lock+0x131/0x280 [ 76.877639][ C1] ? __rwlock_init+0x150/0x150 [ 76.877640][ C1] ? mark_held_locks+0x40/0x70 [ 76.877642][ C1] handle_softirqs+0x1d3/0x900 [ 76.877645][ C1] ? _local_bh_enable+0xc0/0xc0 [ 76.877646][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 76.877648][ C1] ? _raw_spin_unlock+0x2d/0x50 [ 76.877649][ C1] do_softirq+0xac/0xe0 [ 76.877651][ C1] [ 76.877652][ C1] [ 76.877652][ C1] __local_bh_enable_ip+0x118/0x150 [ 76.877654][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.877656][ C1] ? ad_mux_machine+0x1b50/0x1b50 [ 76.877658][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 76.877659][ C1] ? process_one_work+0xd80/0x1560 [ 76.877661][ C1] ? rcu_is_watching+0x16/0xd0 [ 76.877662][ C1] ? rcu_is_watching+0x16/0xd0 [ 76.877663][ C1] ? lock_acquire+0x13c/0x160 [ 76.877665][ C1] ? rcu_is_watching+0x16/0xd0 [ 76.877667][ C1] process_one_work+0xe3e/0x1560 [ 76.877669][ C1] ? __queue_delayed_work+0x470/0x470 [ 76.877670][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 76.877674][ C1] worker_thread+0x4f1/0xd60 [ 76.877676][ C1] ? rescuer_thread+0x1340/0x1340 [ 76.877677][ C1] kthread+0x367/0x460 [ 76.877679][ C1] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 76.877682][ C1] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.877684][ C1] ret_from_fork+0x474/0x6b0 [ 76.877686][ C1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 76.877688][ C1] ? __switch_to+0x5a3/0xe00 [ 76.877691][ C1] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.877693][ C1] ret_from_fork_asm+0x11/0x20 [ 76.877696][ C1] [ 89.385773][ T3490] bond0: (slave eth0): Releasing backup interface [ 89.385789][ T3490] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 89.385792][ T3490] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3490, name: ip [ 89.385793][ T3490] preempt_count: 1, expected: 0 [ 89.385794][ T3490] RCU nest depth: 0, expected: 0 [ 89.385795][ T3490] INFO: lockdep is turned off. [ 89.385796][ T3490] irq event stamp: 0 [ 89.385797][ T3490] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 89.385801][ T3490] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 89.385808][ T3490] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 89.385810][ T3490] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 89.385811][ T3490] Preemption disabled at: [ 89.385812][ T3490] [] vprintk_emit+0x31b/0x3e0 [ 89.385819][ T3490] CPU: 3 UID: 0 PID: 3490 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 89.385823][ T3490] Tainted: [W]=WARN [ 89.385824][ T3490] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.385825][ T3490] Call Trace: [ 89.385827][ T3490] [ 89.385828][ T3490] dump_stack_lvl+0x6f/0xa0 [ 89.385832][ T3490] ? vprintk_emit+0x31b/0x3e0 [ 89.385834][ T3490] __might_resched.cold+0x1fe/0x2c1 [ 89.385838][ T3490] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 89.385840][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385844][ T3490] __kmalloc_noprof+0x443/0x760 [ 89.385847][ T3490] ? __rwlock_init+0x150/0x150 [ 89.385849][ T3490] ? alloc_buf.isra.0+0x4b/0x260 [ 89.385854][ T3490] ? do_raw_spin_unlock+0x59/0x250 [ 89.385855][ T3490] alloc_buf.isra.0+0x4b/0x260 [ 89.385857][ T3490] put_chars+0x1e1/0x2f0 [ 89.385860][ T3490] ? __send_to_port+0x420/0x420 [ 89.385862][ T3490] ? desc_read+0x2f0/0x2f0 [ 89.385863][ T3490] ? console_prepend_replay+0x20/0x20 [ 89.385865][ T3490] ? desc_read+0x219/0x2f0 [ 89.385866][ T3490] hvc_console_print+0x292/0x780 [ 89.385870][ T3490] ? _prb_read_valid+0x450/0x6e0 [ 89.385873][ T3490] ? hvc_write+0x3a0/0x3a0 [ 89.385874][ T3490] ? do_raw_spin_lock+0x131/0x280 [ 89.385876][ T3490] ? __rwlock_init+0x150/0x150 [ 89.385877][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385878][ T3490] ? lock_acquire+0x13c/0x160 [ 89.385881][ T3490] console_emit_next_record+0x252/0x4f0 [ 89.385883][ T3490] ? devkmsg_read+0x4e0/0x4e0 [ 89.385884][ T3490] ? _prb_read_valid+0x6e0/0x6e0 [ 89.385886][ T3490] ? __asan_memmove+0x3c/0x60 [ 89.385888][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385889][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385890][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385892][ T3490] ? lock_acquire+0x13c/0x160 [ 89.385894][ T3490] ? console_flush_one_record+0x111/0x710 [ 89.385895][ T3490] console_flush_one_record+0x46f/0x710 [ 89.385897][ T3490] ? console_emit_next_record+0x4f0/0x4f0 [ 89.385899][ T3490] console_unlock+0xee/0x1f0 [ 89.385900][ T3490] ? lock_acquire+0x13c/0x160 [ 89.385902][ T3490] ? console_flush_one_record+0x710/0x710 [ 89.385903][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385904][ T3490] ? lock_release+0x184/0x1f0 [ 89.385906][ T3490] ? lock_acquire+0x60/0x160 [ 89.385907][ T3490] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 89.385909][ T3490] ? __down_trylock_console_sem+0x5e/0xa0 [ 89.385911][ T3490] ? vprintk_emit+0x320/0x3e0 [ 89.385912][ T3490] vprintk_emit+0x37c/0x3e0 [ 89.385914][ T3490] ? wake_up_klogd_work_func+0x90/0x90 [ 89.385916][ T3490] ? do_raw_spin_lock+0x131/0x280 [ 89.385917][ T3490] ? __rwlock_init+0x150/0x150 [ 89.385918][ T3490] _printk+0xc7/0x100 [ 89.385921][ T3490] ? snapshot_read.cold+0x21/0x21 [ 89.385923][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385924][ T3490] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 89.385927][ T3490] ? do_raw_spin_unlock+0x59/0x250 [ 89.385928][ T3490] ? trace_hardirqs_on+0x36/0x40 [ 89.385929][ T3490] ? netdev_name+0x43/0x60 [ 89.385932][ T3490] ? __netdev_printk+0x17f/0x1d0 [ 89.385933][ T3490] netdev_info+0xe2/0x116 [ 89.385935][ T3490] ? netdev_notice+0x120/0x120 [ 89.385937][ T3490] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 89.385940][ T3490] ? trace_irq_enable.constprop.0+0x30/0x160 [ 89.385942][ T3490] __bond_release_one.cold+0x80/0xa60 [ 89.385946][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385947][ T3490] ? bond_enslave+0x5100/0x5100 [ 89.385950][ T3490] ? lock_release+0x184/0x1f0 [ 89.385952][ T3490] ? unwind_next_frame+0x69b/0x1ea0 [ 89.385955][ T3490] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.385957][ T3490] ? kernel_text_address+0x149/0x170 [ 89.385960][ T3490] do_set_master+0x15c/0x780 [ 89.385964][ T3490] do_setlink.isra.0+0x9ec/0x2a60 [ 89.385966][ T3490] ? stack_trace_save+0x93/0xc0 [ 89.385969][ T3490] ? rtnl_link_get_size+0x350/0x350 [ 89.385970][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385971][ T3490] ? stack_depot_save_flags+0x1bc/0x790 [ 89.385975][ T3490] ? kasan_save_stack+0x3d/0x50 [ 89.385976][ T3490] ? kasan_save_stack+0x2f/0x50 [ 89.385977][ T3490] ? kasan_save_track+0x14/0x30 [ 89.385978][ T3490] ? __kasan_kmalloc+0x7b/0x90 [ 89.385979][ T3490] ? __kmalloc_cache_noprof+0x29a/0x620 [ 89.385981][ T3490] ? rtnl_newlink+0x124/0x11b0 [ 89.385982][ T3490] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 89.385984][ T3490] ? netlink_rcv_skb+0x14e/0x3a0 [ 89.385987][ T3490] ? netlink_unicast+0x486/0x750 [ 89.385988][ T3490] ? netlink_sendmsg+0x735/0xc60 [ 89.385989][ T3490] ? ____sys_sendmsg+0x415/0x880 [ 89.385991][ T3490] ? ___sys_sendmsg+0x14e/0x1d0 [ 89.385993][ T3490] ? __sys_sendmsg+0x12c/0x1d0 [ 89.385994][ T3490] ? do_syscall_64+0xff/0x530 [ 89.385996][ T3490] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.385998][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.385999][ T3490] ? lock_acquire+0x13c/0x160 [ 89.386001][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386002][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386003][ T3490] ? trace_contention_end+0xb3/0x180 [ 89.386005][ T3490] ? __mutex_lock+0x1db/0x1ea0 [ 89.386007][ T3490] ? __mutex_lock+0x9a3/0x1ea0 [ 89.386008][ T3490] ? rtnl_newlink+0x9a8/0x11b0 [ 89.386010][ T3490] ? ww_mutex_lock+0x160/0x160 [ 89.386011][ T3490] ? nla_get_range_signed+0x3d0/0x3d0 [ 89.386015][ T3490] ? __rtnl_newlink+0x3fa/0xa50 [ 89.386017][ T3490] rtnl_newlink+0x9f1/0x11b0 [ 89.386019][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386021][ T3490] ? rtnl_bridge_getlink+0x850/0x850 [ 89.386022][ T3490] ? lock_acquire+0x13c/0x160 [ 89.386024][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386025][ T3490] ? is_bpf_text_address+0x3e/0x110 [ 89.386028][ T3490] ? is_bpf_text_address+0x72/0x110 [ 89.386029][ T3490] ? kernel_text_address+0x149/0x170 [ 89.386031][ T3490] ? __kernel_text_address+0x12/0x30 [ 89.386032][ T3490] ? write_profile+0xf0/0xf0 [ 89.386034][ T3490] ? unwind_get_return_address+0x67/0xd0 [ 89.386036][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386037][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386038][ T3490] ? cap_capable+0x1d7/0x3d0 [ 89.386041][ T3490] ? lock_acquire+0x13c/0x160 [ 89.386043][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386044][ T3490] ? rtnl_bridge_getlink+0x850/0x850 [ 89.386046][ T3490] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 89.386048][ T3490] ? rtnl_link_fill+0x900/0x900 [ 89.386050][ T3490] ? filter_irq_stacks+0xd0/0xd0 [ 89.386051][ T3490] ? stack_depot_save_flags+0x1bc/0x790 [ 89.386053][ T3490] netlink_rcv_skb+0x14e/0x3a0 [ 89.386055][ T3490] ? rtnl_link_fill+0x900/0x900 [ 89.386056][ T3490] ? lock_release+0x184/0x1f0 [ 89.386058][ T3490] ? netlink_ack+0xcd0/0xcd0 [ 89.386059][ T3490] ? __netlink_lookup+0xb9/0x6b0 [ 89.386062][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386063][ T3490] ? lock_release+0x184/0x1f0 [ 89.386065][ T3490] netlink_unicast+0x486/0x750 [ 89.386067][ T3490] ? netlink_attachskb+0x810/0x810 [ 89.386069][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386070][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386071][ T3490] ? lock_acquire+0x13c/0x160 [ 89.386073][ T3490] netlink_sendmsg+0x735/0xc60 [ 89.386075][ T3490] ? netlink_unicast+0x750/0x750 [ 89.386077][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386078][ T3490] ? lock_release+0x184/0x1f0 [ 89.386080][ T3490] ____sys_sendmsg+0x415/0x880 [ 89.386081][ T3490] ? copy_msghdr_from_user+0x279/0x420 [ 89.386083][ T3490] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 89.386084][ T3490] ? move_addr_to_kernel+0x40/0x40 [ 89.386085][ T3490] ? filter_irq_stacks+0xd0/0xd0 [ 89.386088][ T3490] ___sys_sendmsg+0x14e/0x1d0 [ 89.386089][ T3490] ? copy_msghdr_from_user+0x420/0x420 [ 89.386094][ T3490] __sys_sendmsg+0x12c/0x1d0 [ 89.386095][ T3490] ? __sys_sendmsg_sock+0x20/0x20 [ 89.386098][ T3490] ? rcu_is_watching+0x16/0xd0 [ 89.386099][ T3490] do_syscall_64+0xff/0x530 [ 89.386100][ T3490] ? exc_page_fault+0xee/0x100 [ 89.386102][ T3490] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.386104][ T3490] RIP: 0033:0x7f9cd8bc654e [ 89.386106][ T3490] 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.386107][ T3490] RSP: 002b:00007ffd27c49960 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 89.386111][ T3490] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f9cd8bc654e [ 89.386112][ T3490] RDX: 0000000000000000 RSI: 00007ffd27c49a10 RDI: 0000000000000005 [ 89.386113][ T3490] RBP: 00007ffd27c49970 R08: 0000000000000000 R09: 0000000000000000 [ 89.386114][ T3490] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90f261 [ 89.386115][ T3490] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd27c4a0e0 [ 89.386117][ T3490] [ 89.409275][ T3490] bond0: (slave eth0): the permanent HWaddr of slave - e6:70:3e:e6:82:32 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 89.409646][ T3490] bond0: active interface up! [ 89.456496][ T3492] bond0: (slave eth1): Releasing backup interface [ 89.470664][ T206] bond0: (slave eth1): link status definitely down, disabling slave [ 89.470946][ T206] bond0: now running without any active interface! [ 89.574650][ T70] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 89.574876][ T70] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 89.575172][ T70] bond0: active interface up! [ 220.504977][ T70] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 220.504992][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 220.504994][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 220.504996][ T70] preempt_count: 202, expected: 0 [ 220.504997][ T70] RCU nest depth: 0, expected: 0 [ 220.504998][ T70] INFO: lockdep is turned off. [ 220.504999][ T70] irq event stamp: 120 [ 220.505000][ T70] hardirqs last enabled at (119): [] _raw_spin_unlock_irq+0x28/0x50 [ 220.505008][ T70] hardirqs last disabled at (120): [] __schedule+0x1246/0x20e0 [ 220.505012][ T70] softirqs last enabled at (112): [] bond_update_slave_arr+0x6e0/0xcf0 [ 220.505015][ T70] softirqs last disabled at (110): [] bond_update_slave_arr+0x6af/0xcf0 [ 220.505016][ T70] Preemption disabled at: [ 220.505017][ T70] [<0000000000000000>] 0x0 [ 220.505023][ T70] CPU: 1 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 220.505027][ T70] Tainted: [W]=WARN [ 220.505028][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 220.505029][ T70] Workqueue: netns cleanup_net [ 220.505034][ T70] Call Trace: [ 220.505036][ T70] [ 220.505038][ T70] dump_stack_lvl+0x6f/0xa0 [ 220.505043][ T70] __might_resched.cold+0x1fe/0x2c1 [ 220.505047][ T70] ? __asan_memcpy+0x3c/0x60 [ 220.505050][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 220.505053][ T70] ? record_print_text+0x2fc/0x3e0 [ 220.505056][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505059][ T70] __kmalloc_noprof+0x443/0x760 [ 220.505062][ T70] ? __rwlock_init+0x150/0x150 [ 220.505064][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 220.505067][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 220.505069][ T70] alloc_buf.isra.0+0x4b/0x260 [ 220.505071][ T70] put_chars+0x1e1/0x2f0 [ 220.505074][ T70] ? __send_to_port+0x420/0x420 [ 220.505076][ T70] ? desc_read+0x219/0x2f0 [ 220.505078][ T70] hvc_console_print+0x292/0x780 [ 220.505082][ T70] ? hvc_write+0x3a0/0x3a0 [ 220.505084][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505085][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505087][ T70] ? lock_acquire+0x13c/0x160 [ 220.505089][ T70] console_emit_next_record+0x252/0x4f0 [ 220.505092][ T70] ? devkmsg_read+0x4e0/0x4e0 [ 220.505093][ T70] ? _prb_read_valid+0x6e0/0x6e0 [ 220.505095][ T70] ? __asan_memmove+0x3c/0x60 [ 220.505096][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505097][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505098][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505099][ T70] ? lock_acquire+0x13c/0x160 [ 220.505101][ T70] ? console_flush_one_record+0x111/0x710 [ 220.505103][ T70] console_flush_one_record+0x46f/0x710 [ 220.505104][ T70] ? console_emit_next_record+0x4f0/0x4f0 [ 220.505107][ T70] console_unlock+0xee/0x1f0 [ 220.505108][ T70] ? lock_acquire+0x13c/0x160 [ 220.505110][ T70] ? console_flush_one_record+0x710/0x710 [ 220.505111][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505112][ T70] ? lock_release+0x184/0x1f0 [ 220.505113][ T70] ? lock_acquire+0x60/0x160 [ 220.505115][ T70] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 220.505117][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 220.505119][ T70] ? vprintk_emit+0x320/0x3e0 [ 220.505120][ T70] vprintk_emit+0x37c/0x3e0 [ 220.505122][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 220.505123][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505125][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 220.505127][ T70] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 220.505129][ T70] ? __dev_queue_xmit+0x93b/0x1a20 [ 220.505131][ T70] ? __dev_queue_xmit+0x93b/0x1a20 [ 220.505132][ T70] ? trace_hardirqs_on+0x36/0x40 [ 220.505134][ T70] _printk+0xc7/0x100 [ 220.505137][ T70] ? snapshot_read.cold+0x21/0x21 [ 220.505139][ T70] ? kmalloc_reserve+0x103/0x2d0 [ 220.505142][ T70] ? netdev_name+0x43/0x60 [ 220.505144][ T70] ? __netdev_printk+0x17f/0x1d0 [ 220.505146][ T70] netdev_info+0xe2/0x116 [ 220.505148][ T70] ? netdev_notice+0x120/0x120 [ 220.505150][ T70] ? __netdev_alloc_skb+0x3e/0x970 [ 220.505152][ T70] bond_3ad_unbind_slave.cold+0xe0/0x3bf [ 220.505156][ T70] ? ad_agg_selection_logic+0x1b70/0x1b70 [ 220.505158][ T70] ? sync_rcu_exp_select_cpus+0x630/0x700 [ 220.505160][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 220.505161][ T70] ? sysfs_remove_files+0x90/0x120 [ 220.505164][ T70] __bond_release_one+0x7b0/0x970 [ 220.505166][ T70] ? lock_acquire+0x13c/0x160 [ 220.505167][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505169][ T70] ? bond_enslave+0x5100/0x5100 [ 220.505170][ T70] ? ipvlan_port_create+0x541/0x5a0 [ 220.505172][ T70] ? ipvlan_port_get+0xeb/0x3b0 [ 220.505173][ T70] ? ipvlan_port_create+0x5a0/0x5a0 [ 220.505174][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505176][ T70] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 220.505178][ T70] ? packet_sendmsg_spkt+0x1350/0x1350 [ 220.505182][ T70] bond_uninit+0x119/0x190 [ 220.505183][ T70] ? ip6_route_dev_notify+0x3d/0x380 [ 220.505186][ T70] ? bond_siocdevprivate+0x170/0x170 [ 220.505188][ T70] unregister_netdevice_many_notify+0xee7/0x1b40 [ 220.505191][ T70] ? unregister_netdevice_queued+0x80/0x80 [ 220.505192][ T70] ? trace_hardirqs_on+0x36/0x40 [ 220.505194][ T70] ? rtnl_is_locked+0x15/0x20 [ 220.505196][ T70] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 220.505199][ T70] ops_undo_list+0x615/0x8f0 [ 220.505201][ T70] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 220.505203][ T70] ? idr_destroy+0x121/0x250 [ 220.505206][ T70] cleanup_net+0x431/0x890 [ 220.505207][ T70] ? net_passive_dec+0x230/0x230 [ 220.505208][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505210][ T70] ? lock_acquire+0x13c/0x160 [ 220.505212][ T70] ? rcu_is_watching+0x16/0xd0 [ 220.505213][ T70] process_one_work+0xe3e/0x1560 [ 220.505216][ T70] ? __queue_delayed_work+0x470/0x470 [ 220.505218][ T70] ? __rwlock_init+0x150/0x150 [ 220.505220][ T70] worker_thread+0x4f1/0xd60 [ 220.505222][ T70] ? rescuer_thread+0x1340/0x1340 [ 220.505224][ T70] kthread+0x367/0x460 [ 220.505226][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 220.505228][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 220.505230][ T70] ret_from_fork+0x474/0x6b0 [ 220.505233][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 220.505235][ T70] ? __switch_to+0x5a3/0xe00 [ 220.505238][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 220.505240][ T70] ret_from_fork_asm+0x11/0x20 [ 220.505243][ T70] [ 220.519089][ T70] bond0 (unregistering): (slave eth0): Releasing backup interface [ 220.527026][ T70] bond0 (unregistering): Released all slaves [ 220.539566][ T70] bond0: (slave eth1): Removing an active aggregator [ 220.540210][ T70] bond0: (slave eth1): Releasing backup interface [ 220.602201][ T70] bond0 (unregistering): Released all slaves