[ 10.508229][ T210] br0: port 1(dummy0) entered blocking state [ 10.508301][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.508303][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: ip [ 10.508305][ T210] preempt_count: 1, expected: 0 [ 10.508306][ T210] RCU nest depth: 0, expected: 0 [ 10.508307][ T210] locks held by ip/210: 5, last CPU#1: [ 10.508309][ T210] #0: ffffffff8bb1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.508321][ T210] #1: ffffffff8b37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.508327][ T210] #2: ffffffff8b37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.508331][ T210] #3: ffffffff8b29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.508335][ T210] #4: ffffffff8b29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.508339][ T210] irq event stamp: 24332 [ 10.508340][ T210] hardirqs last enabled at (24331): [] __down_trylock_console_sem+0x86/0xa0 [ 10.508343][ T210] hardirqs last disabled at (24332): [] console_emit_next_record+0x3d4/0x4c0 [ 10.508345][ T210] softirqs last enabled at (24242): [] __alloc_skb+0x4c2/0x5f0 [ 10.508348][ T210] softirqs last disabled at (24240): [] __alloc_skb+0x4c2/0x5f0 [ 10.508351][ T210] Preemption disabled at: [ 10.508352][ T210] [] vprintk_emit+0x31b/0x3e0 [ 10.508357][ T210] CPU: 1 UID: 0 PID: 210 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.508360][ T210] Tainted: [W]=WARN [ 10.508361][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.508363][ T210] Call Trace: [ 10.508364][ T210] [ 10.508366][ T210] dump_stack_lvl+0x6f/0xa0 [ 10.508372][ T210] ? vprintk_emit+0x31b/0x3e0 [ 10.508374][ T210] __might_resched.cold+0x1fe/0x2c1 [ 10.508378][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.508382][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 10.508387][ T210] __kmalloc_noprof+0x443/0x760 [ 10.508389][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 10.508395][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 10.508398][ T210] alloc_buf.isra.0+0x4b/0x260 [ 10.508402][ T210] put_chars+0x1e1/0x2f0 [ 10.508404][ T210] ? __send_to_port+0x420/0x420 [ 10.508407][ T210] ? validate_chain+0x34a/0xc20 [ 10.508412][ T210] hvc_console_print+0x292/0x780 [ 10.508420][ T210] ? hvc_write+0x3a0/0x3a0 [ 10.508423][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508426][ T210] ? lock_acquire+0x13c/0x160 [ 10.508429][ T210] console_emit_next_record+0x22f/0x4c0 [ 10.508433][ T210] ? devkmsg_read+0x4b0/0x4b0 [ 10.508435][ T210] ? console_flush_one_record+0x106/0x710 [ 10.508442][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508444][ T210] ? lock_acquire+0x13c/0x160 [ 10.508448][ T210] console_flush_one_record+0x46f/0x710 [ 10.508453][ T210] ? console_emit_next_record+0x4c0/0x4c0 [ 10.508454][ T210] ? __lock_acquire+0x518/0xc20 [ 10.508460][ T210] console_unlock+0xee/0x1f0 [ 10.508463][ T210] ? console_flush_one_record+0x710/0x710 [ 10.508464][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508466][ T210] ? lock_acquire+0xe0/0x160 [ 10.508470][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.508471][ T210] ? vprintk_emit+0x320/0x3e0 [ 10.508474][ T210] vprintk_emit+0x37c/0x3e0 [ 10.508477][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 10.508478][ T210] ? trace_contention_end+0xb3/0x180 [ 10.508481][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 10.508483][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 10.508487][ T210] _printk+0xc7/0x100 [ 10.508490][ T210] ? snapshot_read.cold+0x21/0x21 [ 10.508493][ T210] ? new_nbp+0x310/0x650 [ 10.508498][ T210] ? __mutex_unlock_slowpath+0x9e/0x740 [ 10.508502][ T210] br_set_state+0x22f/0x430 [ 10.508505][ T210] br_init_port+0xc4/0x200 [ 10.508508][ T210] new_nbp+0x3a0/0x650 [ 10.508512][ T210] br_add_if+0x212/0x1320 [ 10.508514][ T210] ? _mutex_trylock_nest_lock+0x390/0x390 [ 10.508515][ T210] ? is_bpf_text_address+0x72/0x110 [ 10.508522][ T210] do_set_master+0x3b2/0x780 [ 10.508526][ T210] do_setlink.isra.0+0x9ec/0x2a60 [ 10.508529][ T210] ? stack_trace_save+0x93/0xc0 [ 10.508532][ T210] ? rtnl_link_get_size+0x350/0x350 [ 10.508534][ T210] ? rcu_read_lock_any_held+0x66/0x90 [ 10.508537][ T210] ? stack_depot_save_flags+0x38e/0x790 [ 10.508540][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.508543][ T210] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.508544][ T210] ? validate_chain+0x38b/0xc20 [ 10.508547][ T210] ? kasan_save_stack+0x3d/0x50 [ 10.508549][ T210] ? kasan_save_stack+0x2f/0x50 [ 10.508550][ T210] ? kasan_save_track+0x14/0x30 [ 10.508551][ T210] ? __kasan_kmalloc+0x7b/0x90 [ 10.508554][ T210] ? __lock_acquire+0x518/0xc20 [ 10.508556][ T210] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.508558][ T210] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.508562][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.508564][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 10.508566][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508568][ T210] ? lock_acquire+0x13c/0x160 [ 10.508570][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508571][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508572][ T210] ? trace_contention_end+0xb3/0x180 [ 10.508574][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 10.508576][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 10.508577][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 10.508581][ T210] ? ww_mutex_lock+0x160/0x160 [ 10.508582][ T210] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.508587][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508589][ T210] ? __rtnl_newlink+0x3fa/0xa50 [ 10.508594][ T210] rtnl_newlink+0x9f1/0x11b0 [ 10.508599][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 10.508601][ T210] ? __lock_acquire+0x518/0xc20 [ 10.508606][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.508608][ T210] ? find_held_lock+0x2b/0x80 [ 10.508610][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 10.508612][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.508615][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 10.508617][ T210] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.508621][ T210] ? rtnl_link_fill+0x920/0x920 [ 10.508622][ T210] ? __lock_acquire+0x518/0xc20 [ 10.508626][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.508628][ T210] ? find_held_lock+0x2b/0x80 [ 10.508632][ T210] netlink_rcv_skb+0x14e/0x3a0 [ 10.508635][ T210] ? rtnl_link_fill+0x920/0x920 [ 10.508638][ T210] ? netlink_ack+0xcf0/0xcf0 [ 10.508644][ T210] ? netlink_deliver_tap+0xc5/0x330 [ 10.508646][ T210] ? netlink_deliver_tap+0x13c/0x330 [ 10.508650][ T210] netlink_unicast+0x486/0x750 [ 10.508654][ T210] ? netlink_attachskb+0x810/0x810 [ 10.508657][ T210] ? find_held_lock+0x2b/0x80 [ 10.508661][ T210] netlink_sendmsg+0x75b/0xc90 [ 10.508665][ T210] ? netlink_unicast+0x750/0x750 [ 10.508669][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.508670][ T210] ? __import_iovec+0x36c/0x620 [ 10.508675][ T210] __sock_sendmsg+0xce/0x190 [ 10.508678][ T210] ____sys_sendmsg+0x61a/0x860 [ 10.508680][ T210] ? copy_msghdr_from_user+0x279/0x420 [ 10.508683][ T210] ? sock_write_iter+0x400/0x400 [ 10.508684][ T210] ? move_addr_to_kernel+0x40/0x40 [ 10.508691][ T210] ___sys_sendmsg+0x14e/0x1d0 [ 10.508694][ T210] ? copy_msghdr_from_user+0x420/0x420 [ 10.508710][ T210] __sys_sendmsg+0x12c/0x1d0 [ 10.508712][ T210] ? __sys_sendmsg_sock+0x20/0x20 [ 10.508719][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.508722][ T210] do_syscall_64+0xff/0x530 [ 10.508725][ T210] ? exc_page_fault+0xee/0x100 [ 10.508727][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.508730][ T210] RIP: 0033:0x7ffbe2a4054e [ 10.508734][ 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.508735][ T210] RSP: 002b:00007ffed1fcdcd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.508738][ T210] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007ffbe2a4054e [ 10.508740][ T210] RDX: 0000000000000000 RSI: 00007ffed1fcdd80 RDI: 0000000000000005 [ 10.508740][ T210] RBP: 00007ffed1fcdce0 R08: 0000000000000000 R09: 0000000000000000 [ 10.508741][ T210] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a918b48 [ 10.508742][ T210] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffed1fce450 [ 10.508749][ T210] [ 10.550370][ T210] br0: port 1(dummy0) entered disabled state [ 10.550764][ T210] dummy0: entered allmulticast mode [ 10.552152][ T210] dummy0: entered promiscuous mode [ 10.568170][ T210] ip (210) used greatest stack depth: 23336 bytes left [ 10.590739][ T211] br0: port 1(dummy0) entered blocking state [ 10.591244][ T211] br0: port 1(dummy0) entered forwarding state [ 13.255040][ T12] dummy0: left allmulticast mode [ 13.255088][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.255091][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 13.255092][ T12] preempt_count: 1, expected: 0 [ 13.255093][ T12] RCU nest depth: 0, expected: 0 [ 13.255094][ T12] locks held by kworker/u16:0/12: 9, last CPU#0: [ 13.255096][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 13.255109][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 13.255113][ T12] #2: ffffffff8baffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 13.255119][ T12] #3: ffffffff8bb1b740 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 13.255122][ T12] #4: ff1100000fdf9e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: dev_set_allmulti+0x96/0x240 [ 13.255126][ T12] #5: ffffffff8b37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.255130][ T12] #6: ffffffff8b37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.255134][ T12] #7: ffffffff8b29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.255138][ T12] #8: ffffffff8b29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.255142][ T12] irq event stamp: 1518 [ 13.255142][ T12] hardirqs last enabled at (1517): [] __down_trylock_console_sem+0x86/0xa0 [ 13.255146][ T12] hardirqs last disabled at (1518): [] console_emit_next_record+0x3d4/0x4c0 [ 13.255148][ T12] softirqs last enabled at (1464): [] netlink_release+0x17b/0xcf0 [ 13.255151][ T12] softirqs last disabled at (1462): [] netlink_release+0xd2/0xcf0 [ 13.255154][ T12] Preemption disabled at: [ 13.255154][ T12] [] vprintk_emit+0x31b/0x3e0 [ 13.255160][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.255163][ T12] Tainted: [W]=WARN [ 13.255164][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.255166][ T12] Workqueue: netns cleanup_net [ 13.255169][ T12] Call Trace: [ 13.255171][ T12] [ 13.255173][ T12] dump_stack_lvl+0x6f/0xa0 [ 13.255179][ T12] ? vprintk_emit+0x31b/0x3e0 [ 13.255181][ T12] __might_resched.cold+0x1fe/0x2c1 [ 13.255186][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.255190][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 13.255194][ T12] __kmalloc_noprof+0x443/0x760 [ 13.255196][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 13.255203][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 13.255206][ T12] alloc_buf.isra.0+0x4b/0x260 [ 13.255210][ T12] put_chars+0x1e1/0x2f0 [ 13.255213][ T12] ? __send_to_port+0x420/0x420 [ 13.255216][ T12] ? validate_chain+0x34a/0xc20 [ 13.255221][ T12] hvc_console_print+0x292/0x780 [ 13.255225][ T12] ? __lock_acquire+0x518/0xc20 [ 13.255231][ T12] ? hvc_write+0x3a0/0x3a0 [ 13.255234][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.255240][ T12] console_emit_next_record+0x22f/0x4c0 [ 13.255244][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 13.255246][ T12] ? console_flush_one_record+0x106/0x710 [ 13.255249][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.255251][ T12] ? lock_acquire+0x13c/0x160 [ 13.255255][ T12] console_flush_one_record+0x46f/0x710 [ 13.255260][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 13.255262][ T12] ? __lock_acquire+0x518/0xc20 [ 13.255267][ T12] console_unlock+0xee/0x1f0 [ 13.255270][ T12] ? console_flush_one_record+0x710/0x710 [ 13.255272][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.255274][ T12] ? lock_acquire+0xe0/0x160 [ 13.255278][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.255280][ T12] ? vprintk_emit+0x320/0x3e0 [ 13.255282][ T12] vprintk_emit+0x37c/0x3e0 [ 13.255286][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 13.255287][ T12] ? __lock_acquire+0x518/0xc20 [ 13.255289][ T12] ? __queue_work+0x4ef/0xd30 [ 13.255294][ T12] _printk+0xc7/0x100 [ 13.255298][ T12] ? snapshot_read.cold+0x21/0x21 [ 13.255301][ T12] ? lock_acquire+0x13c/0x160 [ 13.255303][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.255304][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.255305][ T12] ? trace_contention_end+0xb3/0x180 [ 13.255307][ T12] ? netdev_name+0x43/0x60 [ 13.255311][ T12] ? __netdev_printk+0x17f/0x1d0 [ 13.255315][ T12] netdev_info+0xe2/0x116 [ 13.255318][ T12] ? netdev_notice+0x120/0x120 [ 13.255327][ T12] netif_set_allmulti.cold+0x7c/0x166 [ 13.255331][ T12] dev_set_allmulti+0xa6/0x240 [ 13.255334][ T12] del_nbp+0xb7/0xc10 [ 13.255338][ T12] ? unregister_netdevice_many+0x20/0x20 [ 13.255339][ T12] ? net_generic+0xb3/0x1e0 [ 13.255345][ T12] br_dev_delete+0x9d/0x1e0 [ 13.255348][ T12] br_net_exit_rtnl+0xb8/0x110 [ 13.255352][ T12] ops_undo_list+0x5be/0x8f0 [ 13.255357][ T12] ? netns_install+0x2a0/0x2a0 [ 13.255358][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 13.255364][ T12] cleanup_net+0x431/0x940 [ 13.255367][ T12] ? net_passive_dec+0x230/0x230 [ 13.255371][ T12] ? lock_acquire+0x13c/0x160 [ 13.255373][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.255377][ T12] process_one_work+0xe3e/0x1560 [ 13.255384][ T12] ? __queue_delayed_work+0x470/0x470 [ 13.255387][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 13.255395][ T12] worker_thread+0x4f1/0xd60 [ 13.255402][ T12] ? rescuer_thread+0x1340/0x1340 [ 13.255405][ T12] kthread+0x367/0x460 [ 13.255407][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.255410][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.255413][ T12] ret_from_fork+0x474/0x6b0 [ 13.255418][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 13.255421][ T12] ? __switch_to+0x5a3/0xe00 [ 13.255425][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.255428][ T12] ret_from_fork_asm+0x11/0x20 [ 13.255437][ T12] [ 13.283529][ T12] dummy0: left promiscuous mode [ 13.284004][ T12] br0: port 1(dummy0) entered disabled state