[ 10.291617][ T210] br0: port 1(dummy0) entered blocking state [ 10.291740][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.291742][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: ip [ 10.291744][ T210] preempt_count: 1, expected: 0 [ 10.291744][ T210] RCU nest depth: 0, expected: 0 [ 10.291745][ T210] locks held by ip/210: 5, last CPU#0: [ 10.291747][ T210] #0: ffffffffa751b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.291759][ T210] #1: ffffffffa6d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.291765][ T210] #2: ffffffffa6d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.291770][ T210] #3: ffffffffa6c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.291773][ T210] #4: ffffffffa6c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.291777][ T210] irq event stamp: 27518 [ 10.291778][ T210] hardirqs last enabled at (27517): [] __down_trylock_console_sem+0x86/0xa0 [ 10.291781][ T210] hardirqs last disabled at (27518): [] console_emit_next_record+0x3d4/0x4c0 [ 10.291783][ T210] softirqs last enabled at (27428): [] __alloc_skb+0x4c2/0x5f0 [ 10.291787][ T210] softirqs last disabled at (27426): [] __alloc_skb+0x4c2/0x5f0 [ 10.291789][ T210] Preemption disabled at: [ 10.291790][ T210] [] vprintk_emit+0x31b/0x3e0 [ 10.291795][ T210] CPU: 0 UID: 0 PID: 210 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.291799][ T210] Tainted: [W]=WARN [ 10.291800][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.291801][ T210] Call Trace: [ 10.291803][ T210] [ 10.291805][ T210] dump_stack_lvl+0x6f/0xa0 [ 10.291811][ T210] ? vprintk_emit+0x31b/0x3e0 [ 10.291812][ T210] __might_resched.cold+0x1fe/0x2c1 [ 10.291817][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.291821][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 10.291826][ T210] __kmalloc_noprof+0x443/0x760 [ 10.291827][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 10.291834][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 10.291837][ T210] alloc_buf.isra.0+0x4b/0x260 [ 10.291841][ T210] put_chars+0x1e1/0x2f0 [ 10.291843][ T210] ? __send_to_port+0x420/0x420 [ 10.291846][ T210] ? validate_chain+0x34a/0xc20 [ 10.291851][ T210] hvc_console_print+0x292/0x780 [ 10.291859][ T210] ? hvc_write+0x3a0/0x3a0 [ 10.291862][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.291865][ T210] ? lock_acquire+0x13c/0x160 [ 10.291869][ T210] console_emit_next_record+0x22f/0x4c0 [ 10.291872][ T210] ? devkmsg_read+0x4b0/0x4b0 [ 10.291874][ T210] ? console_flush_one_record+0x106/0x710 [ 10.291878][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.291879][ T210] ? lock_acquire+0x13c/0x160 [ 10.291883][ T210] console_flush_one_record+0x46f/0x710 [ 10.291887][ T210] ? console_emit_next_record+0x4c0/0x4c0 [ 10.291889][ T210] ? __lock_acquire+0x518/0xc20 [ 10.291895][ T210] console_unlock+0xee/0x1f0 [ 10.291898][ T210] ? console_flush_one_record+0x710/0x710 [ 10.291900][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.291901][ T210] ? lock_acquire+0xe0/0x160 [ 10.291905][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.291907][ T210] ? vprintk_emit+0x320/0x3e0 [ 10.291910][ T210] vprintk_emit+0x37c/0x3e0 [ 10.291913][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 10.291914][ T210] ? trace_contention_end+0xb3/0x180 [ 10.291916][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 10.291919][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 10.291922][ T210] _printk+0xc7/0x100 [ 10.291926][ T210] ? snapshot_read.cold+0x21/0x21 [ 10.291929][ T210] ? new_nbp+0x310/0x650 [ 10.291934][ T210] ? __mutex_unlock_slowpath+0x9e/0x740 [ 10.291938][ T210] br_set_state+0x22f/0x430 [ 10.291942][ T210] br_init_port+0xc4/0x200 [ 10.291944][ T210] new_nbp+0x3a0/0x650 [ 10.291948][ T210] br_add_if+0x212/0x1320 [ 10.291950][ T210] ? _mutex_trylock_nest_lock+0x390/0x390 [ 10.291952][ T210] ? is_bpf_text_address+0x72/0x110 [ 10.291958][ T210] do_set_master+0x3b2/0x780 [ 10.291962][ T210] do_setlink.isra.0+0x9ec/0x2a60 [ 10.291966][ T210] ? stack_trace_save+0x93/0xc0 [ 10.291969][ T210] ? rtnl_link_get_size+0x350/0x350 [ 10.291971][ T210] ? rcu_read_lock_any_held+0x66/0x90 [ 10.291973][ T210] ? stack_depot_save_flags+0x38e/0x790 [ 10.291977][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.291979][ T210] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.291981][ T210] ? validate_chain+0x38b/0xc20 [ 10.291984][ T210] ? kasan_save_stack+0x3d/0x50 [ 10.291986][ T210] ? kasan_save_stack+0x2f/0x50 [ 10.291987][ T210] ? kasan_save_track+0x14/0x30 [ 10.291989][ T210] ? __kasan_kmalloc+0x7b/0x90 [ 10.291991][ T210] ? __lock_acquire+0x518/0xc20 [ 10.291993][ T210] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.291996][ T210] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.291999][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.292001][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 10.292004][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.292006][ T210] ? lock_acquire+0x13c/0x160 [ 10.292007][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.292008][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.292010][ T210] ? trace_contention_end+0xb3/0x180 [ 10.292012][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 10.292013][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 10.292015][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 10.292019][ T210] ? ww_mutex_lock+0x160/0x160 [ 10.292020][ T210] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.292025][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.292027][ T210] ? __rtnl_newlink+0x3fa/0xa50 [ 10.292032][ T210] rtnl_newlink+0x9f1/0x11b0 [ 10.292038][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 10.292040][ T210] ? __lock_acquire+0x518/0xc20 [ 10.292044][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.292046][ T210] ? find_held_lock+0x2b/0x80 [ 10.292048][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 10.292050][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.292054][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 10.292056][ T210] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.292059][ T210] ? rtnl_link_fill+0x920/0x920 [ 10.292061][ T210] ? __lock_acquire+0x518/0xc20 [ 10.292065][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.292067][ T210] ? find_held_lock+0x2b/0x80 [ 10.292071][ T210] netlink_rcv_skb+0x14e/0x3a0 [ 10.292074][ T210] ? rtnl_link_fill+0x920/0x920 [ 10.292077][ T210] ? netlink_ack+0xcf0/0xcf0 [ 10.292083][ T210] ? netlink_deliver_tap+0xc5/0x330 [ 10.292085][ T210] ? netlink_deliver_tap+0x13c/0x330 [ 10.292090][ T210] netlink_unicast+0x486/0x750 [ 10.292094][ T210] ? netlink_attachskb+0x810/0x810 [ 10.292096][ T210] ? find_held_lock+0x2b/0x80 [ 10.292101][ T210] netlink_sendmsg+0x75b/0xc90 [ 10.292105][ T210] ? netlink_unicast+0x750/0x750 [ 10.292109][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.292112][ T210] ? __import_iovec+0x36c/0x620 [ 10.292117][ T210] __sock_sendmsg+0xce/0x190 [ 10.292120][ T210] ____sys_sendmsg+0x61a/0x860 [ 10.292123][ T210] ? copy_msghdr_from_user+0x279/0x420 [ 10.292125][ T210] ? sock_write_iter+0x400/0x400 [ 10.292126][ T210] ? move_addr_to_kernel+0x40/0x40 [ 10.292134][ T210] ___sys_sendmsg+0x14e/0x1d0 [ 10.292136][ T210] ? copy_msghdr_from_user+0x420/0x420 [ 10.292152][ T210] __sys_sendmsg+0x12c/0x1d0 [ 10.292155][ T210] ? __sys_sendmsg_sock+0x20/0x20 [ 10.292161][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.292164][ T210] do_syscall_64+0xff/0x530 [ 10.292167][ T210] ? exc_page_fault+0xee/0x100 [ 10.292170][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.292173][ T210] RIP: 0033:0x7f7465b3554e [ 10.292176][ 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 [ 10.292178][ T210] RSP: 002b:00007ffddfd6c160 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.292181][ T210] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f7465b3554e [ 10.292182][ T210] RDX: 0000000000000000 RSI: 00007ffddfd6c210 RDI: 0000000000000005 [ 10.292183][ T210] RBP: 00007ffddfd6c170 R08: 0000000000000000 R09: 0000000000000000 [ 10.292184][ T210] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a919e80 [ 10.292185][ T210] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffddfd6c8e0 [ 10.292191][ T210] [ 10.330870][ T210] br0: port 1(dummy0) entered disabled state [ 10.331238][ T210] dummy0: entered allmulticast mode [ 10.332896][ T210] dummy0: entered promiscuous mode [ 10.349213][ T210] ip (210) used greatest stack depth: 23336 bytes left [ 10.379108][ T211] br0: port 1(dummy0) entered blocking state [ 10.379619][ T211] br0: port 1(dummy0) entered forwarding state [ 12.809081][ T12] dummy0: left allmulticast mode [ 12.809128][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.809130][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 12.809131][ T12] preempt_count: 1, expected: 0 [ 12.809132][ T12] RCU nest depth: 0, expected: 0 [ 12.809133][ T12] locks held by kworker/u16:0/12: 9, last CPU#0: [ 12.809135][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.809147][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.809151][ T12] #2: ffffffffa74ffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 12.809156][ T12] #3: ffffffffa751b740 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 12.809160][ T12] #4: ff11000008111e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: dev_set_allmulti+0x96/0x240 [ 12.809164][ T12] #5: ffffffffa6d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.809168][ T12] #6: ffffffffa6d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.809172][ T12] #7: ffffffffa6c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.809175][ T12] #8: ffffffffa6c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.809179][ T12] irq event stamp: 1760 [ 12.809179][ T12] hardirqs last enabled at (1759): [] __down_trylock_console_sem+0x86/0xa0 [ 12.809182][ T12] hardirqs last disabled at (1760): [] console_emit_next_record+0x3d4/0x4c0 [ 12.809184][ T12] softirqs last enabled at (1706): [] netlink_release+0x17b/0xcf0 [ 12.809188][ T12] softirqs last disabled at (1704): [] netlink_release+0xd2/0xcf0 [ 12.809190][ T12] Preemption disabled at: [ 12.809191][ T12] [] vprintk_emit+0x31b/0x3e0 [ 12.809195][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.809199][ T12] Tainted: [W]=WARN [ 12.809200][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.809201][ T12] Workqueue: netns cleanup_net [ 12.809204][ T12] Call Trace: [ 12.809206][ T12] [ 12.809207][ T12] dump_stack_lvl+0x6f/0xa0 [ 12.809214][ T12] ? vprintk_emit+0x31b/0x3e0 [ 12.809215][ T12] __might_resched.cold+0x1fe/0x2c1 [ 12.809220][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.809224][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 12.809229][ T12] __kmalloc_noprof+0x443/0x760 [ 12.809231][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 12.809237][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 12.809240][ T12] alloc_buf.isra.0+0x4b/0x260 [ 12.809244][ T12] put_chars+0x1e1/0x2f0 [ 12.809247][ T12] ? __send_to_port+0x420/0x420 [ 12.809250][ T12] ? validate_chain+0x34a/0xc20 [ 12.809255][ T12] hvc_console_print+0x292/0x780 [ 12.809259][ T12] ? __lock_acquire+0x518/0xc20 [ 12.809265][ T12] ? hvc_write+0x3a0/0x3a0 [ 12.809268][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.809273][ T12] console_emit_next_record+0x22f/0x4c0 [ 12.809278][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 12.809283][ T12] ? console_flush_one_record+0x106/0x710 [ 12.809287][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.809289][ T12] ? lock_acquire+0x13c/0x160 [ 12.809293][ T12] console_flush_one_record+0x46f/0x710 [ 12.809300][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 12.809302][ T12] ? __lock_acquire+0x518/0xc20 [ 12.809307][ T12] console_unlock+0xee/0x1f0 [ 12.809310][ T12] ? console_flush_one_record+0x710/0x710 [ 12.809312][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.809314][ T12] ? lock_acquire+0xe0/0x160 [ 12.809318][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.809320][ T12] ? vprintk_emit+0x320/0x3e0 [ 12.809322][ T12] vprintk_emit+0x37c/0x3e0 [ 12.809326][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 12.809327][ T12] ? __lock_acquire+0x518/0xc20 [ 12.809329][ T12] ? __queue_work+0x4ef/0xd30 [ 12.809334][ T12] _printk+0xc7/0x100 [ 12.809338][ T12] ? snapshot_read.cold+0x21/0x21 [ 12.809341][ T12] ? lock_acquire+0x13c/0x160 [ 12.809342][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.809343][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.809345][ T12] ? trace_contention_end+0xb3/0x180 [ 12.809346][ T12] ? netdev_name+0x43/0x60 [ 12.809350][ T12] ? __netdev_printk+0x17f/0x1d0 [ 12.809354][ T12] netdev_info+0xe2/0x116 [ 12.809357][ T12] ? netdev_notice+0x120/0x120 [ 12.809366][ T12] netif_set_allmulti.cold+0x7c/0x166 [ 12.809370][ T12] dev_set_allmulti+0xa6/0x240 [ 12.809373][ T12] del_nbp+0xb7/0xc10 [ 12.809376][ T12] ? unregister_netdevice_many+0x20/0x20 [ 12.809378][ T12] ? net_generic+0xb3/0x1e0 [ 12.809383][ T12] br_dev_delete+0x9d/0x1e0 [ 12.809387][ T12] br_net_exit_rtnl+0xb8/0x110 [ 12.809390][ T12] ops_undo_list+0x5be/0x8f0 [ 12.809395][ T12] ? netns_install+0x2a0/0x2a0 [ 12.809397][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.809403][ T12] cleanup_net+0x431/0x940 [ 12.809406][ T12] ? net_passive_dec+0x230/0x230 [ 12.809410][ T12] ? lock_acquire+0x13c/0x160 [ 12.809412][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.809415][ T12] process_one_work+0xe3e/0x1560 [ 12.809422][ T12] ? __queue_delayed_work+0x470/0x470 [ 12.809425][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.809433][ T12] worker_thread+0x4f1/0xd60 [ 12.809440][ T12] ? rescuer_thread+0x1340/0x1340 [ 12.809442][ T12] kthread+0x367/0x460 [ 12.809445][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.809448][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.809451][ T12] ret_from_fork+0x474/0x6b0 [ 12.809455][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.809459][ T12] ? __switch_to+0x5a3/0xe00 [ 12.809462][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.809465][ T12] ret_from_fork_asm+0x11/0x20 [ 12.809474][ T12] [ 12.830689][ T12] dummy0: left promiscuous mode [ 12.831070][ T12] br0: port 1(dummy0) entered disabled state