[ 9.788010][ T210] br0: port 1(dummy0) entered blocking state [ 9.788082][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.788085][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: ip [ 9.788086][ T210] preempt_count: 1, expected: 0 [ 9.788087][ T210] RCU nest depth: 0, expected: 0 [ 9.788088][ T210] locks held by ip/210: 5, last CPU#2: [ 9.788090][ T210] #0: ffffffffac91b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.788102][ T210] #1: ffffffffac17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.788107][ T210] #2: ffffffffac17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.788112][ T210] #3: ffffffffac09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.788115][ T210] #4: ffffffffac09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.788119][ T210] irq event stamp: 16758 [ 9.788120][ T210] hardirqs last enabled at (16757): [] __down_trylock_console_sem+0x86/0xa0 [ 9.788123][ T210] hardirqs last disabled at (16758): [] console_emit_next_record+0x3d4/0x4c0 [ 9.788126][ T210] softirqs last enabled at (16670): [] __alloc_skb+0x4c2/0x5f0 [ 9.788129][ T210] softirqs last disabled at (16668): [] __alloc_skb+0x4c2/0x5f0 [ 9.788131][ T210] Preemption disabled at: [ 9.788132][ T210] [] vprintk_emit+0x31b/0x3e0 [ 9.788137][ T210] CPU: 2 UID: 0 PID: 210 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.788140][ T210] Tainted: [W]=WARN [ 9.788141][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.788143][ T210] Call Trace: [ 9.788144][ T210] [ 9.788146][ T210] dump_stack_lvl+0x6f/0xa0 [ 9.788152][ T210] ? vprintk_emit+0x31b/0x3e0 [ 9.788153][ T210] __might_resched.cold+0x1fe/0x2c1 [ 9.788158][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.788162][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 9.788166][ T210] __kmalloc_noprof+0x443/0x760 [ 9.788168][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 9.788180][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 9.788183][ T210] alloc_buf.isra.0+0x4b/0x260 [ 9.788186][ T210] put_chars+0x1e1/0x2f0 [ 9.788189][ T210] ? __send_to_port+0x420/0x420 [ 9.788191][ T210] ? validate_chain+0x34a/0xc20 [ 9.788197][ T210] hvc_console_print+0x292/0x780 [ 9.788204][ T210] ? hvc_write+0x3a0/0x3a0 [ 9.788207][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788209][ T210] ? lock_acquire+0x13c/0x160 [ 9.788213][ T210] console_emit_next_record+0x22f/0x4c0 [ 9.788217][ T210] ? devkmsg_read+0x4b0/0x4b0 [ 9.788219][ T210] ? console_flush_one_record+0x106/0x710 [ 9.788222][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788224][ T210] ? lock_acquire+0x13c/0x160 [ 9.788228][ T210] console_flush_one_record+0x46f/0x710 [ 9.788232][ T210] ? console_emit_next_record+0x4c0/0x4c0 [ 9.788234][ T210] ? __lock_acquire+0x518/0xc20 [ 9.788239][ T210] console_unlock+0xee/0x1f0 [ 9.788242][ T210] ? console_flush_one_record+0x710/0x710 [ 9.788244][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788245][ T210] ? lock_acquire+0xe0/0x160 [ 9.788249][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.788251][ T210] ? vprintk_emit+0x320/0x3e0 [ 9.788255][ T210] vprintk_emit+0x37c/0x3e0 [ 9.788258][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 9.788260][ T210] ? trace_contention_end+0xb3/0x180 [ 9.788262][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 9.788264][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 9.788268][ T210] _printk+0xc7/0x100 [ 9.788271][ T210] ? snapshot_read.cold+0x21/0x21 [ 9.788274][ T210] ? new_nbp+0x310/0x650 [ 9.788279][ T210] ? __mutex_unlock_slowpath+0x9e/0x740 [ 9.788283][ T210] br_set_state+0x22f/0x430 [ 9.788287][ T210] br_init_port+0xc4/0x200 [ 9.788289][ T210] new_nbp+0x3a0/0x650 [ 9.788293][ T210] br_add_if+0x212/0x1320 [ 9.788295][ T210] ? _mutex_trylock_nest_lock+0x390/0x390 [ 9.788296][ T210] ? is_bpf_text_address+0x72/0x110 [ 9.788303][ T210] do_set_master+0x3b2/0x780 [ 9.788307][ T210] do_setlink.isra.0+0x9ec/0x2a60 [ 9.788310][ T210] ? stack_trace_save+0x93/0xc0 [ 9.788314][ T210] ? rtnl_link_get_size+0x350/0x350 [ 9.788315][ T210] ? rcu_read_lock_any_held+0x66/0x90 [ 9.788318][ T210] ? stack_depot_save_flags+0x38e/0x790 [ 9.788321][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.788323][ T210] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.788325][ T210] ? validate_chain+0x38b/0xc20 [ 9.788327][ T210] ? kasan_save_stack+0x3d/0x50 [ 9.788330][ T210] ? kasan_save_stack+0x2f/0x50 [ 9.788331][ T210] ? kasan_save_track+0x14/0x30 [ 9.788332][ T210] ? __kasan_kmalloc+0x7b/0x90 [ 9.788335][ T210] ? __lock_acquire+0x518/0xc20 [ 9.788337][ T210] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 9.788339][ T210] ? ___sys_sendmsg+0xd0/0x1d0 [ 9.788343][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 9.788345][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 9.788348][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788349][ T210] ? lock_acquire+0x13c/0x160 [ 9.788351][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788352][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788354][ T210] ? trace_contention_end+0xb3/0x180 [ 9.788356][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 9.788357][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 9.788359][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 9.788362][ T210] ? ww_mutex_lock+0x160/0x160 [ 9.788363][ T210] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.788368][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788370][ T210] ? __rtnl_newlink+0x3fa/0xa50 [ 9.788375][ T210] rtnl_newlink+0x9f1/0x11b0 [ 9.788381][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 9.788383][ T210] ? __lock_acquire+0x518/0xc20 [ 9.788387][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 9.788389][ T210] ? find_held_lock+0x2b/0x80 [ 9.788391][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 9.788393][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 9.788397][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 9.788399][ T210] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.788402][ T210] ? rtnl_link_fill+0x920/0x920 [ 9.788403][ T210] ? __lock_acquire+0x518/0xc20 [ 9.788408][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 9.788410][ T210] ? find_held_lock+0x2b/0x80 [ 9.788413][ T210] netlink_rcv_skb+0x14e/0x3a0 [ 9.788416][ T210] ? rtnl_link_fill+0x920/0x920 [ 9.788419][ T210] ? netlink_ack+0xcf0/0xcf0 [ 9.788426][ T210] ? netlink_deliver_tap+0xc5/0x330 [ 9.788428][ T210] ? netlink_deliver_tap+0x13c/0x330 [ 9.788432][ T210] netlink_unicast+0x486/0x750 [ 9.788436][ T210] ? netlink_attachskb+0x810/0x810 [ 9.788439][ T210] ? find_held_lock+0x2b/0x80 [ 9.788443][ T210] netlink_sendmsg+0x75b/0xc90 [ 9.788447][ T210] ? netlink_unicast+0x750/0x750 [ 9.788451][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 9.788452][ T210] ? __import_iovec+0x36c/0x620 [ 9.788458][ T210] __sock_sendmsg+0xce/0x190 [ 9.788461][ T210] ____sys_sendmsg+0x61a/0x860 [ 9.788463][ T210] ? copy_msghdr_from_user+0x279/0x420 [ 9.788465][ T210] ? sock_write_iter+0x400/0x400 [ 9.788467][ T210] ? move_addr_to_kernel+0x40/0x40 [ 9.788474][ T210] ___sys_sendmsg+0x14e/0x1d0 [ 9.788477][ T210] ? copy_msghdr_from_user+0x420/0x420 [ 9.788493][ T210] __sys_sendmsg+0x12c/0x1d0 [ 9.788496][ T210] ? __sys_sendmsg_sock+0x20/0x20 [ 9.788502][ T210] ? rcu_is_watching+0x16/0xd0 [ 9.788505][ T210] do_syscall_64+0xff/0x530 [ 9.788508][ T210] ? exc_page_fault+0xee/0x100 [ 9.788511][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.788513][ T210] RIP: 0033:0x7f37d02e054e [ 9.788517][ 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.788518][ T210] RSP: 002b:00007ffe693a4dd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.788521][ T210] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f37d02e054e [ 9.788522][ T210] RDX: 0000000000000000 RSI: 00007ffe693a4e80 RDI: 0000000000000005 [ 9.788523][ T210] RBP: 00007ffe693a4de0 R08: 0000000000000000 R09: 0000000000000000 [ 9.788524][ T210] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9148ed [ 9.788524][ T210] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe693a5550 [ 9.788531][ T210] [ 9.831943][ T210] br0: port 1(dummy0) entered disabled state [ 9.832323][ T210] dummy0: entered allmulticast mode [ 9.833568][ T210] dummy0: entered promiscuous mode [ 9.846800][ T210] ip (210) used greatest stack depth: 23336 bytes left [ 9.868146][ T211] br0: port 1(dummy0) entered blocking state [ 9.868637][ T211] br0: port 1(dummy0) entered forwarding state [ 12.405856][ T12] dummy0: left allmulticast mode [ 12.405902][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.405904][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 12.405906][ T12] preempt_count: 1, expected: 0 [ 12.405906][ T12] RCU nest depth: 0, expected: 0 [ 12.405907][ T12] locks held by kworker/u16:0/12: 9, last CPU#2: [ 12.405910][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.405922][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.405926][ T12] #2: ffffffffac8ffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 12.405931][ T12] #3: ffffffffac91b740 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 12.405934][ T12] #4: ff11000007b61e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: dev_set_allmulti+0x96/0x240 [ 12.405938][ T12] #5: ffffffffac17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.405942][ T12] #6: ffffffffac17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.405945][ T12] #7: ffffffffac09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.405949][ T12] #8: ffffffffac09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.405953][ T12] irq event stamp: 1564 [ 12.405953][ T12] hardirqs last enabled at (1563): [] __down_trylock_console_sem+0x86/0xa0 [ 12.405956][ T12] hardirqs last disabled at (1564): [] console_emit_next_record+0x3d4/0x4c0 [ 12.405959][ T12] softirqs last enabled at (1510): [] netlink_release+0x17b/0xcf0 [ 12.405961][ T12] softirqs last disabled at (1508): [] netlink_release+0xd2/0xcf0 [ 12.405964][ T12] Preemption disabled at: [ 12.405964][ T12] [] vprintk_emit+0x31b/0x3e0 [ 12.405969][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.405973][ T12] Tainted: [W]=WARN [ 12.405973][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.405975][ T12] Workqueue: netns cleanup_net [ 12.405978][ T12] Call Trace: [ 12.405980][ T12] [ 12.405981][ T12] dump_stack_lvl+0x6f/0xa0 [ 12.405987][ T12] ? vprintk_emit+0x31b/0x3e0 [ 12.405989][ T12] __might_resched.cold+0x1fe/0x2c1 [ 12.405993][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.405997][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 12.406002][ T12] __kmalloc_noprof+0x443/0x760 [ 12.406004][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 12.406010][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 12.406013][ T12] alloc_buf.isra.0+0x4b/0x260 [ 12.406017][ T12] put_chars+0x1e1/0x2f0 [ 12.406019][ T12] ? __send_to_port+0x420/0x420 [ 12.406023][ T12] ? validate_chain+0x34a/0xc20 [ 12.406028][ T12] hvc_console_print+0x292/0x780 [ 12.406032][ T12] ? __lock_acquire+0x518/0xc20 [ 12.406037][ T12] ? hvc_write+0x3a0/0x3a0 [ 12.406040][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.406046][ T12] console_emit_next_record+0x22f/0x4c0 [ 12.406050][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 12.406052][ T12] ? console_flush_one_record+0x106/0x710 [ 12.406056][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.406057][ T12] ? lock_acquire+0x13c/0x160 [ 12.406062][ T12] console_flush_one_record+0x46f/0x710 [ 12.406066][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 12.406068][ T12] ? __lock_acquire+0x518/0xc20 [ 12.406074][ T12] console_unlock+0xee/0x1f0 [ 12.406077][ T12] ? console_flush_one_record+0x710/0x710 [ 12.406079][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.406080][ T12] ? lock_acquire+0xe0/0x160 [ 12.406084][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.406086][ T12] ? vprintk_emit+0x320/0x3e0 [ 12.406089][ T12] vprintk_emit+0x37c/0x3e0 [ 12.406092][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 12.406094][ T12] ? __lock_acquire+0x518/0xc20 [ 12.406096][ T12] ? __queue_work+0x4f0/0xd30 [ 12.406101][ T12] _printk+0xc7/0x100 [ 12.406104][ T12] ? snapshot_read.cold+0x21/0x21 [ 12.406107][ T12] ? lock_acquire+0x13c/0x160 [ 12.406109][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.406110][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.406112][ T12] ? trace_contention_end+0xb3/0x180 [ 12.406113][ T12] ? netdev_name+0x43/0x60 [ 12.406117][ T12] ? __netdev_printk+0x17f/0x1d0 [ 12.406121][ T12] netdev_info+0xe2/0x116 [ 12.406124][ T12] ? netdev_notice+0x120/0x120 [ 12.406133][ T12] netif_set_allmulti.cold+0x7c/0x166 [ 12.406137][ T12] dev_set_allmulti+0xa6/0x240 [ 12.406140][ T12] del_nbp+0xb7/0xc10 [ 12.406144][ T12] ? unregister_netdevice_many+0x20/0x20 [ 12.406145][ T12] ? net_generic+0xb3/0x1e0 [ 12.406151][ T12] br_dev_delete+0x9d/0x1e0 [ 12.406155][ T12] br_net_exit_rtnl+0xb8/0x110 [ 12.406158][ T12] ops_undo_list+0x5be/0x8f0 [ 12.406163][ T12] ? netns_install+0x2a0/0x2a0 [ 12.406164][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.406170][ T12] cleanup_net+0x431/0x940 [ 12.406173][ T12] ? net_passive_dec+0x230/0x230 [ 12.406177][ T12] ? lock_acquire+0x13c/0x160 [ 12.406179][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.406183][ T12] process_one_work+0xe3e/0x1560 [ 12.406194][ T12] ? __queue_delayed_work+0x470/0x470 [ 12.406197][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.406205][ T12] worker_thread+0x4f1/0xd60 [ 12.406212][ T12] ? rescuer_thread+0x1340/0x1340 [ 12.406214][ T12] kthread+0x367/0x460 [ 12.406217][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.406220][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.406223][ T12] ret_from_fork+0x474/0x6b0 [ 12.406227][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.406231][ T12] ? __switch_to+0x5a3/0xe00 [ 12.406235][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.406237][ T12] ret_from_fork_asm+0x11/0x20 [ 12.406246][ T12] [ 12.439222][ T12] dummy0: left promiscuous mode [ 12.439661][ T12] br0: port 1(dummy0) entered disabled state