[ 9.247613][ T210] fab-br0: port 1(fbond) entered blocking state [ 9.247676][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.247679][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: ip [ 9.247680][ T210] preempt_count: 1, expected: 0 [ 9.247681][ T210] RCU nest depth: 0, expected: 0 [ 9.247682][ T210] locks held by ip/210: 5, last CPU#2: [ 9.247684][ T210] #0: ffffffffa0522700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.247697][ T210] #1: ffffffff9fd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.247703][ T210] #2: ffffffff9fd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.247706][ T210] #3: ffffffff9fc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.247709][ T210] #4: ffffffff9fc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.247713][ T210] irq event stamp: 17682 [ 9.247714][ T210] hardirqs last enabled at (17681): [] __down_trylock_console_sem+0x86/0xa0 [ 9.247717][ T210] hardirqs last disabled at (17682): [] console_emit_next_record+0x3f8/0x4f0 [ 9.247719][ T210] softirqs last enabled at (17592): [] __alloc_skb+0x4c5/0x5f0 [ 9.247722][ T210] softirqs last disabled at (17590): [] __alloc_skb+0x4c5/0x5f0 [ 9.247724][ T210] Preemption disabled at: [ 9.247725][ T210] [] vprintk_emit+0x31b/0x3e0 [ 9.247730][ T210] CPU: 2 UID: 0 PID: 210 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.247734][ T210] Tainted: [W]=WARN [ 9.247735][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.247736][ T210] Call Trace: [ 9.247738][ T210] [ 9.247740][ T210] dump_stack_lvl+0x6f/0xa0 [ 9.247745][ T210] ? vprintk_emit+0x31b/0x3e0 [ 9.247747][ T210] __might_resched.cold+0x1fe/0x2c1 [ 9.247751][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.247755][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 9.247760][ T210] __kmalloc_noprof+0x443/0x760 [ 9.247763][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 9.247769][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 9.247771][ T210] alloc_buf.isra.0+0x4b/0x260 [ 9.247775][ T210] put_chars+0x1e1/0x2f0 [ 9.247777][ T210] ? printk_get_next_message+0x2fe/0x7d0 [ 9.247779][ T210] ? __send_to_port+0x420/0x420 [ 9.247783][ T210] ? validate_chain+0x34a/0xc20 [ 9.247788][ T210] hvc_console_print+0x292/0x780 [ 9.247796][ T210] ? hvc_write+0x3a0/0x3a0 [ 9.247799][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.247802][ T210] ? lock_acquire+0x13c/0x160 [ 9.247807][ T210] console_emit_next_record+0x252/0x4f0 [ 9.247810][ T210] ? devkmsg_read+0x4e0/0x4e0 [ 9.247814][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.247816][ T210] ? lock_acquire+0x13c/0x160 [ 9.247820][ T210] console_flush_one_record+0x46f/0x710 [ 9.247823][ T210] ? console_emit_next_record+0x4f0/0x4f0 [ 9.247825][ T210] ? __lock_acquire+0x518/0xc20 [ 9.247830][ T210] console_unlock+0xee/0x1f0 [ 9.247833][ T210] ? console_flush_one_record+0x710/0x710 [ 9.247834][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.247836][ T210] ? lock_acquire+0x60/0x160 [ 9.247840][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.247842][ T210] ? vprintk_emit+0x320/0x3e0 [ 9.247845][ T210] vprintk_emit+0x37c/0x3e0 [ 9.247848][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 9.247850][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 9.247852][ T210] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 9.247856][ T210] ? bond_poll_controller+0x480/0x480 [ 9.247859][ T210] ? mark_held_locks+0x40/0x70 [ 9.247863][ T210] _printk+0xc7/0x100 [ 9.247866][ T210] ? snapshot_read.cold+0x21/0x21 [ 9.247870][ T210] ? br_multicast_flood+0x960/0x960 [ 9.247874][ T210] ? do_setlink.isra.0+0x9ec/0x2a60 [ 9.247876][ T210] ? rtnl_newlink+0x9f1/0x11b0 [ 9.247877][ T210] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.247887][ T210] br_set_state+0x22f/0x410 [ 9.247890][ T210] br_init_port+0xc4/0x200 [ 9.247893][ T210] new_nbp+0x3a0/0x650 [ 9.247896][ T210] br_add_if+0x212/0x1360 [ 9.247899][ T210] ? kernel_text_address+0x149/0x170 [ 9.247905][ T210] do_set_master+0x3b2/0x780 [ 9.247909][ T210] do_setlink.isra.0+0x9ec/0x2a60 [ 9.247912][ T210] ? stack_trace_save+0x93/0xc0 [ 9.247916][ T210] ? rtnl_link_get_size+0x350/0x350 [ 9.247918][ T210] ? rcu_read_lock_any_held+0x66/0x90 [ 9.247921][ T210] ? stack_depot_save_flags+0x38e/0x790 [ 9.247924][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.247927][ T210] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.247929][ T210] ? validate_chain+0x38b/0xc20 [ 9.247932][ T210] ? kasan_save_stack+0x3d/0x50 [ 9.247934][ T210] ? kasan_save_stack+0x2f/0x50 [ 9.247935][ T210] ? kasan_save_track+0x14/0x30 [ 9.247937][ T210] ? __lock_acquire+0x518/0xc20 [ 9.247939][ T210] ? netlink_seq_next+0x5e/0x60 [ 9.247942][ T210] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.247946][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 9.247949][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 9.247952][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.247954][ T210] ? lock_acquire+0x13c/0x160 [ 9.247955][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.247957][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.247958][ T210] ? trace_contention_end+0xb3/0x180 [ 9.247961][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 9.247963][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 9.247965][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 9.247969][ T210] ? ww_mutex_lock+0x160/0x160 [ 9.247970][ T210] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.247976][ T210] ? __rtnl_newlink+0x3fa/0xa50 [ 9.247982][ T210] rtnl_newlink+0x9f1/0x11b0 [ 9.247987][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 9.247990][ T210] ? __lock_acquire+0x518/0xc20 [ 9.247995][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 9.247997][ T210] ? find_held_lock+0x2b/0x80 [ 9.247999][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 9.248001][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 9.248005][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 9.248008][ T210] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.248011][ T210] ? rtnl_link_fill+0x900/0x900 [ 9.248013][ T210] ? __lock_acquire+0x518/0xc20 [ 9.248018][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 9.248020][ T210] ? find_held_lock+0x2b/0x80 [ 9.248023][ T210] netlink_rcv_skb+0x14e/0x3a0 [ 9.248025][ T210] ? rtnl_link_fill+0x900/0x900 [ 9.248029][ T210] ? netlink_ack+0xcd0/0xcd0 [ 9.248035][ T210] ? netlink_deliver_tap+0xc5/0x330 [ 9.248036][ T210] ? netlink_deliver_tap+0x13c/0x330 [ 9.248040][ T210] netlink_unicast+0x486/0x750 [ 9.248044][ T210] ? netlink_attachskb+0x810/0x810 [ 9.248047][ T210] ? __lock_acquire+0x518/0xc20 [ 9.248051][ T210] netlink_sendmsg+0x735/0xc60 [ 9.248055][ T210] ? netlink_unicast+0x750/0x750 [ 9.248059][ T210] ? __might_fault+0x97/0x140 [ 9.248064][ T210] ____sys_sendmsg+0x415/0x880 [ 9.248066][ T210] ? copy_msghdr_from_user+0x279/0x420 [ 9.248068][ T210] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.248070][ T210] ? move_addr_to_kernel+0x40/0x40 [ 9.248077][ T210] ___sys_sendmsg+0x14e/0x1d0 [ 9.248079][ T210] ? copy_msghdr_from_user+0x420/0x420 [ 9.248094][ T210] __sys_sendmsg+0x12c/0x1d0 [ 9.248097][ T210] ? __sys_sendmsg_sock+0x20/0x20 [ 9.248103][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.248106][ T210] do_syscall_64+0xff/0x530 [ 9.248108][ T210] ? exc_page_fault+0xee/0x100 [ 9.248111][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.248113][ T210] RIP: 0033:0x7fc3e9e3654e [ 9.248117][ T210] 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.248119][ T210] RSP: 002b:00007ffe1bd08000 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.248121][ T210] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc3e9e3654e [ 9.248123][ T210] RDX: 0000000000000000 RSI: 00007ffe1bd080b0 RDI: 0000000000000005 [ 9.248124][ T210] RBP: 00007ffe1bd08010 R08: 0000000000000000 R09: 0000000000000000 [ 9.248125][ T210] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e9f7 [ 9.248125][ T210] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe1bd08770 [ 9.248132][ T210] [ 9.291586][ T210] fab-br0: port 1(fbond) entered disabled state [ 9.291938][ T210] fbond: entered allmulticast mode [ 9.293406][ T210] fbond: entered promiscuous mode [ 9.301972][ T210] ip (210) used greatest stack depth: 23336 bytes left [ 9.397220][ T211] veth1-bond: entered promiscuous mode [ 9.398011][ T211] veth1-bond: entered allmulticast mode [ 9.398762][ T211] fbond: (slave veth1-bond): Enslaving as a backup interface with a down link [ 9.437663][ T216] veth2-bond: entered promiscuous mode [ 9.438052][ T216] veth2-bond: entered allmulticast mode [ 9.438522][ T216] fbond: (slave veth2-bond): Enslaving as a backup interface with a down link [ 9.515548][ T12] fbond: (slave veth1-bond): link status definitely up, 10000 Mbps full duplex [ 9.516026][ T12] fbond: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 9.517103][ T12] fbond: active interface up! [ 9.568694][ T222] fab-br0: port 1(fbond) entered blocking state [ 9.569107][ T222] fab-br0: port 1(fbond) entered forwarding state [ 9.722559][ C0] [ 9.722652][ T221] fbond: (slave veth2-bond): link status definitely up, 10000 Mbps full duplex [ 9.722670][ C0] ======================================================== [ 9.722672][ C0] WARNING: possible irq lock inversion dependency detected [ 9.723313][ C0] 7.2.0-virtme #1 Tainted: G W [ 9.723492][ C0] -------------------------------------------------------- [ 9.723706][ C0] swapper/0/0 just changed the state of lock: [ 9.723889][ C0] ff1100000d412e58 (&br->lock){+.-.}-{3:3}, at: br_forward_delay_timer_expired+0x44/0x5d0 [ 9.724150][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 9.724362][ C0] (fs_reclaim){+.+.}-{0:0} [ 9.724364][ C0] [ 9.724364][ C0] [ 9.724364][ C0] and interrupts could create inverse lock ordering between them. [ 9.724364][ C0] [ 9.724894][ C0] [ 9.724894][ C0] other info that might help us debug this: [ 9.725111][ C0] Chain exists of: [ 9.725111][ C0] &br->lock --> console_owner --> fs_reclaim [ 9.725111][ C0] [ 9.725434][ C0] Possible interrupt unsafe locking scenario: [ 9.725434][ C0] [ 9.725650][ C0] CPU0 CPU1 [ 9.725795][ C0] ---- ---- [ 9.725946][ C0] lock(fs_reclaim); [ 9.726056][ C0] local_irq_disable(); [ 9.726235][ C0] lock(&br->lock); [ 9.726419][ C0] lock(console_owner); [ 9.726601][ C0] [ 9.726713][ C0] lock(&br->lock); [ 9.726826][ C0] [ 9.726826][ C0] *** DEADLOCK *** [ 9.726826][ C0] [ 9.727043][ C0] locks held by swapper/0/0: 1, last CPU#0: [ 9.727224][ C0] #0: ffa0000000007c90 ((&p->forward_delay_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 9.727516][ C0] [ 9.727516][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 9.727769][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 9.727925][ C0] HARDIRQ-ON-W at: [ 9.728037][ C0] __lock_acquire+0x388/0xc20 [ 9.728224][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.728403][ C0] fs_reclaim_acquire+0xd5/0x120 [ 9.728595][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 9.728813][ C0] kthread_create_worker_on_node+0xea/0x210 [ 9.729035][ C0] workqueue_init+0x2a/0x680 [ 9.729221][ C0] kernel_init_freeable+0x2fe/0x630 [ 9.729436][ C0] kernel_init+0x21/0x150 [ 9.729620][ C0] ret_from_fork+0x474/0x6b0 [ 9.729805][ C0] ret_from_fork_asm+0x11/0x20 [ 9.729991][ C0] SOFTIRQ-ON-W at: [ 9.730097][ C0] __lock_acquire+0x388/0xc20 [ 9.730278][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.730459][ C0] fs_reclaim_acquire+0xd5/0x120 [ 9.730641][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 9.730857][ C0] kthread_create_worker_on_node+0xea/0x210 [ 9.731074][ C0] workqueue_init+0x2a/0x680 [ 9.731254][ C0] kernel_init_freeable+0x2fe/0x630 [ 9.731467][ C0] kernel_init+0x21/0x150 [ 9.731646][ C0] ret_from_fork+0x474/0x6b0 [ 9.731826][ C0] ret_from_fork_asm+0x11/0x20 [ 9.732013][ C0] INITIAL USE at: [ 9.732120][ C0] __lock_acquire+0x388/0xc20 [ 9.732297][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.732477][ C0] fs_reclaim_acquire+0xd5/0x120 [ 9.732660][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 9.732874][ C0] kthread_create_worker_on_node+0xea/0x210 [ 9.733094][ C0] workqueue_init+0x2a/0x680 [ 9.733278][ C0] kernel_init_freeable+0x2fe/0x630 [ 9.733456][ C0] kernel_init+0x21/0x150 [ 9.733636][ C0] ret_from_fork+0x474/0x6b0 [ 9.733818][ C0] ret_from_fork_asm+0x11/0x20 [ 9.733998][ C0] } [ 9.734073][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 9.734286][ C0] ... acquired at: [ 9.734398][ C0] __lock_acquire+0x518/0xc20 [ 9.734544][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.734685][ C0] fs_reclaim_acquire+0xd5/0x120 [ 9.734826][ C0] __kmalloc_noprof+0xd3/0x760 [ 9.734975][ C0] alloc_buf.isra.0+0x4b/0x260 [ 9.735119][ C0] put_chars+0x1e1/0x2f0 [ 9.735259][ C0] hvc_console_print+0x292/0x780 [ 9.735401][ C0] console_emit_next_record+0x252/0x4f0 [ 9.735553][ C0] console_flush_one_record+0x46f/0x710 [ 9.735696][ C0] console_unlock+0xee/0x1f0 [ 9.735837][ C0] vprintk_emit+0x37c/0x3e0 [ 9.735985][ C0] _printk+0xc7/0x100 [ 9.736096][ C0] i8042_pnp_init+0xf7/0x3c0 [ 9.736240][ C0] i8042_platform_init+0x3f9/0x460 [ 9.736382][ C0] i8042_init+0x45/0x130 [ 9.736523][ C0] do_one_initcall+0x124/0x4f0 [ 9.736666][ C0] kernel_init_freeable+0x596/0x630 [ 9.736806][ C0] kernel_init+0x21/0x150 [ 9.736953][ C0] ret_from_fork+0x474/0x6b0 [ 9.737096][ C0] ret_from_fork_asm+0x11/0x20 [ 9.737240][ C0] [ 9.737312][ C0] -> (console_owner){....}-{0:0} { [ 9.737456][ C0] INITIAL USE at: [ 9.737564][ C0] } [ 9.737635][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 9.737852][ C0] ... acquired at: [ 9.737960][ C0] __lock_acquire+0x518/0xc20 [ 9.738104][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.738250][ C0] console_lock_spinning_enable+0x5c/0x60 [ 9.738431][ C0] console_emit_next_record+0x1f4/0x4f0 [ 9.738572][ C0] console_flush_one_record+0x46f/0x710 [ 9.738713][ C0] console_unlock+0xee/0x1f0 [ 9.738854][ C0] vprintk_emit+0x37c/0x3e0 [ 9.739000][ C0] _printk+0xc7/0x100 [ 9.739106][ C0] br_set_state+0x22f/0x410 [ 9.739247][ C0] br_init_port+0xc4/0x200 [ 9.739389][ C0] br_stp_enable_bridge+0x1fc/0x340 [ 9.739530][ C0] br_dev_open+0x94/0x120 [ 9.739673][ C0] __dev_open+0x322/0x7a0 [ 9.739817][ C0] __dev_change_flags+0x4a4/0x6d0 [ 9.739962][ C0] netif_change_flags+0x87/0x190 [ 9.740104][ C0] do_setlink.isra.0+0x1d25/0x2a60 [ 9.740246][ C0] rtnl_newlink+0x9f1/0x11b0 [ 9.740389][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.740529][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 9.740673][ C0] netlink_unicast+0x486/0x750 [ 9.740813][ C0] netlink_sendmsg+0x735/0xc60 [ 9.740957][ C0] ____sys_sendmsg+0x415/0x880 [ 9.741101][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 9.741243][ C0] __sys_sendmsg+0x12c/0x1d0 [ 9.741385][ C0] do_syscall_64+0xff/0x530 [ 9.741529][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.741709][ C0] [ 9.741781][ C0] -> (&br->lock){+.-.}-{3:3} { [ 9.741927][ C0] HARDIRQ-ON-W at: [ 9.742033][ C0] __lock_acquire+0x388/0xc20 [ 9.742213][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.742394][ C0] _raw_spin_lock_bh+0x38/0x50 [ 9.742574][ C0] br_dev_newlink+0xa6/0x160 [ 9.742752][ C0] rtnl_newlink_create+0x2d0/0x850 [ 9.742945][ C0] __rtnl_newlink+0x22b/0xa50 [ 9.743123][ C0] rtnl_newlink+0x9f1/0x11b0 [ 9.743301][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.743478][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 9.743658][ C0] netlink_unicast+0x486/0x750 [ 9.743835][ C0] netlink_sendmsg+0x735/0xc60 [ 9.744018][ C0] ____sys_sendmsg+0x415/0x880 [ 9.744196][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 9.744373][ C0] __sys_sendmsg+0x12c/0x1d0 [ 9.744550][ C0] do_syscall_64+0xff/0x530 [ 9.744728][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.744945][ C0] IN-SOFTIRQ-W at: [ 9.745050][ C0] __lock_acquire+0x388/0xc20 [ 9.745228][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.745405][ C0] _raw_spin_lock+0x33/0x40 [ 9.745581][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [ 9.745794][ C0] call_timer_fn+0x160/0x4d0 [ 9.745976][ C0] __run_timers+0x68f/0xaa0 [ 9.746153][ C0] run_timer_softirq+0xf0/0x160 [ 9.746328][ C0] handle_softirqs+0x1d3/0x900 [ 9.746508][ C0] __irq_exit_rcu+0x145/0x1c0 [ 9.746685][ C0] irq_exit_rcu+0xe/0x30 [ 9.746865][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 9.747082][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 9.747294][ C0] pv_native_safe_halt+0xf/0x10 [ 9.747469][ C0] default_idle+0x9/0x10 [ 9.747646][ C0] default_idle_call+0x6e/0xb0 [ 9.747824][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 9.748042][ C0] do_idle+0xd8/0x190 [ 9.748185][ C0] cpu_startup_entry+0x53/0x70 [ 9.748363][ C0] rest_init+0x279/0x280 [ 9.748541][ C0] start_kernel+0x3af/0x3b0 [ 9.748719][ C0] x86_64_start_reservations+0x24/0x30 [ 9.748898][ C0] x86_64_start_kernel+0x12b/0x130 [ 9.749077][ C0] common_startup_64+0x13e/0x148 [ 9.749256][ C0] INITIAL USE at: [ 9.749362][ C0] __lock_acquire+0x388/0xc20 [ 9.749538][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.749716][ C0] _raw_spin_lock_bh+0x38/0x50 [ 9.749897][ C0] br_dev_newlink+0xa6/0x160 [ 9.750076][ C0] rtnl_newlink_create+0x2d0/0x850 [ 9.750253][ C0] __rtnl_newlink+0x22b/0xa50 [ 9.750431][ C0] rtnl_newlink+0x9f1/0x11b0 [ 9.750608][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.750783][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 9.750965][ C0] netlink_unicast+0x486/0x750 [ 9.751143][ C0] netlink_sendmsg+0x735/0xc60 [ 9.751320][ C0] ____sys_sendmsg+0x415/0x880 [ 9.751497][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 9.751673][ C0] __sys_sendmsg+0x12c/0x1d0 [ 9.751850][ C0] do_syscall_64+0xff/0x530 [ 9.752031][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.752242][ C0] } [ 9.752314][ C0] ... key at: [] __key.7+0x0/0x40 [ 9.752492][ C0] ... acquired at: [ 9.752598][ C0] mark_lock+0x1d7/0xa00 [ 9.752742][ C0] mark_usage+0x42/0x170 [ 9.752887][ C0] __lock_acquire+0x388/0xc20 [ 9.753030][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.753170][ C0] _raw_spin_lock+0x33/0x40 [ 9.753311][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [ 9.753488][ C0] call_timer_fn+0x160/0x4d0 [ 9.753630][ C0] __run_timers+0x68f/0xaa0 [ 9.753771][ C0] run_timer_softirq+0xf0/0x160 [ 9.753916][ C0] handle_softirqs+0x1d3/0x900 [ 9.754057][ C0] __irq_exit_rcu+0x145/0x1c0 [ 9.754200][ C0] irq_exit_rcu+0xe/0x30 [ 9.754341][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 9.754517][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 9.754691][ C0] pv_native_safe_halt+0xf/0x10 [ 9.754831][ C0] default_idle+0x9/0x10 [ 9.754977][ C0] default_idle_call+0x6e/0xb0 [ 9.755117][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 9.755293][ C0] do_idle+0xd8/0x190 [ 9.755399][ C0] cpu_startup_entry+0x53/0x70 [ 9.755541][ C0] rest_init+0x279/0x280 [ 9.755682][ C0] start_kernel+0x3af/0x3b0 [ 9.755821][ C0] x86_64_start_reservations+0x24/0x30 [ 9.755970][ C0] x86_64_start_kernel+0x12b/0x130 [ 9.756113][ C0] common_startup_64+0x13e/0x148 [ 9.756256][ C0] [ 9.756326][ C0] [ 9.756326][ C0] stack backtrace: [ 9.756505][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.756508][ C0] Tainted: [W]=WARN [ 9.756509][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.756511][ C0] Call Trace: [ 9.756512][ C0] [ 9.756513][ C0] dump_stack_lvl+0x6f/0xa0 [ 9.756517][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 9.756519][ C0] mark_lock_irq+0x989/0x9c0 [ 9.756523][ C0] mark_lock+0x1d7/0xa00 [ 9.756525][ C0] mark_usage+0x42/0x170 [ 9.756527][ C0] __lock_acquire+0x388/0xc20 [ 9.756529][ C0] lock_acquire.part.0+0xd4/0x280 [ 9.756531][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 9.756533][ C0] ? rcu_is_watching+0x16/0xd0 [ 9.756536][ C0] ? lock_acquire+0x13c/0x160 [ 9.756538][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 9.756539][ C0] _raw_spin_lock+0x33/0x40 [ 9.756541][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 9.756542][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [ 9.756544][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 9.756546][ C0] call_timer_fn+0x160/0x4d0 [ 9.756547][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 9.756548][ C0] ? debug_object_active_state+0x430/0x430 [ 9.756552][ C0] ? find_held_lock+0x2b/0x80 [ 9.756554][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 9.756556][ C0] ? rcu_is_watching+0x16/0xd0 [ 9.756557][ C0] __run_timers+0x68f/0xaa0 [ 9.756559][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 9.756561][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 9.756562][ C0] ? __lock_acquire+0x518/0xc20 [ 9.756565][ C0] ? __rwlock_init+0x150/0x150 [ 9.756567][ C0] run_timer_softirq+0xf0/0x160 [ 9.756568][ C0] ? __run_timers+0xaa0/0xaa0 [ 9.756570][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.756573][ C0] ? rcu_is_watching+0x16/0xd0 [ 9.756574][ C0] handle_softirqs+0x1d3/0x900 [ 9.756576][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 9.756578][ C0] ? _local_bh_enable+0xc0/0xc0 [ 9.756580][ C0] __irq_exit_rcu+0x145/0x1c0 [ 9.756582][ C0] irq_exit_rcu+0xe/0x30 [ 9.756584][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 9.756586][ C0] [ 9.756586][ C0] [ 9.756587][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 9.756589][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 9.756590][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 9.756593][ 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 [ 9.756594][ C0] RSP: 0018:ffffffff9fa07cf8 EFLAGS: 00000296 [ 9.756596][ C0] RAX: 0000000000057785 RBX: ffffffff9fa1c600 RCX: ffffffff9c8fa307 [ 9.756598][ C0] RDX: ffffffff9fa1c600 RSI: ffffffff9f8a7f94 RDI: ffffffff9f28f560 [ 9.756599][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 9.756600][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3f40fa2 [ 9.756600][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 9.756602][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 9.756604][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 9.756606][ C0] default_idle+0x9/0x10 [ 9.756608][ C0] default_idle_call+0x6e/0xb0 [ 9.756609][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 9.756611][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 9.756613][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 9.756616][ C0] ? rcu_is_watching+0x16/0xd0 [ 9.756618][ C0] do_idle+0xd8/0x190 [ 9.756619][ C0] cpu_startup_entry+0x53/0x70 [ 9.756621][ C0] rest_init+0x279/0x280 [ 9.756623][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 9.756626][ C0] ? rest_init+0x280/0x280 [ 9.756627][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 9.756631][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 9.756633][ C0] ? acpi_enable+0x1e4/0x330 [ 9.756634][ C0] start_kernel+0x3af/0x3b0 [ 9.756636][ C0] x86_64_start_reservations+0x24/0x30 [ 9.756638][ C0] x86_64_start_kernel+0x12b/0x130 [ 9.756640][ C0] common_startup_64+0x13e/0x148 [ 9.756643][ C0] [ 11.653730][ T328] fbond: left allmulticast mode [ 11.653744][ T328] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.653747][ T328] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 328, name: ip [ 11.653748][ T328] preempt_count: 1, expected: 0 [ 11.653749][ T328] RCU nest depth: 0, expected: 0 [ 11.653750][ T328] INFO: lockdep is turned off. [ 11.653751][ T328] irq event stamp: 0 [ 11.653752][ T328] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 11.653756][ T328] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 11.653763][ T328] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 11.653764][ T328] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 11.653766][ T328] Preemption disabled at: [ 11.653767][ T328] [] vprintk_emit+0x31b/0x3e0 [ 11.653774][ T328] CPU: 0 UID: 0 PID: 328 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.653778][ T328] Tainted: [W]=WARN [ 11.653779][ T328] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.653780][ T328] Call Trace: [ 11.653782][ T328] [ 11.653783][ T328] dump_stack_lvl+0x6f/0xa0 [ 11.653788][ T328] ? vprintk_emit+0x31b/0x3e0 [ 11.653789][ T328] __might_resched.cold+0x1fe/0x2c1 [ 11.653793][ T328] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.653796][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653799][ T328] __kmalloc_noprof+0x443/0x760 [ 11.653803][ T328] ? __rwlock_init+0x150/0x150 [ 11.653805][ T328] ? alloc_buf.isra.0+0x4b/0x260 [ 11.653809][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 11.653810][ T328] alloc_buf.isra.0+0x4b/0x260 [ 11.653813][ T328] put_chars+0x1e1/0x2f0 [ 11.653815][ T328] ? printk_get_next_message+0x2fe/0x7d0 [ 11.653816][ T328] ? __send_to_port+0x420/0x420 [ 11.653818][ T328] ? desc_read+0x2f0/0x2f0 [ 11.653820][ T328] ? desc_read+0x219/0x2f0 [ 11.653822][ T328] hvc_console_print+0x292/0x780 [ 11.653827][ T328] ? hvc_write+0x3a0/0x3a0 [ 11.653828][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653830][ T328] ? lock_acquire+0x13c/0x160 [ 11.653832][ T328] console_emit_next_record+0x252/0x4f0 [ 11.653834][ T328] ? devkmsg_read+0x4e0/0x4e0 [ 11.653836][ T328] ? _prb_read_valid+0x6e0/0x6e0 [ 11.653837][ T328] ? __asan_memmove+0x3c/0x60 [ 11.653840][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653841][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653842][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653844][ T328] ? lock_acquire+0x13c/0x160 [ 11.653846][ T328] ? console_flush_one_record+0x111/0x710 [ 11.653847][ T328] console_flush_one_record+0x46f/0x710 [ 11.653849][ T328] ? console_emit_next_record+0x4f0/0x4f0 [ 11.653851][ T328] console_unlock+0xee/0x1f0 [ 11.653852][ T328] ? lock_acquire+0x13c/0x160 [ 11.653854][ T328] ? console_flush_one_record+0x710/0x710 [ 11.653855][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653857][ T328] ? lock_release+0x184/0x1f0 [ 11.653858][ T328] ? lock_acquire+0x60/0x160 [ 11.653860][ T328] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 11.653862][ T328] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.653864][ T328] ? vprintk_emit+0x320/0x3e0 [ 11.653865][ T328] vprintk_emit+0x37c/0x3e0 [ 11.653867][ T328] ? wake_up_klogd_work_func+0x90/0x90 [ 11.653869][ T328] ? netlink_rcv_skb+0x14e/0x3a0 [ 11.653872][ T328] ? netlink_sendmsg+0x735/0xc60 [ 11.653873][ T328] ? ____sys_sendmsg+0x415/0x880 [ 11.653876][ T328] ? ___sys_sendmsg+0x14e/0x1d0 [ 11.653877][ T328] ? __sys_sendmsg+0x12c/0x1d0 [ 11.653879][ T328] ? do_syscall_64+0xff/0x530 [ 11.653881][ T328] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.653883][ T328] _printk+0xc7/0x100 [ 11.653890][ T328] ? snapshot_read.cold+0x21/0x21 [ 11.653892][ T328] ? netdev_name+0x43/0x60 [ 11.653895][ T328] ? __netdev_printk+0x17f/0x1d0 [ 11.653897][ T328] netdev_info+0xe2/0x116 [ 11.653899][ T328] ? netdev_notice+0x120/0x120 [ 11.653900][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653902][ T328] ? __up_read+0x355/0x9e0 [ 11.653903][ T328] ? trace_hardirqs_on+0x36/0x40 [ 11.653906][ T328] ? down_write_nested+0x200/0x200 [ 11.653908][ T328] ? mutex_is_locked+0x1c/0x50 [ 11.653909][ T328] netif_set_allmulti.cold+0x7c/0x166 [ 11.653912][ T328] dev_set_allmulti+0xa6/0x240 [ 11.653916][ T328] del_nbp+0xb7/0xc10 [ 11.653919][ T328] ? __asan_memset+0x27/0x50 [ 11.653921][ T328] br_dev_delete+0x9d/0x1d0 [ 11.653924][ T328] rtnl_dellink+0x48f/0xae0 [ 11.653926][ T328] ? lock_release+0x184/0x1f0 [ 11.653928][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653929][ T328] ? rtnl_link_get_net_capable.constprop.0+0x3d0/0x3d0 [ 11.653931][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653937][ T328] ? unwind_next_frame+0x69b/0x1ea0 [ 11.653940][ T328] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.653941][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653942][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653943][ T328] ? lock_acquire+0x13c/0x160 [ 11.653945][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653946][ T328] ? lock_release+0x184/0x1f0 [ 11.653948][ T328] ? is_bpf_text_address+0x3e/0x110 [ 11.653951][ T328] ? is_bpf_text_address+0x72/0x110 [ 11.653952][ T328] ? kernel_text_address+0x149/0x170 [ 11.653955][ T328] ? __kernel_text_address+0x12/0x30 [ 11.653957][ T328] ? write_profile+0xf0/0xf0 [ 11.653960][ T328] ? unwind_get_return_address+0x67/0xd0 [ 11.653961][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653963][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653964][ T328] ? cap_capable+0x1d7/0x3d0 [ 11.653967][ T328] ? lock_acquire+0x13c/0x160 [ 11.653969][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653970][ T328] ? rtnl_link_get_net_capable.constprop.0+0x3d0/0x3d0 [ 11.653972][ T328] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.653974][ T328] ? rtnl_link_fill+0x900/0x900 [ 11.653976][ T328] ? filter_irq_stacks+0xd0/0xd0 [ 11.653978][ T328] ? stack_depot_save_flags+0x1bc/0x790 [ 11.653981][ T328] netlink_rcv_skb+0x14e/0x3a0 [ 11.653983][ T328] ? rtnl_link_fill+0x900/0x900 [ 11.653985][ T328] ? lock_release+0x184/0x1f0 [ 11.653986][ T328] ? netlink_ack+0xcd0/0xcd0 [ 11.653988][ T328] ? __netlink_lookup+0xb9/0x6b0 [ 11.653990][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653991][ T328] ? lock_release+0x184/0x1f0 [ 11.653994][ T328] netlink_unicast+0x486/0x750 [ 11.653996][ T328] ? netlink_attachskb+0x810/0x810 [ 11.653997][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.653998][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.654000][ T328] ? lock_acquire+0x13c/0x160 [ 11.654002][ T328] netlink_sendmsg+0x735/0xc60 [ 11.654004][ T328] ? netlink_unicast+0x750/0x750 [ 11.654006][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.654007][ T328] ? lock_release+0x184/0x1f0 [ 11.654009][ T328] ____sys_sendmsg+0x415/0x880 [ 11.654010][ T328] ? copy_msghdr_from_user+0x279/0x420 [ 11.654012][ T328] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 11.654013][ T328] ? move_addr_to_kernel+0x40/0x40 [ 11.654014][ T328] ? filter_irq_stacks+0xd0/0xd0 [ 11.654017][ T328] ___sys_sendmsg+0x14e/0x1d0 [ 11.654018][ T328] ? copy_msghdr_from_user+0x420/0x420 [ 11.654023][ T328] __sys_sendmsg+0x12c/0x1d0 [ 11.654024][ T328] ? __sys_sendmsg_sock+0x20/0x20 [ 11.654027][ T328] ? rcu_is_watching+0x16/0xd0 [ 11.654028][ T328] do_syscall_64+0xff/0x530 [ 11.654029][ T328] ? exc_page_fault+0xee/0x100 [ 11.654032][ T328] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.654033][ T328] RIP: 0033:0x7fc8fc24754e [ 11.654035][ T328] 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.654037][ T328] RSP: 002b:00007fff145d2110 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.654040][ T328] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fc8fc24754e [ 11.654042][ T328] RDX: 0000000000000000 RSI: 00007fff145d21c0 RDI: 0000000000000005 [ 11.654043][ T328] RBP: 00007fff145d2120 R08: 0000000000000000 R09: 0000000000000000 [ 11.654043][ T328] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e9fa [ 11.654044][ T328] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff145d2880 [ 11.654047][ T328] [ 11.672484][ T328] veth1-bond: left allmulticast mode [ 11.672616][ T328] veth2-bond: left allmulticast mode [ 11.672764][ T328] fbond: left promiscuous mode [ 11.672889][ T328] veth1-bond: left promiscuous mode [ 11.673080][ T328] veth2-bond: left promiscuous mode [ 11.673327][ T328] fab-br0: port 1(fbond) entered disabled state [ 11.703642][ T329] fbond (unregistering): (slave veth1-bond): Removing an active aggregator [ 11.704006][ T329] fbond (unregistering): (slave veth1-bond): Releasing backup interface [ 11.708957][ T329] fbond (unregistering): (slave veth2-bond): Removing an active aggregator [ 11.709293][ T329] fbond (unregistering): (slave veth2-bond): Releasing backup interface [ 11.717793][ T329] fbond (unregistering): Released all slaves