[ 11.580221][ T210] br0: port 1(dummy0) entered blocking state [ 11.580291][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.580294][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: ip [ 11.580295][ T210] preempt_count: 1, expected: 0 [ 11.580296][ T210] RCU nest depth: 0, expected: 0 [ 11.580297][ T210] locks held by ip/210: 5, last CPU#2: [ 11.580299][ T210] #0: ffffffff8831b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.580312][ T210] #1: ffffffff87b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.580317][ T210] #2: ffffffff87b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.580322][ T210] #3: ffffffff87a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.580325][ T210] #4: ffffffff87a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.580330][ T210] irq event stamp: 15358 [ 11.580330][ T210] hardirqs last enabled at (15357): [] __down_trylock_console_sem+0x86/0xa0 [ 11.580334][ T210] hardirqs last disabled at (15358): [] console_emit_next_record+0x3d4/0x4c0 [ 11.580336][ T210] softirqs last enabled at (15274): [] __alloc_skb+0x4c2/0x5f0 [ 11.580339][ T210] softirqs last disabled at (15272): [] __alloc_skb+0x4c2/0x5f0 [ 11.580342][ T210] Preemption disabled at: [ 11.580342][ T210] [] vprintk_emit+0x31b/0x3e0 [ 11.580348][ T210] CPU: 2 UID: 0 PID: 210 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.580351][ T210] Tainted: [W]=WARN [ 11.580352][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.580354][ T210] Call Trace: [ 11.580355][ T210] [ 11.580357][ T210] dump_stack_lvl+0x6f/0xa0 [ 11.580363][ T210] ? vprintk_emit+0x31b/0x3e0 [ 11.580364][ T210] __might_resched.cold+0x1fe/0x2c1 [ 11.580369][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.580374][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 11.580378][ T210] __kmalloc_noprof+0x443/0x760 [ 11.580380][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 11.580387][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 11.580389][ T210] alloc_buf.isra.0+0x4b/0x260 [ 11.580394][ T210] put_chars+0x1e1/0x2f0 [ 11.580396][ T210] ? __send_to_port+0x420/0x420 [ 11.580399][ T210] ? validate_chain+0x34a/0xc20 [ 11.580404][ T210] hvc_console_print+0x292/0x780 [ 11.580412][ T210] ? hvc_write+0x3a0/0x3a0 [ 11.580414][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580417][ T210] ? lock_acquire+0x13c/0x160 [ 11.580421][ T210] console_emit_next_record+0x22f/0x4c0 [ 11.580425][ T210] ? devkmsg_read+0x4b0/0x4b0 [ 11.580427][ T210] ? console_flush_one_record+0x106/0x710 [ 11.580430][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580432][ T210] ? lock_acquire+0x13c/0x160 [ 11.580436][ T210] console_flush_one_record+0x46f/0x710 [ 11.580440][ T210] ? console_emit_next_record+0x4c0/0x4c0 [ 11.580442][ T210] ? __lock_acquire+0x518/0xc20 [ 11.580447][ T210] console_unlock+0xee/0x1f0 [ 11.580450][ T210] ? console_flush_one_record+0x710/0x710 [ 11.580452][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580454][ T210] ? lock_acquire+0xe0/0x160 [ 11.580458][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.580459][ T210] ? vprintk_emit+0x320/0x3e0 [ 11.580462][ T210] vprintk_emit+0x37c/0x3e0 [ 11.580465][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 11.580466][ T210] ? trace_contention_end+0xb3/0x180 [ 11.580469][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 11.580471][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 11.580475][ T210] _printk+0xc7/0x100 [ 11.580478][ T210] ? snapshot_read.cold+0x21/0x21 [ 11.580481][ T210] ? new_nbp+0x310/0x650 [ 11.580486][ T210] ? __mutex_unlock_slowpath+0x9e/0x740 [ 11.580490][ T210] br_set_state+0x22f/0x430 [ 11.580494][ T210] br_init_port+0xc4/0x200 [ 11.580497][ T210] new_nbp+0x3a0/0x650 [ 11.580501][ T210] br_add_if+0x212/0x1320 [ 11.580503][ T210] ? _mutex_trylock_nest_lock+0x390/0x390 [ 11.580504][ T210] ? is_bpf_text_address+0x72/0x110 [ 11.580511][ T210] do_set_master+0x3b2/0x780 [ 11.580515][ T210] do_setlink.isra.0+0x9ec/0x2a60 [ 11.580518][ T210] ? stack_trace_save+0x93/0xc0 [ 11.580522][ T210] ? rtnl_link_get_size+0x350/0x350 [ 11.580523][ T210] ? rcu_read_lock_any_held+0x66/0x90 [ 11.580526][ T210] ? stack_depot_save_flags+0x38e/0x790 [ 11.580529][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.580531][ T210] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.580533][ T210] ? validate_chain+0x38b/0xc20 [ 11.580535][ T210] ? kasan_save_stack+0x3d/0x50 [ 11.580538][ T210] ? kasan_save_stack+0x2f/0x50 [ 11.580539][ T210] ? kasan_save_track+0x14/0x30 [ 11.580540][ T210] ? __kasan_kmalloc+0x7b/0x90 [ 11.580543][ T210] ? __lock_acquire+0x518/0xc20 [ 11.580551][ T210] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.580554][ T210] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.580558][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 11.580560][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 11.580562][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580564][ T210] ? lock_acquire+0x13c/0x160 [ 11.580566][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580567][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580569][ T210] ? trace_contention_end+0xb3/0x180 [ 11.580571][ T210] ? __mutex_lock+0x1db/0x1ea0 [ 11.580572][ T210] ? __mutex_lock+0x9a3/0x1ea0 [ 11.580574][ T210] ? rtnl_newlink+0x9a8/0x11b0 [ 11.580577][ T210] ? ww_mutex_lock+0x160/0x160 [ 11.580578][ T210] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.580583][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580586][ T210] ? __rtnl_newlink+0x3fa/0xa50 [ 11.580591][ T210] rtnl_newlink+0x9f1/0x11b0 [ 11.580596][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 11.580598][ T210] ? __lock_acquire+0x518/0xc20 [ 11.580602][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 11.580604][ T210] ? find_held_lock+0x2b/0x80 [ 11.580606][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 11.580608][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 11.580612][ T210] ? rtnl_bridge_getlink+0x850/0x850 [ 11.580614][ T210] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.580617][ T210] ? rtnl_link_fill+0x920/0x920 [ 11.580619][ T210] ? __lock_acquire+0x518/0xc20 [ 11.580623][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 11.580625][ T210] ? find_held_lock+0x2b/0x80 [ 11.580628][ T210] netlink_rcv_skb+0x14e/0x3a0 [ 11.580632][ T210] ? rtnl_link_fill+0x920/0x920 [ 11.580634][ T210] ? netlink_ack+0xcf0/0xcf0 [ 11.580641][ T210] ? netlink_deliver_tap+0xc5/0x330 [ 11.580643][ T210] ? netlink_deliver_tap+0x13c/0x330 [ 11.580647][ T210] netlink_unicast+0x486/0x750 [ 11.580651][ T210] ? netlink_attachskb+0x810/0x810 [ 11.580654][ T210] ? find_held_lock+0x2b/0x80 [ 11.580658][ T210] netlink_sendmsg+0x75b/0xc90 [ 11.580662][ T210] ? netlink_unicast+0x750/0x750 [ 11.580666][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 11.580668][ T210] ? __import_iovec+0x36c/0x620 [ 11.580673][ T210] __sock_sendmsg+0xce/0x190 [ 11.580676][ T210] ____sys_sendmsg+0x61a/0x860 [ 11.580678][ T210] ? copy_msghdr_from_user+0x279/0x420 [ 11.580680][ T210] ? sock_write_iter+0x400/0x400 [ 11.580682][ T210] ? move_addr_to_kernel+0x40/0x40 [ 11.580689][ T210] ___sys_sendmsg+0x14e/0x1d0 [ 11.580692][ T210] ? copy_msghdr_from_user+0x420/0x420 [ 11.580708][ T210] __sys_sendmsg+0x12c/0x1d0 [ 11.580711][ T210] ? __sys_sendmsg_sock+0x20/0x20 [ 11.580717][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.580720][ T210] do_syscall_64+0xff/0x530 [ 11.580723][ T210] ? exc_page_fault+0xee/0x100 [ 11.580726][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.580728][ T210] RIP: 0033:0x7f06ed58054e [ 11.580732][ 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 [ 11.580734][ T210] RSP: 002b:00007fffaa022060 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.580737][ T210] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f06ed58054e [ 11.580738][ T210] RDX: 0000000000000000 RSI: 00007fffaa022110 RDI: 0000000000000005 [ 11.580739][ T210] RBP: 00007fffaa022070 R08: 0000000000000000 R09: 0000000000000000 [ 11.580740][ T210] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9161c5 [ 11.580740][ T210] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffaa0227e0 [ 11.580747][ T210] [ 11.621002][ T210] br0: port 1(dummy0) entered disabled state [ 11.621432][ T210] dummy0: entered allmulticast mode [ 11.623378][ T210] dummy0: entered promiscuous mode [ 11.641965][ T210] ip (210) used greatest stack depth: 23336 bytes left [ 11.670561][ T211] br0: port 1(dummy0) entered blocking state [ 11.670982][ T211] br0: port 1(dummy0) entered forwarding state [ 14.637241][ T12] dummy0: left allmulticast mode [ 14.637295][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.637297][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 14.637299][ T12] preempt_count: 1, expected: 0 [ 14.637300][ T12] RCU nest depth: 0, expected: 0 [ 14.637301][ T12] locks held by kworker/u16:0/12: 9, last CPU#1: [ 14.637303][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 14.637316][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 14.637320][ T12] #2: ffffffff882ffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 14.637325][ T12] #3: ffffffff8831b740 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 14.637329][ T12] #4: ff11000007ab1e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: dev_set_allmulti+0x96/0x240 [ 14.637333][ T12] #5: ffffffff87b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.637336][ T12] #6: ffffffff87b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.637341][ T12] #7: ffffffff87a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.637344][ T12] #8: ffffffff87a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.637348][ T12] irq event stamp: 1582 [ 14.637349][ T12] hardirqs last enabled at (1581): [] __down_trylock_console_sem+0x86/0xa0 [ 14.637352][ T12] hardirqs last disabled at (1582): [] console_emit_next_record+0x3d4/0x4c0 [ 14.637354][ T12] softirqs last enabled at (1528): [] netlink_release+0x17b/0xcf0 [ 14.637357][ T12] softirqs last disabled at (1526): [] netlink_release+0xd2/0xcf0 [ 14.637360][ T12] Preemption disabled at: [ 14.637360][ T12] [] vprintk_emit+0x31b/0x3e0 [ 14.637366][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.637369][ T12] Tainted: [W]=WARN [ 14.637370][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.637372][ T12] Workqueue: netns cleanup_net [ 14.637375][ T12] Call Trace: [ 14.637377][ T12] [ 14.637379][ T12] dump_stack_lvl+0x6f/0xa0 [ 14.637385][ T12] ? vprintk_emit+0x31b/0x3e0 [ 14.637387][ T12] __might_resched.cold+0x1fe/0x2c1 [ 14.637391][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.637395][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 14.637400][ T12] __kmalloc_noprof+0x443/0x760 [ 14.637402][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 14.637408][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 14.637411][ T12] alloc_buf.isra.0+0x4b/0x260 [ 14.637415][ T12] put_chars+0x1e1/0x2f0 [ 14.637418][ T12] ? __send_to_port+0x420/0x420 [ 14.637421][ T12] ? validate_chain+0x34a/0xc20 [ 14.637426][ T12] hvc_console_print+0x292/0x780 [ 14.637430][ T12] ? __lock_acquire+0x518/0xc20 [ 14.637436][ T12] ? hvc_write+0x3a0/0x3a0 [ 14.637439][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.637444][ T12] console_emit_next_record+0x22f/0x4c0 [ 14.637449][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 14.637450][ T12] ? console_flush_one_record+0x106/0x710 [ 14.637454][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.637456][ T12] ? lock_acquire+0x13c/0x160 [ 14.637460][ T12] console_flush_one_record+0x46f/0x710 [ 14.637464][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 14.637466][ T12] ? __lock_acquire+0x518/0xc20 [ 14.637472][ T12] console_unlock+0xee/0x1f0 [ 14.637475][ T12] ? console_flush_one_record+0x710/0x710 [ 14.637477][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.637478][ T12] ? lock_acquire+0xe0/0x160 [ 14.637482][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.637484][ T12] ? vprintk_emit+0x320/0x3e0 [ 14.637487][ T12] vprintk_emit+0x37c/0x3e0 [ 14.637490][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 14.637492][ T12] ? __lock_acquire+0x518/0xc20 [ 14.637493][ T12] ? __queue_work+0x4f5/0xd30 [ 14.637499][ T12] _printk+0xc7/0x100 [ 14.637503][ T12] ? snapshot_read.cold+0x21/0x21 [ 14.637505][ T12] ? lock_acquire+0x13c/0x160 [ 14.637507][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.637508][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.637510][ T12] ? trace_contention_end+0xb3/0x180 [ 14.637511][ T12] ? netdev_name+0x43/0x60 [ 14.637515][ T12] ? __netdev_printk+0x17f/0x1d0 [ 14.637519][ T12] netdev_info+0xe2/0x116 [ 14.637522][ T12] ? netdev_notice+0x120/0x120 [ 14.637531][ T12] netif_set_allmulti.cold+0x7c/0x166 [ 14.637535][ T12] dev_set_allmulti+0xa6/0x240 [ 14.637538][ T12] del_nbp+0xb7/0xc10 [ 14.637542][ T12] ? unregister_netdevice_many+0x20/0x20 [ 14.637544][ T12] ? net_generic+0xb3/0x1e0 [ 14.637549][ T12] br_dev_delete+0x9d/0x1e0 [ 14.637553][ T12] br_net_exit_rtnl+0xb8/0x110 [ 14.637562][ T12] ops_undo_list+0x5be/0x8f0 [ 14.637567][ T12] ? netns_install+0x2a0/0x2a0 [ 14.637569][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 14.637575][ T12] cleanup_net+0x431/0x940 [ 14.637578][ T12] ? net_passive_dec+0x230/0x230 [ 14.637582][ T12] ? lock_acquire+0x13c/0x160 [ 14.637583][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.637587][ T12] process_one_work+0xe3e/0x1560 [ 14.637594][ T12] ? __queue_delayed_work+0x470/0x470 [ 14.637597][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.637605][ T12] worker_thread+0x4f1/0xd60 [ 14.637612][ T12] ? rescuer_thread+0x1340/0x1340 [ 14.637614][ T12] kthread+0x367/0x460 [ 14.637617][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.637620][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.637623][ T12] ret_from_fork+0x474/0x6b0 [ 14.637628][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 14.637631][ T12] ? __switch_to+0x5a3/0xe00 [ 14.637634][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.637637][ T12] ret_from_fork_asm+0x11/0x20 [ 14.637646][ T12] [ 14.661126][ T12] dummy0: left promiscuous mode [ 14.661639][ T12] br0: port 1(dummy0) entered disabled state