[ 10.062581][ T188] team0: Port device dummy0 added [ 10.062640][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.062642][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 10.062644][ T188] preempt_count: 1, expected: 0 [ 10.062645][ T188] RCU nest depth: 0, expected: 0 [ 10.062646][ T188] locks held by ip/188: 5, last CPU#2: [ 10.062648][ T188] #0: ffffffffa1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.062660][ T188] #1: ffffffffa1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.062667][ T188] #2: ffffffffa1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.062670][ T188] #3: ffffffffa1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.062673][ T188] #4: ffffffffa1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.062677][ T188] irq event stamp: 43488 [ 10.062678][ T188] hardirqs last enabled at (43487): [] __down_trylock_console_sem+0x86/0xa0 [ 10.062682][ T188] hardirqs last disabled at (43488): [] console_emit_next_record+0x3f8/0x4f0 [ 10.062683][ T188] softirqs last enabled at (43382): [] __alloc_skb+0x4c5/0x5f0 [ 10.062687][ T188] softirqs last disabled at (43380): [] __alloc_skb+0x4c5/0x5f0 [ 10.062689][ T188] Preemption disabled at: [ 10.062690][ T188] [] vprintk_emit+0x31b/0x3e0 [ 10.062695][ T188] CPU: 2 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.062699][ T188] Tainted: [W]=WARN [ 10.062699][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.062702][ T188] Call Trace: [ 10.062703][ T188] [ 10.062705][ T188] dump_stack_lvl+0x6f/0xa0 [ 10.062710][ T188] ? vprintk_emit+0x31b/0x3e0 [ 10.062712][ T188] __might_resched.cold+0x1fe/0x2c1 [ 10.062717][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.062721][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 10.062727][ T188] __kmalloc_noprof+0x443/0x760 [ 10.062729][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 10.062736][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 10.062738][ T188] alloc_buf.isra.0+0x4b/0x260 [ 10.062742][ T188] put_chars+0x1e1/0x2f0 [ 10.062745][ T188] ? __send_to_port+0x420/0x420 [ 10.062749][ T188] ? validate_chain+0x34a/0xc20 [ 10.062754][ T188] hvc_console_print+0x292/0x780 [ 10.062758][ T188] ? __lock_acquire+0x518/0xc20 [ 10.062764][ T188] ? hvc_write+0x3a0/0x3a0 [ 10.062767][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.062773][ T188] console_emit_next_record+0x252/0x4f0 [ 10.062776][ T188] ? devkmsg_read+0x4e0/0x4e0 [ 10.062781][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.062783][ T188] ? lock_acquire+0x13c/0x160 [ 10.062787][ T188] console_flush_one_record+0x46f/0x710 [ 10.062791][ T188] ? console_emit_next_record+0x4f0/0x4f0 [ 10.062792][ T188] ? __lock_acquire+0x518/0xc20 [ 10.062798][ T188] console_unlock+0xee/0x1f0 [ 10.062800][ T188] ? console_flush_one_record+0x710/0x710 [ 10.062802][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.062804][ T188] ? lock_acquire+0x60/0x160 [ 10.062808][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.062810][ T188] ? vprintk_emit+0x320/0x3e0 [ 10.062813][ T188] vprintk_emit+0x37c/0x3e0 [ 10.062816][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 10.062819][ T188] ? __nlmsg_put+0x144/0x190 [ 10.062825][ T188] _printk+0xc7/0x100 [ 10.062828][ T188] ? snapshot_read.cold+0x21/0x21 [ 10.062832][ T188] ? netdev_name+0x43/0x60 [ 10.062836][ T188] ? __netdev_printk+0x17f/0x1d0 [ 10.062839][ T188] netdev_info+0xe2/0x116 [ 10.062841][ T188] ? netdev_notice+0x120/0x120 [ 10.062846][ T188] ? _mutex_trylock_nest_lock+0x390/0x390 [ 10.062850][ T188] ? team_nl_send_options_get+0x650/0x650 [ 10.062854][ T188] ? lockdep_hardirqs_on+0x91/0x130 [ 10.062858][ T188] team_port_add+0xfc9/0x17b0 [ 10.062865][ T188] ? team_port_enable+0xc0/0xc0 [ 10.062866][ T188] ? is_bpf_text_address+0x72/0x110 [ 10.062873][ T188] do_set_master+0x3b2/0x780 [ 10.062877][ T188] do_setlink.isra.0+0x9ec/0x2a60 [ 10.062881][ T188] ? stack_trace_save+0x93/0xc0 [ 10.062885][ T188] ? rtnl_link_get_size+0x350/0x350 [ 10.062887][ T188] ? rcu_read_lock_any_held+0x66/0x90 [ 10.062890][ T188] ? stack_depot_save_flags+0x38e/0x790 [ 10.062893][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.062896][ T188] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.062898][ T188] ? validate_chain+0x38b/0xc20 [ 10.062901][ T188] ? kasan_save_stack+0x3d/0x50 [ 10.062903][ T188] ? kasan_save_stack+0x2f/0x50 [ 10.062905][ T188] ? kasan_save_track+0x14/0x30 [ 10.062907][ T188] ? __lock_acquire+0x518/0xc20 [ 10.062909][ T188] ? netlink_seq_next+0x5e/0x60 [ 10.062911][ T188] ? ___sys_sendmsg+0xc0/0x1d0 [ 10.062915][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 10.062918][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 10.062921][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.062923][ T188] ? lock_acquire+0x13c/0x160 [ 10.062925][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.062926][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.062928][ T188] ? trace_contention_end+0xb3/0x180 [ 10.062931][ T188] ? __mutex_lock+0x1db/0x1ea0 [ 10.062932][ T188] ? __mutex_lock+0x9a3/0x1ea0 [ 10.062934][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 10.062938][ T188] ? ww_mutex_lock+0x160/0x160 [ 10.062940][ T188] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.062946][ T188] ? __rtnl_newlink+0x3fa/0xa50 [ 10.062952][ T188] rtnl_newlink+0x9f1/0x11b0 [ 10.062961][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 10.062963][ T188] ? __lock_acquire+0x518/0xc20 [ 10.062968][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 10.062971][ T188] ? find_held_lock+0x2b/0x80 [ 10.062973][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 10.062975][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 10.062980][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 10.062982][ T188] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.062986][ T188] ? rtnl_link_fill+0x900/0x900 [ 10.062988][ T188] ? __lock_acquire+0x518/0xc20 [ 10.062993][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 10.062995][ T188] ? find_held_lock+0x2b/0x80 [ 10.062999][ T188] netlink_rcv_skb+0x14e/0x3a0 [ 10.063001][ T188] ? rtnl_link_fill+0x900/0x900 [ 10.063005][ T188] ? netlink_ack+0xcd0/0xcd0 [ 10.063011][ T188] ? netlink_deliver_tap+0xc5/0x330 [ 10.063013][ T188] ? netlink_deliver_tap+0x13c/0x330 [ 10.063017][ T188] netlink_unicast+0x486/0x750 [ 10.063021][ T188] ? netlink_attachskb+0x810/0x810 [ 10.063024][ T188] ? __lock_acquire+0x518/0xc20 [ 10.063029][ T188] netlink_sendmsg+0x735/0xc60 [ 10.063033][ T188] ? netlink_unicast+0x750/0x750 [ 10.063037][ T188] ? __might_fault+0x97/0x140 [ 10.063043][ T188] ____sys_sendmsg+0x415/0x880 [ 10.063045][ T188] ? copy_msghdr_from_user+0x279/0x420 [ 10.063047][ T188] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.063049][ T188] ? move_addr_to_kernel+0x40/0x40 [ 10.063056][ T188] ___sys_sendmsg+0x14e/0x1d0 [ 10.063059][ T188] ? copy_msghdr_from_user+0x420/0x420 [ 10.063075][ T188] __sys_sendmsg+0x12c/0x1d0 [ 10.063078][ T188] ? __sys_sendmsg_sock+0x20/0x20 [ 10.063084][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.063087][ T188] do_syscall_64+0xff/0x530 [ 10.063089][ T188] ? exc_page_fault+0xee/0x100 [ 10.063092][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.063094][ T188] RIP: 0033:0x7f0aa9d0354e [ 10.063099][ T188] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.063101][ T188] RSP: 002b:00007ffcd8ed2040 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.063103][ T188] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f0aa9d0354e [ 10.063105][ T188] RDX: 0000000000000000 RSI: 00007ffcd8ed20f0 RDI: 0000000000000005 [ 10.063106][ T188] RBP: 00007ffcd8ed2050 R08: 0000000000000000 R09: 0000000000000000 [ 10.063107][ T188] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9138c9 [ 10.063108][ T188] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffcd8ed27b0 [ 10.063115][ T188] [ 10.105736][ T188] ip (188) used greatest stack depth: 23144 bytes left [ 10.168338][ T191] team0: Port device dummy0 removed [ 10.209756][ T194] team0: Mode changed to "activebackup" [ 10.283072][ T196] team0: Mode changed to "loadbalance" [ 10.351534][ T198] team0: Mode changed to "activebackup" [ 11.151495][ T233] team0: Port device dummy0 added [ 11.151515][ T233] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.151517][ T233] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 233, name: ip [ 11.151519][ T233] preempt_count: 1, expected: 0 [ 11.151520][ T233] RCU nest depth: 0, expected: 0 [ 11.151521][ T233] locks held by ip/233: 5, last CPU#2: [ 11.151523][ T233] #0: ffffffffa1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.151535][ T233] #1: ffffffffa1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.151541][ T233] #2: ffffffffa1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.151544][ T233] #3: ffffffffa1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.151548][ T233] #4: ffffffffa1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.151551][ T233] irq event stamp: 22976 [ 11.151552][ T233] hardirqs last enabled at (22975): [] __down_trylock_console_sem+0x86/0xa0 [ 11.151555][ T233] hardirqs last disabled at (22976): [] console_emit_next_record+0x3f8/0x4f0 [ 11.151557][ T233] softirqs last enabled at (22906): [] __alloc_skb+0x4c5/0x5f0 [ 11.151560][ T233] softirqs last disabled at (22904): [] __alloc_skb+0x4c5/0x5f0 [ 11.151562][ T233] Preemption disabled at: [ 11.151563][ T233] [] vprintk_emit+0x31b/0x3e0 [ 11.151572][ T233] CPU: 2 UID: 0 PID: 233 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.151576][ T233] Tainted: [W]=WARN [ 11.151577][ T233] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.151580][ T233] Call Trace: [ 11.151582][ T233] [ 11.151583][ T233] dump_stack_lvl+0x6f/0xa0 [ 11.151589][ T233] ? vprintk_emit+0x31b/0x3e0 [ 11.151591][ T233] __might_resched.cold+0x1fe/0x2c1 [ 11.151595][ T233] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.151599][ T233] ? __kmalloc_noprof+0xdb/0x760 [ 11.151604][ T233] __kmalloc_noprof+0x443/0x760 [ 11.151607][ T233] ? alloc_buf.isra.0+0x4b/0x260 [ 11.151613][ T233] ? do_raw_spin_unlock+0x59/0x250 [ 11.151615][ T233] alloc_buf.isra.0+0x4b/0x260 [ 11.151619][ T233] put_chars+0x1e1/0x2f0 [ 11.151622][ T233] ? __send_to_port+0x420/0x420 [ 11.151624][ T233] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.151629][ T233] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.151632][ T233] ? validate_chain+0x38b/0xc20 [ 11.151637][ T233] hvc_console_print+0x292/0x780 [ 11.151641][ T233] ? __lock_acquire+0x518/0xc20 [ 11.151646][ T233] ? hvc_write+0x3a0/0x3a0 [ 11.151649][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.151654][ T233] console_emit_next_record+0x252/0x4f0 [ 11.151657][ T233] ? devkmsg_read+0x4e0/0x4e0 [ 11.151662][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.151663][ T233] ? lock_acquire+0x13c/0x160 [ 11.151668][ T233] console_flush_one_record+0x46f/0x710 [ 11.151671][ T233] ? console_emit_next_record+0x4f0/0x4f0 [ 11.151673][ T233] ? __lock_acquire+0x518/0xc20 [ 11.151678][ T233] console_unlock+0xee/0x1f0 [ 11.151681][ T233] ? console_flush_one_record+0x710/0x710 [ 11.151682][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.151684][ T233] ? lock_acquire+0x60/0x160 [ 11.151688][ T233] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.151690][ T233] ? vprintk_emit+0x320/0x3e0 [ 11.151693][ T233] vprintk_emit+0x37c/0x3e0 [ 11.151696][ T233] ? wake_up_klogd_work_func+0x90/0x90 [ 11.151699][ T233] ? __nlmsg_put+0x144/0x190 [ 11.151704][ T233] _printk+0xc7/0x100 [ 11.151707][ T233] ? snapshot_read.cold+0x21/0x21 [ 11.151712][ T233] ? netdev_name+0x43/0x60 [ 11.151715][ T233] ? __netdev_printk+0x17f/0x1d0 [ 11.151718][ T233] netdev_info+0xe2/0x116 [ 11.151721][ T233] ? netdev_notice+0x120/0x120 [ 11.151725][ T233] ? _mutex_trylock_nest_lock+0x390/0x390 [ 11.151729][ T233] ? team_nl_send_options_get+0x650/0x650 [ 11.151733][ T233] ? lockdep_hardirqs_on+0x91/0x130 [ 11.151737][ T233] team_port_add+0xfc9/0x17b0 [ 11.151743][ T233] ? team_port_enable+0xc0/0xc0 [ 11.151744][ T233] ? is_bpf_text_address+0x72/0x110 [ 11.151751][ T233] do_set_master+0x3b2/0x780 [ 11.151755][ T233] do_setlink.isra.0+0x9ec/0x2a60 [ 11.151759][ T233] ? stack_trace_save+0x93/0xc0 [ 11.151763][ T233] ? rtnl_link_get_size+0x350/0x350 [ 11.151764][ T233] ? rcu_read_lock_any_held+0x66/0x90 [ 11.151766][ T233] ? stack_depot_save_flags+0x38e/0x790 [ 11.151770][ T233] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.151772][ T233] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.151774][ T233] ? validate_chain+0x38b/0xc20 [ 11.151777][ T233] ? kasan_save_stack+0x3d/0x50 [ 11.151779][ T233] ? kasan_save_stack+0x2f/0x50 [ 11.151780][ T233] ? kasan_save_track+0x14/0x30 [ 11.151782][ T233] ? __lock_acquire+0x518/0xc20 [ 11.151784][ T233] ? netlink_seq_next+0x5e/0x60 [ 11.151786][ T233] ? ___sys_sendmsg+0xc0/0x1d0 [ 11.151790][ T233] ? lock_acquire.part.0+0xd4/0x280 [ 11.151792][ T233] ? rtnl_newlink+0x9a8/0x11b0 [ 11.151795][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.151797][ T233] ? lock_acquire+0x13c/0x160 [ 11.151799][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.151801][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.151803][ T233] ? trace_contention_end+0xb3/0x180 [ 11.151805][ T233] ? __mutex_lock+0x1db/0x1ea0 [ 11.151806][ T233] ? __mutex_lock+0x9a3/0x1ea0 [ 11.151809][ T233] ? rtnl_newlink+0x9a8/0x11b0 [ 11.151812][ T233] ? ww_mutex_lock+0x160/0x160 [ 11.151814][ T233] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.151820][ T233] ? __rtnl_newlink+0x3fa/0xa50 [ 11.151826][ T233] rtnl_newlink+0x9f1/0x11b0 [ 11.151831][ T233] ? rtnl_bridge_getlink+0x850/0x850 [ 11.151834][ T233] ? __lock_acquire+0x518/0xc20 [ 11.151839][ T233] ? lock_acquire.part.0+0xd4/0x280 [ 11.151841][ T233] ? find_held_lock+0x2b/0x80 [ 11.151843][ T233] ? rtnl_bridge_getlink+0x850/0x850 [ 11.151845][ T233] ? __lock_release.isra.0+0x69/0x1a0 [ 11.151849][ T233] ? rtnl_bridge_getlink+0x850/0x850 [ 11.151852][ T233] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.151856][ T233] ? rtnl_link_fill+0x900/0x900 [ 11.151858][ T233] ? __lock_acquire+0x518/0xc20 [ 11.151862][ T233] ? lock_acquire.part.0+0xd4/0x280 [ 11.151864][ T233] ? find_held_lock+0x2b/0x80 [ 11.151868][ T233] netlink_rcv_skb+0x14e/0x3a0 [ 11.151870][ T233] ? rtnl_link_fill+0x900/0x900 [ 11.151874][ T233] ? netlink_ack+0xcd0/0xcd0 [ 11.151880][ T233] ? netlink_deliver_tap+0xc5/0x330 [ 11.151882][ T233] ? netlink_deliver_tap+0x13c/0x330 [ 11.151886][ T233] netlink_unicast+0x486/0x750 [ 11.151890][ T233] ? netlink_attachskb+0x810/0x810 [ 11.151893][ T233] ? __lock_acquire+0x518/0xc20 [ 11.151897][ T233] netlink_sendmsg+0x735/0xc60 [ 11.151901][ T233] ? netlink_unicast+0x750/0x750 [ 11.151905][ T233] ? __might_fault+0x97/0x140 [ 11.151910][ T233] ____sys_sendmsg+0x415/0x880 [ 11.151912][ T233] ? copy_msghdr_from_user+0x279/0x420 [ 11.151915][ T233] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 11.151916][ T233] ? move_addr_to_kernel+0x40/0x40 [ 11.151923][ T233] ___sys_sendmsg+0x14e/0x1d0 [ 11.151926][ T233] ? copy_msghdr_from_user+0x420/0x420 [ 11.151941][ T233] __sys_sendmsg+0x12c/0x1d0 [ 11.151944][ T233] ? __sys_sendmsg_sock+0x20/0x20 [ 11.151950][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.151953][ T233] do_syscall_64+0xff/0x530 [ 11.151955][ T233] ? exc_page_fault+0xee/0x100 [ 11.151960][ T233] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.151962][ T233] RIP: 0033:0x7fdfdec2254e [ 11.151966][ T233] 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.151968][ T233] RSP: 002b:00007ffc352ac190 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.151971][ T233] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fdfdec2254e [ 11.151972][ T233] RDX: 0000000000000000 RSI: 00007ffc352ac240 RDI: 0000000000000005 [ 11.151973][ T233] RBP: 00007ffc352ac1a0 R08: 0000000000000000 R09: 0000000000000000 [ 11.151974][ T233] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9138ca [ 11.151975][ T233] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc352ac900 [ 11.151982][ T233] [ 11.415230][ T241] team0: Port device dummy0 removed [ 11.462193][ T243] team0: Port device dummy0 added [ 11.685175][ T251] team0: Port device dummy0 removed [ 11.723775][ T253] team0: Port device dummy0 added [ 11.932119][ T261] team0: Port device dummy0 removed [ 11.964186][ T263] team0: Port device dummy0 added [ 12.167532][ T272] team0: Port device dummy0 removed [ 12.167551][ T272] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.167553][ T272] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 272, name: ip [ 12.167555][ T272] preempt_count: 1, expected: 0 [ 12.167556][ T272] RCU nest depth: 0, expected: 0 [ 12.167557][ T272] locks held by ip/272: 5, last CPU#3: [ 12.167559][ T272] #0: ffffffffa1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 12.167571][ T272] #1: ffffffffa1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.167581][ T272] #2: ffffffffa1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.167585][ T272] #3: ffffffffa1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.167588][ T272] #4: ffffffffa1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.167591][ T272] irq event stamp: 22220 [ 12.167592][ T272] hardirqs last enabled at (22219): [] __down_trylock_console_sem+0x86/0xa0 [ 12.167596][ T272] hardirqs last disabled at (22220): [] console_emit_next_record+0x3f8/0x4f0 [ 12.167597][ T272] softirqs last enabled at (22206): [] fib6_run_gc+0x162/0x250 [ 12.167600][ T272] softirqs last disabled at (22200): [] fib6_run_gc+0x1ac/0x250 [ 12.167602][ T272] Preemption disabled at: [ 12.167603][ T272] [] vprintk_emit+0x31b/0x3e0 [ 12.167608][ T272] CPU: 3 UID: 0 PID: 272 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.167611][ T272] Tainted: [W]=WARN [ 12.167612][ T272] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.167614][ T272] Call Trace: [ 12.167616][ T272] [ 12.167618][ T272] dump_stack_lvl+0x6f/0xa0 [ 12.167623][ T272] ? vprintk_emit+0x31b/0x3e0 [ 12.167624][ T272] __might_resched.cold+0x1fe/0x2c1 [ 12.167629][ T272] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.167632][ T272] ? __kmalloc_noprof+0xdb/0x760 [ 12.167637][ T272] __kmalloc_noprof+0x443/0x760 [ 12.167640][ T272] ? alloc_buf.isra.0+0x4b/0x260 [ 12.167646][ T272] ? do_raw_spin_unlock+0x59/0x250 [ 12.167648][ T272] alloc_buf.isra.0+0x4b/0x260 [ 12.167652][ T272] put_chars+0x1e1/0x2f0 [ 12.167655][ T272] ? __send_to_port+0x420/0x420 [ 12.167658][ T272] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.167662][ T272] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.167665][ T272] ? validate_chain+0x38b/0xc20 [ 12.167669][ T272] hvc_console_print+0x292/0x780 [ 12.167673][ T272] ? mark_usage+0x61/0x170 [ 12.167675][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167677][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167681][ T272] ? hvc_write+0x3a0/0x3a0 [ 12.167683][ T272] ? console_emit_next_record+0x202/0x4f0 [ 12.167686][ T272] ? rcu_is_watching+0x16/0xd0 [ 12.167688][ T272] ? lock_acquire+0x13c/0x160 [ 12.167692][ T272] console_emit_next_record+0x252/0x4f0 [ 12.167696][ T272] ? devkmsg_read+0x4e0/0x4e0 [ 12.167699][ T272] ? rcu_is_watching+0x16/0xd0 [ 12.167701][ T272] ? lock_acquire+0x13c/0x160 [ 12.167705][ T272] console_flush_one_record+0x46f/0x710 [ 12.167709][ T272] ? console_emit_next_record+0x4f0/0x4f0 [ 12.167710][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167716][ T272] console_unlock+0xee/0x1f0 [ 12.167718][ T272] ? console_flush_one_record+0x710/0x710 [ 12.167719][ T272] ? rcu_is_watching+0x16/0xd0 [ 12.167721][ T272] ? lock_acquire+0x60/0x160 [ 12.167725][ T272] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.167727][ T272] ? vprintk_emit+0x320/0x3e0 [ 12.167729][ T272] vprintk_emit+0x37c/0x3e0 [ 12.167733][ T272] ? wake_up_klogd_work_func+0x90/0x90 [ 12.167734][ T272] ? rtnl_newlink+0x9f1/0x11b0 [ 12.167736][ T272] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.167738][ T272] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.167739][ T272] ? look_up_lock_class+0x65/0x150 [ 12.167743][ T272] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.167746][ T272] _printk+0xc7/0x100 [ 12.167750][ T272] ? snapshot_read.cold+0x21/0x21 [ 12.167753][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167756][ T272] ? netdev_name+0x43/0x60 [ 12.167759][ T272] ? __netdev_printk+0x17f/0x1d0 [ 12.167762][ T272] netdev_info+0xe2/0x116 [ 12.167764][ T272] ? netdev_notice+0x120/0x120 [ 12.167768][ T272] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.167770][ T272] ? lockdep_hardirqs_on+0x91/0x130 [ 12.167772][ T272] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.167774][ T272] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 12.167776][ T272] ? kvfree_call_rcu+0x23b/0x2e0 [ 12.167781][ T272] team_port_del+0x61d/0xaa0 [ 12.167787][ T272] do_set_master+0x15c/0x780 [ 12.167791][ T272] do_setlink.isra.0+0x9ec/0x2a60 [ 12.167795][ T272] ? stack_trace_save+0x93/0xc0 [ 12.167798][ T272] ? rtnl_link_get_size+0x350/0x350 [ 12.167800][ T272] ? rcu_read_lock_any_held+0x66/0x90 [ 12.167802][ T272] ? stack_depot_save_flags+0x38e/0x790 [ 12.167805][ T272] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.167807][ T272] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.167809][ T272] ? validate_chain+0x38b/0xc20 [ 12.167812][ T272] ? kasan_save_stack+0x3d/0x50 [ 12.167814][ T272] ? kasan_save_stack+0x2f/0x50 [ 12.167815][ T272] ? kasan_save_track+0x14/0x30 [ 12.167817][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167819][ T272] ? netlink_seq_next+0x5e/0x60 [ 12.167822][ T272] ? ___sys_sendmsg+0xc0/0x1d0 [ 12.167827][ T272] ? lock_acquire.part.0+0xd4/0x280 [ 12.167829][ T272] ? rtnl_newlink+0x9a8/0x11b0 [ 12.167832][ T272] ? rcu_is_watching+0x16/0xd0 [ 12.167834][ T272] ? lock_acquire+0x13c/0x160 [ 12.167835][ T272] ? rcu_is_watching+0x16/0xd0 [ 12.167837][ T272] ? rcu_is_watching+0x16/0xd0 [ 12.167838][ T272] ? trace_contention_end+0xb3/0x180 [ 12.167841][ T272] ? __mutex_lock+0x1db/0x1ea0 [ 12.167842][ T272] ? __mutex_lock+0x9a3/0x1ea0 [ 12.167844][ T272] ? rtnl_newlink+0x9a8/0x11b0 [ 12.167848][ T272] ? ww_mutex_lock+0x160/0x160 [ 12.167850][ T272] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.167855][ T272] ? __rtnl_newlink+0x3fa/0xa50 [ 12.167861][ T272] rtnl_newlink+0x9f1/0x11b0 [ 12.167866][ T272] ? rtnl_bridge_getlink+0x850/0x850 [ 12.167869][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167873][ T272] ? lock_acquire.part.0+0xd4/0x280 [ 12.167875][ T272] ? find_held_lock+0x2b/0x80 [ 12.167878][ T272] ? rtnl_bridge_getlink+0x850/0x850 [ 12.167880][ T272] ? __lock_release.isra.0+0x69/0x1a0 [ 12.167884][ T272] ? rtnl_bridge_getlink+0x850/0x850 [ 12.167886][ T272] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.167890][ T272] ? rtnl_link_fill+0x900/0x900 [ 12.167891][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167896][ T272] ? lock_acquire.part.0+0xd4/0x280 [ 12.167898][ T272] ? find_held_lock+0x2b/0x80 [ 12.167902][ T272] netlink_rcv_skb+0x14e/0x3a0 [ 12.167903][ T272] ? rtnl_link_fill+0x900/0x900 [ 12.167907][ T272] ? netlink_ack+0xcd0/0xcd0 [ 12.167913][ T272] ? netlink_deliver_tap+0xc5/0x330 [ 12.167914][ T272] ? netlink_deliver_tap+0x13c/0x330 [ 12.167918][ T272] netlink_unicast+0x486/0x750 [ 12.167922][ T272] ? netlink_attachskb+0x810/0x810 [ 12.167925][ T272] ? __lock_acquire+0x518/0xc20 [ 12.167929][ T272] netlink_sendmsg+0x735/0xc60 [ 12.167933][ T272] ? netlink_unicast+0x750/0x750 [ 12.167936][ T272] ? __might_fault+0x97/0x140 [ 12.167941][ T272] ____sys_sendmsg+0x415/0x880 [ 12.167943][ T272] ? copy_msghdr_from_user+0x279/0x420 [ 12.167945][ T272] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 12.167947][ T272] ? move_addr_to_kernel+0x40/0x40 [ 12.167953][ T272] ___sys_sendmsg+0x14e/0x1d0 [ 12.167956][ T272] ? copy_msghdr_from_user+0x420/0x420 [ 12.167974][ T272] __sys_sendmsg+0x12c/0x1d0 [ 12.167976][ T272] ? __sys_sendmsg_sock+0x20/0x20 [ 12.167982][ T272] ? rcu_is_watching+0x16/0xd0 [ 12.167985][ T272] do_syscall_64+0xff/0x530 [ 12.167987][ T272] ? exc_page_fault+0xee/0x100 [ 12.167989][ T272] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.167992][ T272] RIP: 0033:0x7fad576c354e [ 12.167996][ T272] 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 [ 12.167998][ T272] RSP: 002b:00007ffc82468fb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.168000][ T272] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fad576c354e [ 12.168001][ T272] RDX: 0000000000000000 RSI: 00007ffc82469060 RDI: 0000000000000005 [ 12.168002][ T272] RBP: 00007ffc82468fc0 R08: 0000000000000000 R09: 0000000000000000 [ 12.168003][ T272] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9138cb [ 12.168004][ T272] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc82469720 [ 12.168010][ T272] [ 12.237287][ T274] team0: Port device dummy0 added [ 12.441133][ T282] team0: Port device dummy0 removed [ 12.482187][ T284] team0: Port device dummy0 added [ 12.672505][ T292] team0: Port device dummy0 removed [ 12.708044][ T294] team0: Port device dummy0 added [ 12.908893][ T302] team0: Port device dummy0 removed [ 12.978738][ T312] team0: Port device dummy0 added [ 13.864939][ T71] team0 (unregistering): Port device dummy0 removed [ 13.865825][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.865830][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 13.865833][ T71] preempt_count: 1, expected: 0 [ 13.865835][ T71] RCU nest depth: 0, expected: 0 [ 13.865837][ T71] locks held by kworker/u16:1/71: 8, last CPU#2: [ 13.865840][ T71] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 13.865858][ T71] #1: ffa00000004c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 13.865865][ T71] #2: ffffffffa1b06b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 13.865874][ T71] #3: ffffffffa1b22700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 13.865883][ T71] #4: ffffffffa1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.865891][ T71] #5: ffffffffa1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.865897][ T71] #6: ffffffffa1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.865904][ T71] #7: ffffffffa1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 13.865911][ T71] irq event stamp: 20040 [ 13.865913][ T71] hardirqs last enabled at (20039): [] irqentry_exit+0x21c/0x790 [ 13.865919][ T71] hardirqs last disabled at (20040): [] console_emit_next_record+0x3f8/0x4f0 [ 13.865922][ T71] softirqs last enabled at (20038): [] handle_softirqs+0x67c/0x900 [ 13.865927][ T71] softirqs last disabled at (19337): [] __irq_exit_rcu+0x145/0x1c0 [ 13.865931][ T71] Preemption disabled at: [ 13.865932][ T71] [] vprintk_emit+0x31b/0x3e0 [ 13.865940][ T71] CPU: 2 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.865945][ T71] Tainted: [W]=WARN [ 13.865947][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.865950][ T71] Workqueue: netns cleanup_net [ 13.865954][ T71] Call Trace: [ 13.865959][ T71] [ 13.865963][ T71] dump_stack_lvl+0x6f/0xa0 [ 13.865971][ T71] ? vprintk_emit+0x31b/0x3e0 [ 13.865975][ T71] __might_resched.cold+0x1fe/0x2c1 [ 13.865983][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.865989][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 13.866000][ T71] __kmalloc_noprof+0x443/0x760 [ 13.866005][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 13.866017][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 13.866021][ T71] alloc_buf.isra.0+0x4b/0x260 [ 13.866028][ T71] put_chars+0x1e1/0x2f0 [ 13.866034][ T71] ? __send_to_port+0x420/0x420 [ 13.866037][ T71] ? check_prev_add+0xef/0xe90 [ 13.866046][ T71] ? validate_chain+0x34a/0xc20 [ 13.866055][ T71] hvc_console_print+0x292/0x780 [ 13.866060][ T71] ? mark_usage+0x61/0x170 [ 13.866063][ T71] ? __lock_acquire+0x518/0xc20 [ 13.866066][ T71] ? __lock_acquire+0x518/0xc20 [ 13.866075][ T71] ? hvc_write+0x3a0/0x3a0 [ 13.866078][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 13.866087][ T71] ? lock_acquire+0x13c/0x160 [ 13.866095][ T71] console_emit_next_record+0x252/0x4f0 [ 13.866102][ T71] ? devkmsg_read+0x4e0/0x4e0 [ 13.866111][ T71] ? rcu_is_watching+0x16/0xd0 [ 13.866116][ T71] ? lock_acquire+0x13c/0x160 [ 13.866125][ T71] console_flush_one_record+0x46f/0x710 [ 13.866133][ T71] ? console_emit_next_record+0x4f0/0x4f0 [ 13.866136][ T71] ? __lock_acquire+0x518/0xc20 [ 13.866148][ T71] console_unlock+0xee/0x1f0 [ 13.866153][ T71] ? console_flush_one_record+0x710/0x710 [ 13.866155][ T71] ? rcu_is_watching+0x16/0xd0 [ 13.866159][ T71] ? lock_acquire+0x60/0x160 [ 13.866168][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.866172][ T71] ? vprintk_emit+0x320/0x3e0 [ 13.866178][ T71] vprintk_emit+0x37c/0x3e0 [ 13.866186][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 13.866189][ T71] ? default_device_exit_batch+0x38b/0x600 [ 13.866193][ T71] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.866196][ T71] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.866200][ T71] ? look_up_lock_class+0x65/0x150 [ 13.866203][ T71] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.866212][ T71] _printk+0xc7/0x100 [ 13.866217][ T71] ? snapshot_read.cold+0x21/0x21 [ 13.866223][ T71] ? __lock_acquire+0x518/0xc20 [ 13.866228][ T71] ? netdev_name+0x43/0x60 [ 13.866233][ T71] ? __netdev_printk+0x17f/0x1d0 [ 13.866240][ T71] netdev_info+0xe2/0x116 [ 13.866244][ T71] ? netdev_notice+0x120/0x120 [ 13.866254][ T71] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 13.866257][ T71] ? lockdep_hardirqs_on+0x91/0x130 [ 13.866260][ T71] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 13.866263][ T71] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 13.866267][ T71] ? kvfree_call_rcu+0x23b/0x2e0 [ 13.866276][ T71] team_port_del+0x61d/0xaa0 [ 13.866288][ T71] team_uninit+0xc4/0x1f0 [ 13.866294][ T71] unregister_netdevice_many_notify+0xee7/0x1b40 [ 13.866305][ T71] ? unregister_netdevice_queued+0x80/0x80 [ 13.866308][ T71] ? mutex_is_locked+0x1c/0x50 [ 13.866312][ T71] ? rtnl_is_locked+0x15/0x20 [ 13.866315][ T71] ? unregister_netdevice_queue+0x6a/0x470 [ 13.866323][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.866332][ T71] default_device_exit_batch+0x38b/0x600 [ 13.866337][ T71] ? generic_xdp_install+0x470/0x470 [ 13.866342][ T71] ? unregister_netdevice_queue+0x470/0x470 [ 13.866346][ T71] ? rtnl_is_locked+0x15/0x20 [ 13.866349][ T71] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 13.866360][ T71] ops_undo_list+0x2ce/0x8f0 [ 13.866369][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 13.866371][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 13.866383][ T71] cleanup_net+0x431/0x890 [ 13.866388][ T71] ? net_passive_dec+0x230/0x230 [ 13.866396][ T71] ? lock_acquire+0x13c/0x160 [ 13.866399][ T71] ? rcu_is_watching+0x16/0xd0 [ 13.866407][ T71] process_one_work+0xe3e/0x1560 [ 13.866420][ T71] ? __queue_delayed_work+0x470/0x470 [ 13.866425][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 13.866441][ T71] worker_thread+0x4f1/0xd60 [ 13.866448][ T71] ? rescuer_thread+0x1340/0x1340 [ 13.866451][ T71] ? __kthread_parkme+0xbd/0x210 [ 13.866457][ T71] ? rescuer_thread+0x1340/0x1340 [ 13.866462][ T71] ? rescuer_thread+0x1340/0x1340 [ 13.866465][ T71] kthread+0x367/0x460 [ 13.866468][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.866472][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.866478][ T71] ret_from_fork+0x474/0x6b0 [ 13.866484][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 13.866491][ T71] ? __switch_to+0x5a3/0xe00 [ 13.866496][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.866502][ T71] ret_from_fork_asm+0x11/0x20 [ 13.866519][ T71] [ 13.911096][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 13.911135][ C0] [ 13.911137][ C0] ======================================================== [ 13.911138][ C0] WARNING: possible irq lock inversion dependency detected [ 13.911140][ C0] 7.2.0-virtme #1 Tainted: G W [ 13.911142][ C0] -------------------------------------------------------- [ 13.911143][ C0] swapper/0/0 just changed the state of lock: [ 13.911144][ C0] ffffffffa1289660 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0xa4/0x1e0 [ 13.911156][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 13.911158][ C0] (fs_reclaim){+.+.}-{0:0} [ 13.911160][ C0] [ 13.911160][ C0] [ 13.911160][ C0] and interrupts could create inverse lock ordering between them. [ 13.911160][ C0] [ 13.911160][ C0] [ 13.911160][ C0] other info that might help us debug this: [ 13.911162][ C0] Possible interrupt unsafe locking scenario: [ 13.911162][ C0] [ 13.911162][ C0] CPU0 CPU1 [ 13.911163][ C0] ---- ---- [ 13.911163][ C0] lock(fs_reclaim); [ 13.911164][ C0] local_irq_disable(); [ 13.911165][ C0] lock(console_owner); [ 13.911166][ C0] lock(fs_reclaim); [ 13.911166][ C0] [ 13.911167][ C0] lock(console_owner); [ 13.911168][ C0] [ 13.911168][ C0] *** DEADLOCK *** [ 13.911168][ C0] [ 13.911168][ C0] locks held by swapper/0/0: 2, last CPU#0: [ 13.911169][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 13.911174][ C0] #1: ffffffffa13fe8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 13.911179][ C0] [ 13.911179][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 13.911185][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 13.911188][ C0] HARDIRQ-ON-W at: [ 13.911189][ C0] __lock_acquire+0x388/0xc20 [ 13.911193][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.911195][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.911199][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.911203][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.911206][ C0] workqueue_init+0x2a/0x680 [ 13.911210][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.911213][ C0] kernel_init+0x21/0x150 [ 13.911217][ C0] ret_from_fork+0x474/0x6b0 [ 13.911220][ C0] ret_from_fork_asm+0x11/0x20 [ 13.911224][ C0] SOFTIRQ-ON-W at: [ 13.911225][ C0] __lock_acquire+0x388/0xc20 [ 13.911228][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.911231][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.911233][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.911235][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.911237][ C0] workqueue_init+0x2a/0x680 [ 13.911239][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.911240][ C0] kernel_init+0x21/0x150 [ 13.911242][ C0] ret_from_fork+0x474/0x6b0 [ 13.911244][ C0] ret_from_fork_asm+0x11/0x20 [ 13.911246][ C0] INITIAL USE at: [ 13.911247][ C0] __lock_acquire+0x388/0xc20 [ 13.911249][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.911251][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.911252][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.911254][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.911256][ C0] workqueue_init+0x2a/0x680 [ 13.911258][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.911259][ C0] kernel_init+0x21/0x150 [ 13.911261][ C0] ret_from_fork+0x474/0x6b0 [ 13.911263][ C0] ret_from_fork_asm+0x11/0x20 [ 13.911265][ C0] } [ 13.911265][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 13.911269][ C0] ... acquired at: [ 13.911271][ C0] __lock_acquire+0x518/0xc20 [ 13.911273][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.911274][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.911276][ C0] __kmalloc_noprof+0xd3/0x760 [ 13.911278][ C0] alloc_buf.isra.0+0x4b/0x260 [ 13.911282][ C0] put_chars+0x1e1/0x2f0 [ 13.911284][ C0] hvc_console_print+0x292/0x780 [ 13.911287][ C0] console_emit_next_record+0x252/0x4f0 [ 13.911288][ C0] console_flush_one_record+0x46f/0x710 [ 13.911290][ C0] console_unlock+0xee/0x1f0 [ 13.911291][ C0] vprintk_emit+0x37c/0x3e0 [ 13.911292][ C0] _printk+0xc7/0x100 [ 13.911296][ C0] i8042_pnp_init+0xf7/0x3c0 [ 13.911298][ C0] i8042_platform_init+0x3f9/0x460 [ 13.911299][ C0] i8042_init+0x45/0x130 [ 13.911300][ C0] do_one_initcall+0x124/0x4f0 [ 13.911302][ C0] kernel_init_freeable+0x596/0x630 [ 13.911304][ C0] kernel_init+0x21/0x150 [ 13.911305][ C0] ret_from_fork+0x474/0x6b0 [ 13.911307][ C0] ret_from_fork_asm+0x11/0x20 [ 13.911310][ C0] [ 13.911311][ C0] -> (console_owner){..-.}-{0:0} { [ 13.911315][ C0] IN-SOFTIRQ-W at: [ 13.911317][ C0] __lock_acquire+0x388/0xc20 [ 13.911319][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.911321][ C0] console_trylock_spinning+0xb5/0x1e0 [ 13.911322][ C0] vprintk_emit+0x320/0x3e0 [ 13.911323][ C0] _printk+0xc7/0x100 [ 13.911324][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.911327][ C0] call_timer_fn+0x160/0x4d0 [ 13.911328][ C0] __run_timers+0x68f/0xaa0 [ 13.911329][ C0] run_timer_softirq+0xf0/0x160 [ 13.911331][ C0] handle_softirqs+0x1d3/0x900 [ 13.911333][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.911335][ C0] irq_exit_rcu+0xe/0x30 [ 13.911336][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.911338][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.911340][ C0] pv_native_safe_halt+0xf/0x10 [ 13.911342][ C0] default_idle+0x9/0x10 [ 13.911343][ C0] default_idle_call+0x6e/0xb0 [ 13.911345][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.911348][ C0] do_idle+0xd8/0x190 [ 13.911349][ C0] cpu_startup_entry+0x53/0x70 [ 13.911351][ C0] rest_init+0x279/0x280 [ 13.911352][ C0] start_kernel+0x3af/0x3b0 [ 13.911353][ C0] x86_64_start_reservations+0x24/0x30 [ 13.911355][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.911357][ C0] common_startup_64+0x13e/0x148 [ 13.911360][ C0] INITIAL USE at: [ 13.911361][ C0] } [ 13.911361][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 13.911364][ C0] ... acquired at: [ 13.911365][ C0] mark_lock+0x1d7/0xa00 [ 13.911366][ C0] mark_usage+0x42/0x170 [ 13.911368][ C0] __lock_acquire+0x388/0xc20 [ 13.911370][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.911371][ C0] console_trylock_spinning+0xb5/0x1e0 [ 13.911372][ C0] vprintk_emit+0x320/0x3e0 [ 13.911374][ C0] _printk+0xc7/0x100 [ 13.911375][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.911376][ C0] call_timer_fn+0x160/0x4d0 [ 13.911377][ C0] __run_timers+0x68f/0xaa0 [ 13.911378][ C0] run_timer_softirq+0xf0/0x160 [ 13.911379][ C0] handle_softirqs+0x1d3/0x900 [ 13.911381][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.911382][ C0] irq_exit_rcu+0xe/0x30 [ 13.911384][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.911385][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.911387][ C0] pv_native_safe_halt+0xf/0x10 [ 13.911388][ C0] default_idle+0x9/0x10 [ 13.911389][ C0] default_idle_call+0x6e/0xb0 [ 13.911391][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.911393][ C0] do_idle+0xd8/0x190 [ 13.911394][ C0] cpu_startup_entry+0x53/0x70 [ 13.911396][ C0] rest_init+0x279/0x280 [ 13.911398][ C0] start_kernel+0x3af/0x3b0 [ 13.911399][ C0] x86_64_start_reservations+0x24/0x30 [ 13.911401][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.911403][ C0] common_startup_64+0x13e/0x148 [ 13.911405][ C0] [ 13.911405][ C0] [ 13.911405][ C0] stack backtrace: [ 13.911409][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.911413][ C0] Tainted: [W]=WARN [ 13.911414][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.911417][ C0] Call Trace: [ 13.911418][ C0] [ 13.911419][ C0] dump_stack_lvl+0x6f/0xa0 [ 13.911423][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 13.911426][ C0] mark_lock_irq+0x989/0x9c0 [ 13.911428][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 13.911431][ C0] mark_lock+0x1d7/0xa00 [ 13.911433][ C0] mark_usage+0x42/0x170 [ 13.911435][ C0] __lock_acquire+0x388/0xc20 [ 13.911439][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.911441][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 13.911443][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.911445][ C0] ? lock_acquire+0x13c/0x160 [ 13.911448][ C0] console_trylock_spinning+0xb5/0x1e0 [ 13.911450][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 13.911451][ C0] vprintk_emit+0x320/0x3e0 [ 13.911453][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 13.911456][ C0] ? clocksource_watchdog.part.0+0x4d0/0x540 [ 13.911458][ C0] _printk+0xc7/0x100 [ 13.911460][ C0] ? snapshot_read.cold+0x21/0x21 [ 13.911462][ C0] ? clocksource_watchdog.part.0+0x4d0/0x540 [ 13.911464][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.911468][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.911469][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.911472][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.911474][ C0] call_timer_fn+0x160/0x4d0 [ 13.911476][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 13.911477][ C0] ? debug_object_active_state+0x430/0x430 [ 13.911480][ C0] ? find_held_lock+0x2b/0x80 [ 13.911482][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.911485][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.911487][ C0] __run_timers+0x68f/0xaa0 [ 13.911488][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.911491][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 13.911493][ C0] ? __lock_acquire+0x518/0xc20 [ 13.911496][ C0] ? __rwlock_init+0x150/0x150 [ 13.911499][ C0] run_timer_softirq+0xf0/0x160 [ 13.911500][ C0] ? __run_timers+0xaa0/0xaa0 [ 13.911502][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.911505][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.911506][ C0] handle_softirqs+0x1d3/0x900 [ 13.911509][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.911511][ C0] ? _local_bh_enable+0xc0/0xc0 [ 13.911513][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.911515][ C0] irq_exit_rcu+0xe/0x30 [ 13.911517][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.911519][ C0] [ 13.911519][ C0] [ 13.911520][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.911522][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 13.911524][ C0] Code: 48 8b 3d 94 12 09 02 e8 1f 00 00 00 48 2b 05 58 a3 a6 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 56 1b 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 13.911527][ C0] RSP: 0018:ffffffffa1007cf8 EFLAGS: 00000296 [ 13.911529][ C0] RAX: 000000000007980f RBX: ffffffffa101c600 RCX: ffffffff9defa307 [ 13.911530][ C0] RDX: ffffffffa101c600 RSI: ffffffffa0ea7f75 RDI: ffffffffa088f560 [ 13.911531][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 13.911532][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff4200fa2 [ 13.911532][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 13.911534][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.911537][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 13.911538][ C0] default_idle+0x9/0x10 [ 13.911540][ C0] default_idle_call+0x6e/0xb0 [ 13.911542][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.911544][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 13.911546][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 13.911549][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.911550][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.911552][ C0] do_idle+0xd8/0x190 [ 13.911554][ C0] cpu_startup_entry+0x53/0x70 [ 13.911556][ C0] rest_init+0x279/0x280 [ 13.911557][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 13.911560][ C0] ? rest_init+0x280/0x280 [ 13.911562][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 13.911566][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 13.911568][ C0] ? acpi_enable+0x1e4/0x330 [ 13.911570][ C0] start_kernel+0x3af/0x3b0 [ 13.911572][ C0] x86_64_start_reservations+0x24/0x30 [ 13.911574][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.911576][ C0] common_startup_64+0x13e/0x148 [ 13.911585][ C0]