[ 9.622934][ T212] br0: port 1(dummy0) entered blocking state [ 9.622999][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.623001][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 9.623002][ T212] preempt_count: 1, expected: 0 [ 9.623003][ T212] RCU nest depth: 0, expected: 0 [ 9.623004][ T212] locks held by ip/212: 5, last CPU#0: [ 9.623006][ T212] #0: ffffffff8d51b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.623018][ T212] #1: ffffffff8cd7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.623023][ T212] #2: ffffffff8cd7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.623028][ T212] #3: ffffffff8cc9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.623031][ T212] #4: ffffffff8cc9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.623035][ T212] irq event stamp: 20932 [ 9.623036][ T212] hardirqs last enabled at (20931): [] __down_trylock_console_sem+0x86/0xa0 [ 9.623039][ T212] hardirqs last disabled at (20932): [] console_emit_next_record+0x3d4/0x4c0 [ 9.623041][ T212] softirqs last enabled at (20840): [] __alloc_skb+0x4c2/0x5f0 [ 9.623044][ T212] softirqs last disabled at (20838): [] __alloc_skb+0x4c2/0x5f0 [ 9.623047][ T212] Preemption disabled at: [ 9.623047][ T212] [] vprintk_emit+0x31b/0x3e0 [ 9.623052][ T212] CPU: 0 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.623056][ T212] Tainted: [W]=WARN [ 9.623057][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.623059][ T212] Call Trace: [ 9.623060][ T212] [ 9.623062][ T212] dump_stack_lvl+0x6f/0xa0 [ 9.623068][ T212] ? vprintk_emit+0x31b/0x3e0 [ 9.623070][ T212] __might_resched.cold+0x1fe/0x2c1 [ 9.623074][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.623078][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 9.623083][ T212] __kmalloc_noprof+0x443/0x760 [ 9.623085][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 9.623091][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 9.623094][ T212] alloc_buf.isra.0+0x4b/0x260 [ 9.623097][ T212] put_chars+0x1e1/0x2f0 [ 9.623100][ T212] ? __send_to_port+0x420/0x420 [ 9.623103][ T212] ? validate_chain+0x34a/0xc20 [ 9.623108][ T212] hvc_console_print+0x292/0x780 [ 9.623116][ T212] ? hvc_write+0x3a0/0x3a0 [ 9.623118][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623121][ T212] ? lock_acquire+0x13c/0x160 [ 9.623125][ T212] console_emit_next_record+0x22f/0x4c0 [ 9.623129][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 9.623131][ T212] ? console_flush_one_record+0x106/0x710 [ 9.623134][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623136][ T212] ? lock_acquire+0x13c/0x160 [ 9.623139][ T212] console_flush_one_record+0x46f/0x710 [ 9.623143][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 9.623145][ T212] ? __lock_acquire+0x518/0xc20 [ 9.623151][ T212] console_unlock+0xee/0x1f0 [ 9.623153][ T212] ? console_flush_one_record+0x710/0x710 [ 9.623155][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623157][ T212] ? lock_acquire+0xe0/0x160 [ 9.623161][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.623163][ T212] ? vprintk_emit+0x320/0x3e0 [ 9.623165][ T212] vprintk_emit+0x37c/0x3e0 [ 9.623168][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 9.623169][ T212] ? trace_contention_end+0xb3/0x180 [ 9.623172][ T212] ? __mutex_lock+0x1db/0x1ea0 [ 9.623175][ T212] ? __mutex_lock+0x9a3/0x1ea0 [ 9.623178][ T212] _printk+0xc7/0x100 [ 9.623181][ T212] ? snapshot_read.cold+0x21/0x21 [ 9.623184][ T212] ? new_nbp+0x310/0x650 [ 9.623189][ T212] ? __mutex_unlock_slowpath+0x9e/0x740 [ 9.623193][ T212] br_set_state+0x22f/0x430 [ 9.623197][ T212] br_init_port+0xc4/0x200 [ 9.623199][ T212] new_nbp+0x3a0/0x650 [ 9.623203][ T212] br_add_if+0x212/0x1320 [ 9.623205][ T212] ? _mutex_trylock_nest_lock+0x390/0x390 [ 9.623207][ T212] ? is_bpf_text_address+0x72/0x110 [ 9.623213][ T212] do_set_master+0x3b2/0x780 [ 9.623217][ T212] do_setlink.isra.0+0x9ec/0x2a60 [ 9.623221][ T212] ? stack_trace_save+0x93/0xc0 [ 9.623224][ T212] ? rtnl_link_get_size+0x350/0x350 [ 9.623226][ T212] ? rcu_read_lock_any_held+0x66/0x90 [ 9.623228][ T212] ? stack_depot_save_flags+0x38e/0x790 [ 9.623232][ T212] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.623234][ T212] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.623236][ T212] ? validate_chain+0x38b/0xc20 [ 9.623238][ T212] ? kasan_save_stack+0x3d/0x50 [ 9.623240][ T212] ? kasan_save_stack+0x2f/0x50 [ 9.623241][ T212] ? kasan_save_track+0x14/0x30 [ 9.623243][ T212] ? __kasan_kmalloc+0x7b/0x90 [ 9.623245][ T212] ? __lock_acquire+0x518/0xc20 [ 9.623247][ T212] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 9.623249][ T212] ? ___sys_sendmsg+0xd0/0x1d0 [ 9.623253][ T212] ? lock_acquire.part.0+0xd4/0x280 [ 9.623255][ T212] ? rtnl_newlink+0x9a8/0x11b0 [ 9.623258][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623259][ T212] ? lock_acquire+0x13c/0x160 [ 9.623261][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623262][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623264][ T212] ? trace_contention_end+0xb3/0x180 [ 9.623266][ T212] ? __mutex_lock+0x1db/0x1ea0 [ 9.623267][ T212] ? __mutex_lock+0x9a3/0x1ea0 [ 9.623269][ T212] ? rtnl_newlink+0x9a8/0x11b0 [ 9.623272][ T212] ? ww_mutex_lock+0x160/0x160 [ 9.623273][ T212] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.623278][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623280][ T212] ? __rtnl_newlink+0x3fa/0xa50 [ 9.623285][ T212] rtnl_newlink+0x9f1/0x11b0 [ 9.623290][ T212] ? rtnl_bridge_getlink+0x850/0x850 [ 9.623292][ T212] ? __lock_acquire+0x518/0xc20 [ 9.623297][ T212] ? lock_acquire.part.0+0xd4/0x280 [ 9.623299][ T212] ? find_held_lock+0x2b/0x80 [ 9.623301][ T212] ? rtnl_bridge_getlink+0x850/0x850 [ 9.623303][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 9.623306][ T212] ? rtnl_bridge_getlink+0x850/0x850 [ 9.623308][ T212] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.623312][ T212] ? rtnl_link_fill+0x920/0x920 [ 9.623313][ T212] ? __lock_acquire+0x518/0xc20 [ 9.623317][ T212] ? lock_acquire.part.0+0xd4/0x280 [ 9.623319][ T212] ? find_held_lock+0x2b/0x80 [ 9.623323][ T212] netlink_rcv_skb+0x14e/0x3a0 [ 9.623326][ T212] ? rtnl_link_fill+0x920/0x920 [ 9.623329][ T212] ? netlink_ack+0xcf0/0xcf0 [ 9.623335][ T212] ? netlink_deliver_tap+0xc5/0x330 [ 9.623337][ T212] ? netlink_deliver_tap+0x13c/0x330 [ 9.623342][ T212] netlink_unicast+0x486/0x750 [ 9.623346][ T212] ? netlink_attachskb+0x810/0x810 [ 9.623348][ T212] ? find_held_lock+0x2b/0x80 [ 9.623352][ T212] netlink_sendmsg+0x75b/0xc90 [ 9.623356][ T212] ? netlink_unicast+0x750/0x750 [ 9.623360][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 9.623362][ T212] ? __import_iovec+0x36c/0x620 [ 9.623367][ T212] __sock_sendmsg+0xce/0x190 [ 9.623370][ T212] ____sys_sendmsg+0x61a/0x860 [ 9.623372][ T212] ? copy_msghdr_from_user+0x279/0x420 [ 9.623374][ T212] ? sock_write_iter+0x400/0x400 [ 9.623376][ T212] ? move_addr_to_kernel+0x40/0x40 [ 9.623383][ T212] ___sys_sendmsg+0x14e/0x1d0 [ 9.623386][ T212] ? copy_msghdr_from_user+0x420/0x420 [ 9.623402][ T212] __sys_sendmsg+0x12c/0x1d0 [ 9.623405][ T212] ? __sys_sendmsg_sock+0x20/0x20 [ 9.623413][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.623416][ T212] do_syscall_64+0xff/0x530 [ 9.623419][ T212] ? exc_page_fault+0xee/0x100 [ 9.623422][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.623424][ T212] RIP: 0033:0x7feecbed754e [ 9.623428][ T212] 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.623430][ T212] RSP: 002b:00007ffec80f1870 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.623432][ T212] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007feecbed754e [ 9.623434][ T212] RDX: 0000000000000000 RSI: 00007ffec80f1920 RDI: 0000000000000005 [ 9.623434][ T212] RBP: 00007ffec80f1880 R08: 0000000000000000 R09: 0000000000000000 [ 9.623435][ T212] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91c7fd [ 9.623436][ T212] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffec80f1ff0 [ 9.623443][ T212] [ 9.657426][ T212] br0: port 1(dummy0) entered disabled state [ 9.657781][ T212] dummy0: entered allmulticast mode [ 9.659005][ T212] dummy0: entered promiscuous mode [ 9.672349][ T212] ip (212) used greatest stack depth: 23336 bytes left [ 9.697195][ T213] br0: port 1(dummy0) entered blocking state [ 9.697673][ T213] br0: port 1(dummy0) entered forwarding state [ 12.051201][ T70] dummy0: left allmulticast mode [ 12.051248][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.051250][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 12.051251][ T70] preempt_count: 1, expected: 0 [ 12.051252][ T70] RCU nest depth: 0, expected: 0 [ 12.051253][ T70] locks held by kworker/u16:1/70: 9, last CPU#2: [ 12.051255][ T70] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.051268][ T70] #1: ffa00000004b7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.051272][ T70] #2: ffffffff8d4ffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 12.051277][ T70] #3: ffffffff8d51b740 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 12.051281][ T70] #4: ff1100000f861e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: dev_set_allmulti+0x96/0x240 [ 12.051284][ T70] #5: ffffffff8cd7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.051288][ T70] #6: ffffffff8cd7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.051292][ T70] #7: ffffffff8cc9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.051296][ T70] #8: ffffffff8cc9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.051299][ T70] irq event stamp: 1498 [ 12.051300][ T70] hardirqs last enabled at (1497): [] __down_trylock_console_sem+0x86/0xa0 [ 12.051303][ T70] hardirqs last disabled at (1498): [] console_emit_next_record+0x3d4/0x4c0 [ 12.051305][ T70] softirqs last enabled at (1444): [] netlink_release+0x17b/0xcf0 [ 12.051309][ T70] softirqs last disabled at (1442): [] netlink_release+0xd2/0xcf0 [ 12.051311][ T70] Preemption disabled at: [ 12.051311][ T70] [] vprintk_emit+0x31b/0x3e0 [ 12.051316][ T70] CPU: 2 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.051320][ T70] Tainted: [W]=WARN [ 12.051321][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.051323][ T70] Workqueue: netns cleanup_net [ 12.051326][ T70] Call Trace: [ 12.051328][ T70] [ 12.051329][ T70] dump_stack_lvl+0x6f/0xa0 [ 12.051335][ T70] ? vprintk_emit+0x31b/0x3e0 [ 12.051337][ T70] __might_resched.cold+0x1fe/0x2c1 [ 12.051341][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.051345][ T70] ? __kmalloc_noprof+0xdb/0x760 [ 12.051350][ T70] __kmalloc_noprof+0x443/0x760 [ 12.051352][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 12.051358][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 12.051361][ T70] alloc_buf.isra.0+0x4b/0x260 [ 12.051365][ T70] put_chars+0x1e1/0x2f0 [ 12.051368][ T70] ? __send_to_port+0x420/0x420 [ 12.051371][ T70] ? validate_chain+0x34a/0xc20 [ 12.051376][ T70] hvc_console_print+0x292/0x780 [ 12.051380][ T70] ? __lock_acquire+0x518/0xc20 [ 12.051386][ T70] ? hvc_write+0x3a0/0x3a0 [ 12.051389][ T70] ? rcu_is_watching+0x16/0xd0 [ 12.051394][ T70] console_emit_next_record+0x22f/0x4c0 [ 12.051399][ T70] ? devkmsg_read+0x4b0/0x4b0 [ 12.051401][ T70] ? console_flush_one_record+0x106/0x710 [ 12.051404][ T70] ? rcu_is_watching+0x16/0xd0 [ 12.051405][ T70] ? lock_acquire+0x13c/0x160 [ 12.051410][ T70] console_flush_one_record+0x46f/0x710 [ 12.051416][ T70] ? console_emit_next_record+0x4c0/0x4c0 [ 12.051418][ T70] ? __lock_acquire+0x518/0xc20 [ 12.051423][ T70] console_unlock+0xee/0x1f0 [ 12.051426][ T70] ? console_flush_one_record+0x710/0x710 [ 12.051428][ T70] ? rcu_is_watching+0x16/0xd0 [ 12.051430][ T70] ? lock_acquire+0xe0/0x160 [ 12.051434][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.051436][ T70] ? vprintk_emit+0x320/0x3e0 [ 12.051438][ T70] vprintk_emit+0x37c/0x3e0 [ 12.051442][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 12.051443][ T70] ? __lock_acquire+0x518/0xc20 [ 12.051445][ T70] ? __queue_work+0x4ee/0xd30 [ 12.051450][ T70] _printk+0xc7/0x100 [ 12.051453][ T70] ? snapshot_read.cold+0x21/0x21 [ 12.051456][ T70] ? lock_acquire+0x13c/0x160 [ 12.051458][ T70] ? rcu_is_watching+0x16/0xd0 [ 12.051459][ T70] ? rcu_is_watching+0x16/0xd0 [ 12.051461][ T70] ? trace_contention_end+0xb3/0x180 [ 12.051462][ T70] ? netdev_name+0x43/0x60 [ 12.051466][ T70] ? __netdev_printk+0x17f/0x1d0 [ 12.051470][ T70] netdev_info+0xe2/0x116 [ 12.051473][ T70] ? netdev_notice+0x120/0x120 [ 12.051482][ T70] netif_set_allmulti.cold+0x7c/0x166 [ 12.051486][ T70] dev_set_allmulti+0xa6/0x240 [ 12.051489][ T70] del_nbp+0xb7/0xc10 [ 12.051492][ T70] ? unregister_netdevice_many+0x20/0x20 [ 12.051494][ T70] ? net_generic+0xb3/0x1e0 [ 12.051499][ T70] br_dev_delete+0x9d/0x1e0 [ 12.051502][ T70] br_net_exit_rtnl+0xb8/0x110 [ 12.051506][ T70] ops_undo_list+0x5be/0x8f0 [ 12.051510][ T70] ? netns_install+0x2a0/0x2a0 [ 12.051512][ T70] ? __lock_release.isra.0+0x69/0x1a0 [ 12.051518][ T70] cleanup_net+0x431/0x940 [ 12.051521][ T70] ? net_passive_dec+0x230/0x230 [ 12.051525][ T70] ? lock_acquire+0x13c/0x160 [ 12.051526][ T70] ? rcu_is_watching+0x16/0xd0 [ 12.051530][ T70] process_one_work+0xe3e/0x1560 [ 12.051537][ T70] ? __queue_delayed_work+0x470/0x470 [ 12.051540][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 12.051547][ T70] worker_thread+0x4f1/0xd60 [ 12.051552][ T70] ? rescuer_thread+0x1340/0x1340 [ 12.051554][ T70] ? __kthread_parkme+0xbd/0x210 [ 12.051557][ T70] ? rescuer_thread+0x1340/0x1340 [ 12.051560][ T70] ? rescuer_thread+0x1340/0x1340 [ 12.051562][ T70] kthread+0x367/0x460 [ 12.051564][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.051567][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.051570][ T70] ret_from_fork+0x474/0x6b0 [ 12.051575][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.051578][ T70] ? __switch_to+0x5a3/0xe00 [ 12.051581][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.051584][ T70] ret_from_fork_asm+0x11/0x20 [ 12.051593][ T70] [ 12.081763][ T70] dummy0: left promiscuous mode [ 12.082184][ T70] br0: port 1(dummy0) entered disabled state