[ 11.681227][ T199] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 11.681292][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.681294][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 11.681296][ T199] preempt_count: 1, expected: 0 [ 11.681297][ T199] RCU nest depth: 0, expected: 0 [ 11.681298][ T199] locks held by ip/199: 5, last CPU#0: [ 11.681300][ T199] #0: ffffffffb6322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.681313][ T199] #1: ffffffffb5b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.681319][ T199] #2: ffffffffb5b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.681322][ T199] #3: ffffffffb5a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.681326][ T199] #4: ffffffffb5a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.681329][ T199] irq event stamp: 22308 [ 11.681330][ T199] hardirqs last enabled at (22307): [] __down_trylock_console_sem+0x86/0xa0 [ 11.681333][ T199] hardirqs last disabled at (22308): [] console_emit_next_record+0x3f8/0x4f0 [ 11.681335][ T199] softirqs last enabled at (22286): [] bond_update_slave_arr+0x7ae/0xcf0 [ 11.681338][ T199] softirqs last disabled at (22284): [] bond_update_slave_arr+0x6af/0xcf0 [ 11.681341][ T199] Preemption disabled at: [ 11.681341][ T199] [] vprintk_emit+0x31b/0x3e0 [ 11.681348][ T199] CPU: 0 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.681353][ T199] Tainted: [W]=WARN [ 11.681353][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.681355][ T199] Call Trace: [ 11.681357][ T199] [ 11.681359][ T199] dump_stack_lvl+0x6f/0xa0 [ 11.681364][ T199] ? vprintk_emit+0x31b/0x3e0 [ 11.681366][ T199] __might_resched.cold+0x1fe/0x2c1 [ 11.681371][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.681375][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 11.681380][ T199] __kmalloc_noprof+0x443/0x760 [ 11.681383][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 11.681389][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 11.681391][ T199] alloc_buf.isra.0+0x4b/0x260 [ 11.681395][ T199] put_chars+0x1e1/0x2f0 [ 11.681398][ T199] ? __send_to_port+0x420/0x420 [ 11.681405][ T199] hvc_console_print+0x292/0x780 [ 11.681413][ T199] ? hvc_write+0x3a0/0x3a0 [ 11.681416][ T199] ? lock_acquire+0x13c/0x160 [ 11.681422][ T199] console_emit_next_record+0x252/0x4f0 [ 11.681427][ T199] ? devkmsg_read+0x4e0/0x4e0 [ 11.681432][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.681435][ T199] ? lock_acquire+0x13c/0x160 [ 11.681439][ T199] console_flush_one_record+0x46f/0x710 [ 11.681443][ T199] ? console_emit_next_record+0x4f0/0x4f0 [ 11.681445][ T199] ? __lock_acquire+0x518/0xc20 [ 11.681451][ T199] console_unlock+0xee/0x1f0 [ 11.681453][ T199] ? console_flush_one_record+0x710/0x710 [ 11.681455][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.681457][ T199] ? lock_acquire+0x60/0x160 [ 11.681461][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.681463][ T199] ? vprintk_emit+0x320/0x3e0 [ 11.681466][ T199] vprintk_emit+0x37c/0x3e0 [ 11.681469][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 11.681472][ T199] ? packet_sendmsg_spkt+0x1350/0x1350 [ 11.681480][ T199] _printk+0xc7/0x100 [ 11.681484][ T199] ? snapshot_read.cold+0x21/0x21 [ 11.681488][ T199] ? __mutex_unlock_slowpath+0x9e/0x740 [ 11.681491][ T199] ? netdev_name+0x43/0x60 [ 11.681494][ T199] ? __netdev_printk+0x17f/0x1d0 [ 11.681498][ T199] netdev_info+0xe2/0x116 [ 11.681500][ T199] ? netdev_notice+0x120/0x120 [ 11.681504][ T199] ? bond_lower_state_changed+0x160/0x160 [ 11.681508][ T199] ? netdev_upper_dev_link+0xb0/0xb0 [ 11.681513][ T199] bond_enslave.cold+0x156/0x4f7 [ 11.681525][ T199] ? find_held_lock+0x2b/0x80 [ 11.681527][ T199] ? bond_update_slave_arr+0xcf0/0xcf0 [ 11.681529][ T199] ? mark_usage+0x61/0x170 [ 11.681531][ T199] ? __lock_acquire+0x518/0xc20 [ 11.681533][ T199] ? __lock_acquire+0x500/0xc20 [ 11.681538][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 11.681545][ T199] ? is_bpf_text_address+0x72/0x110 [ 11.681549][ T199] ? kernel_text_address+0x149/0x170 [ 11.681554][ T199] do_set_master+0x3b2/0x780 [ 11.681559][ T199] do_setlink.isra.0+0x9ec/0x2a60 [ 11.681562][ T199] ? stack_trace_save+0x93/0xc0 [ 11.681566][ T199] ? rtnl_link_get_size+0x350/0x350 [ 11.681569][ T199] ? rcu_read_lock_any_held+0x66/0x90 [ 11.681573][ T199] ? stack_depot_save_flags+0x38e/0x790 [ 11.681577][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.681579][ T199] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.681582][ T199] ? validate_chain+0x38b/0xc20 [ 11.681585][ T199] ? kasan_save_stack+0x3d/0x50 [ 11.681587][ T199] ? kasan_save_stack+0x2f/0x50 [ 11.681588][ T199] ? kasan_save_track+0x14/0x30 [ 11.681590][ T199] ? __lock_acquire+0x518/0xc20 [ 11.681593][ T199] ? netlink_seq_next+0x5e/0x60 [ 11.681596][ T199] ? ___sys_sendmsg+0xc0/0x1d0 [ 11.681600][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 11.681603][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 11.681606][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.681608][ T199] ? lock_acquire+0x13c/0x160 [ 11.681610][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.681612][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.681614][ T199] ? trace_contention_end+0xb3/0x180 [ 11.681616][ T199] ? __mutex_lock+0x1db/0x1ea0 [ 11.681618][ T199] ? __mutex_lock+0x9a3/0x1ea0 [ 11.681621][ T199] ? rtnl_newlink+0x9a8/0x11b0 [ 11.681627][ T199] ? ww_mutex_lock+0x160/0x160 [ 11.681629][ T199] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.681635][ T199] ? __rtnl_newlink+0x3fa/0xa50 [ 11.681641][ T199] rtnl_newlink+0x9f1/0x11b0 [ 11.681647][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 11.681649][ T199] ? __lock_acquire+0x518/0xc20 [ 11.681654][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 11.681656][ T199] ? find_held_lock+0x2b/0x80 [ 11.681658][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 11.681661][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 11.681665][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 11.681668][ T199] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.681674][ T199] ? rtnl_link_fill+0x900/0x900 [ 11.681676][ T199] ? __lock_acquire+0x518/0xc20 [ 11.681681][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 11.681683][ T199] ? find_held_lock+0x2b/0x80 [ 11.681687][ T199] netlink_rcv_skb+0x14e/0x3a0 [ 11.681689][ T199] ? rtnl_link_fill+0x900/0x900 [ 11.681692][ T199] ? netlink_ack+0xcd0/0xcd0 [ 11.681699][ T199] ? netlink_deliver_tap+0xc5/0x330 [ 11.681700][ T199] ? netlink_deliver_tap+0x13c/0x330 [ 11.681705][ T199] netlink_unicast+0x486/0x750 [ 11.681709][ T199] ? netlink_attachskb+0x810/0x810 [ 11.681711][ T199] ? __lock_acquire+0x518/0xc20 [ 11.681716][ T199] netlink_sendmsg+0x735/0xc60 [ 11.681721][ T199] ? netlink_unicast+0x750/0x750 [ 11.681727][ T199] ? __might_fault+0x97/0x140 [ 11.681733][ T199] ____sys_sendmsg+0x415/0x880 [ 11.681735][ T199] ? copy_msghdr_from_user+0x279/0x420 [ 11.681737][ T199] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 11.681739][ T199] ? move_addr_to_kernel+0x40/0x40 [ 11.681746][ T199] ___sys_sendmsg+0x14e/0x1d0 [ 11.681748][ T199] ? copy_msghdr_from_user+0x420/0x420 [ 11.681764][ T199] __sys_sendmsg+0x12c/0x1d0 [ 11.681767][ T199] ? __sys_sendmsg_sock+0x20/0x20 [ 11.681777][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.681780][ T199] do_syscall_64+0xff/0x530 [ 11.681782][ T199] ? exc_page_fault+0xee/0x100 [ 11.681785][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.681788][ T199] RIP: 0033:0x7effe013654e [ 11.681792][ 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 [ 11.681794][ T199] RSP: 002b:00007ffc12794be0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.681796][ T199] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007effe013654e [ 11.681798][ T199] RDX: 0000000000000000 RSI: 00007ffc12794c90 RDI: 0000000000000005 [ 11.681798][ T199] RBP: 00007ffc12794bf0 R08: 0000000000000000 R09: 0000000000000000 [ 11.681799][ T199] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9153da [ 11.681800][ T199] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc12795360 [ 11.681807][ T199] [ 11.739468][ T199] ip (199) used greatest stack depth: 22824 bytes left [ 11.764809][ T200] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 11.900779][ T203] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 11.938767][ T204] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 79.212457][ T72] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 79.212673][ T72] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 79.212676][ T72] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 72, name: kworker/u16:1 [ 79.212677][ T72] preempt_count: 202, expected: 0 [ 79.212679][ T72] RCU nest depth: 2, expected: 0 [ 79.212680][ T72] locks held by kworker/u16:1/72: 9, last CPU#1: [ 79.212682][ T72] #0: ff1100000c5c4d40 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 79.212695][ T72] #1: ffa00000004d7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 79.212704][ T72] #2: ff1100000c63ae98 (&bond->mode_lock){+...}-{3:3}, at: bond_3ad_state_machine_handler+0xd2/0x1f00 [ 79.212710][ T72] #3: ffffffffb5bb0b00 (rcu_read_lock){....}-{1:3}, at: bond_3ad_state_machine_handler+0xe9/0x1f00 [ 79.212713][ T72] #4: ffffffffb5bb0b00 (rcu_read_lock){....}-{1:3}, at: ad_agg_selection_logic+0xdc/0x1b70 [ 79.212716][ T72] #5: ffffffffb5b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 79.212721][ T72] #6: ffffffffb5b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 79.212725][ T72] #7: ffffffffb5a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 79.212728][ T72] #8: ffffffffb5a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 79.212732][ T72] irq event stamp: 19593 [ 79.212733][ T72] hardirqs last enabled at (19592): [] __down_trylock_console_sem+0x86/0xa0 [ 79.212736][ T72] hardirqs last disabled at (19593): [] console_emit_next_record+0x3f8/0x4f0 [ 79.212738][ T72] softirqs last enabled at (19572): [] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 79.212740][ T72] softirqs last disabled at (19586): [] bond_3ad_state_machine_handler+0xd2/0x1f00 [ 79.212742][ T72] Preemption disabled at: [ 79.212743][ T72] [<0000000000000000>] 0x0 [ 79.212750][ T72] CPU: 1 UID: 0 PID: 72 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 79.212754][ T72] Tainted: [W]=WARN [ 79.212755][ T72] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 79.212757][ T72] Workqueue: bond0 bond_3ad_state_machine_handler [ 79.212760][ T72] Call Trace: [ 79.212762][ T72] [ 79.212764][ T72] dump_stack_lvl+0x6f/0xa0 [ 79.212769][ T72] __might_resched.cold+0x1fe/0x2c1 [ 79.212774][ T72] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 79.212778][ T72] ? __kmalloc_noprof+0xdb/0x760 [ 79.212783][ T72] __kmalloc_noprof+0x443/0x760 [ 79.212786][ T72] ? alloc_buf.isra.0+0x4b/0x260 [ 79.212793][ T72] ? do_raw_spin_unlock+0x59/0x250 [ 79.212795][ T72] alloc_buf.isra.0+0x4b/0x260 [ 79.212799][ T72] put_chars+0x1e1/0x2f0 [ 79.212802][ T72] ? __send_to_port+0x420/0x420 [ 79.212807][ T72] ? validate_chain+0x34a/0xc20 [ 79.212812][ T72] hvc_console_print+0x292/0x780 [ 79.212816][ T72] ? mark_usage+0x61/0x170 [ 79.212818][ T72] ? __lock_acquire+0x518/0xc20 [ 79.212820][ T72] ? __lock_acquire+0x518/0xc20 [ 79.212824][ T72] ? hvc_write+0x3a0/0x3a0 [ 79.212827][ T72] ? console_emit_next_record+0x202/0x4f0 [ 79.212829][ T72] ? rcu_is_watching+0x16/0xd0 [ 79.212833][ T72] ? lock_acquire+0x13c/0x160 [ 79.212837][ T72] console_emit_next_record+0x252/0x4f0 [ 79.212841][ T72] ? devkmsg_read+0x4e0/0x4e0 [ 79.212845][ T72] ? rcu_is_watching+0x16/0xd0 [ 79.212847][ T72] ? lock_acquire+0x13c/0x160 [ 79.212851][ T72] console_flush_one_record+0x46f/0x710 [ 79.212855][ T72] ? console_emit_next_record+0x4f0/0x4f0 [ 79.212856][ T72] ? __lock_acquire+0x518/0xc20 [ 79.212862][ T72] console_unlock+0xee/0x1f0 [ 79.212864][ T72] ? console_flush_one_record+0x710/0x710 [ 79.212865][ T72] ? rcu_is_watching+0x16/0xd0 [ 79.212867][ T72] ? lock_acquire+0x60/0x160 [ 79.212871][ T72] ? __down_trylock_console_sem+0x5e/0xa0 [ 79.212874][ T72] ? vprintk_emit+0x320/0x3e0 [ 79.212877][ T72] vprintk_emit+0x37c/0x3e0 [ 79.212880][ T72] ? wake_up_klogd_work_func+0x90/0x90 [ 79.212882][ T72] ? __lock_release.isra.0+0x69/0x1a0 [ 79.212889][ T72] _printk+0xc7/0x100 [ 79.212893][ T72] ? snapshot_read.cold+0x21/0x21 [ 79.212894][ T72] ? ___ratelimit+0x4e7/0xa00 [ 79.212901][ T72] ? idr_get_free+0x830/0x830 [ 79.212906][ T72] ad_agg_selection_logic.cold+0x120/0x16c [ 79.212912][ T72] ? find_held_lock+0x2b/0x80 [ 79.212916][ T72] ? bond_3ad_set_carrier+0x5f0/0x5f0 [ 79.212918][ T72] ? __get_first_agg.isra.0+0xda/0x1c0 [ 79.212922][ T72] ad_port_selection_logic+0x8a8/0x1820 [ 79.212927][ T72] ? bond_3ad_unbind_slave+0x1f80/0x1f80 [ 79.212930][ T72] ? ad_rx_machine+0x282/0x1950 [ 79.212934][ T72] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 79.212939][ T72] ? ad_mux_machine+0x1b50/0x1b50 [ 79.212940][ T72] ? lock_acquire.part.0+0xd4/0x280 [ 79.212946][ T72] ? process_one_work+0xd80/0x1560 [ 79.212949][ T72] ? rcu_is_watching+0x16/0xd0 [ 79.212951][ T72] ? rcu_is_watching+0x16/0xd0 [ 79.212952][ T72] ? lock_acquire+0x13c/0x160 [ 79.212954][ T72] ? rcu_is_watching+0x16/0xd0 [ 79.212958][ T72] process_one_work+0xe3e/0x1560 [ 79.212964][ T72] ? __queue_delayed_work+0x470/0x470 [ 79.212966][ T72] ? lock_acquire.part.0+0xd4/0x280 [ 79.212974][ T72] worker_thread+0x4f1/0xd60 [ 79.212978][ T72] ? rescuer_thread+0x1340/0x1340 [ 79.212980][ T72] ? __kthread_parkme+0xbd/0x210 [ 79.212984][ T72] ? rescuer_thread+0x1340/0x1340 [ 79.212986][ T72] ? rescuer_thread+0x1340/0x1340 [ 79.212987][ T72] kthread+0x367/0x460 [ 79.212990][ T72] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 79.212993][ T72] ? kthread_affine_preferred+0x4c0/0x4c0 [ 79.212996][ T72] ret_from_fork+0x474/0x6b0 [ 79.213001][ T72] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 79.213004][ T72] ? __switch_to+0x5a3/0xe00 [ 79.213008][ T72] ? kthread_affine_preferred+0x4c0/0x4c0 [ 79.213011][ T72] ret_from_fork_asm+0x11/0x20 [ 79.213020][ T72] [ 79.242029][ T72] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 79.242589][ T72] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 79.243357][ T72] bond0: active interface up! [ 79.442114][ C3] [ 79.442255][ C3] ======================================================== [ 79.442476][ C3] WARNING: possible irq lock inversion dependency detected [ 79.442684][ C3] 7.2.0-virtme #1 Tainted: G W [ 79.442862][ C3] -------------------------------------------------------- [ 79.443065][ C3] kworker/u16:1/72 just changed the state of lock: [ 79.443235][ C3] ff1100000c64ae98 (&bond->mode_lock){+.-.}-{3:3}, at: bond_3ad_rx_indication+0x242/0x8e0 [ 79.443482][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 79.443686][ C3] (fs_reclaim){+.+.}-{0:0} [ 79.443689][ C3] [ 79.443689][ C3] [ 79.443689][ C3] and interrupts could create inverse lock ordering between them. [ 79.443689][ C3] [ 79.444189][ C3] [ 79.444189][ C3] other info that might help us debug this: [ 79.444391][ C3] Chain exists of: [ 79.444391][ C3] &bond->mode_lock --> console_owner --> fs_reclaim [ 79.444391][ C3] [ 79.444708][ C3] Possible interrupt unsafe locking scenario: [ 79.444708][ C3] [ 79.444914][ C3] CPU0 CPU1 [ 79.445055][ C3] ---- ---- [ 79.445201][ C3] lock(fs_reclaim); [ 79.445309][ C3] local_irq_disable(); [ 79.445488][ C3] lock(&bond->mode_lock); [ 79.445658][ C3] lock(console_owner); [ 79.445842][ C3] [ 79.445945][ C3] lock(&bond->mode_lock); [ 79.446082][ C3] [ 79.446082][ C3] *** DEADLOCK *** [ 79.446082][ C3] [ 79.446284][ C3] locks held by kworker/u16:1/72: 3, last CPU#3: [ 79.446456][ C3] #0: ff1100000c5c4d40 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 79.446743][ C3] #1: ffa00000004d7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 79.447046][ C3] #2: ffffffffb5bb0b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 79.447280][ C3] [ 79.447280][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 79.447514][ C3] -> (fs_reclaim){+.+.}-{0:0} { [ 79.447656][ C3] HARDIRQ-ON-W at: [ 79.447768][ C3] __lock_acquire+0x388/0xc20 [ 79.447939][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.448111][ C3] fs_reclaim_acquire+0xd5/0x120 [ 79.448282][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 79.448487][ C3] kthread_create_worker_on_node+0xea/0x210 [ 79.448690][ C3] workqueue_init+0x2a/0x680 [ 79.448863][ C3] kernel_init_freeable+0x2fe/0x630 [ 79.449066][ C3] kernel_init+0x21/0x150 [ 79.449237][ C3] ret_from_fork+0x474/0x6b0 [ 79.449406][ C3] ret_from_fork_asm+0x11/0x20 [ 79.449578][ C3] SOFTIRQ-ON-W at: [ 79.449683][ C3] __lock_acquire+0x388/0xc20 [ 79.449860][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.450029][ C3] fs_reclaim_acquire+0xd5/0x120 [ 79.450202][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 79.450408][ C3] kthread_create_worker_on_node+0xea/0x210 [ 79.450612][ C3] workqueue_init+0x2a/0x680 [ 79.450795][ C3] kernel_init_freeable+0x2fe/0x630 [ 79.451000][ C3] kernel_init+0x21/0x150 [ 79.451170][ C3] ret_from_fork+0x474/0x6b0 [ 79.451340][ C3] ret_from_fork_asm+0x11/0x20 [ 79.451509][ C3] INITIAL USE at: [ 79.451612][ C3] __lock_acquire+0x388/0xc20 [ 79.451791][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.451959][ C3] fs_reclaim_acquire+0xd5/0x120 [ 79.452127][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 79.452331][ C3] kthread_create_worker_on_node+0xea/0x210 [ 79.452534][ C3] workqueue_init+0x2a/0x680 [ 79.452726][ C3] kernel_init_freeable+0x2fe/0x630 [ 79.452896][ C3] kernel_init+0x21/0x150 [ 79.453068][ C3] ret_from_fork+0x474/0x6b0 [ 79.453238][ C3] ret_from_fork_asm+0x11/0x20 [ 79.453407][ C3] } [ 79.453479][ C3] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 79.453683][ C3] ... acquired at: [ 79.453794][ C3] __lock_acquire+0x518/0xc20 [ 79.453931][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.454069][ C3] fs_reclaim_acquire+0xd5/0x120 [ 79.454203][ C3] __kmalloc_noprof+0xd3/0x760 [ 79.454339][ C3] alloc_buf.isra.0+0x4b/0x260 [ 79.454477][ C3] put_chars+0x1e1/0x2f0 [ 79.454614][ C3] hvc_console_print+0x292/0x780 [ 79.454766][ C3] console_emit_next_record+0x252/0x4f0 [ 79.454901][ C3] console_flush_one_record+0x46f/0x710 [ 79.455038][ C3] console_unlock+0xee/0x1f0 [ 79.455176][ C3] vprintk_emit+0x37c/0x3e0 [ 79.455311][ C3] _printk+0xc7/0x100 [ 79.455418][ C3] i8042_pnp_init+0xf7/0x3c0 [ 79.455554][ C3] i8042_platform_init+0x3f9/0x460 [ 79.455689][ C3] i8042_init+0x45/0x130 [ 79.455828][ C3] do_one_initcall+0x124/0x4f0 [ 79.455964][ C3] kernel_init_freeable+0x596/0x630 [ 79.456097][ C3] kernel_init+0x21/0x150 [ 79.456237][ C3] ret_from_fork+0x474/0x6b0 [ 79.456372][ C3] ret_from_fork_asm+0x11/0x20 [ 79.456511][ C3] [ 79.456582][ C3] -> (console_owner){....}-{0:0} { [ 79.456733][ C3] INITIAL USE at: [ 79.456837][ C3] } [ 79.456906][ C3] ... key at: [] console_owner_dep_map+0x0/0x60 [ 79.457109][ C3] ... acquired at: [ 79.457209][ C3] __lock_acquire+0x518/0xc20 [ 79.457349][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.457485][ C3] console_lock_spinning_enable+0x5c/0x60 [ 79.457652][ C3] console_emit_next_record+0x1f4/0x4f0 [ 79.457794][ C3] console_flush_one_record+0x46f/0x710 [ 79.457930][ C3] console_unlock+0xee/0x1f0 [ 79.458066][ C3] vprintk_emit+0x37c/0x3e0 [ 79.458200][ C3] _printk+0xc7/0x100 [ 79.458303][ C3] ad_agg_selection_logic.cold+0x120/0x16c [ 79.458476][ C3] ad_port_selection_logic+0x8a8/0x1820 [ 79.458612][ C3] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 79.458790][ C3] process_one_work+0xe3e/0x1560 [ 79.458929][ C3] worker_thread+0x4f1/0xd60 [ 79.459065][ C3] kthread+0x367/0x460 [ 79.459166][ C3] ret_from_fork+0x474/0x6b0 [ 79.459304][ C3] ret_from_fork_asm+0x11/0x20 [ 79.459440][ C3] [ 79.459508][ C3] -> (&bond->mode_lock){+.-.}-{3:3} { [ 79.459645][ C3] HARDIRQ-ON-W at: [ 79.459755][ C3] __lock_acquire+0x388/0xc20 [ 79.459922][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.460093][ C3] _raw_spin_lock_bh+0x38/0x50 [ 79.460267][ C3] bond_3ad_update_lacp_active+0xb8/0x260 [ 79.460471][ C3] bond_option_lacp_active_set+0x77/0x1f0 [ 79.460678][ C3] __bond_opt_set+0x1b1/0x390 [ 79.460856][ C3] bond_changelink+0x1504/0x23e0 [ 79.461026][ C3] bond_newlink+0x9e/0xf0 [ 79.461200][ C3] rtnl_newlink_create+0x2d0/0x850 [ 79.461372][ C3] __rtnl_newlink+0x22b/0xa50 [ 79.461540][ C3] rtnl_newlink+0x9f1/0x11b0 [ 79.461722][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 79.461892][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 79.462064][ C3] netlink_unicast+0x486/0x750 [ 79.462237][ C3] netlink_sendmsg+0x735/0xc60 [ 79.462411][ C3] ____sys_sendmsg+0x415/0x880 [ 79.462588][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 79.462767][ C3] __sys_sendmsg+0x12c/0x1d0 [ 79.462937][ C3] do_syscall_64+0xff/0x530 [ 79.463109][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 79.463310][ C3] IN-SOFTIRQ-W at: [ 79.463418][ C3] __lock_acquire+0x388/0xc20 [ 79.463589][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.463766][ C3] _raw_spin_lock+0x33/0x40 [ 79.463939][ C3] bond_3ad_rx_indication+0x242/0x8e0 [ 79.464109][ C3] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 79.464281][ C3] bond_handle_frame+0x16b/0xca0 [ 79.464453][ C3] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 79.464654][ C3] __netif_receive_skb_one_core+0xa2/0x180 [ 79.464861][ C3] process_backlog+0x431/0x14c0 [ 79.465034][ C3] __napi_poll+0xa7/0x3b0 [ 79.465209][ C3] net_rx_action+0x513/0xf50 [ 79.465381][ C3] handle_softirqs+0x1d3/0x900 [ 79.465563][ C3] do_softirq+0xac/0xe0 [ 79.465756][ C3] __local_bh_enable_ip+0x118/0x150 [ 79.465927][ C3] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 79.466132][ C3] process_one_work+0xe3e/0x1560 [ 79.466309][ C3] worker_thread+0x4f1/0xd60 [ 79.466479][ C3] kthread+0x367/0x460 [ 79.466615][ C3] ret_from_fork+0x474/0x6b0 [ 79.466793][ C3] ret_from_fork_asm+0x11/0x20 [ 79.466962][ C3] INITIAL USE at: [ 79.467064][ C3] __lock_acquire+0x388/0xc20 [ 79.467241][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.467409][ C3] _raw_spin_lock_bh+0x38/0x50 [ 79.467584][ C3] bond_3ad_update_lacp_active+0xb8/0x260 [ 79.467791][ C3] bond_option_lacp_active_set+0x77/0x1f0 [ 79.467991][ C3] __bond_opt_set+0x1b1/0x390 [ 79.468165][ C3] bond_changelink+0x1504/0x23e0 [ 79.468391][ C3] bond_newlink+0x9e/0xf0 [ 79.468563][ C3] rtnl_newlink_create+0x2d0/0x850 [ 79.468786][ C3] __rtnl_newlink+0x22b/0xa50 [ 79.469005][ C3] rtnl_newlink+0x9f1/0x11b0 [ 79.469175][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 79.469394][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 79.469609][ C3] netlink_unicast+0x486/0x750 [ 79.469788][ C3] netlink_sendmsg+0x735/0xc60 [ 79.470003][ C3] ____sys_sendmsg+0x415/0x880 [ 79.470171][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 79.470389][ C3] __sys_sendmsg+0x12c/0x1d0 [ 79.470608][ C3] do_syscall_64+0xff/0x530 [ 79.470786][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 79.471035][ C3] } [ 79.471104][ C3] ... key at: [] __key.27+0x0/0x40 [ 79.471355][ C3] ... acquired at: [ 79.471456][ C3] mark_lock+0x1d7/0xa00 [ 79.471637][ C3] mark_usage+0x42/0x170 [ 79.471803][ C3] __lock_acquire+0x388/0xc20 [ 79.471993][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.472133][ C3] _raw_spin_lock+0x33/0x40 [ 79.472319][ C3] bond_3ad_rx_indication+0x242/0x8e0 [ 79.472457][ C3] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 79.472638][ C3] bond_handle_frame+0x16b/0xca0 [ 79.472787][ C3] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 79.473012][ C3] __netif_receive_skb_one_core+0xa2/0x180 [ 79.473225][ C3] process_backlog+0x431/0x14c0 [ 79.473363][ C3] __napi_poll+0xa7/0x3b0 [ 79.473545][ C3] net_rx_action+0x513/0xf50 [ 79.473689][ C3] handle_softirqs+0x1d3/0x900 [ 79.473880][ C3] do_softirq+0xac/0xe0 [ 79.473984][ C3] __local_bh_enable_ip+0x118/0x150 [ 79.474169][ C3] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 79.474350][ C3] process_one_work+0xe3e/0x1560 [ 79.474538][ C3] worker_thread+0x4f1/0xd60 [ 79.474677][ C3] kthread+0x367/0x460 [ 79.474840][ C3] ret_from_fork+0x474/0x6b0 [ 79.474983][ C3] ret_from_fork_asm+0x11/0x20 [ 79.475167][ C3] [ 79.475236][ C3] [ 79.475236][ C3] stack backtrace: [ 79.475412][ C3] CPU: 3 UID: 0 PID: 72 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 79.475416][ C3] Tainted: [W]=WARN [ 79.475417][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 79.475420][ C3] Workqueue: bond0 bond_3ad_state_machine_handler [ 79.475423][ C3] Call Trace: [ 79.475425][ C3] [ 79.475428][ C3] dump_stack_lvl+0x6f/0xa0 [ 79.475431][ C3] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 79.475434][ C3] mark_lock_irq+0x989/0x9c0 [ 79.475437][ C3] mark_lock+0x1d7/0xa00 [ 79.475439][ C3] mark_usage+0x42/0x170 [ 79.475441][ C3] __lock_acquire+0x388/0xc20 [ 79.475444][ C3] lock_acquire.part.0+0xd4/0x280 [ 79.475446][ C3] ? bond_3ad_rx_indication+0x242/0x8e0 [ 79.475448][ C3] ? rcu_is_watching+0x16/0xd0 [ 79.475450][ C3] ? update_sd_lb_stats.constprop.0+0x2cf/0xd70 [ 79.475453][ C3] ? lock_acquire+0x13c/0x160 [ 79.475455][ C3] _raw_spin_lock+0x33/0x40 [ 79.475457][ C3] ? bond_3ad_rx_indication+0x242/0x8e0 [ 79.475458][ C3] bond_3ad_rx_indication+0x242/0x8e0 [ 79.475460][ C3] ? update_load_avg+0x827/0xf00 [ 79.475463][ C3] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 79.475465][ C3] ? bond_3ad_get_active_agg_info+0x120/0x120 [ 79.475468][ C3] bond_handle_frame+0x16b/0xca0 [ 79.475470][ C3] ? bond_net_exit_batch+0x2a0/0x2a0 [ 79.475472][ C3] ? bond_net_exit_batch+0x2a0/0x2a0 [ 79.475474][ C3] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 79.475476][ C3] ? should_we_balance+0x5cc/0x8f0 [ 79.475478][ C3] ? do_xdp_generic+0x4a0/0x4a0 [ 79.475480][ C3] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 79.475482][ C3] ? mark_usage+0x61/0x170 [ 79.475484][ C3] ? __lock_acquire+0x518/0xc20 [ 79.475486][ C3] ? process_backlog+0x3f1/0x14c0 [ 79.475488][ C3] __netif_receive_skb_one_core+0xa2/0x180 [ 79.475489][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 79.475491][ C3] ? process_backlog+0x3f1/0x14c0 [ 79.475493][ C3] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 79.475494][ C3] ? rcu_is_watching+0x16/0xd0 [ 79.475497][ C3] process_backlog+0x431/0x14c0 [ 79.475499][ C3] __napi_poll+0xa7/0x3b0 [ 79.475501][ C3] net_rx_action+0x513/0xf50 [ 79.475503][ C3] ? __napi_poll+0x3b0/0x3b0 [ 79.475505][ C3] ? rcu_is_watching+0x16/0xd0 [ 79.475508][ C3] ? __run_timers+0xaa0/0xaa0 [ 79.475510][ C3] ? rcu_is_watching+0x16/0xd0 [ 79.475511][ C3] ? mark_held_locks+0x40/0x70 [ 79.475514][ C3] handle_softirqs+0x1d3/0x900 [ 79.475516][ C3] ? _local_bh_enable+0xc0/0xc0 [ 79.475518][ C3] ? _local_bh_enable+0xc0/0xc0 [ 79.475520][ C3] do_softirq+0xac/0xe0 [ 79.475522][ C3] [ 79.475522][ C3] [ 79.475523][ C3] __local_bh_enable_ip+0x118/0x150 [ 79.475525][ C3] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 79.475527][ C3] ? ad_mux_machine+0x1b50/0x1b50 [ 79.475529][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 79.475530][ C3] ? process_one_work+0xd80/0x1560 [ 79.475532][ C3] ? rcu_is_watching+0x16/0xd0 [ 79.475533][ C3] ? rcu_is_watching+0x16/0xd0 [ 79.475534][ C3] ? lock_acquire+0x13c/0x160 [ 79.475536][ C3] ? rcu_is_watching+0x16/0xd0 [ 79.475538][ C3] process_one_work+0xe3e/0x1560 [ 79.475540][ C3] ? __queue_delayed_work+0x470/0x470 [ 79.475542][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 79.475545][ C3] worker_thread+0x4f1/0xd60 [ 79.475547][ C3] ? rescuer_thread+0x1340/0x1340 [ 79.475548][ C3] ? __kthread_parkme+0xbd/0x210 [ 79.475550][ C3] ? rescuer_thread+0x1340/0x1340 [ 79.475551][ C3] ? rescuer_thread+0x1340/0x1340 [ 79.475552][ C3] kthread+0x367/0x460 [ 79.475554][ C3] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 79.475557][ C3] ? kthread_affine_preferred+0x4c0/0x4c0 [ 79.475559][ C3] ret_from_fork+0x474/0x6b0 [ 79.475561][ C3] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 79.475563][ C3] ? __switch_to+0x5a3/0xe00 [ 79.475567][ C3] ? kthread_affine_preferred+0x4c0/0x4c0 [ 79.475569][ C3] ret_from_fork_asm+0x11/0x20 [ 79.475572][ C3] [ 91.982656][ T3116] bond0: (slave eth0): Releasing backup interface [ 91.982676][ T3116] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 91.982680][ T3116] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3116, name: ip [ 91.982683][ T3116] preempt_count: 1, expected: 0 [ 91.982684][ T3116] RCU nest depth: 0, expected: 0 [ 91.982685][ T3116] INFO: lockdep is turned off. [ 91.982687][ T3116] irq event stamp: 0 [ 91.982689][ T3116] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 91.982694][ T3116] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 91.982702][ T3116] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 91.982705][ T3116] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 91.982708][ T3116] Preemption disabled at: [ 91.982709][ T3116] [] vprintk_emit+0x31b/0x3e0 [ 91.982717][ T3116] CPU: 2 UID: 0 PID: 3116 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 91.982722][ T3116] Tainted: [W]=WARN [ 91.982723][ T3116] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 91.982726][ T3116] Call Trace: [ 91.982727][ T3116] [ 91.982729][ T3116] dump_stack_lvl+0x6f/0xa0 [ 91.982735][ T3116] ? vprintk_emit+0x31b/0x3e0 [ 91.982738][ T3116] __might_resched.cold+0x1fe/0x2c1 [ 91.982743][ T3116] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 91.982746][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982751][ T3116] __kmalloc_noprof+0x443/0x760 [ 91.982755][ T3116] ? __rwlock_init+0x150/0x150 [ 91.982758][ T3116] ? alloc_buf.isra.0+0x4b/0x260 [ 91.982764][ T3116] ? do_raw_spin_unlock+0x59/0x250 [ 91.982766][ T3116] alloc_buf.isra.0+0x4b/0x260 [ 91.982769][ T3116] put_chars+0x1e1/0x2f0 [ 91.982773][ T3116] ? __send_to_port+0x420/0x420 [ 91.982776][ T3116] ? desc_read+0x2f0/0x2f0 [ 91.982779][ T3116] ? console_prepend_replay+0x20/0x20 [ 91.982781][ T3116] ? desc_read+0x219/0x2f0 [ 91.982784][ T3116] hvc_console_print+0x292/0x780 [ 91.982788][ T3116] ? _prb_read_valid+0x450/0x6e0 [ 91.982792][ T3116] ? hvc_write+0x3a0/0x3a0 [ 91.982795][ T3116] ? do_raw_spin_lock+0x131/0x280 [ 91.982802][ T3116] ? __rwlock_init+0x150/0x150 [ 91.982804][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982806][ T3116] ? lock_acquire+0x13c/0x160 [ 91.982810][ T3116] console_emit_next_record+0x252/0x4f0 [ 91.982813][ T3116] ? devkmsg_read+0x4e0/0x4e0 [ 91.982815][ T3116] ? _prb_read_valid+0x6e0/0x6e0 [ 91.982818][ T3116] ? __asan_memmove+0x3c/0x60 [ 91.982822][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982824][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982825][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982828][ T3116] ? lock_acquire+0x13c/0x160 [ 91.982831][ T3116] ? console_flush_one_record+0x111/0x710 [ 91.982833][ T3116] console_flush_one_record+0x46f/0x710 [ 91.982836][ T3116] ? console_emit_next_record+0x4f0/0x4f0 [ 91.982839][ T3116] console_unlock+0xee/0x1f0 [ 91.982841][ T3116] ? lock_acquire+0x13c/0x160 [ 91.982844][ T3116] ? console_flush_one_record+0x710/0x710 [ 91.982846][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982848][ T3116] ? lock_release+0x184/0x1f0 [ 91.982851][ T3116] ? lock_acquire+0x60/0x160 [ 91.982853][ T3116] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 91.982856][ T3116] ? __down_trylock_console_sem+0x5e/0xa0 [ 91.982859][ T3116] ? vprintk_emit+0x320/0x3e0 [ 91.982862][ T3116] vprintk_emit+0x37c/0x3e0 [ 91.982865][ T3116] ? wake_up_klogd_work_func+0x90/0x90 [ 91.982867][ T3116] ? do_raw_spin_lock+0x131/0x280 [ 91.982869][ T3116] ? __rwlock_init+0x150/0x150 [ 91.982872][ T3116] _printk+0xc7/0x100 [ 91.982876][ T3116] ? snapshot_read.cold+0x21/0x21 [ 91.982878][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982880][ T3116] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 91.982884][ T3116] ? do_raw_spin_unlock+0x59/0x250 [ 91.982886][ T3116] ? trace_hardirqs_on+0x36/0x40 [ 91.982888][ T3116] ? netdev_name+0x43/0x60 [ 91.982892][ T3116] ? __netdev_printk+0x17f/0x1d0 [ 91.982894][ T3116] netdev_info+0xe2/0x116 [ 91.982897][ T3116] ? netdev_notice+0x120/0x120 [ 91.982901][ T3116] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 91.982905][ T3116] ? trace_irq_enable.constprop.0+0x30/0x160 [ 91.982908][ T3116] __bond_release_one.cold+0x80/0xa60 [ 91.982913][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982916][ T3116] ? bond_enslave+0x5100/0x5100 [ 91.982920][ T3116] ? lock_release+0x184/0x1f0 [ 91.982923][ T3116] ? unwind_next_frame+0x69b/0x1ea0 [ 91.982926][ T3116] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 91.982931][ T3116] ? kernel_text_address+0x149/0x170 [ 91.982936][ T3116] do_set_master+0x15c/0x780 [ 91.982940][ T3116] do_setlink.isra.0+0x9ec/0x2a60 [ 91.982945][ T3116] ? stack_trace_save+0x93/0xc0 [ 91.982949][ T3116] ? rtnl_link_get_size+0x350/0x350 [ 91.982952][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982954][ T3116] ? stack_depot_save_flags+0x1bc/0x790 [ 91.982958][ T3116] ? kasan_save_stack+0x3d/0x50 [ 91.982961][ T3116] ? kasan_save_stack+0x2f/0x50 [ 91.982963][ T3116] ? kasan_save_track+0x14/0x30 [ 91.982965][ T3116] ? __kasan_kmalloc+0x7b/0x90 [ 91.982966][ T3116] ? __kmalloc_cache_noprof+0x29a/0x620 [ 91.982969][ T3116] ? rtnl_newlink+0x124/0x11b0 [ 91.982971][ T3116] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 91.982974][ T3116] ? netlink_rcv_skb+0x14e/0x3a0 [ 91.982977][ T3116] ? netlink_unicast+0x486/0x750 [ 91.982980][ T3116] ? netlink_sendmsg+0x735/0xc60 [ 91.982982][ T3116] ? ____sys_sendmsg+0x415/0x880 [ 91.982985][ T3116] ? ___sys_sendmsg+0x14e/0x1d0 [ 91.982987][ T3116] ? __sys_sendmsg+0x12c/0x1d0 [ 91.982989][ T3116] ? do_syscall_64+0xff/0x530 [ 91.982992][ T3116] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 91.982996][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.982998][ T3116] ? lock_acquire+0x13c/0x160 [ 91.983000][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983002][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983004][ T3116] ? trace_contention_end+0xb3/0x180 [ 91.983007][ T3116] ? __mutex_lock+0x1db/0x1ea0 [ 91.983009][ T3116] ? __mutex_lock+0x9a3/0x1ea0 [ 91.983012][ T3116] ? rtnl_newlink+0x9a8/0x11b0 [ 91.983015][ T3116] ? ww_mutex_lock+0x160/0x160 [ 91.983017][ T3116] ? nla_get_range_signed+0x3d0/0x3d0 [ 91.983022][ T3116] ? __rtnl_newlink+0x3fa/0xa50 [ 91.983026][ T3116] rtnl_newlink+0x9f1/0x11b0 [ 91.983029][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983031][ T3116] ? rtnl_bridge_getlink+0x850/0x850 [ 91.983034][ T3116] ? lock_acquire+0x13c/0x160 [ 91.983036][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983039][ T3116] ? is_bpf_text_address+0x3e/0x110 [ 91.983042][ T3116] ? is_bpf_text_address+0x72/0x110 [ 91.983045][ T3116] ? kernel_text_address+0x149/0x170 [ 91.983047][ T3116] ? __kernel_text_address+0x12/0x30 [ 91.983049][ T3116] ? write_profile+0xf0/0xf0 [ 91.983052][ T3116] ? unwind_get_return_address+0x67/0xd0 [ 91.983054][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983056][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983058][ T3116] ? cap_capable+0x1d7/0x3d0 [ 91.983063][ T3116] ? lock_acquire+0x13c/0x160 [ 91.983065][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983067][ T3116] ? rtnl_bridge_getlink+0x850/0x850 [ 91.983070][ T3116] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 91.983073][ T3116] ? rtnl_link_fill+0x900/0x900 [ 91.983076][ T3116] ? filter_irq_stacks+0xd0/0xd0 [ 91.983078][ T3116] ? stack_depot_save_flags+0x1bc/0x790 [ 91.983082][ T3116] netlink_rcv_skb+0x14e/0x3a0 [ 91.983084][ T3116] ? rtnl_link_fill+0x900/0x900 [ 91.983087][ T3116] ? lock_release+0x184/0x1f0 [ 91.983090][ T3116] ? netlink_ack+0xcd0/0xcd0 [ 91.983092][ T3116] ? __netlink_lookup+0xb9/0x6b0 [ 91.983096][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983098][ T3116] ? lock_release+0x184/0x1f0 [ 91.983101][ T3116] netlink_unicast+0x486/0x750 [ 91.983104][ T3116] ? netlink_attachskb+0x810/0x810 [ 91.983107][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983109][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983111][ T3116] ? lock_acquire+0x13c/0x160 [ 91.983114][ T3116] netlink_sendmsg+0x735/0xc60 [ 91.983117][ T3116] ? netlink_unicast+0x750/0x750 [ 91.983120][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983122][ T3116] ? lock_release+0x184/0x1f0 [ 91.983125][ T3116] ____sys_sendmsg+0x415/0x880 [ 91.983128][ T3116] ? copy_msghdr_from_user+0x279/0x420 [ 91.983130][ T3116] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 91.983132][ T3116] ? move_addr_to_kernel+0x40/0x40 [ 91.983134][ T3116] ? filter_irq_stacks+0xd0/0xd0 [ 91.983138][ T3116] ___sys_sendmsg+0x14e/0x1d0 [ 91.983141][ T3116] ? copy_msghdr_from_user+0x420/0x420 [ 91.983149][ T3116] __sys_sendmsg+0x12c/0x1d0 [ 91.983151][ T3116] ? __sys_sendmsg_sock+0x20/0x20 [ 91.983155][ T3116] ? rcu_is_watching+0x16/0xd0 [ 91.983158][ T3116] do_syscall_64+0xff/0x530 [ 91.983160][ T3116] ? exc_page_fault+0xee/0x100 [ 91.983163][ T3116] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 91.983166][ T3116] RIP: 0033:0x7fe0b1b7a54e [ 91.983169][ T3116] 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 [ 91.983171][ T3116] RSP: 002b:00007ffebbbfe7a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 91.983176][ T3116] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe0b1b7a54e [ 91.983178][ T3116] RDX: 0000000000000000 RSI: 00007ffebbbfe850 RDI: 0000000000000005 [ 91.983179][ T3116] RBP: 00007ffebbbfe7b0 R08: 0000000000000000 R09: 0000000000000000 [ 91.983180][ T3116] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91542a [ 91.983182][ T3116] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffebbbfef20 [ 91.983186][ T3116] [ 92.027793][ T3116] bond0: (slave eth0): the permanent HWaddr of slave - 0e:3f:fa:aa:61:34 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 92.028483][ T3116] bond0: active interface up! [ 92.101461][ T3118] bond0: (slave eth1): Releasing backup interface [ 194.628970][ T12] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 194.628990][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 194.628994][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 194.628996][ T12] preempt_count: 202, expected: 0 [ 194.628997][ T12] RCU nest depth: 0, expected: 0 [ 194.628998][ T12] INFO: lockdep is turned off. [ 194.629000][ T12] irq event stamp: 92 [ 194.629001][ T12] hardirqs last enabled at (91): [] _raw_spin_unlock_irq+0x28/0x50 [ 194.629011][ T12] hardirqs last disabled at (92): [] __schedule+0x1246/0x20e0 [ 194.629015][ T12] softirqs last enabled at (88): [] addrconf_verify_rtnl+0x38a/0x10b0 [ 194.629018][ T12] softirqs last disabled at (82): [] addrconf_verify_rtnl+0x31/0x10b0 [ 194.629021][ T12] Preemption disabled at: [ 194.629022][ T12] [<0000000000000000>] 0x0 [ 194.629030][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 194.629035][ T12] Tainted: [W]=WARN [ 194.629036][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 194.629038][ T12] Workqueue: netns cleanup_net [ 194.629045][ T12] Call Trace: [ 194.629047][ T12] [ 194.629049][ T12] dump_stack_lvl+0x6f/0xa0 [ 194.629055][ T12] __might_resched.cold+0x1fe/0x2c1 [ 194.629059][ T12] ? __asan_memcpy+0x3c/0x60 [ 194.629064][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 194.629067][ T12] ? record_print_text+0x2fc/0x3e0 [ 194.629072][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629076][ T12] __kmalloc_noprof+0x443/0x760 [ 194.629080][ T12] ? __rwlock_init+0x150/0x150 [ 194.629083][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 194.629088][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 194.629090][ T12] alloc_buf.isra.0+0x4b/0x260 [ 194.629093][ T12] put_chars+0x1e1/0x2f0 [ 194.629096][ T12] ? __send_to_port+0x420/0x420 [ 194.629099][ T12] ? desc_read+0x219/0x2f0 [ 194.629103][ T12] hvc_console_print+0x292/0x780 [ 194.629109][ T12] ? hvc_write+0x3a0/0x3a0 [ 194.629112][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629113][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629115][ T12] ? lock_acquire+0x13c/0x160 [ 194.629119][ T12] console_emit_next_record+0x252/0x4f0 [ 194.629123][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 194.629124][ T12] ? _prb_read_valid+0x6e0/0x6e0 [ 194.629127][ T12] ? __asan_memmove+0x3c/0x60 [ 194.629129][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629131][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629133][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629135][ T12] ? lock_acquire+0x13c/0x160 [ 194.629138][ T12] ? console_flush_one_record+0x111/0x710 [ 194.629140][ T12] console_flush_one_record+0x46f/0x710 [ 194.629143][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 194.629146][ T12] console_unlock+0xee/0x1f0 [ 194.629148][ T12] ? lock_acquire+0x13c/0x160 [ 194.629151][ T12] ? console_flush_one_record+0x710/0x710 [ 194.629153][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629155][ T12] ? lock_release+0x184/0x1f0 [ 194.629157][ T12] ? lock_acquire+0x60/0x160 [ 194.629159][ T12] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 194.629162][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 194.629165][ T12] ? vprintk_emit+0x320/0x3e0 [ 194.629167][ T12] vprintk_emit+0x37c/0x3e0 [ 194.629170][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 194.629172][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629174][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 194.629177][ T12] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 194.629180][ T12] ? __dev_queue_xmit+0x93b/0x1a20 [ 194.629183][ T12] ? __dev_queue_xmit+0x93b/0x1a20 [ 194.629185][ T12] ? trace_hardirqs_on+0x36/0x40 [ 194.629188][ T12] _printk+0xc7/0x100 [ 194.629191][ T12] ? snapshot_read.cold+0x21/0x21 [ 194.629193][ T12] ? kmalloc_reserve+0x103/0x2d0 [ 194.629198][ T12] ? netdev_name+0x43/0x60 [ 194.629201][ T12] ? __netdev_printk+0x17f/0x1d0 [ 194.629204][ T12] netdev_info+0xe2/0x116 [ 194.629206][ T12] ? netdev_notice+0x120/0x120 [ 194.629209][ T12] ? __netdev_alloc_skb+0x3e/0x970 [ 194.629213][ T12] bond_3ad_unbind_slave.cold+0xe0/0x3bf [ 194.629218][ T12] ? ad_agg_selection_logic+0x1b70/0x1b70 [ 194.629222][ T12] ? sync_rcu_exp_select_cpus+0x630/0x700 [ 194.629225][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 194.629227][ T12] ? sysfs_remove_files+0x90/0x120 [ 194.629231][ T12] __bond_release_one+0x7b0/0x970 [ 194.629234][ T12] ? lock_acquire+0x13c/0x160 [ 194.629237][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629239][ T12] ? bond_enslave+0x5100/0x5100 [ 194.629241][ T12] ? ipvlan_port_create+0x541/0x5a0 [ 194.629243][ T12] ? ipvlan_port_get+0xeb/0x3b0 [ 194.629245][ T12] ? ipvlan_port_create+0x5a0/0x5a0 [ 194.629247][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629251][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 194.629254][ T12] ? packet_sendmsg_spkt+0x1350/0x1350 [ 194.629258][ T12] bond_uninit+0x119/0x190 [ 194.629260][ T12] ? ip6_route_dev_notify+0x3d/0x380 [ 194.629263][ T12] ? bond_siocdevprivate+0x170/0x170 [ 194.629266][ T12] unregister_netdevice_many_notify+0xee7/0x1b40 [ 194.629270][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 194.629273][ T12] ? trace_hardirqs_on+0x36/0x40 [ 194.629276][ T12] ? rtnl_is_locked+0x15/0x20 [ 194.629278][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 194.629283][ T12] ops_undo_list+0x615/0x8f0 [ 194.629286][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 194.629289][ T12] ? idr_destroy+0x121/0x250 [ 194.629293][ T12] cleanup_net+0x431/0x890 [ 194.629295][ T12] ? net_passive_dec+0x230/0x230 [ 194.629297][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629299][ T12] ? lock_acquire+0x13c/0x160 [ 194.629302][ T12] ? rcu_is_watching+0x16/0xd0 [ 194.629304][ T12] process_one_work+0xe3e/0x1560 [ 194.629309][ T12] ? __queue_delayed_work+0x470/0x470 [ 194.629312][ T12] ? __rwlock_init+0x150/0x150 [ 194.629315][ T12] worker_thread+0x4f1/0xd60 [ 194.629319][ T12] ? rescuer_thread+0x1340/0x1340 [ 194.629321][ T12] kthread+0x367/0x460 [ 194.629325][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 194.629327][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 194.629330][ T12] ret_from_fork+0x474/0x6b0 [ 194.629334][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 194.629337][ T12] ? __switch_to+0x5a3/0xe00 [ 194.629341][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 194.629344][ T12] ret_from_fork_asm+0x11/0x20 [ 194.629349][ T12] [ 194.650832][ T12] bond0 (unregistering): (slave eth0): Releasing backup interface [ 194.657375][ T12] bond0 (unregistering): Released all slaves [ 194.671825][ T12] bond0: (slave eth1): Removing an active aggregator [ 194.672924][ T12] bond0: (slave eth1): Releasing backup interface [ 194.733910][ T12] bond0 (unregistering): Released all slaves