[ 9.562808][ T209] ip (209) used greatest stack depth: 24064 bytes left [ 9.562823][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.562825][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 9.562827][ T209] preempt_count: 2, expected: 0 [ 9.562827][ T209] RCU nest depth: 0, expected: 0 [ 9.562828][ T209] locks held by ip/209: 5, last CPU#0: [ 9.562830][ T209] #0: ffffffff98c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.562842][ T209] #1: ffffffff98d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.562847][ T209] #2: ffffffff98d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.562851][ T209] #3: ffffffff98c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.562855][ T209] #4: ffffffff98c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.562858][ T209] irq event stamp: 26470 [ 9.562859][ T209] hardirqs last enabled at (26469): [] __down_trylock_console_sem+0x86/0xa0 [ 9.562862][ T209] hardirqs last disabled at (26470): [] console_emit_next_record+0x3d4/0x4c0 [ 9.562865][ T209] softirqs last enabled at (25992): [] handle_softirqs+0x67c/0x900 [ 9.562867][ T209] softirqs last disabled at (25987): [] __irq_exit_rcu+0x145/0x1c0 [ 9.562870][ T209] Preemption disabled at: [ 9.562870][ T209] [<0000000000000000>] 0x0 [ 9.562877][ T209] CPU: 0 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.562880][ T209] Tainted: [W]=WARN [ 9.562881][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.562883][ T209] Call Trace: [ 9.562884][ T209] [ 9.562886][ T209] dump_stack_lvl+0x6f/0xa0 [ 9.562893][ T209] __might_resched.cold+0x1fe/0x2c1 [ 9.562897][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.562901][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 9.562906][ T209] __kmalloc_noprof+0x443/0x760 [ 9.562907][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 9.562915][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.562917][ T209] alloc_buf.isra.0+0x4b/0x260 [ 9.562921][ T209] put_chars+0x1e1/0x2f0 [ 9.562923][ T209] ? __send_to_port+0x420/0x420 [ 9.562925][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.562928][ T209] ? validate_chain+0x38b/0xc20 [ 9.562933][ T209] hvc_console_print+0x292/0x780 [ 9.562941][ T209] ? hvc_write+0x3a0/0x3a0 [ 9.562943][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.562945][ T209] ? lock_acquire+0x13c/0x160 [ 9.562949][ T209] console_emit_next_record+0x22f/0x4c0 [ 9.562953][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 9.562955][ T209] ? console_flush_one_record+0x106/0x710 [ 9.562958][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.562959][ T209] ? lock_acquire+0x13c/0x160 [ 9.562963][ T209] console_flush_one_record+0x46f/0x710 [ 9.562967][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 9.562969][ T209] ? __lock_acquire+0x518/0xc20 [ 9.562974][ T209] console_unlock+0xee/0x1f0 [ 9.562977][ T209] ? console_flush_one_record+0x710/0x710 [ 9.562984][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.562985][ T209] ? lock_acquire+0xe0/0x160 [ 9.562989][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.562991][ T209] ? vprintk_emit+0x320/0x3e0 [ 9.562993][ T209] vprintk_emit+0x37c/0x3e0 [ 9.562996][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 9.562999][ T209] ? __lock_acquire+0x518/0xc20 [ 9.563003][ T209] _printk+0xc7/0x100 [ 9.563006][ T209] ? snapshot_read.cold+0x21/0x21 [ 9.563009][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.563012][ T209] ? __rwlock_init+0x150/0x150 [ 9.563015][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.563018][ T209] do_exit.cold+0x82/0x9c [ 9.563022][ T209] ? exit_notify+0x890/0x890 [ 9.563023][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 9.563026][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.563029][ T209] do_group_exit+0xb8/0x370 [ 9.563032][ T209] __x64_sys_exit_group+0x3c/0x50 [ 9.563034][ T209] x64_sys_call+0x1567/0x1570 [ 9.563036][ T209] do_syscall_64+0xff/0x530 [ 9.563041][ T209] ? exc_page_fault+0xee/0x100 [ 9.563044][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.563046][ T209] RIP: 0033:0x7f433e6271b8 [ 9.563048][ T209] Code: Unable to access opcode bytes at 0x7f433e62718e. [ 9.563049][ T209] RSP: 002b:00007ffec6ee17c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.563051][ T209] RAX: ffffffffffffffda RBX: 00007f433e757f88 RCX: 00007f433e6271b8 [ 9.563053][ T209] RDX: 00007f433e371fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.563054][ T209] RBP: 00007ffec6ee1820 R08: 0000000000000000 R09: 0000000000000050 [ 9.563054][ T209] R10: 00007ffec6ee15e0 R11: 0000000000000246 R12: 0000000000000001 [ 9.563055][ T209] R13: 0000000000000000 R14: 00007f433e756680 R15: 00007f433e757fa0 [ 9.563062][ T209] [ 10.904187][ T291] br0: port 1(gw_l) entered blocking state [ 10.904253][ T291] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.904256][ T291] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 291, name: ip [ 10.904257][ T291] preempt_count: 1, expected: 0 [ 10.904258][ T291] RCU nest depth: 0, expected: 0 [ 10.904259][ T291] locks held by ip/291: 5, last CPU#0: [ 10.904261][ T291] #0: ffffffff9951b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.904273][ T291] #1: ffffffff98d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.904279][ T291] #2: ffffffff98d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.904283][ T291] #3: ffffffff98c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.904286][ T291] #4: ffffffff98c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.904290][ T291] irq event stamp: 39232 [ 10.904291][ T291] hardirqs last enabled at (39231): [] __down_trylock_console_sem+0x86/0xa0 [ 10.904294][ T291] hardirqs last disabled at (39232): [] console_emit_next_record+0x3d4/0x4c0 [ 10.904296][ T291] softirqs last enabled at (39144): [] __alloc_skb+0x4c2/0x5f0 [ 10.904300][ T291] softirqs last disabled at (39142): [] __alloc_skb+0x4c2/0x5f0 [ 10.904302][ T291] Preemption disabled at: [ 10.904303][ T291] [] vprintk_emit+0x31b/0x3e0 [ 10.904308][ T291] CPU: 0 UID: 0 PID: 291 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.904311][ T291] Tainted: [W]=WARN [ 10.904312][ T291] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.904314][ T291] Call Trace: [ 10.904315][ T291] [ 10.904317][ T291] dump_stack_lvl+0x6f/0xa0 [ 10.904323][ T291] ? vprintk_emit+0x31b/0x3e0 [ 10.904324][ T291] __might_resched.cold+0x1fe/0x2c1 [ 10.904331][ T291] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.904335][ T291] ? __kmalloc_noprof+0xdb/0x760 [ 10.904339][ T291] __kmalloc_noprof+0x443/0x760 [ 10.904341][ T291] ? alloc_buf.isra.0+0x4b/0x260 [ 10.904348][ T291] ? do_raw_spin_unlock+0x59/0x250 [ 10.904351][ T291] alloc_buf.isra.0+0x4b/0x260 [ 10.904354][ T291] put_chars+0x1e1/0x2f0 [ 10.904357][ T291] ? __send_to_port+0x420/0x420 [ 10.904360][ T291] ? validate_chain+0x34a/0xc20 [ 10.904365][ T291] hvc_console_print+0x292/0x780 [ 10.904372][ T291] ? hvc_write+0x3a0/0x3a0 [ 10.904375][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904378][ T291] ? lock_acquire+0x13c/0x160 [ 10.904382][ T291] console_emit_next_record+0x22f/0x4c0 [ 10.904385][ T291] ? devkmsg_read+0x4b0/0x4b0 [ 10.904387][ T291] ? console_flush_one_record+0x106/0x710 [ 10.904390][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904392][ T291] ? lock_acquire+0x13c/0x160 [ 10.904396][ T291] console_flush_one_record+0x46f/0x710 [ 10.904400][ T291] ? console_emit_next_record+0x4c0/0x4c0 [ 10.904402][ T291] ? __lock_acquire+0x518/0xc20 [ 10.904407][ T291] console_unlock+0xee/0x1f0 [ 10.904410][ T291] ? console_flush_one_record+0x710/0x710 [ 10.904412][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904414][ T291] ? lock_acquire+0xe0/0x160 [ 10.904418][ T291] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.904419][ T291] ? vprintk_emit+0x320/0x3e0 [ 10.904422][ T291] vprintk_emit+0x37c/0x3e0 [ 10.904425][ T291] ? wake_up_klogd_work_func+0x90/0x90 [ 10.904427][ T291] ? __lock_release.isra.0+0x69/0x1a0 [ 10.904428][ T291] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 10.904433][ T291] ? mark_held_locks+0x40/0x70 [ 10.904436][ T291] _printk+0xc7/0x100 [ 10.904439][ T291] ? snapshot_read.cold+0x21/0x21 [ 10.904443][ T291] ? br_multicast_flood+0x960/0x960 [ 10.904446][ T291] ? do_setlink.isra.0+0x9ec/0x2a60 [ 10.904447][ T291] ? rtnl_newlink+0x9f1/0x11b0 [ 10.904449][ T291] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.904453][ T291] br_set_state+0x22f/0x430 [ 10.904457][ T291] br_init_port+0xc4/0x200 [ 10.904459][ T291] new_nbp+0x3a0/0x650 [ 10.904463][ T291] br_add_if+0x212/0x1320 [ 10.904465][ T291] ? is_bpf_text_address+0x72/0x110 [ 10.904469][ T291] ? kernel_text_address+0x149/0x170 [ 10.904474][ T291] do_set_master+0x3b2/0x780 [ 10.904477][ T291] do_setlink.isra.0+0x9ec/0x2a60 [ 10.904481][ T291] ? stack_trace_save+0x93/0xc0 [ 10.904484][ T291] ? rtnl_link_get_size+0x350/0x350 [ 10.904485][ T291] ? rcu_read_lock_any_held+0x66/0x90 [ 10.904488][ T291] ? stack_depot_save_flags+0x38e/0x790 [ 10.904491][ T291] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.904493][ T291] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.904495][ T291] ? validate_chain+0x38b/0xc20 [ 10.904498][ T291] ? kasan_save_stack+0x3d/0x50 [ 10.904500][ T291] ? kasan_save_stack+0x2f/0x50 [ 10.904501][ T291] ? kasan_save_track+0x14/0x30 [ 10.904503][ T291] ? __kasan_kmalloc+0x7b/0x90 [ 10.904505][ T291] ? __lock_acquire+0x518/0xc20 [ 10.904507][ T291] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.904510][ T291] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.904513][ T291] ? lock_acquire.part.0+0xd4/0x280 [ 10.904515][ T291] ? rtnl_newlink+0x9a8/0x11b0 [ 10.904518][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904520][ T291] ? lock_acquire+0x13c/0x160 [ 10.904521][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904522][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904524][ T291] ? trace_contention_end+0xb3/0x180 [ 10.904526][ T291] ? __mutex_lock+0x1db/0x1ea0 [ 10.904527][ T291] ? __mutex_lock+0x9a3/0x1ea0 [ 10.904529][ T291] ? rtnl_newlink+0x9a8/0x11b0 [ 10.904533][ T291] ? ww_mutex_lock+0x160/0x160 [ 10.904534][ T291] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.904538][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904541][ T291] ? __rtnl_newlink+0x3fa/0xa50 [ 10.904546][ T291] rtnl_newlink+0x9f1/0x11b0 [ 10.904551][ T291] ? rtnl_bridge_getlink+0x850/0x850 [ 10.904553][ T291] ? __lock_acquire+0x518/0xc20 [ 10.904557][ T291] ? lock_acquire.part.0+0xd4/0x280 [ 10.904559][ T291] ? find_held_lock+0x2b/0x80 [ 10.904561][ T291] ? rtnl_bridge_getlink+0x850/0x850 [ 10.904563][ T291] ? __lock_release.isra.0+0x69/0x1a0 [ 10.904567][ T291] ? rtnl_bridge_getlink+0x850/0x850 [ 10.904569][ T291] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.904572][ T291] ? rtnl_link_fill+0x920/0x920 [ 10.904573][ T291] ? __lock_acquire+0x518/0xc20 [ 10.904577][ T291] ? lock_acquire.part.0+0xd4/0x280 [ 10.904579][ T291] ? find_held_lock+0x2b/0x80 [ 10.904583][ T291] netlink_rcv_skb+0x14e/0x3a0 [ 10.904586][ T291] ? rtnl_link_fill+0x920/0x920 [ 10.904589][ T291] ? netlink_ack+0xcf0/0xcf0 [ 10.904595][ T291] ? netlink_deliver_tap+0xc5/0x330 [ 10.904597][ T291] ? netlink_deliver_tap+0x13c/0x330 [ 10.904601][ T291] netlink_unicast+0x486/0x750 [ 10.904605][ T291] ? netlink_attachskb+0x810/0x810 [ 10.904608][ T291] ? find_held_lock+0x2b/0x80 [ 10.904612][ T291] netlink_sendmsg+0x75b/0xc90 [ 10.904616][ T291] ? netlink_unicast+0x750/0x750 [ 10.904619][ T291] ? __lock_release.isra.0+0x69/0x1a0 [ 10.904621][ T291] ? __import_iovec+0x36c/0x620 [ 10.904626][ T291] __sock_sendmsg+0xce/0x190 [ 10.904629][ T291] ____sys_sendmsg+0x61a/0x860 [ 10.904631][ T291] ? copy_msghdr_from_user+0x279/0x420 [ 10.904633][ T291] ? sock_write_iter+0x400/0x400 [ 10.904635][ T291] ? move_addr_to_kernel+0x40/0x40 [ 10.904642][ T291] ___sys_sendmsg+0x14e/0x1d0 [ 10.904645][ T291] ? copy_msghdr_from_user+0x420/0x420 [ 10.904660][ T291] __sys_sendmsg+0x12c/0x1d0 [ 10.904663][ T291] ? __sys_sendmsg_sock+0x20/0x20 [ 10.904669][ T291] ? rcu_is_watching+0x16/0xd0 [ 10.904672][ T291] do_syscall_64+0xff/0x530 [ 10.904675][ T291] ? exc_page_fault+0xee/0x100 [ 10.904678][ T291] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.904680][ T291] RIP: 0033:0x7f356dba054e [ 10.904684][ T291] 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.904686][ T291] RSP: 002b:00007ffeaafb8dd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.904688][ T291] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f356dba054e [ 10.904690][ T291] RDX: 0000000000000000 RSI: 00007ffeaafb8e80 RDI: 0000000000000005 [ 10.904691][ T291] RBP: 00007ffeaafb8de0 R08: 0000000000000000 R09: 0000000000000000 [ 10.904691][ T291] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a911313 [ 10.904692][ T291] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffeaafb9540 [ 10.904699][ T291] [ 10.938264][ T291] br0: port 1(gw_l) entered disabled state [ 10.938566][ T291] gw_l: entered allmulticast mode [ 10.939591][ T291] gw_l: entered promiscuous mode [ 10.940660][ T291] br0: port 1(gw_l) entered blocking state [ 10.941005][ T291] br0: port 1(gw_l) entered forwarding state [ 10.947373][ T291] ip (291) used greatest stack depth: 23336 bytes left [ 11.087088][ T293] br0: port 2(amtg) entered blocking state [ 11.087536][ T293] br0: port 2(amtg) entered disabled state [ 11.087812][ T293] amtg: entered allmulticast mode [ 11.088829][ T293] amtg: entered promiscuous mode [ 11.618878][ T304] br0: port 2(amtg) entered blocking state [ 11.619236][ T304] br0: port 2(amtg) entered forwarding state [ 11.931202][ T312] amtr: entered allmulticast mode [ 11.931218][ T312] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.931220][ T312] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 312, name: smcrouted [ 11.931221][ T312] preempt_count: 1, expected: 0 [ 11.931222][ T312] RCU nest depth: 0, expected: 0 [ 11.931223][ T312] locks held by smcrouted/312: 5, last CPU#3: [ 11.931225][ T312] #0: ffffffff9951b740 (rtnl_mutex){+.+.}-{4:4}, at: ip_mroute_setsockopt+0x15c/0x1010 [ 11.931237][ T312] #1: ffffffff98d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.931242][ T312] #2: ffffffff98d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.931246][ T312] #3: ffffffff98c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.931250][ T312] #4: ffffffff98c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.931254][ T312] irq event stamp: 5154 [ 11.931255][ T312] hardirqs last enabled at (5153): [] __down_trylock_console_sem+0x86/0xa0 [ 11.931258][ T312] hardirqs last disabled at (5154): [] console_emit_next_record+0x3d4/0x4c0 [ 11.931260][ T312] softirqs last enabled at (5072): [] __alloc_skb+0x4c2/0x5f0 [ 11.931263][ T312] softirqs last disabled at (5070): [] __alloc_skb+0x4c2/0x5f0 [ 11.931266][ T312] Preemption disabled at: [ 11.931266][ T312] [] vprintk_emit+0x31b/0x3e0 [ 11.931271][ T312] CPU: 3 UID: 0 PID: 312 Comm: smcrouted Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.931274][ T312] Tainted: [W]=WARN [ 11.931275][ T312] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.931277][ T312] Call Trace: [ 11.931278][ T312] [ 11.931280][ T312] dump_stack_lvl+0x6f/0xa0 [ 11.931285][ T312] ? vprintk_emit+0x31b/0x3e0 [ 11.931287][ T312] __might_resched.cold+0x1fe/0x2c1 [ 11.931291][ T312] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.931295][ T312] ? __kmalloc_noprof+0xdb/0x760 [ 11.931299][ T312] __kmalloc_noprof+0x443/0x760 [ 11.931301][ T312] ? alloc_buf.isra.0+0x4b/0x260 [ 11.931308][ T312] ? do_raw_spin_unlock+0x59/0x250 [ 11.931311][ T312] alloc_buf.isra.0+0x4b/0x260 [ 11.931314][ T312] put_chars+0x1e1/0x2f0 [ 11.931317][ T312] ? __send_to_port+0x420/0x420 [ 11.931320][ T312] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.931323][ T312] ? validate_chain+0x38b/0xc20 [ 11.931329][ T312] hvc_console_print+0x292/0x780 [ 11.931334][ T312] ? __lock_acquire+0x518/0xc20 [ 11.931335][ T312] ? __lock_acquire+0x518/0xc20 [ 11.931340][ T312] ? hvc_write+0x3a0/0x3a0 [ 11.931344][ T312] ? rcu_is_watching+0x16/0xd0 [ 11.931346][ T312] ? lock_acquire+0x13c/0x160 [ 11.931350][ T312] console_emit_next_record+0x22f/0x4c0 [ 11.931354][ T312] ? devkmsg_read+0x4b0/0x4b0 [ 11.931356][ T312] ? console_flush_one_record+0x106/0x710 [ 11.931359][ T312] ? rcu_is_watching+0x16/0xd0 [ 11.931360][ T312] ? lock_acquire+0x13c/0x160 [ 11.931364][ T312] console_flush_one_record+0x46f/0x710 [ 11.931368][ T312] ? console_emit_next_record+0x4c0/0x4c0 [ 11.931370][ T312] ? __lock_acquire+0x518/0xc20 [ 11.931375][ T312] console_unlock+0xee/0x1f0 [ 11.931378][ T312] ? console_flush_one_record+0x710/0x710 [ 11.931380][ T312] ? rcu_is_watching+0x16/0xd0 [ 11.931381][ T312] ? lock_acquire+0xe0/0x160 [ 11.931385][ T312] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.931387][ T312] ? vprintk_emit+0x320/0x3e0 [ 11.931389][ T312] vprintk_emit+0x37c/0x3e0 [ 11.931392][ T312] ? wake_up_klogd_work_func+0x90/0x90 [ 11.931395][ T312] ? netlink_broadcast_filtered+0x29c/0x3c0 [ 11.931398][ T312] ? kasan_save_stack+0x3d/0x50 [ 11.931401][ T312] ? kasan_save_stack+0x2f/0x50 [ 11.931404][ T312] _printk+0xc7/0x100 [ 11.931407][ T312] ? snapshot_read.cold+0x21/0x21 [ 11.931409][ T312] ? __sys_setsockopt+0xe4/0x150 [ 11.931414][ T312] ? netdev_name+0x43/0x60 [ 11.931417][ T312] ? __netdev_printk+0x17f/0x1d0 [ 11.931421][ T312] netdev_info+0xe2/0x116 [ 11.931424][ T312] ? netdev_notice+0x120/0x120 [ 11.931426][ T312] ? mark_usage+0x61/0x170 [ 11.931431][ T312] ? find_held_lock+0x2b/0x80 [ 11.931434][ T312] ? mutex_is_locked+0x1c/0x50 [ 11.931436][ T312] netif_set_allmulti.cold+0x7c/0x166 [ 11.931440][ T312] dev_set_allmulti+0xa6/0x240 [ 11.931444][ T312] vif_add+0x9da/0xdc0 [ 11.931446][ T312] ? __mutex_lock+0x1db/0x1ea0 [ 11.931448][ T312] ? __mutex_lock+0x9a3/0x1ea0 [ 11.931452][ T312] ? ip_mr_output_finish.isra.0+0x630/0x630 [ 11.931455][ T312] ? lock_acquire.part.0+0xd4/0x280 [ 11.931457][ T312] ? __might_fault+0x97/0x140 [ 11.931461][ T312] ? __lock_release.isra.0+0x69/0x1a0 [ 11.931464][ T312] ? __might_fault+0x97/0x140 [ 11.931468][ T312] ip_mroute_setsockopt+0xd02/0x1010 [ 11.931472][ T312] ? ipmr_rtm_route+0x250/0x250 [ 11.931476][ T312] ? __might_fault+0x97/0x140 [ 11.931478][ T312] ? find_held_lock+0x2b/0x80 [ 11.931482][ T312] ? __might_fault+0x97/0x140 [ 11.931484][ T312] ? __might_fault+0x97/0x140 [ 11.931487][ T312] do_ip_setsockopt+0x27c/0x25f0 [ 11.931491][ T312] ? ip_sock_set_tos+0x40/0x40 [ 11.931493][ T312] ? find_held_lock+0x2b/0x80 [ 11.931496][ T312] ? __lock_release.isra.0+0x69/0x1a0 [ 11.931498][ T312] ? do_syscall_64+0xff/0x530 [ 11.931501][ T312] ? rcu_is_watching+0x16/0xd0 [ 11.931503][ T312] ? do_raw_spin_unlock+0x59/0x250 [ 11.931505][ T312] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.931507][ T312] ? lockdep_hardirqs_on+0x91/0x130 [ 11.931508][ T312] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 11.931510][ T312] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 11.931513][ T312] ip_setsockopt+0x2f/0x90 [ 11.931517][ T312] raw_setsockopt+0x8c/0x1f0 [ 11.931519][ T312] ? rcu_is_watching+0x16/0xd0 [ 11.931521][ T312] ? raw_bind+0x5b0/0x5b0 [ 11.931526][ T312] do_sock_setsockopt+0x164/0x3b0 [ 11.931528][ T312] ? put_user_ifreq+0x90/0x90 [ 11.931530][ T312] ? __lock_release.isra.0+0x69/0x1a0 [ 11.931533][ T312] ? fd_install+0x18c/0x3d0 [ 11.931537][ T312] ? fd_install+0x19b/0x3d0 [ 11.931541][ T312] __sys_setsockopt+0xe4/0x150 [ 11.931546][ T312] __x64_sys_setsockopt+0xbd/0x180 [ 11.931548][ T312] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.931551][ T312] ? lockdep_hardirqs_on+0x91/0x130 [ 11.931553][ T312] ? do_syscall_64+0xa6/0x530 [ 11.931554][ T312] do_syscall_64+0xff/0x530 [ 11.931556][ T312] ? exc_page_fault+0xee/0x100 [ 11.931559][ T312] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.931561][ T312] RIP: 0033:0x7f76f1c952de [ 11.931564][ T312] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 11.931566][ T312] RSP: 002b:00007ffc7cc5d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 11.931568][ T312] RAX: ffffffffffffffda RBX: 000055ad4536a2c0 RCX: 00007f76f1c952de [ 11.931570][ T312] RDX: 00000000000000ca RSI: 0000000000000000 RDI: 0000000000000007 [ 11.931571][ T312] RBP: 00007ffc7cc5d220 R08: 0000000000000010 R09: 0000000000000001 [ 11.931571][ T312] R10: 00007ffc7cc5d1a0 R11: 0000000000000246 R12: 000055ad493f90c4 [ 11.931572][ T312] R13: 00007ffc7cc5d270 R14: 000055ad493f90b0 R15: 0000000000000000 [ 11.931579][ T312] [ 11.960909][ T312] relay_gw: entered allmulticast mode [ 11.961168][ T312] relay_src: entered allmulticast mode [ 26.067381][ C1] [ 26.067398][ C1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.067400][ C1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/1 [ 26.067401][ C1] preempt_count: 104, expected: 0 [ 26.067402][ C1] RCU nest depth: 0, expected: 0 [ 26.067403][ C1] INFO: lockdep is turned off. [ 26.067404][ C1] irq event stamp: 649202 [ 26.067405][ C1] hardirqs last enabled at (649202): [] _raw_spin_unlock_irq+0x28/0x50 [ 26.067414][ C1] hardirqs last disabled at (649201): [] _raw_spin_lock_irq+0x4a/0x50 [ 26.067415][ C1] softirqs last enabled at (649192): [] handle_softirqs+0x67c/0x900 [ 26.067420][ C1] softirqs last disabled at (649199): [] __irq_exit_rcu+0x145/0x1c0 [ 26.067422][ C1] Preemption disabled at: [ 26.067423][ C1] [<0000000000000000>] 0x0 [ 26.067429][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.067433][ C1] Tainted: [W]=WARN [ 26.067434][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.067435][ C1] Call Trace: [ 26.067437][ C1] [ 26.067438][ C1] dump_stack_lvl+0x6f/0xa0 [ 26.067444][ C1] __might_resched.cold+0x1fe/0x2c1 [ 26.067448][ C1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.067451][ C1] ? __asan_memcpy+0x3c/0x60 [ 26.067455][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067457][ C1] __kmalloc_noprof+0x443/0x760 [ 26.067460][ C1] ? __rwlock_init+0x150/0x150 [ 26.067463][ C1] ? alloc_buf.isra.0+0x4b/0x260 [ 26.067468][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 26.067469][ C1] alloc_buf.isra.0+0x4b/0x260 [ 26.067472][ C1] put_chars+0x1e1/0x2f0 [ 26.067474][ C1] ? __send_to_port+0x420/0x420 [ 26.067475][ C1] ? console_prepend_replay+0x20/0x20 [ 26.067478][ C1] hvc_console_print+0x292/0x780 [ 26.067483][ C1] ? hvc_write+0x3a0/0x3a0 [ 26.067485][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067486][ C1] ? lock_acquire+0x13c/0x160 [ 26.067489][ C1] console_emit_next_record+0x22f/0x4c0 [ 26.067491][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 26.067493][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067494][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067495][ C1] ? lock_acquire+0x13c/0x160 [ 26.067497][ C1] ? console_flush_one_record+0x111/0x710 [ 26.067499][ C1] console_flush_one_record+0x46f/0x710 [ 26.067501][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 26.067504][ C1] console_unlock+0xee/0x1f0 [ 26.067506][ C1] ? lock_acquire+0x13c/0x160 [ 26.067507][ C1] ? console_flush_one_record+0x710/0x710 [ 26.067509][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067510][ C1] ? lock_release+0x184/0x1f0 [ 26.067511][ C1] ? lock_acquire+0xe0/0x160 [ 26.067513][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.067515][ C1] ? vprintk_emit+0x320/0x3e0 [ 26.067517][ C1] vprintk_emit+0x37c/0x3e0 [ 26.067518][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 26.067519][ C1] ? common_startup_64+0x13e/0x148 [ 26.067523][ C1] _printk+0xc7/0x100 [ 26.067526][ C1] ? snapshot_read.cold+0x21/0x21 [ 26.067528][ C1] ? arch_stack_walk+0xd7/0x130 [ 26.067531][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.067532][ C1] ? nbcon_cpu_emergency_enter+0x28/0x80 [ 26.067534][ C1] print_irq_inversion_bug.part.0+0x32/0xc0 [ 26.067536][ C1] mark_lock_irq+0x989/0x9c0 [ 26.067539][ C1] mark_lock+0x1d7/0xa00 [ 26.067541][ C1] mark_usage+0x42/0x170 [ 26.067543][ C1] __lock_acquire+0x388/0xc20 [ 26.067545][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.067547][ C1] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 26.067550][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067551][ C1] ? lock_acquire+0x13c/0x160 [ 26.067553][ C1] ? br_message_age_timer_expired+0x70/0x70 [ 26.067554][ C1] _raw_spin_lock+0x33/0x40 [ 26.067555][ C1] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 26.067556][ C1] br_forward_delay_timer_expired+0x44/0x5d0 [ 26.067558][ C1] ? br_message_age_timer_expired+0x70/0x70 [ 26.067559][ C1] call_timer_fn+0x160/0x4d0 [ 26.067563][ C1] ? detach_if_pending+0x1d0/0x1d0 [ 26.067565][ C1] ? debug_object_active_state+0x430/0x430 [ 26.067567][ C1] ? find_held_lock+0x2b/0x80 [ 26.067569][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 26.067571][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067573][ C1] __run_timers+0x68f/0xaa0 [ 26.067574][ C1] ? br_message_age_timer_expired+0x70/0x70 [ 26.067576][ C1] ? __bpf_trace_itimer_expire+0x10/0x10 [ 26.067578][ C1] ? __lock_acquire+0x518/0xc20 [ 26.067581][ C1] ? __rwlock_init+0x150/0x150 [ 26.067583][ C1] run_timer_softirq+0xf0/0x160 [ 26.067585][ C1] ? __run_timers+0xaa0/0xaa0 [ 26.067587][ C1] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.067590][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067591][ C1] handle_softirqs+0x1d3/0x900 [ 26.067593][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 26.067594][ C1] ? _local_bh_enable+0xc0/0xc0 [ 26.067596][ C1] __irq_exit_rcu+0x145/0x1c0 [ 26.067598][ C1] irq_exit_rcu+0xe/0x30 [ 26.067600][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 26.067602][ C1] [ 26.067603][ C1] [ 26.067603][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 26.067605][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.067607][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 26.067609][ C1] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 26.067611][ C1] RSP: 0018:ffa0000000147e00 EFLAGS: 00000282 [ 26.067614][ C1] RAX: 000000000009e7ed RBX: ff11000001c1a3c0 RCX: ffffffff95106247 [ 26.067616][ C1] RDX: ff11000001c1a3c0 RSI: ffffffff98311027 RDI: ffffffff97c949e0 [ 26.067617][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 26.067618][ C1] R10: 0000000000000001 R11: 0000000000000001 R12: 1ff4000000028fc3 [ 26.067618][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 26.067620][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.067623][ C1] default_idle+0x9/0x10 [ 26.067625][ C1] default_idle_call+0x6e/0xb0 [ 26.067627][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.067628][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 26.067630][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 26.067632][ C1] ? trace_sched_exit_tp+0x30/0x160 [ 26.067634][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.067636][ C1] do_idle+0xd8/0x190 [ 26.067637][ C1] cpu_startup_entry+0x53/0x70 [ 26.067639][ C1] start_secondary+0x204/0x2b0 [ 26.067640][ C1] ? set_cpu_sibling_map+0x2130/0x2130 [ 26.067642][ C1] common_startup_64+0x13e/0x148 [ 26.067645][ C1] [ 26.084526][ C1] ======================================================== [ 26.084720][ C1] WARNING: possible irq lock inversion dependency detected [ 26.084953][ C1] 7.2.0-virtme #1 Tainted: G W [ 26.085158][ C1] -------------------------------------------------------- [ 26.085350][ C1] swapper/1/0 just changed the state of lock: [ 26.085551][ C1] ff11000010112e98 (&br->lock){+.-.}-{3:3}, at: br_forward_delay_timer_expired+0x44/0x5d0 [ 26.085827][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 26.086065][ C1] (fs_reclaim){+.+.}-{0:0} [ 26.086067][ C1] [ 26.086067][ C1] [ 26.086067][ C1] and interrupts could create inverse lock ordering between them. [ 26.086067][ C1] [ 26.086622][ C1] [ 26.086622][ C1] other info that might help us debug this: [ 26.086818][ C1] Chain exists of: [ 26.086818][ C1] &br->lock --> console_owner --> fs_reclaim [ 26.086818][ C1] [ 26.087158][ C1] Possible interrupt unsafe locking scenario: [ 26.087158][ C1] [ 26.087393][ C1] CPU0 CPU1 [ 26.087570][ C1] ---- ---- [ 26.087700][ C1] lock(fs_reclaim); [ 26.087888][ C1] local_irq_disable(); [ 26.089988][ C1] lock(&br->lock); [ 26.090204][ C1] lock(console_owner); [ 26.090370][ C1] [ 26.090513][ C1] lock(&br->lock); [ 26.090610][ C1] [ 26.090610][ C1] *** DEADLOCK *** [ 26.090610][ C1] [ 26.090841][ C1] locks held by swapper/1/0: 1, last CPU#1: [ 26.091096][ C1] #0: ffa00000001d0c90 ((&p->forward_delay_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 26.091362][ C1] [ 26.091362][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 26.091588][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 26.091772][ C1] HARDIRQ-ON-W at: [ 26.091876][ C1] __lock_acquire+0x388/0xc20 [ 26.092090][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.092297][ C1] fs_reclaim_acquire+0xd5/0x120 [ 26.092460][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 26.092702][ C1] kthread_create_worker_on_node+0xea/0x210 [ 26.092991][ C1] workqueue_init+0x2a/0x680 [ 26.093161][ C1] kernel_init_freeable+0x2fe/0x630 [ 26.093399][ C1] kernel_init+0x21/0x150 [ 26.093609][ C1] ret_from_fork+0x474/0x6b0 [ 26.093780][ C1] ret_from_fork_asm+0x11/0x20 [ 26.093989][ C1] SOFTIRQ-ON-W at: [ 26.094093][ C1] __lock_acquire+0x388/0xc20 [ 26.094299][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.094512][ C1] fs_reclaim_acquire+0xd5/0x120 [ 26.094674][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 26.094914][ C1] kthread_create_worker_on_node+0xea/0x210 [ 26.095162][ C1] workqueue_init+0x2a/0x680 [ 26.095326][ C1] kernel_init_freeable+0x2fe/0x630 [ 26.095519][ C1] kernel_init+0x21/0x150 [ 26.095683][ C1] ret_from_fork+0x474/0x6b0 [ 26.095847][ C1] ret_from_fork_asm+0x11/0x20 [ 26.096011][ C1] INITIAL USE at: [ 26.096114][ C1] __lock_acquire+0x388/0xc20 [ 26.096279][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.096442][ C1] fs_reclaim_acquire+0xd5/0x120 [ 26.096608][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 26.096804][ C1] kthread_create_worker_on_node+0xea/0x210 [ 26.096999][ C1] workqueue_init+0x2a/0x680 [ 26.097170][ C1] kernel_init_freeable+0x2fe/0x630 [ 26.097334][ C1] kernel_init+0x21/0x150 [ 26.097497][ C1] ret_from_fork+0x474/0x6b0 [ 26.097662][ C1] ret_from_fork_asm+0x11/0x20 [ 26.097828][ C1] } [ 26.097896][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 26.098104][ C1] ... acquired at: [ 26.098203][ C1] __lock_acquire+0x518/0xc20 [ 26.098335][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.098465][ C1] fs_reclaim_acquire+0xd5/0x120 [ 26.098597][ C1] __kmalloc_noprof+0xd3/0x760 [ 26.098725][ C1] alloc_buf.isra.0+0x4b/0x260 [ 26.098859][ C1] put_chars+0x1e1/0x2f0 [ 26.098987][ C1] hvc_console_print+0x292/0x780 [ 26.099126][ C1] console_emit_next_record+0x22f/0x4c0 [ 26.099262][ C1] console_flush_one_record+0x46f/0x710 [ 26.099396][ C1] console_unlock+0xee/0x1f0 [ 26.099527][ C1] vprintk_emit+0x37c/0x3e0 [ 26.099654][ C1] dev_vprintk_emit+0x27f/0x2c0 [ 26.099784][ C1] dev_printk_emit+0xb9/0xee [ 26.099912][ C1] _dev_info+0xe2/0x116 [ 26.100014][ C1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 26.100178][ C1] cmos_do_probe+0x73b/0x98a [ 26.100309][ C1] platform_probe+0xfe/0x1f0 [ 26.100702][ C1] call_driver_probe+0x61/0x1c0 [ 26.100835][ C1] really_probe+0x199/0x760 [ 26.100967][ C1] __driver_probe_device+0x24f/0x440 [ 26.101101][ C1] driver_probe_device+0x4a/0xf0 [ 26.101273][ C1] __driver_attach+0x1b8/0x540 [ 26.101401][ C1] bus_for_each_dev+0x130/0x1e0 [ 26.101577][ C1] bus_add_driver+0x2c8/0x530 [ 26.101711][ C1] driver_register+0x1a3/0x390 [ 26.101885][ C1] __platform_driver_probe+0x13f/0x270 [ 26.102017][ C1] cmos_init+0x31/0x40 [ 26.102163][ C1] do_one_initcall+0x124/0x4f0 [ 26.102294][ C1] kernel_init_freeable+0x596/0x630 [ 26.102465][ C1] kernel_init+0x21/0x150 [ 26.102595][ C1] ret_from_fork+0x474/0x6b0 [ 26.102774][ C1] ret_from_fork_asm+0x11/0x20 [ 26.102903][ C1] [ 26.102969][ C1] -> (console_owner){....}-{0:0} { [ 26.103152][ C1] INITIAL USE at: [ 26.103252][ C1] } [ 26.103317][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 26.103600][ C1] ... acquired at: [ 26.103745][ C1] __lock_acquire+0x518/0xc20 [ 26.103880][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.104061][ C1] console_lock_spinning_enable+0x5c/0x60 [ 26.104226][ C1] console_emit_next_record+0x1d1/0x4c0 [ 26.104402][ C1] console_flush_one_record+0x46f/0x710 [ 26.104531][ C1] console_unlock+0xee/0x1f0 [ 26.104704][ C1] vprintk_emit+0x37c/0x3e0 [ 26.104834][ C1] _printk+0xc7/0x100 [ 26.105019][ C1] br_set_state+0x22f/0x430 [ 26.105155][ C1] br_init_port+0xc4/0x200 [ 26.105328][ C1] br_stp_enable_port+0x12/0x50 [ 26.105458][ C1] br_add_if+0xde2/0x1320 [ 26.105632][ C1] do_set_master+0x3b2/0x780 [ 26.105761][ C1] do_setlink.isra.0+0x9ec/0x2a60 [ 26.105932][ C1] rtnl_newlink+0x9f1/0x11b0 [ 26.106072][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 26.106247][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 26.106378][ C1] netlink_unicast+0x486/0x750 [ 26.106549][ C1] netlink_sendmsg+0x75b/0xc90 [ 26.106677][ C1] __sock_sendmsg+0xce/0x190 [ 26.106900][ C1] ____sys_sendmsg+0x61a/0x860 [ 26.107028][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 26.107244][ C1] __sys_sendmsg+0x12c/0x1d0 [ 26.107373][ C1] do_syscall_64+0xff/0x530 [ 26.107553][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.107713][ C1] [ 26.107777][ C1] -> (&br->lock){+.-.}-{3:3} { [ 26.107947][ C1] HARDIRQ-ON-W at: [ 26.108052][ C1] __lock_acquire+0x388/0xc20 [ 26.108260][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.108466][ C1] _raw_spin_lock_bh+0x38/0x50 [ 26.108629][ C1] br_stp_enable_bridge+0x23/0x340 [ 26.108840][ C1] br_dev_open+0x94/0x120 [ 26.109002][ C1] __dev_open+0x322/0x7a0 [ 26.109212][ C1] __dev_change_flags+0x4a4/0x6d0 [ 26.109379][ C1] netif_change_flags+0x87/0x190 [ 26.109542][ C1] do_setlink.isra.0+0x1d25/0x2a60 [ 26.109747][ C1] rtnl_newlink+0x9f1/0x11b0 [ 26.110002][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 26.110168][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 26.110383][ C1] netlink_unicast+0x486/0x750 [ 26.110548][ C1] netlink_sendmsg+0x75b/0xc90 [ 26.110756][ C1] __sock_sendmsg+0xce/0x190 [ 26.110965][ C1] ____sys_sendmsg+0x61a/0x860 [ 26.111151][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 26.111358][ C1] __sys_sendmsg+0x12c/0x1d0 [ 26.111608][ C1] do_syscall_64+0xff/0x530 [ 26.111771][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.112011][ C1] IN-SOFTIRQ-W at: [ 26.112112][ C1] __lock_acquire+0x388/0xc20 [ 26.112320][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.112526][ C1] _raw_spin_lock+0x33/0x40 [ 26.112690][ C1] br_forward_delay_timer_expired+0x44/0x5d0 [ 26.112927][ C1] call_timer_fn+0x160/0x4d0 [ 26.113185][ C1] __run_timers+0x68f/0xaa0 [ 26.113347][ C1] run_timer_softirq+0xf0/0x160 [ 26.113598][ C1] handle_softirqs+0x1d3/0x900 [ 26.113762][ C1] __irq_exit_rcu+0x145/0x1c0 [ 26.113968][ C1] irq_exit_rcu+0xe/0x30 [ 26.114181][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 26.114375][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.114613][ C1] pv_native_safe_halt+0xf/0x10 [ 26.114819][ C1] default_idle+0x9/0x10 [ 26.114984][ C1] default_idle_call+0x6e/0xb0 [ 26.115195][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.115435][ C1] do_idle+0xd8/0x190 [ 26.115566][ C1] cpu_startup_entry+0x53/0x70 [ 26.115771][ C1] start_secondary+0x204/0x2b0 [ 26.115976][ C1] common_startup_64+0x13e/0x148 [ 26.116143][ C1] INITIAL USE at: [ 26.116239][ C1] __lock_acquire+0x388/0xc20 [ 26.116399][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.116559][ C1] _raw_spin_lock_bh+0x38/0x50 [ 26.116721][ C1] br_stp_enable_bridge+0x23/0x340 [ 26.116885][ C1] br_dev_open+0x94/0x120 [ 26.117047][ C1] __dev_open+0x322/0x7a0 [ 26.117211][ C1] __dev_change_flags+0x4a4/0x6d0 [ 26.117371][ C1] netif_change_flags+0x87/0x190 [ 26.117531][ C1] do_setlink.isra.0+0x1d25/0x2a60 [ 26.117690][ C1] rtnl_newlink+0x9f1/0x11b0 [ 26.117854][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 26.118013][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 26.118179][ C1] netlink_unicast+0x486/0x750 [ 26.118341][ C1] netlink_sendmsg+0x75b/0xc90 [ 26.118502][ C1] __sock_sendmsg+0xce/0x190 [ 26.118664][ C1] ____sys_sendmsg+0x61a/0x860 [ 26.118829][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 26.118994][ C1] __sys_sendmsg+0x12c/0x1d0 [ 26.119160][ C1] do_syscall_64+0xff/0x530 [ 26.119326][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.119518][ C1] } [ 26.119582][ C1] ... key at: [] __key.7+0x0/0x40 [ 26.119740][ C1] ... acquired at: [ 26.119835][ C1] mark_lock+0x1d7/0xa00 [ 26.119962][ C1] mark_usage+0x42/0x170 [ 26.120094][ C1] __lock_acquire+0x388/0xc20 [ 26.120481][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.120610][ C1] _raw_spin_lock+0x33/0x40 [ 26.120737][ C1] br_forward_delay_timer_expired+0x44/0x5d0 [ 26.120937][ C1] call_timer_fn+0x160/0x4d0 [ 26.121071][ C1] __run_timers+0x68f/0xaa0 [ 26.121243][ C1] run_timer_softirq+0xf0/0x160 [ 26.121371][ C1] handle_softirqs+0x1d3/0x900 [ 26.121543][ C1] __irq_exit_rcu+0x145/0x1c0 [ 26.123537][ C1] irq_exit_rcu+0xe/0x30 [ 26.123716][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 26.123879][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.124085][ C1] pv_native_safe_halt+0xf/0x10 [ 26.124215][ C1] default_idle+0x9/0x10 [ 26.124385][ C1] default_idle_call+0x6e/0xb0 [ 26.124511][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.124711][ C1] do_idle+0xd8/0x190 [ 26.124809][ C1] cpu_startup_entry+0x53/0x70 [ 26.124980][ C1] start_secondary+0x204/0x2b0 [ 26.125156][ C1] common_startup_64+0x13e/0x148 [ 26.125328][ C1] [ 26.125391][ C1] [ 26.125391][ C1] stack backtrace: [ 26.125594][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.125597][ C1] Tainted: [W]=WARN [ 26.125598][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.125599][ C1] Call Trace: [ 26.125600][ C1] [ 26.125601][ C1] dump_stack_lvl+0x6f/0xa0 [ 26.125604][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 26.125607][ C1] mark_lock_irq+0x989/0x9c0 [ 26.125610][ C1] mark_lock+0x1d7/0xa00 [ 26.125612][ C1] mark_usage+0x42/0x170 [ 26.125614][ C1] __lock_acquire+0x388/0xc20 [ 26.125617][ C1] lock_acquire.part.0+0xd4/0x280 [ 26.125618][ C1] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 26.125620][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.125622][ C1] ? lock_acquire+0x13c/0x160 [ 26.125624][ C1] ? br_message_age_timer_expired+0x70/0x70 [ 26.125625][ C1] _raw_spin_lock+0x33/0x40 [ 26.125627][ C1] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 26.125628][ C1] br_forward_delay_timer_expired+0x44/0x5d0 [ 26.125629][ C1] ? br_message_age_timer_expired+0x70/0x70 [ 26.125631][ C1] call_timer_fn+0x160/0x4d0 [ 26.125633][ C1] ? detach_if_pending+0x1d0/0x1d0 [ 26.125635][ C1] ? debug_object_active_state+0x430/0x430 [ 26.125637][ C1] ? find_held_lock+0x2b/0x80 [ 26.125639][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 26.125641][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.125642][ C1] __run_timers+0x68f/0xaa0 [ 26.125644][ C1] ? br_message_age_timer_expired+0x70/0x70 [ 26.125646][ C1] ? __bpf_trace_itimer_expire+0x10/0x10 [ 26.125648][ C1] ? __lock_acquire+0x518/0xc20 [ 26.125650][ C1] ? __rwlock_init+0x150/0x150 [ 26.125653][ C1] run_timer_softirq+0xf0/0x160 [ 26.125655][ C1] ? __run_timers+0xaa0/0xaa0 [ 26.125657][ C1] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.125659][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.125660][ C1] handle_softirqs+0x1d3/0x900 [ 26.125662][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 26.125664][ C1] ? _local_bh_enable+0xc0/0xc0 [ 26.125666][ C1] __irq_exit_rcu+0x145/0x1c0 [ 26.125667][ C1] irq_exit_rcu+0xe/0x30 [ 26.125669][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 26.125670][ C1] [ 26.125671][ C1] [ 26.125671][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 26.125673][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.125674][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 26.125676][ C1] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 26.125677][ C1] RSP: 0018:ffa0000000147e00 EFLAGS: 00000282 [ 26.125679][ C1] RAX: 000000000009e7ed RBX: ff11000001c1a3c0 RCX: ffffffff95106247 [ 26.125680][ C1] RDX: ff11000001c1a3c0 RSI: ffffffff98311027 RDI: ffffffff97c949e0 [ 26.125681][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 26.125682][ C1] R10: 0000000000000001 R11: 0000000000000001 R12: 1ff4000000028fc3 [ 26.125682][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 26.125684][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.125686][ C1] default_idle+0x9/0x10 [ 26.125687][ C1] default_idle_call+0x6e/0xb0 [ 26.125689][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.125690][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 26.125692][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 26.125694][ C1] ? trace_sched_exit_tp+0x30/0x160 [ 26.125696][ C1] ? rcu_is_watching+0x16/0xd0 [ 26.125697][ C1] do_idle+0xd8/0x190 [ 26.125699][ C1] cpu_startup_entry+0x53/0x70 [ 26.125701][ C1] start_secondary+0x204/0x2b0 [ 26.125702][ C1] ? set_cpu_sibling_map+0x2130/0x2130 [ 26.125704][ C1] common_startup_64+0x13e/0x148 [ 26.125707][ C1] [ 483.000511][ T12] br0: port 1(gw_l) entered disabled state [ 483.000528][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 483.000530][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 483.000532][ T12] preempt_count: 202, expected: 0 [ 483.000533][ T12] RCU nest depth: 0, expected: 0 [ 483.000533][ T12] INFO: lockdep is turned off. [ 483.000535][ T12] irq event stamp: 8626 [ 483.000535][ T12] hardirqs last enabled at (8625): [] _raw_spin_unlock_irq+0x28/0x50 [ 483.000544][ T12] hardirqs last disabled at (8626): [] __schedule+0x1246/0x20e0 [ 483.000547][ T12] softirqs last enabled at (8622): [] __fib6_clean_all+0xff/0x290 [ 483.000550][ T12] softirqs last disabled at (8616): [] __fib6_clean_all+0xd9/0x290 [ 483.000552][ T12] Preemption disabled at: [ 483.000553][ T12] [<0000000000000000>] 0x0 [ 483.000559][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 483.000563][ T12] Tainted: [W]=WARN [ 483.000564][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 483.000565][ T12] Workqueue: netns cleanup_net [ 483.000571][ T12] Call Trace: [ 483.000572][ T12] [ 483.000574][ T12] dump_stack_lvl+0x6f/0xa0 [ 483.000580][ T12] __might_resched.cold+0x1fe/0x2c1 [ 483.000584][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 483.000588][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000591][ T12] __kmalloc_noprof+0x443/0x760 [ 483.000593][ T12] ? __rwlock_init+0x150/0x150 [ 483.000596][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 483.000601][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 483.000602][ T12] alloc_buf.isra.0+0x4b/0x260 [ 483.000605][ T12] put_chars+0x1e1/0x2f0 [ 483.000606][ T12] ? __send_to_port+0x420/0x420 [ 483.000607][ T12] ? printk_get_next_message+0x240/0x650 [ 483.000610][ T12] ? console_prepend_replay+0x20/0x20 [ 483.000613][ T12] hvc_console_print+0x292/0x780 [ 483.000618][ T12] ? hvc_write+0x3a0/0x3a0 [ 483.000619][ T12] ? __rwlock_init+0x150/0x150 [ 483.000621][ T12] ? lock_acquire+0x13c/0x160 [ 483.000623][ T12] console_emit_next_record+0x22f/0x4c0 [ 483.000626][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 483.000628][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000629][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000630][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000631][ T12] ? lock_acquire+0x13c/0x160 [ 483.000633][ T12] ? console_flush_one_record+0x111/0x710 [ 483.000635][ T12] console_flush_one_record+0x46f/0x710 [ 483.000637][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 483.000640][ T12] console_unlock+0xee/0x1f0 [ 483.000642][ T12] ? lock_acquire+0x13c/0x160 [ 483.000643][ T12] ? console_flush_one_record+0x710/0x710 [ 483.000645][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000646][ T12] ? lock_release+0x184/0x1f0 [ 483.000648][ T12] ? lock_acquire+0xe0/0x160 [ 483.000649][ T12] ? __rcu_read_lock+0x70/0x70 [ 483.000650][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 483.000652][ T12] ? vprintk_emit+0x320/0x3e0 [ 483.000654][ T12] vprintk_emit+0x37c/0x3e0 [ 483.000655][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 483.000657][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000658][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 483.000661][ T12] ? trace_hardirqs_on+0x36/0x40 [ 483.000663][ T12] _printk+0xc7/0x100 [ 483.000666][ T12] ? snapshot_read.cold+0x21/0x21 [ 483.000668][ T12] ? ipv6_mc_down+0x17e/0x2d0 [ 483.000671][ T12] br_set_state+0x22f/0x430 [ 483.000674][ T12] br_stp_disable_port+0x11f/0x390 [ 483.000676][ T12] br_device_event+0x7b5/0x8f0 [ 483.000679][ T12] ? packet_sendmsg_spkt+0x1360/0x1360 [ 483.000681][ T12] ? addrconf_notify+0x2c8/0xf30 [ 483.000684][ T12] notifier_call_chain+0xae/0x300 [ 483.000687][ T12] netif_close_many+0x366/0x770 [ 483.000689][ T12] ? __dev_close_many+0x680/0x680 [ 483.000692][ T12] ? netif_close_many_and_unlock+0x22/0x2c0 [ 483.000694][ T12] unregister_netdevice_many_notify+0x71a/0x1b40 [ 483.000695][ T12] ? ops_undo_list+0x2ce/0x8f0 [ 483.000697][ T12] ? worker_thread+0x4f1/0xd60 [ 483.000700][ T12] ? kthread+0x367/0x460 [ 483.000702][ T12] ? ret_from_fork+0x474/0x6b0 [ 483.000704][ T12] ? ret_from_fork_asm+0x11/0x20 [ 483.000706][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 483.000708][ T12] ? get_rps_cpu+0x980/0x980 [ 483.000710][ T12] default_device_exit_batch+0x38b/0x600 [ 483.000712][ T12] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 483.000713][ T12] ? lock_acquire+0x13c/0x160 [ 483.000715][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 483.000716][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 483.000718][ T12] ? fou_exit_net+0x30/0x110 [ 483.000720][ T12] ops_undo_list+0x2ce/0x8f0 [ 483.000722][ T12] ? netns_install+0x2a0/0x2a0 [ 483.000724][ T12] ? idr_destroy+0x121/0x250 [ 483.000727][ T12] cleanup_net+0x431/0x940 [ 483.000729][ T12] ? net_passive_dec+0x230/0x230 [ 483.000730][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000732][ T12] ? lock_acquire+0x13c/0x160 [ 483.000734][ T12] ? rcu_is_watching+0x16/0xd0 [ 483.000735][ T12] process_one_work+0xe3e/0x1560 [ 483.000738][ T12] ? __queue_delayed_work+0x470/0x470 [ 483.000740][ T12] ? find_held_lock+0x2b/0x80 [ 483.000742][ T12] ? __rwlock_init+0x150/0x150 [ 483.000744][ T12] worker_thread+0x4f1/0xd60 [ 483.000751][ T12] ? rescuer_thread+0x1340/0x1340 [ 483.000753][ T12] kthread+0x367/0x460 [ 483.000755][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 483.000756][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 483.000758][ T12] ret_from_fork+0x474/0x6b0 [ 483.000760][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 483.000762][ T12] ? __switch_to+0x5a3/0xe00 [ 483.000764][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 483.000766][ T12] ret_from_fork_asm+0x11/0x20 [ 483.000769][ T12] [ 483.025127][ T12] gw_l (unregistering): left allmulticast mode [ 483.025346][ T12] gw_l (unregistering): left promiscuous mode [ 483.025542][ T12] br0: port 1(gw_l) entered disabled state [ 483.042273][ T12] amtg: left allmulticast mode [ 483.042521][ T12] amtg: left promiscuous mode [ 483.042700][ T12] br0: port 2(amtg) entered disabled state [ 483.059924][ T12] relay_gw (unregistering): left allmulticast mode [ 483.061823][ T12] amtr (unregistering): left allmulticast mode [ 483.067317][ T312] relay_src: left allmulticast mode