[ 9.484484][ T189] ip (189) used greatest stack depth: 24208 bytes left [ 9.484499][ T189] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.484500][ T189] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 189, name: ip [ 9.484502][ T189] preempt_count: 2, expected: 0 [ 9.484503][ T189] RCU nest depth: 0, expected: 0 [ 9.484504][ T189] locks held by ip/189: 5, last CPU#2: [ 9.484506][ T189] #0: ffffffffa22027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.484517][ T189] #1: ffffffffa2399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.484522][ T189] #2: ffffffffa2399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.484526][ T189] #3: ffffffffa2289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.484529][ T189] #4: ffffffffa2289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.484532][ T189] irq event stamp: 36164 [ 9.484533][ T189] hardirqs last enabled at (36163): [] __down_trylock_console_sem+0x86/0xa0 [ 9.484536][ T189] hardirqs last disabled at (36164): [] console_emit_next_record+0x3f8/0x4f0 [ 9.484538][ T189] softirqs last enabled at (35012): [] handle_softirqs+0x67c/0x900 [ 9.484540][ T189] softirqs last disabled at (35005): [] __irq_exit_rcu+0x145/0x1c0 [ 9.484542][ T189] Preemption disabled at: [ 9.484543][ T189] [<0000000000000000>] 0x0 [ 9.484550][ T189] CPU: 2 UID: 0 PID: 189 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.484553][ T189] Tainted: [W]=WARN [ 9.484554][ T189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.484556][ T189] Call Trace: [ 9.484557][ T189] [ 9.484559][ T189] dump_stack_lvl+0x6f/0xa0 [ 9.484564][ T189] __might_resched.cold+0x1fe/0x2c1 [ 9.484569][ T189] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.484572][ T189] ? __kmalloc_noprof+0xdb/0x760 [ 9.484578][ T189] __kmalloc_noprof+0x443/0x760 [ 9.484580][ T189] ? alloc_buf.isra.0+0x4b/0x260 [ 9.484587][ T189] ? do_raw_spin_unlock+0x59/0x250 [ 9.484589][ T189] alloc_buf.isra.0+0x4b/0x260 [ 9.484592][ T189] put_chars+0x1e1/0x2f0 [ 9.484596][ T189] ? __send_to_port+0x420/0x420 [ 9.484598][ T189] ? printk_get_next_message+0x2fe/0x7d0 [ 9.484601][ T189] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.484604][ T189] ? validate_chain+0x38b/0xc20 [ 9.484609][ T189] hvc_console_print+0x292/0x780 [ 9.484613][ T189] ? __lock_acquire+0x518/0xc20 [ 9.484615][ T189] ? __lock_acquire+0x518/0xc20 [ 9.484619][ T189] ? hvc_write+0x3a0/0x3a0 [ 9.484623][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.484625][ T189] ? lock_acquire+0x13c/0x160 [ 9.484629][ T189] console_emit_next_record+0x252/0x4f0 [ 9.484633][ T189] ? devkmsg_read+0x4e0/0x4e0 [ 9.484637][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.484639][ T189] ? lock_acquire+0x13c/0x160 [ 9.484643][ T189] console_flush_one_record+0x46f/0x710 [ 9.484646][ T189] ? console_emit_next_record+0x4f0/0x4f0 [ 9.484648][ T189] ? __lock_acquire+0x518/0xc20 [ 9.484653][ T189] console_unlock+0xee/0x1f0 [ 9.484655][ T189] ? console_flush_one_record+0x710/0x710 [ 9.484656][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.484658][ T189] ? lock_acquire+0x60/0x160 [ 9.484662][ T189] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.484664][ T189] ? vprintk_emit+0x320/0x3e0 [ 9.484667][ T189] vprintk_emit+0x37c/0x3e0 [ 9.484670][ T189] ? wake_up_klogd_work_func+0x90/0x90 [ 9.484673][ T189] ? __lock_acquire+0x518/0xc20 [ 9.484677][ T189] _printk+0xc7/0x100 [ 9.484680][ T189] ? snapshot_read.cold+0x21/0x21 [ 9.484683][ T189] ? do_raw_spin_lock+0x131/0x280 [ 9.484685][ T189] ? __rwlock_init+0x150/0x150 [ 9.484688][ T189] ? do_raw_spin_lock+0x131/0x280 [ 9.484691][ T189] do_exit.cold+0x82/0x9c [ 9.484694][ T189] ? exit_notify+0x890/0x890 [ 9.484696][ T189] ? __lock_release.isra.0+0x69/0x1a0 [ 9.484699][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.484702][ T189] do_group_exit+0xb8/0x370 [ 9.484705][ T189] __x64_sys_exit_group+0x3c/0x50 [ 9.484707][ T189] x64_sys_call+0x1567/0x1570 [ 9.484710][ T189] do_syscall_64+0xff/0x530 [ 9.484713][ T189] ? exc_page_fault+0xee/0x100 [ 9.484716][ T189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.484718][ T189] RIP: 0033:0x7f9a921c21b8 [ 9.484720][ T189] Code: Unable to access opcode bytes at 0x7f9a921c218e. [ 9.484721][ T189] RSP: 002b:00007ffe7cf267b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.484724][ T189] RAX: ffffffffffffffda RBX: 00007f9a922f2f88 RCX: 00007f9a921c21b8 [ 9.484725][ T189] RDX: 00007f9a91f0cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.484726][ T189] RBP: 00007ffe7cf26810 R08: 0000000000000000 R09: 0000000000000000 [ 9.484727][ T189] R10: 00007ffe7cf265d0 R11: 0000000000000246 R12: 0000000000000001 [ 9.484727][ T189] R13: 0000000000000000 R14: 00007f9a922f1680 R15: 00007f9a922f2fa0 [ 9.484734][ T189] [ 9.671342][ T193] tc (193) used greatest stack depth: 24088 bytes left [ 9.818042][ T200] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 9.858025][ T201] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 9.930321][ T204] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 9.957260][ T205] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 77.214697][ T12] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 77.214787][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 77.214790][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 77.214792][ T12] preempt_count: 202, expected: 0 [ 77.214793][ T12] RCU nest depth: 2, expected: 0 [ 77.214795][ T12] locks held by kworker/u16:0/12: 9, last CPU#1: [ 77.214798][ T12] #0: ff1100000c8a3540 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 77.214811][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 77.214817][ T12] #2: ff1100000d25ae98 (&bond->mode_lock){+...}-{3:3}, at: bond_3ad_state_machine_handler+0xd2/0x1f00 [ 77.214824][ T12] #3: ffffffffa23b0b00 (rcu_read_lock){....}-{1:3}, at: bond_3ad_state_machine_handler+0xe9/0x1f00 [ 77.214829][ T12] #4: ffffffffa23b0b00 (rcu_read_lock){....}-{1:3}, at: ad_agg_selection_logic+0xdc/0x1b70 [ 77.214834][ T12] #5: ffffffffa2399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 77.214841][ T12] #6: ffffffffa2399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 77.214846][ T12] #7: ffffffffa2289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 77.214850][ T12] #8: ffffffffa2289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 77.214856][ T12] irq event stamp: 19031 [ 77.214857][ T12] hardirqs last enabled at (19030): [] __down_trylock_console_sem+0x86/0xa0 [ 77.214861][ T12] hardirqs last disabled at (19031): [] console_emit_next_record+0x3f8/0x4f0 [ 77.214864][ T12] softirqs last enabled at (19010): [] handle_softirqs+0x67c/0x900 [ 77.214868][ T12] softirqs last disabled at (19024): [] bond_3ad_state_machine_handler+0xd2/0x1f00 [ 77.214871][ T12] Preemption disabled at: [ 77.214872][ T12] [<0000000000000000>] 0x0 [ 77.214881][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 77.214886][ T12] Tainted: [W]=WARN [ 77.214887][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.214889][ T12] Workqueue: bond0 bond_3ad_state_machine_handler [ 77.214893][ T12] Call Trace: [ 77.214895][ T12] [ 77.214903][ T12] dump_stack_lvl+0x6f/0xa0 [ 77.214911][ T12] __might_resched.cold+0x1fe/0x2c1 [ 77.214917][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 77.214922][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 77.214929][ T12] __kmalloc_noprof+0x443/0x760 [ 77.214934][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 77.214943][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 77.214946][ T12] alloc_buf.isra.0+0x4b/0x260 [ 77.214952][ T12] put_chars+0x1e1/0x2f0 [ 77.214956][ T12] ? __send_to_port+0x420/0x420 [ 77.214965][ T12] ? validate_chain+0x34a/0xc20 [ 77.214971][ T12] hvc_console_print+0x292/0x780 [ 77.214976][ T12] ? mark_usage+0x61/0x170 [ 77.214979][ T12] ? __lock_acquire+0x518/0xc20 [ 77.214982][ T12] ? __lock_acquire+0x518/0xc20 [ 77.214989][ T12] ? hvc_write+0x3a0/0x3a0 [ 77.214993][ T12] ? console_emit_next_record+0x202/0x4f0 [ 77.214998][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.215003][ T12] ? lock_acquire+0x13c/0x160 [ 77.215010][ T12] console_emit_next_record+0x252/0x4f0 [ 77.215016][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 77.215023][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.215026][ T12] ? lock_acquire+0x13c/0x160 [ 77.215033][ T12] console_flush_one_record+0x46f/0x710 [ 77.215040][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 77.215042][ T12] ? __lock_acquire+0x518/0xc20 [ 77.215052][ T12] console_unlock+0xee/0x1f0 [ 77.215056][ T12] ? console_flush_one_record+0x710/0x710 [ 77.215058][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.215061][ T12] ? lock_acquire+0x60/0x160 [ 77.215066][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 77.215069][ T12] ? vprintk_emit+0x320/0x3e0 [ 77.215074][ T12] vprintk_emit+0x37c/0x3e0 [ 77.215080][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 77.215084][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 77.215092][ T12] _printk+0xc7/0x100 [ 77.215097][ T12] ? snapshot_read.cold+0x21/0x21 [ 77.215099][ T12] ? ___ratelimit+0x4e7/0xa00 [ 77.215113][ T12] ? idr_get_free+0x830/0x830 [ 77.215121][ T12] ad_agg_selection_logic.cold+0x120/0x16c [ 77.215131][ T12] ? find_held_lock+0x2b/0x80 [ 77.215136][ T12] ? bond_3ad_set_carrier+0x5f0/0x5f0 [ 77.215141][ T12] ? __get_first_agg.isra.0+0xda/0x1c0 [ 77.215148][ T12] ad_port_selection_logic+0x8a8/0x1820 [ 77.215156][ T12] ? bond_3ad_unbind_slave+0x1f80/0x1f80 [ 77.215161][ T12] ? ad_rx_machine+0x282/0x1950 [ 77.215168][ T12] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 77.215177][ T12] ? ad_mux_machine+0x1b50/0x1b50 [ 77.215179][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 77.215183][ T12] ? process_one_work+0xd80/0x1560 [ 77.215188][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.215190][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.215193][ T12] ? lock_acquire+0x13c/0x160 [ 77.215196][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.215202][ T12] process_one_work+0xe3e/0x1560 [ 77.215213][ T12] ? __queue_delayed_work+0x470/0x470 [ 77.215218][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 77.215232][ T12] worker_thread+0x4f1/0xd60 [ 77.215244][ T12] ? rescuer_thread+0x1340/0x1340 [ 77.215246][ T12] kthread+0x367/0x460 [ 77.215250][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 77.215255][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.215260][ T12] ret_from_fork+0x474/0x6b0 [ 77.215266][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 77.215272][ T12] ? __switch_to+0x5a3/0xe00 [ 77.215277][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.215282][ T12] ret_from_fork_asm+0x11/0x20 [ 77.215297][ T12] [ 77.252655][ T12] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 77.253648][ T12] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 77.258183][ T12] bond0: active interface up! [ 77.461097][ C0] [ 77.461252][ C0] ======================================================== [ 77.461475][ C0] WARNING: possible irq lock inversion dependency detected [ 77.461679][ C0] 7.2.0-virtme #1 Tainted: G W [ 77.461851][ C0] -------------------------------------------------------- [ 77.462065][ C0] kworker/u16:0/12 just changed the state of lock: [ 77.462249][ C0] ff1100000c85ae98 (&bond->mode_lock){+.-.}-{3:3}, at: bond_3ad_rx_indication+0x242/0x8e0 [ 77.462492][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 77.462693][ C0] (fs_reclaim){+.+.}-{0:0} [ 77.462696][ C0] [ 77.462696][ C0] [ 77.462696][ C0] and interrupts could create inverse lock ordering between them. [ 77.462696][ C0] [ 77.463208][ C0] [ 77.463208][ C0] other info that might help us debug this: [ 77.463417][ C0] Chain exists of: [ 77.463417][ C0] &bond->mode_lock --> console_owner --> fs_reclaim [ 77.463417][ C0] [ 77.463734][ C0] Possible interrupt unsafe locking scenario: [ 77.463734][ C0] [ 77.463933][ C0] CPU0 CPU1 [ 77.464069][ C0] ---- ---- [ 77.464206][ C0] lock(fs_reclaim); [ 77.464307][ C0] local_irq_disable(); [ 77.464475][ C0] lock(&bond->mode_lock); [ 77.464650][ C0] lock(console_owner); [ 77.464817][ C0] [ 77.464921][ C0] lock(&bond->mode_lock); [ 77.465062][ C0] [ 77.465062][ C0] *** DEADLOCK *** [ 77.465062][ C0] [ 77.465266][ C0] locks held by kworker/u16:0/12: 3, last CPU#0: [ 77.465434][ C0] #0: ff1100000c8a3540 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 77.465717][ C0] #1: ffa00000000c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 77.466021][ C0] #2: ffffffffa23b0b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 77.466264][ C0] [ 77.466264][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 77.466497][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 77.466634][ C0] HARDIRQ-ON-W at: [ 77.466737][ C0] __lock_acquire+0x388/0xc20 [ 77.466913][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.467085][ C0] fs_reclaim_acquire+0xd5/0x120 [ 77.467262][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 77.467470][ C0] kthread_create_worker_on_node+0xea/0x210 [ 77.467673][ C0] workqueue_init+0x2a/0x680 [ 77.467842][ C0] kernel_init_freeable+0x2fe/0x630 [ 77.468044][ C0] kernel_init+0x21/0x150 [ 77.468219][ C0] ret_from_fork+0x474/0x6b0 [ 77.468388][ C0] ret_from_fork_asm+0x11/0x20 [ 77.468559][ C0] SOFTIRQ-ON-W at: [ 77.468663][ C0] __lock_acquire+0x388/0xc20 [ 77.468833][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.469001][ C0] fs_reclaim_acquire+0xd5/0x120 [ 77.469173][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 77.469378][ C0] kthread_create_worker_on_node+0xea/0x210 [ 77.469581][ C0] workqueue_init+0x2a/0x680 [ 77.469748][ C0] kernel_init_freeable+0x2fe/0x630 [ 77.469952][ C0] kernel_init+0x21/0x150 [ 77.470132][ C0] ret_from_fork+0x474/0x6b0 [ 77.470305][ C0] ret_from_fork_asm+0x11/0x20 [ 77.470473][ C0] INITIAL USE at: [ 77.470572][ C0] __lock_acquire+0x388/0xc20 [ 77.470739][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.470913][ C0] fs_reclaim_acquire+0xd5/0x120 [ 77.471080][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 77.471284][ C0] kthread_create_worker_on_node+0xea/0x210 [ 77.471484][ C0] workqueue_init+0x2a/0x680 [ 77.471651][ C0] kernel_init_freeable+0x2fe/0x630 [ 77.471819][ C0] kernel_init+0x21/0x150 [ 77.471986][ C0] ret_from_fork+0x474/0x6b0 [ 77.472156][ C0] ret_from_fork_asm+0x11/0x20 [ 77.472323][ C0] } [ 77.472395][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 77.472599][ C0] ... acquired at: [ 77.472706][ C0] __lock_acquire+0x518/0xc20 [ 77.472843][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.472979][ C0] fs_reclaim_acquire+0xd5/0x120 [ 77.473115][ C0] __kmalloc_noprof+0xd3/0x760 [ 77.473247][ C0] alloc_buf.isra.0+0x4b/0x260 [ 77.473382][ C0] put_chars+0x1e1/0x2f0 [ 77.473518][ C0] hvc_console_print+0x292/0x780 [ 77.473652][ C0] console_emit_next_record+0x252/0x4f0 [ 77.473788][ C0] console_flush_one_record+0x46f/0x710 [ 77.473919][ C0] console_unlock+0xee/0x1f0 [ 77.474054][ C0] vprintk_emit+0x37c/0x3e0 [ 77.474190][ C0] _printk+0xc7/0x100 [ 77.474292][ C0] i8042_pnp_init+0xf7/0x3c0 [ 77.474428][ C0] i8042_platform_init+0x3f9/0x460 [ 77.474563][ C0] i8042_init+0x45/0x130 [ 77.474696][ C0] do_one_initcall+0x124/0x4f0 [ 77.474830][ C0] kernel_init_freeable+0x596/0x630 [ 77.474966][ C0] kernel_init+0x21/0x150 [ 77.475107][ C0] ret_from_fork+0x474/0x6b0 [ 77.475240][ C0] ret_from_fork_asm+0x11/0x20 [ 77.475373][ C0] [ 77.475442][ C0] -> (console_owner){....}-{0:0} { [ 77.475576][ C0] INITIAL USE at: [ 77.475684][ C0] } [ 77.475750][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 77.475948][ C0] ... acquired at: [ 77.476046][ C0] __lock_acquire+0x518/0xc20 [ 77.476185][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.476316][ C0] console_lock_spinning_enable+0x5c/0x60 [ 77.476481][ C0] console_emit_next_record+0x1f4/0x4f0 [ 77.476614][ C0] console_flush_one_record+0x46f/0x710 [ 77.476746][ C0] console_unlock+0xee/0x1f0 [ 77.476877][ C0] vprintk_emit+0x37c/0x3e0 [ 77.477009][ C0] _printk+0xc7/0x100 [ 77.477112][ C0] ad_agg_selection_logic.cold+0x120/0x16c [ 77.477281][ C0] ad_port_selection_logic+0x8a8/0x1820 [ 77.477412][ C0] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 77.477576][ C0] process_one_work+0xe3e/0x1560 [ 77.477708][ C0] worker_thread+0x4f1/0xd60 [ 77.477840][ C0] kthread+0x367/0x460 [ 77.477940][ C0] ret_from_fork+0x474/0x6b0 [ 77.478072][ C0] ret_from_fork_asm+0x11/0x20 [ 77.478205][ C0] [ 77.478271][ C0] -> (&bond->mode_lock){+.-.}-{3:3} { [ 77.478404][ C0] HARDIRQ-ON-W at: [ 77.478506][ C0] __lock_acquire+0x388/0xc20 [ 77.478674][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.478845][ C0] _raw_spin_lock_bh+0x38/0x50 [ 77.479011][ C0] bond_3ad_update_lacp_active+0xb8/0x260 [ 77.479215][ C0] bond_option_lacp_active_set+0x77/0x1f0 [ 77.479421][ C0] __bond_opt_set+0x1b1/0x390 [ 77.479588][ C0] bond_changelink+0x1504/0x23e0 [ 77.479754][ C0] bond_newlink+0x9e/0xf0 [ 77.479924][ C0] rtnl_newlink_create+0x2d0/0x850 [ 77.480092][ C0] __rtnl_newlink+0x22b/0xa50 [ 77.480263][ C0] rtnl_newlink+0x9f1/0x11b0 [ 77.480429][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 77.480604][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 77.480772][ C0] netlink_unicast+0x486/0x750 [ 77.480940][ C0] netlink_sendmsg+0x735/0xc60 [ 77.481112][ C0] ____sys_sendmsg+0x415/0x880 [ 77.481279][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 77.481446][ C0] __sys_sendmsg+0x12c/0x1d0 [ 77.481615][ C0] do_syscall_64+0xff/0x530 [ 77.481782][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 77.481980][ C0] IN-SOFTIRQ-W at: [ 77.482082][ C0] __lock_acquire+0x388/0xc20 [ 77.482247][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.482413][ C0] _raw_spin_lock+0x33/0x40 [ 77.482576][ C0] bond_3ad_rx_indication+0x242/0x8e0 [ 77.482744][ C0] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.482910][ C0] bond_handle_frame+0x16b/0xca0 [ 77.483079][ C0] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.483290][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 77.483494][ C0] process_backlog+0x431/0x14c0 [ 77.483667][ C0] __napi_poll+0xa7/0x3b0 [ 77.483836][ C0] net_rx_action+0x513/0xf50 [ 77.484005][ C0] handle_softirqs+0x1d3/0x900 [ 77.484182][ C0] do_softirq+0xac/0xe0 [ 77.484353][ C0] __local_bh_enable_ip+0x118/0x150 [ 77.484520][ C0] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.484734][ C0] process_one_work+0xe3e/0x1560 [ 77.484918][ C0] worker_thread+0x4f1/0xd60 [ 77.485101][ C0] kthread+0x367/0x460 [ 77.485255][ C0] ret_from_fork+0x474/0x6b0 [ 77.485439][ C0] ret_from_fork_asm+0x11/0x20 [ 77.485615][ C0] INITIAL USE at: [ 77.485715][ C0] __lock_acquire+0x388/0xc20 [ 77.485886][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.486057][ C0] _raw_spin_lock_bh+0x38/0x50 [ 77.486229][ C0] bond_3ad_update_lacp_active+0xb8/0x260 [ 77.486436][ C0] bond_option_lacp_active_set+0x77/0x1f0 [ 77.486692][ C0] __bond_opt_set+0x1b1/0x390 [ 77.486907][ C0] bond_changelink+0x1504/0x23e0 [ 77.487075][ C0] bond_newlink+0x9e/0xf0 [ 77.487291][ C0] rtnl_newlink_create+0x2d0/0x850 [ 77.487511][ C0] __rtnl_newlink+0x22b/0xa50 [ 77.487685][ C0] rtnl_newlink+0x9f1/0x11b0 [ 77.487904][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 77.488120][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 77.488298][ C0] netlink_unicast+0x486/0x750 [ 77.488519][ C0] netlink_sendmsg+0x735/0xc60 [ 77.488695][ C0] ____sys_sendmsg+0x415/0x880 [ 77.488916][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 77.489135][ C0] __sys_sendmsg+0x12c/0x1d0 [ 77.489302][ C0] do_syscall_64+0xff/0x530 [ 77.489521][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 77.489770][ C0] } [ 77.489843][ C0] ... key at: [] __key.27+0x0/0x40 [ 77.490092][ C0] ... acquired at: [ 77.490197][ C0] mark_lock+0x1d7/0xa00 [ 77.490375][ C0] mark_usage+0x42/0x170 [ 77.490511][ C0] __lock_acquire+0x388/0xc20 [ 77.490688][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.490829][ C0] _raw_spin_lock+0x33/0x40 [ 77.491009][ C0] bond_3ad_rx_indication+0x242/0x8e0 [ 77.491148][ C0] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.491323][ C0] bond_handle_frame+0x16b/0xca0 [ 77.491458][ C0] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.491673][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 77.491848][ C0] process_backlog+0x431/0x14c0 [ 77.491993][ C0] __napi_poll+0xa7/0x3b0 [ 77.492141][ C0] net_rx_action+0x513/0xf50 [ 77.492276][ C0] handle_softirqs+0x1d3/0x900 [ 77.492418][ C0] do_softirq+0xac/0xe0 [ 77.492527][ C0] __local_bh_enable_ip+0x118/0x150 [ 77.492672][ C0] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.492894][ C0] process_one_work+0xe3e/0x1560 [ 77.493081][ C0] worker_thread+0x4f1/0xd60 [ 77.493279][ C0] kthread+0x367/0x460 [ 77.493440][ C0] ret_from_fork+0x474/0x6b0 [ 77.493631][ C0] ret_from_fork_asm+0x11/0x20 [ 77.493773][ C0] [ 77.493846][ C0] [ 77.493846][ C0] stack backtrace: [ 77.494078][ C0] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 77.494082][ C0] Tainted: [W]=WARN [ 77.494083][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.494085][ C0] Workqueue: bond0 bond_3ad_state_machine_handler [ 77.494089][ C0] Call Trace: [ 77.494091][ C0] [ 77.494092][ C0] dump_stack_lvl+0x6f/0xa0 [ 77.494095][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 77.494098][ C0] mark_lock_irq+0x989/0x9c0 [ 77.494100][ C0] ? __lock_acquire+0x518/0xc20 [ 77.494107][ C0] mark_lock+0x1d7/0xa00 [ 77.494109][ C0] mark_usage+0x42/0x170 [ 77.494111][ C0] __lock_acquire+0x388/0xc20 [ 77.494113][ C0] ? is_bpf_text_address+0x72/0x110 [ 77.494116][ C0] ? x86_64_start_kernel+0x12b/0x130 [ 77.494120][ C0] ? x86_64_start_kernel+0x12b/0x130 [ 77.494122][ C0] lock_acquire.part.0+0xd4/0x280 [ 77.494124][ C0] ? bond_3ad_rx_indication+0x242/0x8e0 [ 77.494126][ C0] ? rcu_is_watching+0x16/0xd0 [ 77.494129][ C0] ? lock_acquire+0x13c/0x160 [ 77.494131][ C0] _raw_spin_lock+0x33/0x40 [ 77.494133][ C0] ? bond_3ad_rx_indication+0x242/0x8e0 [ 77.494134][ C0] bond_3ad_rx_indication+0x242/0x8e0 [ 77.494135][ C0] ? update_load_avg+0x827/0xf00 [ 77.494139][ C0] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.494140][ C0] ? bond_3ad_get_active_agg_info+0x120/0x120 [ 77.494143][ C0] bond_handle_frame+0x16b/0xca0 [ 77.494145][ C0] ? bond_net_exit_batch+0x2a0/0x2a0 [ 77.494147][ C0] ? bond_net_exit_batch+0x2a0/0x2a0 [ 77.494149][ C0] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.494151][ C0] ? select_fallback_rq+0x510/0x510 [ 77.494154][ C0] ? find_held_lock+0x2b/0x80 [ 77.494155][ C0] ? do_xdp_generic+0x4a0/0x4a0 [ 77.494157][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 77.494160][ C0] ? mark_usage+0x61/0x170 [ 77.494161][ C0] ? __lock_acquire+0x518/0xc20 [ 77.494164][ C0] ? process_backlog+0x3f1/0x14c0 [ 77.494165][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 77.494167][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 77.494168][ C0] ? process_backlog+0x3f1/0x14c0 [ 77.494170][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 77.494171][ C0] ? rcu_is_watching+0x16/0xd0 [ 77.494173][ C0] process_backlog+0x431/0x14c0 [ 77.494176][ C0] __napi_poll+0xa7/0x3b0 [ 77.494177][ C0] net_rx_action+0x513/0xf50 [ 77.494180][ C0] ? __napi_poll+0x3b0/0x3b0 [ 77.494182][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 77.494184][ C0] ? __rwlock_init+0x150/0x150 [ 77.494186][ C0] ? __run_timers+0xaa0/0xaa0 [ 77.494188][ C0] ? rcu_is_watching+0x16/0xd0 [ 77.494190][ C0] ? mark_held_locks+0x40/0x70 [ 77.494192][ C0] handle_softirqs+0x1d3/0x900 [ 77.494194][ C0] ? _local_bh_enable+0xc0/0xc0 [ 77.494196][ C0] ? _local_bh_enable+0xc0/0xc0 [ 77.494198][ C0] do_softirq+0xac/0xe0 [ 77.494200][ C0] [ 77.494200][ C0] [ 77.494201][ C0] __local_bh_enable_ip+0x118/0x150 [ 77.494203][ C0] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.494205][ C0] ? ad_mux_machine+0x1b50/0x1b50 [ 77.494206][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 77.494208][ C0] ? process_one_work+0xd80/0x1560 [ 77.494209][ C0] ? rcu_is_watching+0x16/0xd0 [ 77.494211][ C0] ? rcu_is_watching+0x16/0xd0 [ 77.494212][ C0] ? lock_acquire+0x13c/0x160 [ 77.494214][ C0] ? rcu_is_watching+0x16/0xd0 [ 77.494215][ C0] process_one_work+0xe3e/0x1560 [ 77.494217][ C0] ? __queue_delayed_work+0x470/0x470 [ 77.494219][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 77.494222][ C0] worker_thread+0x4f1/0xd60 [ 77.494224][ C0] ? rescuer_thread+0x1340/0x1340 [ 77.494225][ C0] kthread+0x367/0x460 [ 77.494227][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 77.494230][ C0] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.494233][ C0] ret_from_fork+0x474/0x6b0 [ 77.494235][ C0] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 77.494237][ C0] ? __switch_to+0x5a3/0xe00 [ 77.494240][ C0] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.494242][ C0] ret_from_fork_asm+0x11/0x20 [ 77.494245][ C0] [ 90.108163][ T3329] bond0: (slave eth0): Releasing backup interface [ 90.108181][ T3329] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 90.108184][ T3329] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3329, name: ip [ 90.108186][ T3329] preempt_count: 1, expected: 0 [ 90.108187][ T3329] RCU nest depth: 0, expected: 0 [ 90.108187][ T3329] INFO: lockdep is turned off. [ 90.108189][ T3329] irq event stamp: 0 [ 90.108189][ T3329] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 90.108194][ T3329] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 90.108201][ T3329] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 90.108203][ T3329] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 90.108204][ T3329] Preemption disabled at: [ 90.108205][ T3329] [] vprintk_emit+0x31b/0x3e0 [ 90.108213][ T3329] CPU: 0 UID: 0 PID: 3329 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 90.108216][ T3329] Tainted: [W]=WARN [ 90.108217][ T3329] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 90.108219][ T3329] Call Trace: [ 90.108220][ T3329] [ 90.108222][ T3329] dump_stack_lvl+0x6f/0xa0 [ 90.108227][ T3329] ? vprintk_emit+0x31b/0x3e0 [ 90.108229][ T3329] __might_resched.cold+0x1fe/0x2c1 [ 90.108233][ T3329] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 90.108236][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108239][ T3329] __kmalloc_noprof+0x443/0x760 [ 90.108243][ T3329] ? __rwlock_init+0x150/0x150 [ 90.108245][ T3329] ? alloc_buf.isra.0+0x4b/0x260 [ 90.108250][ T3329] ? do_raw_spin_unlock+0x59/0x250 [ 90.108251][ T3329] alloc_buf.isra.0+0x4b/0x260 [ 90.108254][ T3329] put_chars+0x1e1/0x2f0 [ 90.108256][ T3329] ? __send_to_port+0x420/0x420 [ 90.108258][ T3329] ? desc_read+0x2f0/0x2f0 [ 90.108261][ T3329] ? console_prepend_replay+0x20/0x20 [ 90.108262][ T3329] ? desc_read+0x219/0x2f0 [ 90.108264][ T3329] hvc_console_print+0x292/0x780 [ 90.108268][ T3329] ? _prb_read_valid+0x450/0x6e0 [ 90.108270][ T3329] ? hvc_write+0x3a0/0x3a0 [ 90.108272][ T3329] ? do_raw_spin_lock+0x131/0x280 [ 90.108273][ T3329] ? __rwlock_init+0x150/0x150 [ 90.108275][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108276][ T3329] ? lock_acquire+0x13c/0x160 [ 90.108279][ T3329] console_emit_next_record+0x252/0x4f0 [ 90.108281][ T3329] ? devkmsg_read+0x4e0/0x4e0 [ 90.108282][ T3329] ? _prb_read_valid+0x6e0/0x6e0 [ 90.108284][ T3329] ? __asan_memmove+0x3c/0x60 [ 90.108287][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108288][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108289][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108290][ T3329] ? lock_acquire+0x13c/0x160 [ 90.108292][ T3329] ? console_flush_one_record+0x111/0x710 [ 90.108294][ T3329] console_flush_one_record+0x46f/0x710 [ 90.108296][ T3329] ? console_emit_next_record+0x4f0/0x4f0 [ 90.108298][ T3329] console_unlock+0xee/0x1f0 [ 90.108299][ T3329] ? lock_acquire+0x13c/0x160 [ 90.108301][ T3329] ? console_flush_one_record+0x710/0x710 [ 90.108302][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108304][ T3329] ? lock_release+0x184/0x1f0 [ 90.108305][ T3329] ? lock_acquire+0x60/0x160 [ 90.108307][ T3329] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 90.108309][ T3329] ? __down_trylock_console_sem+0x5e/0xa0 [ 90.108311][ T3329] ? vprintk_emit+0x320/0x3e0 [ 90.108313][ T3329] vprintk_emit+0x37c/0x3e0 [ 90.108315][ T3329] ? wake_up_klogd_work_func+0x90/0x90 [ 90.108316][ T3329] ? do_raw_spin_lock+0x131/0x280 [ 90.108318][ T3329] ? __rwlock_init+0x150/0x150 [ 90.108319][ T3329] _printk+0xc7/0x100 [ 90.108322][ T3329] ? snapshot_read.cold+0x21/0x21 [ 90.108324][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108326][ T3329] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 90.108329][ T3329] ? do_raw_spin_unlock+0x59/0x250 [ 90.108330][ T3329] ? trace_hardirqs_on+0x36/0x40 [ 90.108331][ T3329] ? netdev_name+0x43/0x60 [ 90.108334][ T3329] ? __netdev_printk+0x17f/0x1d0 [ 90.108336][ T3329] netdev_info+0xe2/0x116 [ 90.108337][ T3329] ? netdev_notice+0x120/0x120 [ 90.108340][ T3329] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 90.108343][ T3329] ? trace_irq_enable.constprop.0+0x30/0x160 [ 90.108345][ T3329] __bond_release_one.cold+0x80/0xa60 [ 90.108349][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108351][ T3329] ? bond_enslave+0x5100/0x5100 [ 90.108354][ T3329] ? lock_release+0x184/0x1f0 [ 90.108356][ T3329] ? unwind_next_frame+0x69b/0x1ea0 [ 90.108359][ T3329] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.108362][ T3329] ? kernel_text_address+0x149/0x170 [ 90.108365][ T3329] do_set_master+0x15c/0x780 [ 90.108368][ T3329] do_setlink.isra.0+0x9ec/0x2a60 [ 90.108370][ T3329] ? stack_trace_save+0x93/0xc0 [ 90.108373][ T3329] ? rtnl_link_get_size+0x350/0x350 [ 90.108375][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108376][ T3329] ? stack_depot_save_flags+0x1bc/0x790 [ 90.108380][ T3329] ? kasan_save_stack+0x3d/0x50 [ 90.108382][ T3329] ? kasan_save_stack+0x2f/0x50 [ 90.108383][ T3329] ? kasan_save_track+0x14/0x30 [ 90.108384][ T3329] ? __kasan_kmalloc+0x7b/0x90 [ 90.108385][ T3329] ? __kmalloc_cache_noprof+0x29a/0x620 [ 90.108387][ T3329] ? rtnl_newlink+0x124/0x11b0 [ 90.108388][ T3329] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 90.108390][ T3329] ? netlink_rcv_skb+0x14e/0x3a0 [ 90.108393][ T3329] ? netlink_unicast+0x486/0x750 [ 90.108394][ T3329] ? netlink_sendmsg+0x735/0xc60 [ 90.108395][ T3329] ? ____sys_sendmsg+0x415/0x880 [ 90.108398][ T3329] ? ___sys_sendmsg+0x14e/0x1d0 [ 90.108399][ T3329] ? __sys_sendmsg+0x12c/0x1d0 [ 90.108401][ T3329] ? do_syscall_64+0xff/0x530 [ 90.108403][ T3329] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.108405][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108407][ T3329] ? lock_acquire+0x13c/0x160 [ 90.108409][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108410][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108411][ T3329] ? trace_contention_end+0xb3/0x180 [ 90.108413][ T3329] ? __mutex_lock+0x1db/0x1ea0 [ 90.108415][ T3329] ? __mutex_lock+0x9a3/0x1ea0 [ 90.108417][ T3329] ? rtnl_newlink+0x9a8/0x11b0 [ 90.108419][ T3329] ? ww_mutex_lock+0x160/0x160 [ 90.108420][ T3329] ? nla_get_range_signed+0x3d0/0x3d0 [ 90.108424][ T3329] ? __rtnl_newlink+0x3fa/0xa50 [ 90.108426][ T3329] rtnl_newlink+0x9f1/0x11b0 [ 90.108429][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108430][ T3329] ? rtnl_bridge_getlink+0x850/0x850 [ 90.108432][ T3329] ? lock_acquire+0x13c/0x160 [ 90.108434][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108435][ T3329] ? is_bpf_text_address+0x3e/0x110 [ 90.108438][ T3329] ? is_bpf_text_address+0x72/0x110 [ 90.108439][ T3329] ? kernel_text_address+0x149/0x170 [ 90.108441][ T3329] ? __kernel_text_address+0x12/0x30 [ 90.108443][ T3329] ? write_profile+0xf0/0xf0 [ 90.108444][ T3329] ? unwind_get_return_address+0x67/0xd0 [ 90.108446][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108448][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108449][ T3329] ? cap_capable+0x1d7/0x3d0 [ 90.108452][ T3329] ? lock_acquire+0x13c/0x160 [ 90.108454][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108455][ T3329] ? rtnl_bridge_getlink+0x850/0x850 [ 90.108457][ T3329] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 90.108459][ T3329] ? rtnl_link_fill+0x900/0x900 [ 90.108461][ T3329] ? filter_irq_stacks+0xd0/0xd0 [ 90.108463][ T3329] ? stack_depot_save_flags+0x1bc/0x790 [ 90.108465][ T3329] netlink_rcv_skb+0x14e/0x3a0 [ 90.108467][ T3329] ? rtnl_link_fill+0x900/0x900 [ 90.108469][ T3329] ? lock_release+0x184/0x1f0 [ 90.108471][ T3329] ? netlink_ack+0xcd0/0xcd0 [ 90.108472][ T3329] ? __netlink_lookup+0xb9/0x6b0 [ 90.108475][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108476][ T3329] ? lock_release+0x184/0x1f0 [ 90.108478][ T3329] netlink_unicast+0x486/0x750 [ 90.108481][ T3329] ? netlink_attachskb+0x810/0x810 [ 90.108482][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108483][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108485][ T3329] ? lock_acquire+0x13c/0x160 [ 90.108487][ T3329] netlink_sendmsg+0x735/0xc60 [ 90.108489][ T3329] ? netlink_unicast+0x750/0x750 [ 90.108491][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108492][ T3329] ? lock_release+0x184/0x1f0 [ 90.108494][ T3329] ____sys_sendmsg+0x415/0x880 [ 90.108496][ T3329] ? copy_msghdr_from_user+0x279/0x420 [ 90.108497][ T3329] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 90.108499][ T3329] ? move_addr_to_kernel+0x40/0x40 [ 90.108500][ T3329] ? filter_irq_stacks+0xd0/0xd0 [ 90.108503][ T3329] ___sys_sendmsg+0x14e/0x1d0 [ 90.108505][ T3329] ? copy_msghdr_from_user+0x420/0x420 [ 90.108509][ T3329] __sys_sendmsg+0x12c/0x1d0 [ 90.108511][ T3329] ? __sys_sendmsg_sock+0x20/0x20 [ 90.108514][ T3329] ? rcu_is_watching+0x16/0xd0 [ 90.108515][ T3329] do_syscall_64+0xff/0x530 [ 90.108516][ T3329] ? exc_page_fault+0xee/0x100 [ 90.108519][ T3329] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.108521][ T3329] RIP: 0033:0x7fae0890654e [ 90.108523][ T3329] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 90.108525][ T3329] RSP: 002b:00007ffd23b53740 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 90.108528][ T3329] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fae0890654e [ 90.108530][ T3329] RDX: 0000000000000000 RSI: 00007ffd23b537f0 RDI: 0000000000000005 [ 90.108530][ T3329] RBP: 00007ffd23b53750 R08: 0000000000000000 R09: 0000000000000000 [ 90.108531][ T3329] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91c2a9 [ 90.108532][ T3329] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd23b53ec0 [ 90.108535][ T3329] [ 90.136703][ T3329] bond0: (slave eth0): the permanent HWaddr of slave - 52:03:81:7f:59:92 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 90.137075][ T3329] bond0: active interface up! [ 90.147943][ T3329] ip (3329) used greatest stack depth: 22888 bytes left [ 90.189447][ T3331] bond0: (slave eth1): Releasing backup interface [ 192.656460][ T70] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 192.656478][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 192.656480][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 192.656482][ T70] preempt_count: 202, expected: 0 [ 192.656482][ T70] RCU nest depth: 0, expected: 0 [ 192.656483][ T70] INFO: lockdep is turned off. [ 192.656485][ T70] irq event stamp: 16 [ 192.656485][ T70] hardirqs last enabled at (15): [] _raw_spin_unlock_irq+0x28/0x50 [ 192.656494][ T70] hardirqs last disabled at (16): [] __schedule+0x1246/0x20e0 [ 192.656497][ T70] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 192.656501][ T70] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 192.656504][ T70] Preemption disabled at: [ 192.656505][ T70] [<0000000000000000>] 0x0 [ 192.656509][ T70] CPU: 2 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 192.656513][ T70] Tainted: [W]=WARN [ 192.656514][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 192.656516][ T70] Workqueue: netns cleanup_net [ 192.656522][ T70] Call Trace: [ 192.656523][ T70] [ 192.656525][ T70] dump_stack_lvl+0x6f/0xa0 [ 192.656530][ T70] __might_resched.cold+0x1fe/0x2c1 [ 192.656537][ T70] ? __asan_memcpy+0x3c/0x60 [ 192.656540][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 192.656543][ T70] ? record_print_text+0x2fc/0x3e0 [ 192.656546][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656549][ T70] __kmalloc_noprof+0x443/0x760 [ 192.656552][ T70] ? __rwlock_init+0x150/0x150 [ 192.656554][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 192.656558][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 192.656559][ T70] alloc_buf.isra.0+0x4b/0x260 [ 192.656561][ T70] put_chars+0x1e1/0x2f0 [ 192.656564][ T70] ? __send_to_port+0x420/0x420 [ 192.656566][ T70] ? desc_read+0x219/0x2f0 [ 192.656569][ T70] hvc_console_print+0x292/0x780 [ 192.656573][ T70] ? hvc_write+0x3a0/0x3a0 [ 192.656574][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656575][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656577][ T70] ? lock_acquire+0x13c/0x160 [ 192.656579][ T70] console_emit_next_record+0x252/0x4f0 [ 192.656582][ T70] ? devkmsg_read+0x4e0/0x4e0 [ 192.656583][ T70] ? _prb_read_valid+0x6e0/0x6e0 [ 192.656585][ T70] ? __asan_memmove+0x3c/0x60 [ 192.656586][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656587][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656588][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656589][ T70] ? lock_acquire+0x13c/0x160 [ 192.656591][ T70] ? console_flush_one_record+0x111/0x710 [ 192.656593][ T70] console_flush_one_record+0x46f/0x710 [ 192.656595][ T70] ? console_emit_next_record+0x4f0/0x4f0 [ 192.656597][ T70] console_unlock+0xee/0x1f0 [ 192.656598][ T70] ? lock_acquire+0x13c/0x160 [ 192.656600][ T70] ? console_flush_one_record+0x710/0x710 [ 192.656601][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656602][ T70] ? lock_release+0x184/0x1f0 [ 192.656604][ T70] ? lock_acquire+0x60/0x160 [ 192.656605][ T70] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 192.656607][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 192.656609][ T70] ? vprintk_emit+0x320/0x3e0 [ 192.656610][ T70] vprintk_emit+0x37c/0x3e0 [ 192.656612][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 192.656613][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656615][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 192.656618][ T70] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 192.656619][ T70] ? __dev_queue_xmit+0x93b/0x1a20 [ 192.656622][ T70] ? __dev_queue_xmit+0x93b/0x1a20 [ 192.656623][ T70] ? trace_hardirqs_on+0x36/0x40 [ 192.656625][ T70] _printk+0xc7/0x100 [ 192.656628][ T70] ? snapshot_read.cold+0x21/0x21 [ 192.656629][ T70] ? kmalloc_reserve+0x103/0x2d0 [ 192.656632][ T70] ? netdev_name+0x43/0x60 [ 192.656634][ T70] ? __netdev_printk+0x17f/0x1d0 [ 192.656636][ T70] netdev_info+0xe2/0x116 [ 192.656638][ T70] ? netdev_notice+0x120/0x120 [ 192.656640][ T70] ? __netdev_alloc_skb+0x3e/0x970 [ 192.656642][ T70] bond_3ad_unbind_slave.cold+0xe0/0x3bf [ 192.656646][ T70] ? ad_agg_selection_logic+0x1b70/0x1b70 [ 192.656649][ T70] ? sync_rcu_exp_select_cpus+0x630/0x700 [ 192.656651][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 192.656652][ T70] ? sysfs_remove_files+0x90/0x120 [ 192.656655][ T70] __bond_release_one+0x7b0/0x970 [ 192.656657][ T70] ? lock_acquire+0x13c/0x160 [ 192.656659][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656660][ T70] ? bond_enslave+0x5100/0x5100 [ 192.656661][ T70] ? ipvlan_port_create+0x541/0x5a0 [ 192.656663][ T70] ? ipvlan_port_get+0xeb/0x3b0 [ 192.656664][ T70] ? ipvlan_port_create+0x5a0/0x5a0 [ 192.656666][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656668][ T70] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 192.656670][ T70] ? packet_sendmsg_spkt+0x1350/0x1350 [ 192.656673][ T70] bond_uninit+0x119/0x190 [ 192.656674][ T70] ? ip6_route_dev_notify+0x3d/0x380 [ 192.656677][ T70] ? bond_siocdevprivate+0x170/0x170 [ 192.656679][ T70] unregister_netdevice_many_notify+0xee7/0x1b40 [ 192.656682][ T70] ? unregister_netdevice_queued+0x80/0x80 [ 192.656684][ T70] ? trace_hardirqs_on+0x36/0x40 [ 192.656685][ T70] ? rtnl_is_locked+0x15/0x20 [ 192.656688][ T70] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 192.656691][ T70] ops_undo_list+0x615/0x8f0 [ 192.656693][ T70] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 192.656694][ T70] ? idr_destroy+0x121/0x250 [ 192.656697][ T70] cleanup_net+0x431/0x890 [ 192.656699][ T70] ? net_passive_dec+0x230/0x230 [ 192.656700][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656701][ T70] ? lock_acquire+0x13c/0x160 [ 192.656703][ T70] ? rcu_is_watching+0x16/0xd0 [ 192.656705][ T70] process_one_work+0xe3e/0x1560 [ 192.656708][ T70] ? __queue_delayed_work+0x470/0x470 [ 192.656710][ T70] ? __rwlock_init+0x150/0x150 [ 192.656712][ T70] worker_thread+0x4f1/0xd60 [ 192.656714][ T70] ? rescuer_thread+0x1340/0x1340 [ 192.656715][ T70] kthread+0x367/0x460 [ 192.656718][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 192.656719][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 192.656721][ T70] ret_from_fork+0x474/0x6b0 [ 192.656725][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 192.656727][ T70] ? __switch_to+0x5a3/0xe00 [ 192.656730][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 192.656732][ T70] ret_from_fork_asm+0x11/0x20 [ 192.656735][ T70] [ 192.677818][ T70] bond0 (unregistering): (slave eth0): Releasing backup interface [ 192.683287][ T70] bond0 (unregistering): Released all slaves [ 192.693921][ T70] bond0: (slave eth1): Removing an active aggregator [ 192.694875][ T70] bond0: (slave eth1): Releasing backup interface [ 192.759994][ T70] bond0 (unregistering): Released all slaves