[ 9.303951][ T200] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 9.304006][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.304008][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: ip [ 9.304010][ T200] preempt_count: 1, expected: 0 [ 9.304011][ T200] RCU nest depth: 0, expected: 0 [ 9.304012][ T200] locks held by ip/200: 5, last CPU#3: [ 9.304014][ T200] #0: ffffffff8f722700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.304026][ T200] #1: ffffffff8ef99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.304032][ T200] #2: ffffffff8ef99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.304035][ T200] #3: ffffffff8ee89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.304039][ T200] #4: ffffffff8ee89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.304042][ T200] irq event stamp: 29428 [ 9.304043][ T200] hardirqs last enabled at (29427): [] __down_trylock_console_sem+0x86/0xa0 [ 9.304046][ T200] hardirqs last disabled at (29428): [] console_emit_next_record+0x3f8/0x4f0 [ 9.304048][ T200] softirqs last enabled at (29406): [] bond_update_slave_arr+0x7ae/0xcf0 [ 9.304051][ T200] softirqs last disabled at (29404): [] bond_update_slave_arr+0x6af/0xcf0 [ 9.304053][ T200] Preemption disabled at: [ 9.304054][ T200] [] vprintk_emit+0x31b/0x3e0 [ 9.304059][ T200] CPU: 3 UID: 0 PID: 200 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.304062][ T200] Tainted: [W]=WARN [ 9.304063][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.304065][ T200] Call Trace: [ 9.304067][ T200] [ 9.304068][ T200] dump_stack_lvl+0x6f/0xa0 [ 9.304073][ T200] ? vprintk_emit+0x31b/0x3e0 [ 9.304075][ T200] __might_resched.cold+0x1fe/0x2c1 [ 9.304080][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.304083][ T200] ? __kmalloc_noprof+0xdb/0x760 [ 9.304088][ T200] __kmalloc_noprof+0x443/0x760 [ 9.304091][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 9.304097][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 9.304099][ T200] alloc_buf.isra.0+0x4b/0x260 [ 9.304103][ T200] put_chars+0x1e1/0x2f0 [ 9.304106][ T200] ? __send_to_port+0x420/0x420 [ 9.304112][ T200] hvc_console_print+0x292/0x780 [ 9.304120][ T200] ? hvc_write+0x3a0/0x3a0 [ 9.304123][ T200] ? lock_acquire+0x13c/0x160 [ 9.304127][ T200] console_emit_next_record+0x252/0x4f0 [ 9.304130][ T200] ? devkmsg_read+0x4e0/0x4e0 [ 9.304134][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.304138][ T200] ? lock_acquire+0x13c/0x160 [ 9.304142][ T200] console_flush_one_record+0x46f/0x710 [ 9.304145][ T200] ? console_emit_next_record+0x4f0/0x4f0 [ 9.304147][ T200] ? __lock_acquire+0x518/0xc20 [ 9.304152][ T200] console_unlock+0xee/0x1f0 [ 9.304155][ T200] ? console_flush_one_record+0x710/0x710 [ 9.304156][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.304158][ T200] ? lock_acquire+0x60/0x160 [ 9.304162][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.304164][ T200] ? vprintk_emit+0x320/0x3e0 [ 9.304166][ T200] vprintk_emit+0x37c/0x3e0 [ 9.304169][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 9.304172][ T200] ? packet_sendmsg_spkt+0x1350/0x1350 [ 9.304178][ T200] _printk+0xc7/0x100 [ 9.304181][ T200] ? snapshot_read.cold+0x21/0x21 [ 9.304185][ T200] ? __mutex_unlock_slowpath+0x9e/0x740 [ 9.304188][ T200] ? netdev_name+0x43/0x60 [ 9.304191][ T200] ? __netdev_printk+0x17f/0x1d0 [ 9.304195][ T200] netdev_info+0xe2/0x116 [ 9.304197][ T200] ? netdev_notice+0x120/0x120 [ 9.304201][ T200] ? bond_lower_state_changed+0x160/0x160 [ 9.304204][ T200] ? netdev_upper_dev_link+0xb0/0xb0 [ 9.304209][ T200] bond_enslave.cold+0x156/0x4f7 [ 9.304217][ T200] ? find_held_lock+0x2b/0x80 [ 9.304219][ T200] ? bond_update_slave_arr+0xcf0/0xcf0 [ 9.304220][ T200] ? mark_usage+0x61/0x170 [ 9.304222][ T200] ? __lock_acquire+0x518/0xc20 [ 9.304224][ T200] ? __lock_acquire+0x500/0xc20 [ 9.304229][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.304236][ T200] ? is_bpf_text_address+0x72/0x110 [ 9.304240][ T200] ? kernel_text_address+0x149/0x170 [ 9.304245][ T200] do_set_master+0x3b2/0x780 [ 9.304249][ T200] do_setlink.isra.0+0x9ec/0x2a60 [ 9.304253][ T200] ? stack_trace_save+0x93/0xc0 [ 9.304256][ T200] ? rtnl_link_get_size+0x350/0x350 [ 9.304258][ T200] ? rcu_read_lock_any_held+0x66/0x90 [ 9.304261][ T200] ? stack_depot_save_flags+0x38e/0x790 [ 9.304264][ T200] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.304267][ T200] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.304269][ T200] ? validate_chain+0x38b/0xc20 [ 9.304272][ T200] ? kasan_save_stack+0x3d/0x50 [ 9.304274][ T200] ? kasan_save_stack+0x2f/0x50 [ 9.304275][ T200] ? kasan_save_track+0x14/0x30 [ 9.304277][ T200] ? __lock_acquire+0x518/0xc20 [ 9.304279][ T200] ? netlink_seq_next+0x1e/0x60 [ 9.304282][ T200] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.304287][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.304289][ T200] ? rtnl_newlink+0x9a8/0x11b0 [ 9.304292][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.304294][ T200] ? lock_acquire+0x13c/0x160 [ 9.304296][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.304297][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.304299][ T200] ? trace_contention_end+0xb3/0x180 [ 9.304301][ T200] ? __mutex_lock+0x1db/0x1ea0 [ 9.304303][ T200] ? __mutex_lock+0x9a3/0x1ea0 [ 9.304305][ T200] ? rtnl_newlink+0x9a8/0x11b0 [ 9.304309][ T200] ? ww_mutex_lock+0x160/0x160 [ 9.304310][ T200] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.304316][ T200] ? __rtnl_newlink+0x3fa/0xa50 [ 9.304321][ T200] rtnl_newlink+0x9f1/0x11b0 [ 9.304327][ T200] ? rtnl_bridge_getlink+0x850/0x850 [ 9.304329][ T200] ? __lock_acquire+0x518/0xc20 [ 9.304334][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.304336][ T200] ? find_held_lock+0x2b/0x80 [ 9.304338][ T200] ? rtnl_bridge_getlink+0x850/0x850 [ 9.304340][ T200] ? __lock_release.isra.0+0x69/0x1a0 [ 9.304344][ T200] ? rtnl_bridge_getlink+0x850/0x850 [ 9.304347][ T200] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.304350][ T200] ? rtnl_link_fill+0x900/0x900 [ 9.304352][ T200] ? __lock_acquire+0x518/0xc20 [ 9.304357][ T200] ? lock_acquire.part.0+0xd4/0x280 [ 9.304359][ T200] ? find_held_lock+0x2b/0x80 [ 9.304362][ T200] netlink_rcv_skb+0x14e/0x3a0 [ 9.304364][ T200] ? rtnl_link_fill+0x900/0x900 [ 9.304368][ T200] ? netlink_ack+0xcd0/0xcd0 [ 9.304374][ T200] ? netlink_deliver_tap+0xc5/0x330 [ 9.304375][ T200] ? netlink_deliver_tap+0x13c/0x330 [ 9.304379][ T200] netlink_unicast+0x486/0x750 [ 9.304383][ T200] ? netlink_attachskb+0x810/0x810 [ 9.304386][ T200] ? __lock_acquire+0x518/0xc20 [ 9.304390][ T200] netlink_sendmsg+0x735/0xc60 [ 9.304393][ T200] ? netlink_unicast+0x750/0x750 [ 9.304397][ T200] ? __might_fault+0x97/0x140 [ 9.304403][ T200] ____sys_sendmsg+0x415/0x880 [ 9.304405][ T200] ? copy_msghdr_from_user+0x279/0x420 [ 9.304407][ T200] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.304408][ T200] ? move_addr_to_kernel+0x40/0x40 [ 9.304415][ T200] ___sys_sendmsg+0x14e/0x1d0 [ 9.304417][ T200] ? copy_msghdr_from_user+0x420/0x420 [ 9.304432][ T200] __sys_sendmsg+0x12c/0x1d0 [ 9.304435][ T200] ? __sys_sendmsg_sock+0x20/0x20 [ 9.304441][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.304444][ T200] do_syscall_64+0xff/0x530 [ 9.304446][ T200] ? exc_page_fault+0xee/0x100 [ 9.304449][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.304451][ T200] RIP: 0033:0x7fcd7d03054e [ 9.304455][ T200] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 9.304457][ T200] RSP: 002b:00007ffe7c367e60 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.304459][ T200] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fcd7d03054e [ 9.304460][ T200] RDX: 0000000000000000 RSI: 00007ffe7c367f10 RDI: 0000000000000005 [ 9.304461][ T200] RBP: 00007ffe7c367e70 R08: 0000000000000000 R09: 0000000000000000 [ 9.304462][ T200] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a919792 [ 9.304463][ T200] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe7c3685e0 [ 9.304469][ T200] [ 9.344697][ T200] ip (200) used greatest stack depth: 22824 bytes left [ 9.368032][ T201] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 9.440674][ T204] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 9.474837][ T205] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 76.640301][ T207] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 76.640363][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 76.640365][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: kworker/u16:2 [ 76.640367][ T207] preempt_count: 202, expected: 0 [ 76.640368][ T207] RCU nest depth: 2, expected: 0 [ 76.640369][ T207] locks held by kworker/u16:2/207: 9, last CPU#1: [ 76.640371][ T207] #0: ff1100000b784d40 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 76.640382][ T207] #1: ffa0000000627d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 76.640386][ T207] #2: ff1100000cf92e98 (&bond->mode_lock){+...}-{3:3}, at: bond_3ad_state_machine_handler+0xd2/0x1f00 [ 76.640392][ T207] #3: ffffffff8efb0b00 (rcu_read_lock){....}-{1:3}, at: bond_3ad_state_machine_handler+0xe9/0x1f00 [ 76.640395][ T207] #4: ffffffff8efb0b00 (rcu_read_lock){....}-{1:3}, at: ad_agg_selection_logic+0xdc/0x1b70 [ 76.640398][ T207] #5: ffffffff8ef99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 76.640402][ T207] #6: ffffffff8ef99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 76.640405][ T207] #7: ffffffff8ee89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 76.640408][ T207] #8: ffffffff8ee89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 76.640411][ T207] irq event stamp: 20405 [ 76.640412][ T207] hardirqs last enabled at (20404): [] __down_trylock_console_sem+0x86/0xa0 [ 76.640415][ T207] hardirqs last disabled at (20405): [] console_emit_next_record+0x3f8/0x4f0 [ 76.640417][ T207] softirqs last enabled at (20380): [] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.640418][ T207] softirqs last disabled at (20398): [] bond_3ad_state_machine_handler+0xd2/0x1f00 [ 76.640420][ T207] Preemption disabled at: [ 76.640421][ T207] [<0000000000000000>] 0x0 [ 76.640428][ T207] CPU: 1 UID: 0 PID: 207 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 76.640431][ T207] Tainted: [W]=WARN [ 76.640432][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 76.640434][ T207] Workqueue: bond0 bond_3ad_state_machine_handler [ 76.640437][ T207] Call Trace: [ 76.640439][ T207] [ 76.640441][ T207] dump_stack_lvl+0x6f/0xa0 [ 76.640446][ T207] __might_resched.cold+0x1fe/0x2c1 [ 76.640451][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 76.640454][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 76.640459][ T207] __kmalloc_noprof+0x443/0x760 [ 76.640462][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 76.640468][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 76.640470][ T207] alloc_buf.isra.0+0x4b/0x260 [ 76.640474][ T207] put_chars+0x1e1/0x2f0 [ 76.640477][ T207] ? __send_to_port+0x420/0x420 [ 76.640482][ T207] ? validate_chain+0x34a/0xc20 [ 76.640486][ T207] hvc_console_print+0x292/0x780 [ 76.640490][ T207] ? mark_usage+0x61/0x170 [ 76.640492][ T207] ? __lock_acquire+0x518/0xc20 [ 76.640494][ T207] ? __lock_acquire+0x518/0xc20 [ 76.640498][ T207] ? hvc_write+0x3a0/0x3a0 [ 76.640501][ T207] ? console_emit_next_record+0x202/0x4f0 [ 76.640504][ T207] ? rcu_is_watching+0x16/0xd0 [ 76.640507][ T207] ? lock_acquire+0x13c/0x160 [ 76.640511][ T207] console_emit_next_record+0x252/0x4f0 [ 76.640515][ T207] ? devkmsg_read+0x4e0/0x4e0 [ 76.640519][ T207] ? rcu_is_watching+0x16/0xd0 [ 76.640521][ T207] ? lock_acquire+0x13c/0x160 [ 76.640525][ T207] console_flush_one_record+0x46f/0x710 [ 76.640528][ T207] ? console_emit_next_record+0x4f0/0x4f0 [ 76.640530][ T207] ? __lock_acquire+0x518/0xc20 [ 76.640535][ T207] console_unlock+0xee/0x1f0 [ 76.640538][ T207] ? console_flush_one_record+0x710/0x710 [ 76.640539][ T207] ? rcu_is_watching+0x16/0xd0 [ 76.640541][ T207] ? lock_acquire+0x60/0x160 [ 76.640545][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 76.640547][ T207] ? vprintk_emit+0x320/0x3e0 [ 76.640550][ T207] vprintk_emit+0x37c/0x3e0 [ 76.640553][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 76.640555][ T207] ? __lock_release.isra.0+0x69/0x1a0 [ 76.640560][ T207] _printk+0xc7/0x100 [ 76.640564][ T207] ? snapshot_read.cold+0x21/0x21 [ 76.640565][ T207] ? ___ratelimit+0x4e7/0xa00 [ 76.640571][ T207] ? idr_get_free+0x830/0x830 [ 76.640576][ T207] ad_agg_selection_logic.cold+0x120/0x16c [ 76.640582][ T207] ? find_held_lock+0x2b/0x80 [ 76.640586][ T207] ? bond_3ad_set_carrier+0x5f0/0x5f0 [ 76.640588][ T207] ? __get_first_agg.isra.0+0xda/0x1c0 [ 76.640592][ T207] ad_port_selection_logic+0x8a8/0x1820 [ 76.640596][ T207] ? bond_3ad_unbind_slave+0x1f80/0x1f80 [ 76.640599][ T207] ? ad_rx_machine+0x282/0x1950 [ 76.640603][ T207] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 76.640608][ T207] ? ad_mux_machine+0x1b50/0x1b50 [ 76.640610][ T207] ? lock_acquire.part.0+0xd4/0x280 [ 76.640612][ T207] ? process_one_work+0xd80/0x1560 [ 76.640614][ T207] ? rcu_is_watching+0x16/0xd0 [ 76.640616][ T207] ? rcu_is_watching+0x16/0xd0 [ 76.640618][ T207] ? lock_acquire+0x13c/0x160 [ 76.640620][ T207] ? rcu_is_watching+0x16/0xd0 [ 76.640623][ T207] process_one_work+0xe3e/0x1560 [ 76.640629][ T207] ? __queue_delayed_work+0x470/0x470 [ 76.640638][ T207] worker_thread+0x4f1/0xd60 [ 76.640641][ T207] ? rescuer_thread+0x1340/0x1340 [ 76.640643][ T207] ? __kthread_parkme+0xbd/0x210 [ 76.640646][ T207] ? rescuer_thread+0x1340/0x1340 [ 76.640648][ T207] ? rescuer_thread+0x1340/0x1340 [ 76.640650][ T207] kthread+0x367/0x460 [ 76.640652][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 76.640656][ T207] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.640659][ T207] ret_from_fork+0x474/0x6b0 [ 76.640663][ T207] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 76.640667][ T207] ? __switch_to+0x5a3/0xe00 [ 76.640670][ T207] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.640673][ T207] ret_from_fork_asm+0x11/0x20 [ 76.640682][ T207] [ 76.663969][ T70] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 76.664522][ T70] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 76.665303][ T70] bond0: active interface up! [ 76.867814][ C3] [ 76.867906][ C3] ======================================================== [ 76.868113][ C3] WARNING: possible irq lock inversion dependency detected [ 76.868311][ C3] 7.2.0-virtme #1 Tainted: G W [ 76.868476][ C3] -------------------------------------------------------- [ 76.868673][ C3] kworker/u16:1/70 just changed the state of lock: [ 76.868841][ C3] ff1100000eadae98 (&bond->mode_lock){+.-.}-{3:3}, at: bond_3ad_rx_indication+0x242/0x8e0 [ 76.869086][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 76.869279][ C3] (fs_reclaim){+.+.}-{0:0} [ 76.869282][ C3] [ 76.869282][ C3] [ 76.869282][ C3] and interrupts could create inverse lock ordering between them. [ 76.869282][ C3] [ 76.869755][ C3] [ 76.869755][ C3] other info that might help us debug this: [ 76.869951][ C3] Chain exists of: [ 76.869951][ C3] &bond->mode_lock --> console_owner --> fs_reclaim [ 76.869951][ C3] [ 76.870249][ C3] Possible interrupt unsafe locking scenario: [ 76.870249][ C3] [ 76.870450][ C3] CPU0 CPU1 [ 76.870582][ C3] ---- ---- [ 76.870714][ C3] lock(fs_reclaim); [ 76.870816][ C3] local_irq_disable(); [ 76.870983][ C3] lock(&bond->mode_lock); [ 76.871146][ C3] lock(console_owner); [ 76.871308][ C3] [ 76.871410][ C3] lock(&bond->mode_lock); [ 76.871542][ C3] [ 76.871542][ C3] *** DEADLOCK *** [ 76.871542][ C3] [ 76.871731][ C3] locks held by kworker/u16:1/70: 3, last CPU#3: [ 76.871893][ C3] #0: ff1100000b784d40 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 76.872157][ C3] #1: ffa00000004b7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 76.872445][ C3] #2: ffffffff8efb0b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 76.872670][ C3] [ 76.872670][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 76.872895][ C3] -> (fs_reclaim){+.+.}-{0:0} { [ 76.873031][ C3] HARDIRQ-ON-W at: [ 76.873132][ C3] __lock_acquire+0x388/0xc20 [ 76.873302][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.873465][ C3] fs_reclaim_acquire+0xd5/0x120 [ 76.873629][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 76.873823][ C3] kthread_create_worker_on_node+0xea/0x210 [ 76.874025][ C3] workqueue_init+0x2a/0x680 [ 76.874189][ C3] kernel_init_freeable+0x2fe/0x630 [ 76.874384][ C3] kernel_init+0x21/0x150 [ 76.874549][ C3] ret_from_fork+0x474/0x6b0 [ 76.874712][ C3] ret_from_fork_asm+0x11/0x20 [ 76.874876][ C3] SOFTIRQ-ON-W at: [ 76.874978][ C3] __lock_acquire+0x388/0xc20 [ 76.875142][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.875302][ C3] fs_reclaim_acquire+0xd5/0x120 [ 76.875462][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 76.875654][ C3] kthread_create_worker_on_node+0xea/0x210 [ 76.875849][ C3] workqueue_init+0x2a/0x680 [ 76.876015][ C3] kernel_init_freeable+0x2fe/0x630 [ 76.876208][ C3] kernel_init+0x21/0x150 [ 76.876369][ C3] ret_from_fork+0x474/0x6b0 [ 76.876530][ C3] ret_from_fork_asm+0x11/0x20 [ 76.876738][ C3] INITIAL USE at: [ 76.876835][ C3] __lock_acquire+0x388/0xc20 [ 76.877043][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.877207][ C3] fs_reclaim_acquire+0xd5/0x120 [ 76.877411][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 76.877649][ C3] kthread_create_worker_on_node+0xea/0x210 [ 76.877845][ C3] workqueue_init+0x2a/0x680 [ 76.878053][ C3] kernel_init_freeable+0x2fe/0x630 [ 76.878259][ C3] kernel_init+0x21/0x150 [ 76.878424][ C3] ret_from_fork+0x474/0x6b0 [ 76.878629][ C3] ret_from_fork_asm+0x11/0x20 [ 76.878791][ C3] } [ 76.878903][ C3] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 76.879102][ C3] ... acquired at: [ 76.879244][ C3] __lock_acquire+0x518/0xc20 [ 76.879375][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.879548][ C3] fs_reclaim_acquire+0xd5/0x120 [ 76.879677][ C3] __kmalloc_noprof+0xd3/0x760 [ 76.879806][ C3] alloc_buf.isra.0+0x4b/0x260 [ 76.879936][ C3] put_chars+0x1e1/0x2f0 [ 76.880111][ C3] hvc_console_print+0x292/0x780 [ 76.880243][ C3] console_emit_next_record+0x252/0x4f0 [ 76.880417][ C3] console_flush_one_record+0x46f/0x710 [ 76.880543][ C3] console_unlock+0xee/0x1f0 [ 76.880714][ C3] vprintk_emit+0x37c/0x3e0 [ 76.880844][ C3] _printk+0xc7/0x100 [ 76.880989][ C3] i8042_pnp_init+0xf7/0x3c0 [ 76.881116][ C3] i8042_platform_init+0x3f9/0x460 [ 76.881287][ C3] i8042_init+0x45/0x130 [ 76.881416][ C3] do_one_initcall+0x124/0x4f0 [ 76.881587][ C3] kernel_init_freeable+0x596/0x630 [ 76.881714][ C3] kernel_init+0x21/0x150 [ 76.881885][ C3] ret_from_fork+0x474/0x6b0 [ 76.882019][ C3] ret_from_fork_asm+0x11/0x20 [ 76.882192][ C3] [ 76.882259][ C3] -> (console_owner){....}-{0:0} { [ 76.882391][ C3] INITIAL USE at: [ 76.882531][ C3] } [ 76.882597][ C3] ... key at: [] console_owner_dep_map+0x0/0x60 [ 76.882789][ C3] ... acquired at: [ 76.882885][ C3] __lock_acquire+0x518/0xc20 [ 76.883060][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.883189][ C3] console_lock_spinning_enable+0x5c/0x60 [ 76.883392][ C3] console_emit_next_record+0x1f4/0x4f0 [ 76.883519][ C3] console_flush_one_record+0x46f/0x710 [ 76.883689][ C3] console_unlock+0xee/0x1f0 [ 76.883819][ C3] vprintk_emit+0x37c/0x3e0 [ 76.883993][ C3] _printk+0xc7/0x100 [ 76.884090][ C3] ad_agg_selection_logic.cold+0x120/0x16c [ 76.884295][ C3] ad_port_selection_logic+0x8a8/0x1820 [ 76.884424][ C3] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 76.884625][ C3] process_one_work+0xe3e/0x1560 [ 76.884753][ C3] worker_thread+0x4f1/0xd60 [ 76.884924][ C3] kthread+0x367/0x460 [ 76.885028][ C3] ret_from_fork+0x474/0x6b0 [ 76.885201][ C3] ret_from_fork_asm+0x11/0x20 [ 76.885328][ C3] [ 76.885434][ C3] -> (&bond->mode_lock){+.-.}-{3:3} { [ 76.885566][ C3] HARDIRQ-ON-W at: [ 76.885662][ C3] __lock_acquire+0x388/0xc20 [ 76.885867][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.886074][ C3] _raw_spin_lock_bh+0x38/0x50 [ 76.886242][ C3] bond_3ad_update_lacp_active+0xb8/0x260 [ 76.886483][ C3] bond_option_lacp_active_set+0x77/0x1f0 [ 76.886723][ C3] __bond_opt_set+0x1b1/0x390 [ 76.886887][ C3] bond_changelink+0x1504/0x23e0 [ 76.887098][ C3] bond_newlink+0x9e/0xf0 [ 76.887306][ C3] rtnl_newlink_create+0x2d0/0x850 [ 76.887469][ C3] __rtnl_newlink+0x22b/0xa50 [ 76.887675][ C3] rtnl_newlink+0x9f1/0x11b0 [ 76.887880][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 76.888048][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 76.888254][ C3] netlink_unicast+0x486/0x750 [ 76.888416][ C3] netlink_sendmsg+0x735/0xc60 [ 76.888622][ C3] ____sys_sendmsg+0x415/0x880 [ 76.888830][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 76.888995][ C3] __sys_sendmsg+0x12c/0x1d0 [ 76.889200][ C3] do_syscall_64+0xff/0x530 [ 76.889405][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 76.889598][ C3] IN-SOFTIRQ-W at: [ 76.889736][ C3] __lock_acquire+0x388/0xc20 [ 76.889897][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.890104][ C3] _raw_spin_lock+0x33/0x40 [ 76.890310][ C3] bond_3ad_rx_indication+0x242/0x8e0 [ 76.890472][ C3] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.890678][ C3] bond_handle_frame+0x16b/0xca0 [ 76.890842][ C3] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.891086][ C3] __netif_receive_skb_one_core+0xa2/0x180 [ 76.891323][ C3] process_backlog+0x431/0x14c0 [ 76.891528][ C3] __napi_poll+0xa7/0x3b0 [ 76.891689][ C3] net_rx_action+0x513/0xf50 [ 76.891894][ C3] handle_softirqs+0x1d3/0x900 [ 76.892062][ C3] do_softirq+0xac/0xe0 [ 76.892270][ C3] __local_bh_enable_ip+0x118/0x150 [ 76.892474][ C3] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.892668][ C3] process_one_work+0xe3e/0x1560 [ 76.892874][ C3] worker_thread+0x4f1/0xd60 [ 76.893082][ C3] kthread+0x367/0x460 [ 76.893213][ C3] ret_from_fork+0x474/0x6b0 [ 76.893419][ C3] ret_from_fork_asm+0x11/0x20 [ 76.893582][ C3] INITIAL USE at: [ 76.893721][ C3] __lock_acquire+0x388/0xc20 [ 76.893884][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.894096][ C3] _raw_spin_lock_bh+0x38/0x50 [ 76.894300][ C3] bond_3ad_update_lacp_active+0xb8/0x260 [ 76.894491][ C3] bond_option_lacp_active_set+0x77/0x1f0 [ 76.894728][ C3] __bond_opt_set+0x1b1/0x390 [ 76.894932][ C3] bond_changelink+0x1504/0x23e0 [ 76.895096][ C3] bond_newlink+0x9e/0xf0 [ 76.895300][ C3] rtnl_newlink_create+0x2d0/0x850 [ 76.895506][ C3] __rtnl_newlink+0x22b/0xa50 [ 76.895664][ C3] rtnl_newlink+0x9f1/0x11b0 [ 76.895823][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 76.896035][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 76.896194][ C3] netlink_unicast+0x486/0x750 [ 76.896398][ C3] netlink_sendmsg+0x735/0xc60 [ 76.896558][ C3] ____sys_sendmsg+0x415/0x880 [ 76.896760][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 76.896968][ C3] __sys_sendmsg+0x12c/0x1d0 [ 76.897131][ C3] do_syscall_64+0xff/0x530 [ 76.897335][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 76.897569][ C3] } [ 76.897633][ C3] ... key at: [] __key.27+0x0/0x40 [ 76.897866][ C3] ... acquired at: [ 76.897963][ C3] mark_lock+0x1d7/0xa00 [ 76.898133][ C3] mark_usage+0x42/0x170 [ 76.898265][ C3] __lock_acquire+0x388/0xc20 [ 76.898435][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.898561][ C3] _raw_spin_lock+0x33/0x40 [ 76.898730][ C3] bond_3ad_rx_indication+0x242/0x8e0 [ 76.898857][ C3] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.899030][ C3] bond_handle_frame+0x16b/0xca0 [ 76.899159][ C3] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.899360][ C3] __netif_receive_skb_one_core+0xa2/0x180 [ 76.899519][ C3] process_backlog+0x431/0x14c0 [ 76.899690][ C3] __napi_poll+0xa7/0x3b0 [ 76.899816][ C3] net_rx_action+0x513/0xf50 [ 76.899992][ C3] handle_softirqs+0x1d3/0x900 [ 76.900121][ C3] do_softirq+0xac/0xe0 [ 76.900260][ C3] __local_bh_enable_ip+0x118/0x150 [ 76.900388][ C3] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.900590][ C3] process_one_work+0xe3e/0x1560 [ 76.900717][ C3] worker_thread+0x4f1/0xd60 [ 76.900886][ C3] kthread+0x367/0x460 [ 76.900986][ C3] ret_from_fork+0x474/0x6b0 [ 76.901159][ C3] ret_from_fork_asm+0x11/0x20 [ 76.901287][ C3] [ 76.901350][ C3] [ 76.901350][ C3] stack backtrace: [ 76.901553][ C3] CPU: 3 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 76.901556][ C3] Tainted: [W]=WARN [ 76.901557][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 76.901559][ C3] Workqueue: bond0 bond_3ad_state_machine_handler [ 76.901562][ C3] Call Trace: [ 76.901563][ C3] [ 76.901565][ C3] dump_stack_lvl+0x6f/0xa0 [ 76.901567][ C3] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 76.901570][ C3] mark_lock_irq+0x989/0x9c0 [ 76.901573][ C3] mark_lock+0x1d7/0xa00 [ 76.901575][ C3] mark_usage+0x42/0x170 [ 76.901577][ C3] __lock_acquire+0x388/0xc20 [ 76.901579][ C3] ? __unwind_start+0x42e/0x900 [ 76.901583][ C3] lock_acquire.part.0+0xd4/0x280 [ 76.901585][ C3] ? bond_3ad_rx_indication+0x242/0x8e0 [ 76.901586][ C3] ? rcu_is_watching+0x16/0xd0 [ 76.901589][ C3] ? lock_acquire+0x13c/0x160 [ 76.901591][ C3] _raw_spin_lock+0x33/0x40 [ 76.901593][ C3] ? bond_3ad_rx_indication+0x242/0x8e0 [ 76.901594][ C3] bond_3ad_rx_indication+0x242/0x8e0 [ 76.901596][ C3] ? update_load_avg+0x827/0xf00 [ 76.901599][ C3] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 76.901601][ C3] ? bond_3ad_get_active_agg_info+0x120/0x120 [ 76.901604][ C3] bond_handle_frame+0x16b/0xca0 [ 76.901606][ C3] ? bond_net_exit_batch+0x2a0/0x2a0 [ 76.901607][ C3] ? bond_net_exit_batch+0x2a0/0x2a0 [ 76.901609][ C3] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 76.901611][ C3] ? select_fallback_rq+0x510/0x510 [ 76.901614][ C3] ? find_held_lock+0x2b/0x80 [ 76.901616][ C3] ? do_xdp_generic+0x4a0/0x4a0 [ 76.901618][ C3] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 76.901621][ C3] ? mark_usage+0x61/0x170 [ 76.901622][ C3] ? __lock_acquire+0x518/0xc20 [ 76.901625][ C3] ? process_backlog+0x3f1/0x14c0 [ 76.901626][ C3] __netif_receive_skb_one_core+0xa2/0x180 [ 76.901628][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 76.901629][ C3] ? process_backlog+0x3f1/0x14c0 [ 76.901631][ C3] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 76.901633][ C3] ? rcu_is_watching+0x16/0xd0 [ 76.901635][ C3] process_backlog+0x431/0x14c0 [ 76.901637][ C3] __napi_poll+0xa7/0x3b0 [ 76.901639][ C3] net_rx_action+0x513/0xf50 [ 76.901641][ C3] ? __napi_poll+0x3b0/0x3b0 [ 76.901643][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 76.901645][ C3] ? __rwlock_init+0x150/0x150 [ 76.901647][ C3] ? __run_timers+0xaa0/0xaa0 [ 76.901649][ C3] ? rcu_is_watching+0x16/0xd0 [ 76.901651][ C3] ? mark_held_locks+0x40/0x70 [ 76.901653][ C3] handle_softirqs+0x1d3/0x900 [ 76.901655][ C3] ? _local_bh_enable+0xc0/0xc0 [ 76.901657][ C3] ? _local_bh_enable+0xc0/0xc0 [ 76.901659][ C3] do_softirq+0xac/0xe0 [ 76.901661][ C3] [ 76.901661][ C3] [ 76.901662][ C3] __local_bh_enable_ip+0x118/0x150 [ 76.901664][ C3] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 76.901666][ C3] ? ad_mux_machine+0x1b50/0x1b50 [ 76.901668][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 76.901669][ C3] ? process_one_work+0xd80/0x1560 [ 76.901671][ C3] ? rcu_is_watching+0x16/0xd0 [ 76.901672][ C3] ? rcu_is_watching+0x16/0xd0 [ 76.901673][ C3] ? lock_acquire+0x13c/0x160 [ 76.901675][ C3] ? rcu_is_watching+0x16/0xd0 [ 76.901677][ C3] process_one_work+0xe3e/0x1560 [ 76.901679][ C3] ? __queue_delayed_work+0x470/0x470 [ 76.901681][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 76.901684][ C3] worker_thread+0x4f1/0xd60 [ 76.901686][ C3] ? rescuer_thread+0x1340/0x1340 [ 76.901687][ C3] kthread+0x367/0x460 [ 76.901689][ C3] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 76.901692][ C3] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.901694][ C3] ret_from_fork+0x474/0x6b0 [ 76.901696][ C3] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 76.901698][ C3] ? __switch_to+0x5a3/0xe00 [ 76.901701][ C3] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.901703][ C3] ret_from_fork_asm+0x11/0x20 [ 76.901706][ C3] [ 89.381581][ T3437] bond0: (slave eth0): Releasing backup interface [ 89.381597][ T3437] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 89.381599][ T3437] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3437, name: ip [ 89.381601][ T3437] preempt_count: 1, expected: 0 [ 89.381602][ T3437] RCU nest depth: 0, expected: 0 [ 89.381602][ T3437] INFO: lockdep is turned off. [ 89.381603][ T3437] irq event stamp: 0 [ 89.381604][ T3437] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 89.381609][ T3437] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 89.381616][ T3437] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 89.381618][ T3437] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 89.381619][ T3437] Preemption disabled at: [ 89.381620][ T3437] [] vprintk_emit+0x31b/0x3e0 [ 89.381627][ T3437] CPU: 2 UID: 0 PID: 3437 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 89.381631][ T3437] Tainted: [W]=WARN [ 89.381632][ T3437] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.381633][ T3437] Call Trace: [ 89.381635][ T3437] [ 89.381636][ T3437] dump_stack_lvl+0x6f/0xa0 [ 89.381641][ T3437] ? vprintk_emit+0x31b/0x3e0 [ 89.381642][ T3437] __might_resched.cold+0x1fe/0x2c1 [ 89.381646][ T3437] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 89.381649][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381652][ T3437] __kmalloc_noprof+0x443/0x760 [ 89.381656][ T3437] ? __rwlock_init+0x150/0x150 [ 89.381658][ T3437] ? alloc_buf.isra.0+0x4b/0x260 [ 89.381662][ T3437] ? do_raw_spin_unlock+0x59/0x250 [ 89.381663][ T3437] alloc_buf.isra.0+0x4b/0x260 [ 89.381666][ T3437] put_chars+0x1e1/0x2f0 [ 89.381668][ T3437] ? __send_to_port+0x420/0x420 [ 89.381671][ T3437] ? desc_read+0x2f0/0x2f0 [ 89.381673][ T3437] ? console_prepend_replay+0x20/0x20 [ 89.381674][ T3437] ? desc_read+0x219/0x2f0 [ 89.381676][ T3437] hvc_console_print+0x292/0x780 [ 89.381680][ T3437] ? _prb_read_valid+0x450/0x6e0 [ 89.381682][ T3437] ? hvc_write+0x3a0/0x3a0 [ 89.381684][ T3437] ? do_raw_spin_lock+0x131/0x280 [ 89.381685][ T3437] ? __rwlock_init+0x150/0x150 [ 89.381686][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381688][ T3437] ? lock_acquire+0x13c/0x160 [ 89.381690][ T3437] console_emit_next_record+0x252/0x4f0 [ 89.381692][ T3437] ? devkmsg_read+0x4e0/0x4e0 [ 89.381693][ T3437] ? _prb_read_valid+0x6e0/0x6e0 [ 89.381695][ T3437] ? __asan_memmove+0x3c/0x60 [ 89.381698][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381699][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381700][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381702][ T3437] ? lock_acquire+0x13c/0x160 [ 89.381704][ T3437] ? console_flush_one_record+0x111/0x710 [ 89.381705][ T3437] console_flush_one_record+0x46f/0x710 [ 89.381707][ T3437] ? console_emit_next_record+0x4f0/0x4f0 [ 89.381709][ T3437] console_unlock+0xee/0x1f0 [ 89.381713][ T3437] ? lock_acquire+0x13c/0x160 [ 89.381715][ T3437] ? console_flush_one_record+0x710/0x710 [ 89.381716][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381717][ T3437] ? lock_release+0x184/0x1f0 [ 89.381719][ T3437] ? lock_acquire+0x60/0x160 [ 89.381721][ T3437] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 89.381722][ T3437] ? __down_trylock_console_sem+0x5e/0xa0 [ 89.381725][ T3437] ? vprintk_emit+0x320/0x3e0 [ 89.381726][ T3437] vprintk_emit+0x37c/0x3e0 [ 89.381728][ T3437] ? wake_up_klogd_work_func+0x90/0x90 [ 89.381730][ T3437] ? do_raw_spin_lock+0x131/0x280 [ 89.381731][ T3437] ? __rwlock_init+0x150/0x150 [ 89.381733][ T3437] _printk+0xc7/0x100 [ 89.381736][ T3437] ? snapshot_read.cold+0x21/0x21 [ 89.381737][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381739][ T3437] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 89.381741][ T3437] ? do_raw_spin_unlock+0x59/0x250 [ 89.381743][ T3437] ? trace_hardirqs_on+0x36/0x40 [ 89.381744][ T3437] ? netdev_name+0x43/0x60 [ 89.381746][ T3437] ? __netdev_printk+0x17f/0x1d0 [ 89.381748][ T3437] netdev_info+0xe2/0x116 [ 89.381750][ T3437] ? netdev_notice+0x120/0x120 [ 89.381752][ T3437] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 89.381756][ T3437] ? trace_irq_enable.constprop.0+0x30/0x160 [ 89.381758][ T3437] __bond_release_one.cold+0x80/0xa60 [ 89.381762][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381763][ T3437] ? bond_enslave+0x5100/0x5100 [ 89.381766][ T3437] ? lock_release+0x184/0x1f0 [ 89.381768][ T3437] ? unwind_next_frame+0x69b/0x1ea0 [ 89.381770][ T3437] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.381774][ T3437] ? kernel_text_address+0x149/0x170 [ 89.381777][ T3437] do_set_master+0x15c/0x780 [ 89.381780][ T3437] do_setlink.isra.0+0x9ec/0x2a60 [ 89.381782][ T3437] ? stack_trace_save+0x93/0xc0 [ 89.381785][ T3437] ? rtnl_link_get_size+0x350/0x350 [ 89.381787][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381788][ T3437] ? stack_depot_save_flags+0x1bc/0x790 [ 89.381791][ T3437] ? kasan_save_stack+0x3d/0x50 [ 89.381793][ T3437] ? kasan_save_stack+0x2f/0x50 [ 89.381794][ T3437] ? kasan_save_track+0x14/0x30 [ 89.381795][ T3437] ? __kasan_kmalloc+0x7b/0x90 [ 89.381796][ T3437] ? __kmalloc_cache_noprof+0x29a/0x620 [ 89.381798][ T3437] ? rtnl_newlink+0x124/0x11b0 [ 89.381800][ T3437] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 89.381801][ T3437] ? netlink_rcv_skb+0x14e/0x3a0 [ 89.381804][ T3437] ? netlink_unicast+0x486/0x750 [ 89.381805][ T3437] ? netlink_sendmsg+0x735/0xc60 [ 89.381807][ T3437] ? ____sys_sendmsg+0x415/0x880 [ 89.381809][ T3437] ? ___sys_sendmsg+0x14e/0x1d0 [ 89.381810][ T3437] ? __sys_sendmsg+0x12c/0x1d0 [ 89.381812][ T3437] ? do_syscall_64+0xff/0x530 [ 89.381814][ T3437] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.381816][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381817][ T3437] ? lock_acquire+0x13c/0x160 [ 89.381819][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381820][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381821][ T3437] ? trace_contention_end+0xb3/0x180 [ 89.381823][ T3437] ? __mutex_lock+0x1db/0x1ea0 [ 89.381824][ T3437] ? __mutex_lock+0x9a3/0x1ea0 [ 89.381826][ T3437] ? rtnl_newlink+0x9a8/0x11b0 [ 89.381828][ T3437] ? ww_mutex_lock+0x160/0x160 [ 89.381829][ T3437] ? nla_get_range_signed+0x3d0/0x3d0 [ 89.381832][ T3437] ? __rtnl_newlink+0x3fa/0xa50 [ 89.381835][ T3437] rtnl_newlink+0x9f1/0x11b0 [ 89.381837][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381839][ T3437] ? rtnl_bridge_getlink+0x850/0x850 [ 89.381840][ T3437] ? lock_acquire+0x13c/0x160 [ 89.381842][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381844][ T3437] ? is_bpf_text_address+0x3e/0x110 [ 89.381846][ T3437] ? is_bpf_text_address+0x72/0x110 [ 89.381848][ T3437] ? kernel_text_address+0x149/0x170 [ 89.381850][ T3437] ? __kernel_text_address+0x12/0x30 [ 89.381851][ T3437] ? write_profile+0xf0/0xf0 [ 89.381853][ T3437] ? unwind_get_return_address+0x67/0xd0 [ 89.381854][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381856][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381857][ T3437] ? cap_capable+0x1d7/0x3d0 [ 89.381860][ T3437] ? lock_acquire+0x13c/0x160 [ 89.381862][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381863][ T3437] ? rtnl_bridge_getlink+0x850/0x850 [ 89.381865][ T3437] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 89.381867][ T3437] ? rtnl_link_fill+0x900/0x900 [ 89.381869][ T3437] ? filter_irq_stacks+0xd0/0xd0 [ 89.381871][ T3437] ? stack_depot_save_flags+0x1bc/0x790 [ 89.381873][ T3437] netlink_rcv_skb+0x14e/0x3a0 [ 89.381874][ T3437] ? rtnl_link_fill+0x900/0x900 [ 89.381876][ T3437] ? lock_release+0x184/0x1f0 [ 89.381878][ T3437] ? netlink_ack+0xcd0/0xcd0 [ 89.381879][ T3437] ? __netlink_lookup+0xb9/0x6b0 [ 89.381882][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381883][ T3437] ? lock_release+0x184/0x1f0 [ 89.381886][ T3437] netlink_unicast+0x486/0x750 [ 89.381887][ T3437] ? netlink_attachskb+0x810/0x810 [ 89.381889][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381890][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381892][ T3437] ? lock_acquire+0x13c/0x160 [ 89.381894][ T3437] netlink_sendmsg+0x735/0xc60 [ 89.381896][ T3437] ? netlink_unicast+0x750/0x750 [ 89.381897][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381899][ T3437] ? lock_release+0x184/0x1f0 [ 89.381901][ T3437] ____sys_sendmsg+0x415/0x880 [ 89.381902][ T3437] ? copy_msghdr_from_user+0x279/0x420 [ 89.381904][ T3437] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 89.381905][ T3437] ? move_addr_to_kernel+0x40/0x40 [ 89.381906][ T3437] ? filter_irq_stacks+0xd0/0xd0 [ 89.381909][ T3437] ___sys_sendmsg+0x14e/0x1d0 [ 89.381910][ T3437] ? copy_msghdr_from_user+0x420/0x420 [ 89.381915][ T3437] __sys_sendmsg+0x12c/0x1d0 [ 89.381917][ T3437] ? __sys_sendmsg_sock+0x20/0x20 [ 89.381919][ T3437] ? rcu_is_watching+0x16/0xd0 [ 89.381921][ T3437] do_syscall_64+0xff/0x530 [ 89.381922][ T3437] ? exc_page_fault+0xee/0x100 [ 89.381924][ T3437] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.381925][ T3437] RIP: 0033:0x7ff794da054e [ 89.381928][ T3437] 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.381929][ T3437] RSP: 002b:00007fff26528ed0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 89.381933][ T3437] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007ff794da054e [ 89.381934][ T3437] RDX: 0000000000000000 RSI: 00007fff26528f80 RDI: 0000000000000005 [ 89.381935][ T3437] RBP: 00007fff26528ee0 R08: 0000000000000000 R09: 0000000000000000 [ 89.381936][ T3437] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9197e2 [ 89.381937][ T3437] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff26529650 [ 89.381939][ T3437] [ 89.411899][ T3437] bond0: (slave eth0): the permanent HWaddr of slave - 66:f9:23:3c:42:3c - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 89.412368][ T3437] bond0: active interface up! [ 89.455762][ T3439] bond0: (slave eth1): Releasing backup interface [ 191.940294][ T207] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 191.940309][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 191.940311][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: kworker/u16:2 [ 191.940313][ T207] preempt_count: 202, expected: 0 [ 191.940314][ T207] RCU nest depth: 0, expected: 0 [ 191.940315][ T207] INFO: lockdep is turned off. [ 191.940316][ T207] irq event stamp: 20694 [ 191.940317][ T207] hardirqs last enabled at (20693): [] _raw_spin_unlock_irq+0x28/0x50 [ 191.940325][ T207] hardirqs last disabled at (20694): [] __schedule+0x1246/0x20e0 [ 191.940329][ T207] softirqs last enabled at (20676): [] handle_softirqs+0x67c/0x900 [ 191.940333][ T207] softirqs last disabled at (20659): [] do_softirq+0xac/0xe0 [ 191.940336][ T207] Preemption disabled at: [ 191.940336][ T207] [<0000000000000000>] 0x0 [ 191.940342][ T207] CPU: 1 UID: 0 PID: 207 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 191.940346][ T207] Tainted: [W]=WARN [ 191.940347][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 191.940349][ T207] Workqueue: netns cleanup_net [ 191.940354][ T207] Call Trace: [ 191.940356][ T207] [ 191.940358][ T207] dump_stack_lvl+0x6f/0xa0 [ 191.940362][ T207] __might_resched.cold+0x1fe/0x2c1 [ 191.940366][ T207] ? __asan_memcpy+0x3c/0x60 [ 191.940369][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 191.940372][ T207] ? record_print_text+0x2fc/0x3e0 [ 191.940375][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940378][ T207] __kmalloc_noprof+0x443/0x760 [ 191.940381][ T207] ? __rwlock_init+0x150/0x150 [ 191.940383][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 191.940387][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 191.940388][ T207] alloc_buf.isra.0+0x4b/0x260 [ 191.940390][ T207] put_chars+0x1e1/0x2f0 [ 191.940393][ T207] ? __send_to_port+0x420/0x420 [ 191.940395][ T207] ? desc_read+0x219/0x2f0 [ 191.940398][ T207] hvc_console_print+0x292/0x780 [ 191.940402][ T207] ? hvc_write+0x3a0/0x3a0 [ 191.940404][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940405][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940406][ T207] ? lock_acquire+0x13c/0x160 [ 191.940409][ T207] console_emit_next_record+0x252/0x4f0 [ 191.940411][ T207] ? devkmsg_read+0x4e0/0x4e0 [ 191.940412][ T207] ? _prb_read_valid+0x6e0/0x6e0 [ 191.940414][ T207] ? __asan_memmove+0x3c/0x60 [ 191.940415][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940417][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940418][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940419][ T207] ? lock_acquire+0x13c/0x160 [ 191.940421][ T207] ? console_flush_one_record+0x111/0x710 [ 191.940422][ T207] console_flush_one_record+0x46f/0x710 [ 191.940424][ T207] ? console_emit_next_record+0x4f0/0x4f0 [ 191.940427][ T207] console_unlock+0xee/0x1f0 [ 191.940428][ T207] ? lock_acquire+0x13c/0x160 [ 191.940430][ T207] ? console_flush_one_record+0x710/0x710 [ 191.940431][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940432][ T207] ? lock_release+0x184/0x1f0 [ 191.940434][ T207] ? lock_acquire+0x60/0x160 [ 191.940436][ T207] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 191.940437][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 191.940439][ T207] ? vprintk_emit+0x320/0x3e0 [ 191.940441][ T207] vprintk_emit+0x37c/0x3e0 [ 191.940443][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 191.940444][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940446][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 191.940448][ T207] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 191.940450][ T207] ? __dev_queue_xmit+0x93b/0x1a20 [ 191.940452][ T207] ? __dev_queue_xmit+0x93b/0x1a20 [ 191.940454][ T207] ? trace_hardirqs_on+0x36/0x40 [ 191.940455][ T207] _printk+0xc7/0x100 [ 191.940458][ T207] ? snapshot_read.cold+0x21/0x21 [ 191.940460][ T207] ? kmalloc_reserve+0x103/0x2d0 [ 191.940463][ T207] ? netdev_name+0x43/0x60 [ 191.940465][ T207] ? __netdev_printk+0x17f/0x1d0 [ 191.940467][ T207] netdev_info+0xe2/0x116 [ 191.940469][ T207] ? netdev_notice+0x120/0x120 [ 191.940471][ T207] ? __netdev_alloc_skb+0x3e/0x970 [ 191.940473][ T207] bond_3ad_unbind_slave.cold+0xe0/0x3bf [ 191.940477][ T207] ? ad_agg_selection_logic+0x1b70/0x1b70 [ 191.940480][ T207] ? sync_rcu_exp_select_cpus+0x630/0x700 [ 191.940482][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 191.940483][ T207] ? sysfs_remove_files+0x90/0x120 [ 191.940486][ T207] __bond_release_one+0x7b0/0x970 [ 191.940492][ T207] ? lock_acquire+0x13c/0x160 [ 191.940494][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940496][ T207] ? bond_enslave+0x5100/0x5100 [ 191.940497][ T207] ? ipvlan_port_create+0x541/0x5a0 [ 191.940499][ T207] ? ipvlan_port_get+0xeb/0x3b0 [ 191.940500][ T207] ? ipvlan_port_create+0x5a0/0x5a0 [ 191.940502][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940504][ T207] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 191.940506][ T207] ? packet_sendmsg_spkt+0x1350/0x1350 [ 191.940509][ T207] bond_uninit+0x119/0x190 [ 191.940510][ T207] ? ip6_route_dev_notify+0x3d/0x380 [ 191.940513][ T207] ? bond_siocdevprivate+0x170/0x170 [ 191.940515][ T207] unregister_netdevice_many_notify+0xee7/0x1b40 [ 191.940518][ T207] ? unregister_netdevice_queued+0x80/0x80 [ 191.940519][ T207] ? trace_hardirqs_on+0x36/0x40 [ 191.940521][ T207] ? rtnl_is_locked+0x15/0x20 [ 191.940523][ T207] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 191.940526][ T207] ops_undo_list+0x615/0x8f0 [ 191.940528][ T207] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 191.940530][ T207] ? idr_destroy+0x121/0x250 [ 191.940533][ T207] cleanup_net+0x431/0x890 [ 191.940534][ T207] ? net_passive_dec+0x230/0x230 [ 191.940536][ T207] ? lock_acquire+0x13c/0x160 [ 191.940538][ T207] ? rcu_is_watching+0x16/0xd0 [ 191.940539][ T207] process_one_work+0xe3e/0x1560 [ 191.940542][ T207] ? __queue_delayed_work+0x470/0x470 [ 191.940544][ T207] ? __rwlock_init+0x150/0x150 [ 191.940546][ T207] worker_thread+0x4f1/0xd60 [ 191.940548][ T207] ? rescuer_thread+0x1340/0x1340 [ 191.940549][ T207] ? __kthread_parkme+0xbd/0x210 [ 191.940552][ T207] ? rescuer_thread+0x1340/0x1340 [ 191.940553][ T207] ? rescuer_thread+0x1340/0x1340 [ 191.940554][ T207] kthread+0x367/0x460 [ 191.940556][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 191.940557][ T207] ? kthread_affine_preferred+0x4c0/0x4c0 [ 191.940559][ T207] ret_from_fork+0x474/0x6b0 [ 191.940563][ T207] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 191.940565][ T207] ? __switch_to+0x5a3/0xe00 [ 191.940567][ T207] ? kthread_affine_preferred+0x4c0/0x4c0 [ 191.940569][ T207] ret_from_fork_asm+0x11/0x20 [ 191.940573][ T207] [ 191.958909][ T207] bond0 (unregistering): (slave eth0): Releasing backup interface [ 191.964053][ T207] bond0 (unregistering): Released all slaves [ 191.980873][ T207] bond0: (slave eth1): Removing an active aggregator [ 191.981166][ T207] bond0: (slave eth1): Releasing backup interface [ 192.030897][ T207] bond0 (unregistering): Released all slaves