[ 10.030472][ T198] vethA: entered promiscuous mode [ 10.030585][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.030588][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: ip [ 10.030589][ T198] preempt_count: 1, expected: 0 [ 10.030591][ T198] RCU nest depth: 0, expected: 0 [ 10.030592][ T198] locks held by ip/198: 6, last CPU#0: [ 10.030594][ T198] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 10.030605][ T198] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 10.030609][ T198] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.030615][ T198] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.030619][ T198] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.030623][ T198] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.030627][ T198] irq event stamp: 20448 [ 10.030628][ T198] hardirqs last enabled at (20447): [] __down_trylock_console_sem+0x86/0xa0 [ 10.030630][ T198] hardirqs last disabled at (20448): [] console_emit_next_record+0x3d4/0x4c0 [ 10.030632][ T198] softirqs last enabled at (20322): [] __alloc_skb+0x4c2/0x5f0 [ 10.030638][ T198] softirqs last disabled at (20320): [] __alloc_skb+0x4c2/0x5f0 [ 10.030641][ T198] Preemption disabled at: [ 10.030642][ T198] [] vprintk_emit+0x31b/0x3e0 [ 10.030648][ T198] CPU: 0 UID: 0 PID: 198 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.030652][ T198] Tainted: [W]=WARN [ 10.030653][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.030655][ T198] Call Trace: [ 10.030656][ T198] [ 10.030658][ T198] dump_stack_lvl+0x6f/0xa0 [ 10.030664][ T198] ? vprintk_emit+0x31b/0x3e0 [ 10.030666][ T198] __might_resched.cold+0x1fe/0x2c1 [ 10.030671][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.030675][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 10.030680][ T198] __kmalloc_noprof+0x443/0x760 [ 10.030682][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 10.030688][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 10.030691][ T198] alloc_buf.isra.0+0x4b/0x260 [ 10.030694][ T198] put_chars+0x1e1/0x2f0 [ 10.030697][ T198] ? __send_to_port+0x420/0x420 [ 10.030704][ T198] hvc_console_print+0x292/0x780 [ 10.030711][ T198] ? hvc_write+0x3a0/0x3a0 [ 10.030714][ T198] ? lock_acquire+0x13c/0x160 [ 10.030718][ T198] console_emit_next_record+0x22f/0x4c0 [ 10.030722][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 10.030724][ T198] ? console_flush_one_record+0x106/0x710 [ 10.030727][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.030731][ T198] ? lock_acquire+0x13c/0x160 [ 10.030735][ T198] console_flush_one_record+0x46f/0x710 [ 10.030739][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 10.030741][ T198] ? __lock_acquire+0x518/0xc20 [ 10.030746][ T198] console_unlock+0xee/0x1f0 [ 10.030749][ T198] ? console_flush_one_record+0x710/0x710 [ 10.030751][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.030753][ T198] ? lock_acquire+0x60/0x160 [ 10.030757][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.030759][ T198] ? vprintk_emit+0x320/0x3e0 [ 10.030762][ T198] vprintk_emit+0x37c/0x3e0 [ 10.030766][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 10.030767][ T198] ? kasan_save_stack+0x3d/0x50 [ 10.030771][ T198] ? kasan_save_track+0x14/0x30 [ 10.030773][ T198] ? __kasan_kmalloc+0x7b/0x90 [ 10.030775][ T198] ? __kmalloc_cache_noprof+0x29a/0x620 [ 10.030776][ T198] ? hsr_add_port+0x1eb/0xb60 [ 10.030780][ T198] ? hsr_dev_finalize+0x841/0xcf0 [ 10.030782][ T198] ? hsr_newlink+0x3b9/0x930 [ 10.030785][ T198] _printk+0xc7/0x100 [ 10.030789][ T198] ? snapshot_read.cold+0x21/0x21 [ 10.030790][ T198] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.030795][ T198] ? netdev_name+0x43/0x60 [ 10.030798][ T198] ? __netdev_printk+0x17f/0x1d0 [ 10.030801][ T198] netdev_info+0xe2/0x116 [ 10.030803][ T198] ? netdev_notice+0x120/0x120 [ 10.030810][ T198] ? mutex_is_locked+0x1c/0x50 [ 10.030814][ T198] __dev_set_promiscuity.cold+0x95/0x104 [ 10.030818][ T198] netif_set_promiscuity+0x4c/0xc0 [ 10.030823][ T198] dev_set_promiscuity+0x9d/0x150 [ 10.030826][ T198] hsr_add_port+0x48c/0xb60 [ 10.030830][ T198] ? hsr_port_exists+0x60/0x60 [ 10.030833][ T198] ? timer_init_key+0x10d/0x280 [ 10.030838][ T198] hsr_dev_finalize+0x841/0xcf0 [ 10.030840][ T198] ? alloc_netdev_mqs+0xe10/0x14d0 [ 10.030845][ T198] ? alloc_netdev_mqs+0xf05/0x14d0 [ 10.030847][ T198] hsr_newlink+0x3b9/0x930 [ 10.030850][ T198] ? hsr_dellink+0x90/0x90 [ 10.030852][ T198] ? rtnl_create_link+0x169/0xf20 [ 10.030854][ T198] ? nla_strscpy+0xe3/0x180 [ 10.030859][ T198] rtnl_newlink_create+0x2d0/0x750 [ 10.030863][ T198] ? rtnl_create_link+0xf20/0xf20 [ 10.030865][ T198] ? __dev_get_by_name+0x12/0x50 [ 10.030867][ T198] ? rtnl_dev_get+0xd7/0x170 [ 10.030875][ T198] __rtnl_newlink+0x22b/0xa50 [ 10.030882][ T198] rtnl_newlink+0x9f1/0x11c0 [ 10.030887][ T198] ? rtnl_bridge_getlink+0x850/0x850 [ 10.030890][ T198] ? __lock_acquire+0x518/0xc20 [ 10.030901][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 10.030905][ T198] ? rtnl_bridge_getlink+0x850/0x850 [ 10.030907][ T198] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.030910][ T198] ? rtnl_link_fill+0x920/0x920 [ 10.030912][ T198] ? __lock_acquire+0x518/0xc20 [ 10.030916][ T198] ? lock_acquire.part.0+0xd4/0x280 [ 10.030918][ T198] ? find_held_lock+0x2b/0x80 [ 10.030922][ T198] netlink_rcv_skb+0x14e/0x3a0 [ 10.030925][ T198] ? rtnl_link_fill+0x920/0x920 [ 10.030928][ T198] ? netlink_ack+0xcf0/0xcf0 [ 10.030935][ T198] ? netlink_deliver_tap+0xc5/0x330 [ 10.030937][ T198] ? netlink_deliver_tap+0x13c/0x330 [ 10.030941][ T198] netlink_unicast+0x486/0x750 [ 10.030946][ T198] ? netlink_attachskb+0x810/0x810 [ 10.030949][ T198] ? __lock_acquire+0x518/0xc20 [ 10.030953][ T198] netlink_sendmsg+0x735/0xc60 [ 10.030957][ T198] ? netlink_unicast+0x750/0x750 [ 10.030961][ T198] ? __might_fault+0x97/0x140 [ 10.030967][ T198] ____sys_sendmsg+0x415/0x880 [ 10.030971][ T198] ? copy_msghdr_from_user+0x279/0x420 [ 10.030973][ T198] ? get_timestamp.constprop.0+0x390/0x390 [ 10.030975][ T198] ? move_addr_to_kernel+0x40/0x40 [ 10.030983][ T198] ___sys_sendmsg+0x14e/0x1d0 [ 10.030986][ T198] ? copy_msghdr_from_user+0x420/0x420 [ 10.031002][ T198] __sys_sendmsg+0x12c/0x1d0 [ 10.031005][ T198] ? __sys_sendmsg_sock+0x20/0x20 [ 10.031011][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.031015][ T198] do_syscall_64+0xff/0x530 [ 10.031018][ T198] ? exc_page_fault+0xee/0x100 [ 10.031021][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.031023][ T198] RIP: 0033:0x7f63724bc54e [ 10.031027][ T198] 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.031029][ T198] RSP: 002b:00007ffe5840e4b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.031032][ T198] RAX: ffffffffffffffda RBX: 00007ffe5840ec60 RCX: 00007f63724bc54e [ 10.031033][ T198] RDX: 0000000000000000 RSI: 00007ffe5840e560 RDI: 0000000000000005 [ 10.031034][ T198] RBP: 00007ffe5840e4c0 R08: 0000000000000000 R09: 0000000000000000 [ 10.031035][ T198] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916507 [ 10.031036][ T198] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe5840ec30 [ 10.031043][ T198] [ 10.067202][ T198] vethB: entered promiscuous mode [ 10.081823][ T198] ip (198) used greatest stack depth: 23336 bytes left [ 10.113665][ T199] vethA: entered promiscuous mode [ 10.114556][ T199] vethB: entered promiscuous mode [ 10.161967][ T200] vethA: entered promiscuous mode [ 10.162812][ T200] vethB: entered promiscuous mode [ 10.402195][ T206] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 10.402976][ T206] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 10.495608][ T209] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 10.496616][ T209] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 10.597329][ T212] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 16.613107][ T12] vethA: left promiscuous mode [ 16.613163][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.613165][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 16.613167][ T12] preempt_count: 1, expected: 0 [ 16.613168][ T12] RCU nest depth: 0, expected: 0 [ 16.613169][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 16.613171][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 16.613183][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 16.613187][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 16.613193][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 16.613197][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.613202][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.613206][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.613210][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.613214][ T12] irq event stamp: 10564 [ 16.613215][ T12] hardirqs last enabled at (10563): [] __down_trylock_console_sem+0x86/0xa0 [ 16.613217][ T12] hardirqs last disabled at (10564): [] console_emit_next_record+0x3d4/0x4c0 [ 16.613219][ T12] softirqs last enabled at (10438): [] handle_softirqs+0x67c/0x900 [ 16.613223][ T12] softirqs last disabled at (10393): [] __irq_exit_rcu+0x145/0x1c0 [ 16.613225][ T12] Preemption disabled at: [ 16.613226][ T12] [] vprintk_emit+0x31b/0x3e0 [ 16.613232][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.613236][ T12] Tainted: [W]=WARN [ 16.613237][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.613239][ T12] Workqueue: netns cleanup_net [ 16.613242][ T12] Call Trace: [ 16.613244][ T12] [ 16.613247][ T12] dump_stack_lvl+0x6f/0xa0 [ 16.613252][ T12] ? vprintk_emit+0x31b/0x3e0 [ 16.613255][ T12] __might_resched.cold+0x1fe/0x2c1 [ 16.613260][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.613264][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 16.613270][ T12] __kmalloc_noprof+0x443/0x760 [ 16.613272][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 16.613278][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 16.613281][ T12] alloc_buf.isra.0+0x4b/0x260 [ 16.613285][ T12] put_chars+0x1e1/0x2f0 [ 16.613287][ T12] ? check_prev_add+0xef/0xe90 [ 16.613289][ T12] ? __send_to_port+0x420/0x420 [ 16.613293][ T12] ? validate_chain+0x34a/0xc20 [ 16.613298][ T12] hvc_console_print+0x292/0x780 [ 16.613306][ T12] ? hvc_write+0x3a0/0x3a0 [ 16.613309][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.613313][ T12] ? lock_acquire+0x13c/0x160 [ 16.613318][ T12] console_emit_next_record+0x22f/0x4c0 [ 16.613322][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 16.613324][ T12] ? console_flush_one_record+0x106/0x710 [ 16.613328][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.613330][ T12] ? lock_acquire+0x13c/0x160 [ 16.613335][ T12] console_flush_one_record+0x46f/0x710 [ 16.613340][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 16.613341][ T12] ? __lock_acquire+0x518/0xc20 [ 16.613347][ T12] console_unlock+0xee/0x1f0 [ 16.613350][ T12] ? console_flush_one_record+0x710/0x710 [ 16.613352][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.613355][ T12] ? lock_acquire+0x60/0x160 [ 16.613359][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.613361][ T12] ? vprintk_emit+0x320/0x3e0 [ 16.613364][ T12] vprintk_emit+0x37c/0x3e0 [ 16.613368][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 16.613371][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.613373][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 16.613376][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.613378][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.613382][ T12] _printk+0xc7/0x100 [ 16.613386][ T12] ? snapshot_read.cold+0x21/0x21 [ 16.613389][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 16.613392][ T12] ? netdev_name+0x43/0x60 [ 16.613395][ T12] ? __netdev_printk+0x17f/0x1d0 [ 16.613399][ T12] netdev_info+0xe2/0x116 [ 16.613402][ T12] ? netdev_notice+0x120/0x120 [ 16.613406][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 16.613407][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 16.613409][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 16.613413][ T12] ? mutex_is_locked+0x1c/0x50 [ 16.613417][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 16.613420][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 16.613423][ T12] netif_set_promiscuity+0x4c/0xc0 [ 16.613428][ T12] dev_set_promiscuity+0x9d/0x150 [ 16.613431][ T12] hsr_del_port+0x39d/0x540 [ 16.613437][ T12] hsr_del_ports+0x24/0x80 [ 16.613440][ T12] hsr_dellink+0x5d/0x90 [ 16.613442][ T12] default_device_exit_batch+0x19d/0x600 [ 16.613446][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 16.613449][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.613452][ T12] ? mutex_is_locked+0x1c/0x50 [ 16.613456][ T12] ops_undo_list+0x2ce/0x8f0 [ 16.613460][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 16.613462][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 16.613464][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 16.613467][ T12] ? idr_destroy+0x121/0x250 [ 16.613472][ T12] cleanup_net+0x431/0x890 [ 16.613475][ T12] ? net_passive_dec+0x230/0x230 [ 16.613479][ T12] ? lock_acquire+0x13c/0x160 [ 16.613481][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.613485][ T12] process_one_work+0xe3e/0x1560 [ 16.613493][ T12] ? __queue_delayed_work+0x470/0x470 [ 16.613496][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 16.613504][ T12] worker_thread+0x4f1/0xd60 [ 16.613511][ T12] ? rescuer_thread+0x1340/0x1340 [ 16.613514][ T12] kthread+0x367/0x460 [ 16.613516][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.613519][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.613522][ T12] ret_from_fork+0x474/0x6b0 [ 16.613526][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 16.613529][ T12] ? __switch_to+0x5a3/0xe00 [ 16.613532][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.613535][ T12] ret_from_fork_asm+0x11/0x20 [ 16.613545][ T12] [ 16.649217][ T12] vethB: left promiscuous mode [ 16.659415][ T12] vethA (unregistering): left promiscuous mode [ 16.662801][ T12] vethB (unregistering): left promiscuous mode [ 16.931661][ T12] vethA: left promiscuous mode [ 16.941457][ T12] vethB (unregistering): left promiscuous mode [ 17.726420][ T281] vethA: entered promiscuous mode [ 17.726436][ T281] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.726439][ T281] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 281, name: ip [ 17.726440][ T281] preempt_count: 1, expected: 0 [ 17.726441][ T281] RCU nest depth: 0, expected: 0 [ 17.726442][ T281] locks held by ip/281: 6, last CPU#3: [ 17.726444][ T281] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 17.726456][ T281] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 17.726460][ T281] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.726466][ T281] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.726469][ T281] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.726473][ T281] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.726477][ T281] irq event stamp: 21500 [ 17.726478][ T281] hardirqs last enabled at (21499): [] __down_trylock_console_sem+0x86/0xa0 [ 17.726480][ T281] hardirqs last disabled at (21500): [] console_emit_next_record+0x3d4/0x4c0 [ 17.726482][ T281] softirqs last enabled at (21416): [] __alloc_skb+0x4c2/0x5f0 [ 17.726486][ T281] softirqs last disabled at (21414): [] __alloc_skb+0x4c2/0x5f0 [ 17.726488][ T281] Preemption disabled at: [ 17.726489][ T281] [] vprintk_emit+0x31b/0x3e0 [ 17.726495][ T281] CPU: 3 UID: 0 PID: 281 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.726499][ T281] Tainted: [W]=WARN [ 17.726500][ T281] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.726501][ T281] Call Trace: [ 17.726503][ T281] [ 17.726505][ T281] dump_stack_lvl+0x6f/0xa0 [ 17.726510][ T281] ? vprintk_emit+0x31b/0x3e0 [ 17.726512][ T281] __might_resched.cold+0x1fe/0x2c1 [ 17.726517][ T281] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.726521][ T281] ? __kmalloc_noprof+0xdb/0x760 [ 17.726525][ T281] __kmalloc_noprof+0x443/0x760 [ 17.726528][ T281] ? alloc_buf.isra.0+0x4b/0x260 [ 17.726534][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 17.726536][ T281] alloc_buf.isra.0+0x4b/0x260 [ 17.726539][ T281] put_chars+0x1e1/0x2f0 [ 17.726542][ T281] ? __send_to_port+0x420/0x420 [ 17.726549][ T281] hvc_console_print+0x292/0x780 [ 17.726555][ T281] ? hvc_write+0x3a0/0x3a0 [ 17.726558][ T281] ? lock_acquire+0x13c/0x160 [ 17.726562][ T281] console_emit_next_record+0x22f/0x4c0 [ 17.726566][ T281] ? devkmsg_read+0x4b0/0x4b0 [ 17.726568][ T281] ? console_flush_one_record+0x106/0x710 [ 17.726571][ T281] ? rcu_is_watching+0x16/0xd0 [ 17.726575][ T281] ? lock_acquire+0x13c/0x160 [ 17.726579][ T281] console_flush_one_record+0x46f/0x710 [ 17.726583][ T281] ? console_emit_next_record+0x4c0/0x4c0 [ 17.726584][ T281] ? __lock_acquire+0x518/0xc20 [ 17.726589][ T281] console_unlock+0xee/0x1f0 [ 17.726592][ T281] ? console_flush_one_record+0x710/0x710 [ 17.726594][ T281] ? rcu_is_watching+0x16/0xd0 [ 17.726596][ T281] ? lock_acquire+0x60/0x160 [ 17.726600][ T281] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.726601][ T281] ? vprintk_emit+0x320/0x3e0 [ 17.726605][ T281] vprintk_emit+0x37c/0x3e0 [ 17.726608][ T281] ? wake_up_klogd_work_func+0x90/0x90 [ 17.726610][ T281] ? kasan_save_stack+0x3d/0x50 [ 17.726613][ T281] ? kasan_save_track+0x14/0x30 [ 17.726615][ T281] ? __kasan_kmalloc+0x7b/0x90 [ 17.726617][ T281] ? __kmalloc_cache_noprof+0x29a/0x620 [ 17.726618][ T281] ? hsr_add_port+0x1eb/0xb60 [ 17.726622][ T281] ? hsr_dev_finalize+0x841/0xcf0 [ 17.726623][ T281] ? hsr_newlink+0x3b9/0x930 [ 17.726627][ T281] _printk+0xc7/0x100 [ 17.726630][ T281] ? snapshot_read.cold+0x21/0x21 [ 17.726632][ T281] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.726638][ T281] ? netdev_name+0x43/0x60 [ 17.726642][ T281] ? __netdev_printk+0x17f/0x1d0 [ 17.726646][ T281] netdev_info+0xe2/0x116 [ 17.726648][ T281] ? netdev_notice+0x120/0x120 [ 17.726655][ T281] ? mutex_is_locked+0x1c/0x50 [ 17.726658][ T281] __dev_set_promiscuity.cold+0x95/0x104 [ 17.726663][ T281] netif_set_promiscuity+0x4c/0xc0 [ 17.726667][ T281] dev_set_promiscuity+0x9d/0x150 [ 17.726670][ T281] hsr_add_port+0x48c/0xb60 [ 17.726673][ T281] ? hsr_port_exists+0x60/0x60 [ 17.726677][ T281] ? timer_init_key+0x10d/0x280 [ 17.726682][ T281] hsr_dev_finalize+0x841/0xcf0 [ 17.726683][ T281] ? alloc_netdev_mqs+0xe10/0x14d0 [ 17.726688][ T281] ? alloc_netdev_mqs+0xf05/0x14d0 [ 17.726690][ T281] hsr_newlink+0x3b9/0x930 [ 17.726693][ T281] ? hsr_dellink+0x90/0x90 [ 17.726695][ T281] ? rtnl_create_link+0x169/0xf20 [ 17.726697][ T281] ? nla_strscpy+0xe3/0x180 [ 17.726701][ T281] rtnl_newlink_create+0x2d0/0x750 [ 17.726705][ T281] ? rtnl_create_link+0xf20/0xf20 [ 17.726707][ T281] ? __dev_get_by_name+0x12/0x50 [ 17.726709][ T281] ? rtnl_dev_get+0xd7/0x170 [ 17.726717][ T281] __rtnl_newlink+0x22b/0xa50 [ 17.726723][ T281] rtnl_newlink+0x9f1/0x11c0 [ 17.726728][ T281] ? rtnl_bridge_getlink+0x850/0x850 [ 17.726730][ T281] ? __lock_acquire+0x518/0xc20 [ 17.726737][ T281] ? __lock_release.isra.0+0x69/0x1a0 [ 17.726740][ T281] ? rtnl_bridge_getlink+0x850/0x850 [ 17.726743][ T281] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 17.726746][ T281] ? rtnl_link_fill+0x920/0x920 [ 17.726747][ T281] ? __lock_acquire+0x518/0xc20 [ 17.726751][ T281] ? lock_acquire.part.0+0xd4/0x280 [ 17.726753][ T281] ? find_held_lock+0x2b/0x80 [ 17.726757][ T281] netlink_rcv_skb+0x14e/0x3a0 [ 17.726760][ T281] ? rtnl_link_fill+0x920/0x920 [ 17.726763][ T281] ? netlink_ack+0xcf0/0xcf0 [ 17.726769][ T281] ? netlink_deliver_tap+0xc5/0x330 [ 17.726771][ T281] ? netlink_deliver_tap+0x13c/0x330 [ 17.726776][ T281] netlink_unicast+0x486/0x750 [ 17.726780][ T281] ? netlink_attachskb+0x810/0x810 [ 17.726782][ T281] ? __lock_acquire+0x518/0xc20 [ 17.726786][ T281] netlink_sendmsg+0x735/0xc60 [ 17.726790][ T281] ? netlink_unicast+0x750/0x750 [ 17.726794][ T281] ? __might_fault+0x97/0x140 [ 17.726800][ T281] ____sys_sendmsg+0x415/0x880 [ 17.726803][ T281] ? copy_msghdr_from_user+0x279/0x420 [ 17.726806][ T281] ? get_timestamp.constprop.0+0x390/0x390 [ 17.726808][ T281] ? move_addr_to_kernel+0x40/0x40 [ 17.726815][ T281] ___sys_sendmsg+0x14e/0x1d0 [ 17.726818][ T281] ? copy_msghdr_from_user+0x420/0x420 [ 17.726833][ T281] __sys_sendmsg+0x12c/0x1d0 [ 17.726836][ T281] ? __sys_sendmsg_sock+0x20/0x20 [ 17.726842][ T281] ? rcu_is_watching+0x16/0xd0 [ 17.726846][ T281] do_syscall_64+0xff/0x530 [ 17.726849][ T281] ? exc_page_fault+0xee/0x100 [ 17.726851][ T281] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.726854][ T281] RIP: 0033:0x7f962495054e [ 17.726857][ T281] 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 [ 17.726859][ T281] RSP: 002b:00007fff52225770 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 17.726862][ T281] RAX: ffffffffffffffda RBX: 00007fff52225f20 RCX: 00007f962495054e [ 17.726863][ T281] RDX: 0000000000000000 RSI: 00007fff52225820 RDI: 0000000000000005 [ 17.726864][ T281] RBP: 00007fff52225780 R08: 0000000000000000 R09: 0000000000000000 [ 17.726864][ T281] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91650f [ 17.726865][ T281] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff52225ef0 [ 17.726872][ T281] [ 17.766901][ T281] vethB: entered promiscuous mode [ 17.798440][ T282] vethA: entered promiscuous mode [ 17.804439][ T282] vethB: entered promiscuous mode [ 17.848734][ T283] vethA: entered promiscuous mode [ 17.849499][ T283] vethB: entered promiscuous mode [ 18.031203][ T289] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 18.031719][ T289] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 18.136317][ T292] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 18.136779][ T292] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 18.233526][ T295] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 23.910224][ T12] vethA: left promiscuous mode [ 23.910244][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.910246][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 23.910248][ T12] preempt_count: 1, expected: 0 [ 23.910249][ T12] RCU nest depth: 0, expected: 0 [ 23.910250][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 23.910252][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 23.910265][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 23.910269][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 23.910275][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 23.910279][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.910285][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.910289][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.910292][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 23.910297][ T12] irq event stamp: 99442 [ 23.910298][ T12] hardirqs last enabled at (99441): [] __down_trylock_console_sem+0x86/0xa0 [ 23.910300][ T12] hardirqs last disabled at (99442): [] console_emit_next_record+0x3d4/0x4c0 [ 23.910302][ T12] softirqs last enabled at (99312): [] tcp_close+0x2b/0xb0 [ 23.910306][ T12] softirqs last disabled at (99310): [] release_sock+0x21/0x240 [ 23.910309][ T12] Preemption disabled at: [ 23.910310][ T12] [] vprintk_emit+0x31b/0x3e0 [ 23.910316][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.910320][ T12] Tainted: [W]=WARN [ 23.910321][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.910322][ T12] Workqueue: netns cleanup_net [ 23.910326][ T12] Call Trace: [ 23.910328][ T12] [ 23.910330][ T12] dump_stack_lvl+0x6f/0xa0 [ 23.910336][ T12] ? vprintk_emit+0x31b/0x3e0 [ 23.910339][ T12] __might_resched.cold+0x1fe/0x2c1 [ 23.910344][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.910348][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 23.910353][ T12] __kmalloc_noprof+0x443/0x760 [ 23.910356][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 23.910362][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 23.910365][ T12] alloc_buf.isra.0+0x4b/0x260 [ 23.910369][ T12] put_chars+0x1e1/0x2f0 [ 23.910372][ T12] ? __send_to_port+0x420/0x420 [ 23.910376][ T12] ? validate_chain+0x38b/0xc20 [ 23.910381][ T12] hvc_console_print+0x292/0x780 [ 23.910389][ T12] ? hvc_write+0x3a0/0x3a0 [ 23.910392][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.910396][ T12] ? lock_acquire+0x13c/0x160 [ 23.910401][ T12] console_emit_next_record+0x22f/0x4c0 [ 23.910405][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 23.910407][ T12] ? console_flush_one_record+0x106/0x710 [ 23.910411][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.910414][ T12] ? lock_acquire+0x13c/0x160 [ 23.910418][ T12] console_flush_one_record+0x46f/0x710 [ 23.910423][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 23.910425][ T12] ? __lock_acquire+0x518/0xc20 [ 23.910431][ T12] console_unlock+0xee/0x1f0 [ 23.910434][ T12] ? console_flush_one_record+0x710/0x710 [ 23.910436][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.910439][ T12] ? lock_acquire+0x60/0x160 [ 23.910443][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.910445][ T12] ? vprintk_emit+0x320/0x3e0 [ 23.910449][ T12] vprintk_emit+0x37c/0x3e0 [ 23.910453][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 23.910456][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.910458][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 23.910461][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 23.910462][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 23.910466][ T12] _printk+0xc7/0x100 [ 23.910470][ T12] ? snapshot_read.cold+0x21/0x21 [ 23.910473][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 23.910476][ T12] ? netdev_name+0x43/0x60 [ 23.910480][ T12] ? __netdev_printk+0x17f/0x1d0 [ 23.910484][ T12] netdev_info+0xe2/0x116 [ 23.910486][ T12] ? netdev_notice+0x120/0x120 [ 23.910490][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 23.910491][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 23.910494][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 23.910498][ T12] ? mutex_is_locked+0x1c/0x50 [ 23.910502][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 23.910505][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 23.910508][ T12] netif_set_promiscuity+0x4c/0xc0 [ 23.910512][ T12] dev_set_promiscuity+0x9d/0x150 [ 23.910515][ T12] hsr_del_port+0x39d/0x540 [ 23.910521][ T12] hsr_del_ports+0x24/0x80 [ 23.910524][ T12] hsr_dellink+0x5d/0x90 [ 23.910527][ T12] default_device_exit_batch+0x19d/0x600 [ 23.910531][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 23.910534][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.910536][ T12] ? mutex_is_locked+0x1c/0x50 [ 23.910541][ T12] ops_undo_list+0x2ce/0x8f0 [ 23.910545][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 23.910547][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 23.910549][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 23.910552][ T12] ? idr_destroy+0x121/0x250 [ 23.910558][ T12] cleanup_net+0x431/0x890 [ 23.910561][ T12] ? net_passive_dec+0x230/0x230 [ 23.910565][ T12] ? lock_acquire+0x13c/0x160 [ 23.910567][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.910572][ T12] process_one_work+0xe3e/0x1560 [ 23.910579][ T12] ? __queue_delayed_work+0x470/0x470 [ 23.910582][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 23.910591][ T12] worker_thread+0x4f1/0xd60 [ 23.910599][ T12] ? rescuer_thread+0x1340/0x1340 [ 23.910602][ T12] kthread+0x367/0x460 [ 23.910604][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.910607][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 23.910610][ T12] ret_from_fork+0x474/0x6b0 [ 23.910615][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 23.910618][ T12] ? __switch_to+0x5a3/0xe00 [ 23.910621][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 23.910624][ T12] ret_from_fork_asm+0x11/0x20 [ 23.910640][ T12] [ 23.938988][ T12] vethB: left promiscuous mode [ 23.947654][ T12] vethA (unregistering): left promiscuous mode [ 23.951012][ T12] vethB (unregistering): left promiscuous mode [ 24.208319][ T12] vethA: left promiscuous mode [ 24.221260][ T12] vethB (unregistering): left promiscuous mode [ 25.035500][ T364] vethA: entered promiscuous mode [ 25.035517][ T364] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.035520][ T364] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 364, name: ip [ 25.035521][ T364] preempt_count: 1, expected: 0 [ 25.035522][ T364] RCU nest depth: 0, expected: 0 [ 25.035523][ T364] locks held by ip/364: 6, last CPU#0: [ 25.035525][ T364] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 25.035537][ T364] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 25.035540][ T364] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.035546][ T364] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.035550][ T364] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.035554][ T364] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.035557][ T364] irq event stamp: 23926 [ 25.035558][ T364] hardirqs last enabled at (23925): [] __down_trylock_console_sem+0x86/0xa0 [ 25.035561][ T364] hardirqs last disabled at (23926): [] console_emit_next_record+0x3d4/0x4c0 [ 25.035563][ T364] softirqs last enabled at (23842): [] __alloc_skb+0x4c2/0x5f0 [ 25.035566][ T364] softirqs last disabled at (23840): [] __alloc_skb+0x4c2/0x5f0 [ 25.035569][ T364] Preemption disabled at: [ 25.035569][ T364] [] vprintk_emit+0x31b/0x3e0 [ 25.035575][ T364] CPU: 0 UID: 0 PID: 364 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.035579][ T364] Tainted: [W]=WARN [ 25.035580][ T364] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.035581][ T364] Call Trace: [ 25.035583][ T364] [ 25.035584][ T364] dump_stack_lvl+0x6f/0xa0 [ 25.035590][ T364] ? vprintk_emit+0x31b/0x3e0 [ 25.035592][ T364] __might_resched.cold+0x1fe/0x2c1 [ 25.035597][ T364] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.035601][ T364] ? __kmalloc_noprof+0xdb/0x760 [ 25.035606][ T364] __kmalloc_noprof+0x443/0x760 [ 25.035608][ T364] ? alloc_buf.isra.0+0x4b/0x260 [ 25.035614][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 25.035617][ T364] alloc_buf.isra.0+0x4b/0x260 [ 25.035620][ T364] put_chars+0x1e1/0x2f0 [ 25.035623][ T364] ? __send_to_port+0x420/0x420 [ 25.035629][ T364] hvc_console_print+0x292/0x780 [ 25.035639][ T364] ? hvc_write+0x3a0/0x3a0 [ 25.035643][ T364] ? lock_acquire+0x13c/0x160 [ 25.035647][ T364] console_emit_next_record+0x22f/0x4c0 [ 25.035651][ T364] ? devkmsg_read+0x4b0/0x4b0 [ 25.035653][ T364] ? console_flush_one_record+0x106/0x710 [ 25.035656][ T364] ? rcu_is_watching+0x16/0xd0 [ 25.035660][ T364] ? lock_acquire+0x13c/0x160 [ 25.035664][ T364] console_flush_one_record+0x46f/0x710 [ 25.035668][ T364] ? console_emit_next_record+0x4c0/0x4c0 [ 25.035670][ T364] ? __lock_acquire+0x518/0xc20 [ 25.035675][ T364] console_unlock+0xee/0x1f0 [ 25.035677][ T364] ? console_flush_one_record+0x710/0x710 [ 25.035679][ T364] ? rcu_is_watching+0x16/0xd0 [ 25.035682][ T364] ? lock_acquire+0x60/0x160 [ 25.035685][ T364] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.035687][ T364] ? vprintk_emit+0x320/0x3e0 [ 25.035690][ T364] vprintk_emit+0x37c/0x3e0 [ 25.035694][ T364] ? wake_up_klogd_work_func+0x90/0x90 [ 25.035696][ T364] ? kasan_save_stack+0x3d/0x50 [ 25.035699][ T364] ? kasan_save_track+0x14/0x30 [ 25.035700][ T364] ? __kasan_kmalloc+0x7b/0x90 [ 25.035702][ T364] ? __kmalloc_cache_noprof+0x29a/0x620 [ 25.035703][ T364] ? hsr_add_port+0x1eb/0xb60 [ 25.035707][ T364] ? hsr_dev_finalize+0x841/0xcf0 [ 25.035709][ T364] ? hsr_newlink+0x3b9/0x930 [ 25.035712][ T364] _printk+0xc7/0x100 [ 25.035716][ T364] ? snapshot_read.cold+0x21/0x21 [ 25.035718][ T364] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.035722][ T364] ? netdev_name+0x43/0x60 [ 25.035725][ T364] ? __netdev_printk+0x17f/0x1d0 [ 25.035728][ T364] netdev_info+0xe2/0x116 [ 25.035730][ T364] ? netdev_notice+0x120/0x120 [ 25.035737][ T364] ? mutex_is_locked+0x1c/0x50 [ 25.035741][ T364] __dev_set_promiscuity.cold+0x95/0x104 [ 25.035745][ T364] netif_set_promiscuity+0x4c/0xc0 [ 25.035750][ T364] dev_set_promiscuity+0x9d/0x150 [ 25.035753][ T364] hsr_add_port+0x48c/0xb60 [ 25.035756][ T364] ? hsr_port_exists+0x60/0x60 [ 25.035759][ T364] ? timer_init_key+0x10d/0x280 [ 25.035764][ T364] hsr_dev_finalize+0x841/0xcf0 [ 25.035766][ T364] ? alloc_netdev_mqs+0xe10/0x14d0 [ 25.035770][ T364] ? alloc_netdev_mqs+0xf05/0x14d0 [ 25.035772][ T364] hsr_newlink+0x3b9/0x930 [ 25.035775][ T364] ? hsr_dellink+0x90/0x90 [ 25.035778][ T364] ? rtnl_create_link+0x169/0xf20 [ 25.035780][ T364] ? nla_strscpy+0xe3/0x180 [ 25.035784][ T364] rtnl_newlink_create+0x2d0/0x750 [ 25.035788][ T364] ? rtnl_create_link+0xf20/0xf20 [ 25.035789][ T364] ? __dev_get_by_name+0x12/0x50 [ 25.035791][ T364] ? rtnl_dev_get+0xd7/0x170 [ 25.035799][ T364] __rtnl_newlink+0x22b/0xa50 [ 25.035806][ T364] rtnl_newlink+0x9f1/0x11c0 [ 25.035811][ T364] ? rtnl_bridge_getlink+0x850/0x850 [ 25.035813][ T364] ? __lock_acquire+0x518/0xc20 [ 25.035819][ T364] ? __lock_release.isra.0+0x69/0x1a0 [ 25.035823][ T364] ? rtnl_bridge_getlink+0x850/0x850 [ 25.035825][ T364] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 25.035828][ T364] ? rtnl_link_fill+0x920/0x920 [ 25.035830][ T364] ? __lock_acquire+0x518/0xc20 [ 25.035834][ T364] ? lock_acquire.part.0+0xd4/0x280 [ 25.035836][ T364] ? find_held_lock+0x2b/0x80 [ 25.035839][ T364] netlink_rcv_skb+0x14e/0x3a0 [ 25.035843][ T364] ? rtnl_link_fill+0x920/0x920 [ 25.035845][ T364] ? netlink_ack+0xcf0/0xcf0 [ 25.035852][ T364] ? netlink_deliver_tap+0xc5/0x330 [ 25.035854][ T364] ? netlink_deliver_tap+0x13c/0x330 [ 25.035858][ T364] netlink_unicast+0x486/0x750 [ 25.035862][ T364] ? netlink_attachskb+0x810/0x810 [ 25.035865][ T364] ? __lock_acquire+0x518/0xc20 [ 25.035869][ T364] netlink_sendmsg+0x735/0xc60 [ 25.035873][ T364] ? netlink_unicast+0x750/0x750 [ 25.035877][ T364] ? __might_fault+0x97/0x140 [ 25.035883][ T364] ____sys_sendmsg+0x415/0x880 [ 25.035886][ T364] ? copy_msghdr_from_user+0x279/0x420 [ 25.035888][ T364] ? get_timestamp.constprop.0+0x390/0x390 [ 25.035890][ T364] ? move_addr_to_kernel+0x40/0x40 [ 25.035897][ T364] ___sys_sendmsg+0x14e/0x1d0 [ 25.035900][ T364] ? copy_msghdr_from_user+0x420/0x420 [ 25.035921][ T364] __sys_sendmsg+0x12c/0x1d0 [ 25.035924][ T364] ? __sys_sendmsg_sock+0x20/0x20 [ 25.035930][ T364] ? rcu_is_watching+0x16/0xd0 [ 25.035934][ T364] do_syscall_64+0xff/0x530 [ 25.035937][ T364] ? exc_page_fault+0xee/0x100 [ 25.035940][ T364] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.035942][ T364] RIP: 0033:0x7f140303454e [ 25.035945][ T364] 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 [ 25.035947][ T364] RSP: 002b:00007fff0c989ad0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 25.035950][ T364] RAX: ffffffffffffffda RBX: 00007fff0c98a280 RCX: 00007f140303454e [ 25.035951][ T364] RDX: 0000000000000000 RSI: 00007fff0c989b80 RDI: 0000000000000005 [ 25.035952][ T364] RBP: 00007fff0c989ae0 R08: 0000000000000000 R09: 0000000000000000 [ 25.035953][ T364] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916516 [ 25.035954][ T364] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff0c98a250 [ 25.035961][ T364] [ 25.071154][ T364] vethB: entered promiscuous mode [ 25.115018][ T365] vethA: entered promiscuous mode [ 25.121571][ T365] vethB: entered promiscuous mode [ 25.162993][ T366] vethA: entered promiscuous mode [ 25.163772][ T366] vethB: entered promiscuous mode [ 25.355334][ T372] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 25.355803][ T372] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 25.447249][ T376] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 25.447692][ T376] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 25.551900][ T379] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 32.762666][ T12] vethA: left promiscuous mode [ 32.762689][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.762691][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 32.762693][ T12] preempt_count: 1, expected: 0 [ 32.762694][ T12] RCU nest depth: 0, expected: 0 [ 32.762695][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 32.762698][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 32.762711][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 32.762715][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 32.762721][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 32.762726][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.762731][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.762735][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.762739][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.762743][ T12] irq event stamp: 200972 [ 32.762744][ T12] hardirqs last enabled at (200971): [] __down_trylock_console_sem+0x86/0xa0 [ 32.762747][ T12] hardirqs last disabled at (200972): [] console_emit_next_record+0x3d4/0x4c0 [ 32.762749][ T12] softirqs last enabled at (200842): [] tcp_close+0x2b/0xb0 [ 32.762753][ T12] softirqs last disabled at (200840): [] release_sock+0x21/0x240 [ 32.762756][ T12] Preemption disabled at: [ 32.762757][ T12] [] vprintk_emit+0x31b/0x3e0 [ 32.762764][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.762767][ T12] Tainted: [W]=WARN [ 32.762768][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.762770][ T12] Workqueue: netns cleanup_net [ 32.762774][ T12] Call Trace: [ 32.762776][ T12] [ 32.762778][ T12] dump_stack_lvl+0x6f/0xa0 [ 32.762784][ T12] ? vprintk_emit+0x31b/0x3e0 [ 32.762786][ T12] __might_resched.cold+0x1fe/0x2c1 [ 32.762791][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.762795][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 32.762801][ T12] __kmalloc_noprof+0x443/0x760 [ 32.762803][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 32.762810][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 32.762813][ T12] alloc_buf.isra.0+0x4b/0x260 [ 32.762817][ T12] put_chars+0x1e1/0x2f0 [ 32.762820][ T12] ? __send_to_port+0x420/0x420 [ 32.762823][ T12] ? validate_chain+0x38b/0xc20 [ 32.762829][ T12] hvc_console_print+0x292/0x780 [ 32.762837][ T12] ? hvc_write+0x3a0/0x3a0 [ 32.762840][ T12] ? rcu_is_watching+0x16/0xd0 [ 32.762844][ T12] ? lock_acquire+0x13c/0x160 [ 32.762849][ T12] console_emit_next_record+0x22f/0x4c0 [ 32.762854][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 32.762856][ T12] ? console_flush_one_record+0x106/0x710 [ 32.762859][ T12] ? rcu_is_watching+0x16/0xd0 [ 32.762862][ T12] ? lock_acquire+0x13c/0x160 [ 32.762867][ T12] console_flush_one_record+0x46f/0x710 [ 32.762872][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 32.762874][ T12] ? __lock_acquire+0x518/0xc20 [ 32.762880][ T12] console_unlock+0xee/0x1f0 [ 32.762883][ T12] ? console_flush_one_record+0x710/0x710 [ 32.762884][ T12] ? rcu_is_watching+0x16/0xd0 [ 32.762887][ T12] ? lock_acquire+0x60/0x160 [ 32.762891][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.762893][ T12] ? vprintk_emit+0x320/0x3e0 [ 32.762897][ T12] vprintk_emit+0x37c/0x3e0 [ 32.762901][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 32.762904][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 32.762906][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 32.762909][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 32.762911][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 32.762915][ T12] _printk+0xc7/0x100 [ 32.762918][ T12] ? snapshot_read.cold+0x21/0x21 [ 32.762922][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 32.762924][ T12] ? netdev_name+0x43/0x60 [ 32.762928][ T12] ? __netdev_printk+0x17f/0x1d0 [ 32.762937][ T12] netdev_info+0xe2/0x116 [ 32.762940][ T12] ? netdev_notice+0x120/0x120 [ 32.762944][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 32.762945][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 32.762948][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 32.762952][ T12] ? mutex_is_locked+0x1c/0x50 [ 32.762957][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 32.762960][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 32.762964][ T12] netif_set_promiscuity+0x4c/0xc0 [ 32.762968][ T12] dev_set_promiscuity+0x9d/0x150 [ 32.762972][ T12] hsr_del_port+0x39d/0x540 [ 32.762977][ T12] hsr_del_ports+0x24/0x80 [ 32.762980][ T12] hsr_dellink+0x5d/0x90 [ 32.762983][ T12] default_device_exit_batch+0x19d/0x600 [ 32.762987][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 32.762990][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.762992][ T12] ? mutex_is_locked+0x1c/0x50 [ 32.762996][ T12] ops_undo_list+0x2ce/0x8f0 [ 32.763001][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 32.763003][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 32.763005][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 32.763008][ T12] ? idr_destroy+0x121/0x250 [ 32.763014][ T12] cleanup_net+0x431/0x890 [ 32.763017][ T12] ? net_passive_dec+0x230/0x230 [ 32.763022][ T12] ? lock_acquire+0x13c/0x160 [ 32.763024][ T12] ? rcu_is_watching+0x16/0xd0 [ 32.763029][ T12] process_one_work+0xe3e/0x1560 [ 32.763035][ T12] ? __queue_delayed_work+0x470/0x470 [ 32.763039][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 32.763048][ T12] worker_thread+0x4f1/0xd60 [ 32.763056][ T12] ? rescuer_thread+0x1340/0x1340 [ 32.763058][ T12] kthread+0x367/0x460 [ 32.763061][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 32.763065][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 32.763068][ T12] ret_from_fork+0x474/0x6b0 [ 32.763072][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 32.763075][ T12] ? __switch_to+0x5a3/0xe00 [ 32.763079][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 32.763081][ T12] ret_from_fork_asm+0x11/0x20 [ 32.763091][ T12] [ 32.791337][ T12] vethB: left promiscuous mode [ 32.809909][ T12] vethA (unregistering): left promiscuous mode [ 32.815266][ T12] vethB (unregistering): left promiscuous mode [ 33.080867][ T12] vethA: left promiscuous mode [ 33.088789][ T12] vethB (unregistering): left promiscuous mode [ 33.928274][ T449] vethA: entered promiscuous mode [ 33.928292][ T449] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.928295][ T449] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 449, name: ip [ 33.928296][ T449] preempt_count: 1, expected: 0 [ 33.928297][ T449] RCU nest depth: 0, expected: 0 [ 33.928299][ T449] locks held by ip/449: 6, last CPU#2: [ 33.928301][ T449] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 33.928313][ T449] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 33.928317][ T449] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.928324][ T449] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.928327][ T449] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.928331][ T449] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.928335][ T449] irq event stamp: 24244 [ 33.928336][ T449] hardirqs last enabled at (24243): [] __down_trylock_console_sem+0x86/0xa0 [ 33.928338][ T449] hardirqs last disabled at (24244): [] console_emit_next_record+0x3d4/0x4c0 [ 33.928340][ T449] softirqs last enabled at (24160): [] __alloc_skb+0x4c2/0x5f0 [ 33.928343][ T449] softirqs last disabled at (24158): [] __alloc_skb+0x4c2/0x5f0 [ 33.928346][ T449] Preemption disabled at: [ 33.928347][ T449] [] vprintk_emit+0x31b/0x3e0 [ 33.928353][ T449] CPU: 2 UID: 0 PID: 449 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.928357][ T449] Tainted: [W]=WARN [ 33.928358][ T449] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.928360][ T449] Call Trace: [ 33.928362][ T449] [ 33.928363][ T449] dump_stack_lvl+0x6f/0xa0 [ 33.928369][ T449] ? vprintk_emit+0x31b/0x3e0 [ 33.928371][ T449] __might_resched.cold+0x1fe/0x2c1 [ 33.928376][ T449] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.928381][ T449] ? __kmalloc_noprof+0xdb/0x760 [ 33.928386][ T449] __kmalloc_noprof+0x443/0x760 [ 33.928388][ T449] ? alloc_buf.isra.0+0x4b/0x260 [ 33.928394][ T449] ? do_raw_spin_unlock+0x59/0x250 [ 33.928397][ T449] alloc_buf.isra.0+0x4b/0x260 [ 33.928400][ T449] put_chars+0x1e1/0x2f0 [ 33.928403][ T449] ? __send_to_port+0x420/0x420 [ 33.928410][ T449] hvc_console_print+0x292/0x780 [ 33.928416][ T449] ? hvc_write+0x3a0/0x3a0 [ 33.928419][ T449] ? lock_acquire+0x13c/0x160 [ 33.928423][ T449] console_emit_next_record+0x22f/0x4c0 [ 33.928427][ T449] ? devkmsg_read+0x4b0/0x4b0 [ 33.928429][ T449] ? console_flush_one_record+0x106/0x710 [ 33.928432][ T449] ? rcu_is_watching+0x16/0xd0 [ 33.928436][ T449] ? lock_acquire+0x13c/0x160 [ 33.928440][ T449] console_flush_one_record+0x46f/0x710 [ 33.928444][ T449] ? console_emit_next_record+0x4c0/0x4c0 [ 33.928446][ T449] ? __lock_acquire+0x518/0xc20 [ 33.928451][ T449] console_unlock+0xee/0x1f0 [ 33.928453][ T449] ? console_flush_one_record+0x710/0x710 [ 33.928455][ T449] ? rcu_is_watching+0x16/0xd0 [ 33.928457][ T449] ? lock_acquire+0x60/0x160 [ 33.928461][ T449] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.928463][ T449] ? vprintk_emit+0x320/0x3e0 [ 33.928466][ T449] vprintk_emit+0x37c/0x3e0 [ 33.928470][ T449] ? wake_up_klogd_work_func+0x90/0x90 [ 33.928472][ T449] ? kasan_save_stack+0x3d/0x50 [ 33.928475][ T449] ? kasan_save_track+0x14/0x30 [ 33.928477][ T449] ? __kasan_kmalloc+0x7b/0x90 [ 33.928478][ T449] ? __kmalloc_cache_noprof+0x29a/0x620 [ 33.928480][ T449] ? hsr_add_port+0x1eb/0xb60 [ 33.928483][ T449] ? hsr_dev_finalize+0x841/0xcf0 [ 33.928485][ T449] ? hsr_newlink+0x3b9/0x930 [ 33.928489][ T449] _printk+0xc7/0x100 [ 33.928492][ T449] ? snapshot_read.cold+0x21/0x21 [ 33.928494][ T449] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.928498][ T449] ? netdev_name+0x43/0x60 [ 33.928501][ T449] ? __netdev_printk+0x17f/0x1d0 [ 33.928505][ T449] netdev_info+0xe2/0x116 [ 33.928507][ T449] ? netdev_notice+0x120/0x120 [ 33.928513][ T449] ? mutex_is_locked+0x1c/0x50 [ 33.928517][ T449] __dev_set_promiscuity.cold+0x95/0x104 [ 33.928522][ T449] netif_set_promiscuity+0x4c/0xc0 [ 33.928527][ T449] dev_set_promiscuity+0x9d/0x150 [ 33.928530][ T449] hsr_add_port+0x48c/0xb60 [ 33.928533][ T449] ? hsr_port_exists+0x60/0x60 [ 33.928536][ T449] ? timer_init_key+0x10d/0x280 [ 33.928541][ T449] hsr_dev_finalize+0x841/0xcf0 [ 33.928543][ T449] ? alloc_netdev_mqs+0xe10/0x14d0 [ 33.928547][ T449] ? alloc_netdev_mqs+0xf05/0x14d0 [ 33.928549][ T449] hsr_newlink+0x3b9/0x930 [ 33.928552][ T449] ? hsr_dellink+0x90/0x90 [ 33.928555][ T449] ? rtnl_create_link+0x169/0xf20 [ 33.928557][ T449] ? nla_strscpy+0xe3/0x180 [ 33.928561][ T449] rtnl_newlink_create+0x2d0/0x750 [ 33.928565][ T449] ? rtnl_create_link+0xf20/0xf20 [ 33.928566][ T449] ? __dev_get_by_name+0x12/0x50 [ 33.928568][ T449] ? rtnl_dev_get+0xd7/0x170 [ 33.928577][ T449] __rtnl_newlink+0x22b/0xa50 [ 33.928583][ T449] rtnl_newlink+0x9f1/0x11c0 [ 33.928588][ T449] ? rtnl_bridge_getlink+0x850/0x850 [ 33.928590][ T449] ? __lock_acquire+0x518/0xc20 [ 33.928597][ T449] ? __lock_release.isra.0+0x69/0x1a0 [ 33.928600][ T449] ? rtnl_bridge_getlink+0x850/0x850 [ 33.928602][ T449] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 33.928606][ T449] ? rtnl_link_fill+0x920/0x920 [ 33.928607][ T449] ? __lock_acquire+0x518/0xc20 [ 33.928611][ T449] ? lock_acquire.part.0+0xd4/0x280 [ 33.928613][ T449] ? find_held_lock+0x2b/0x80 [ 33.928617][ T449] netlink_rcv_skb+0x14e/0x3a0 [ 33.928620][ T449] ? rtnl_link_fill+0x920/0x920 [ 33.928623][ T449] ? netlink_ack+0xcf0/0xcf0 [ 33.928629][ T449] ? netlink_deliver_tap+0xc5/0x330 [ 33.928631][ T449] ? netlink_deliver_tap+0x13c/0x330 [ 33.928639][ T449] netlink_unicast+0x486/0x750 [ 33.928643][ T449] ? netlink_attachskb+0x810/0x810 [ 33.928646][ T449] ? __lock_acquire+0x518/0xc20 [ 33.928650][ T449] netlink_sendmsg+0x735/0xc60 [ 33.928654][ T449] ? netlink_unicast+0x750/0x750 [ 33.928659][ T449] ? __might_fault+0x97/0x140 [ 33.928664][ T449] ____sys_sendmsg+0x415/0x880 [ 33.928668][ T449] ? copy_msghdr_from_user+0x279/0x420 [ 33.928670][ T449] ? get_timestamp.constprop.0+0x390/0x390 [ 33.928672][ T449] ? move_addr_to_kernel+0x40/0x40 [ 33.928679][ T449] ___sys_sendmsg+0x14e/0x1d0 [ 33.928682][ T449] ? copy_msghdr_from_user+0x420/0x420 [ 33.928697][ T449] __sys_sendmsg+0x12c/0x1d0 [ 33.928701][ T449] ? __sys_sendmsg_sock+0x20/0x20 [ 33.928707][ T449] ? rcu_is_watching+0x16/0xd0 [ 33.928710][ T449] do_syscall_64+0xff/0x530 [ 33.928714][ T449] ? exc_page_fault+0xee/0x100 [ 33.928716][ T449] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.928718][ T449] RIP: 0033:0x7fcd3405d54e [ 33.928722][ T449] 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 [ 33.928724][ T449] RSP: 002b:00007ffe4ae0e3c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.928727][ T449] RAX: ffffffffffffffda RBX: 00007ffe4ae0eb70 RCX: 00007fcd3405d54e [ 33.928728][ T449] RDX: 0000000000000000 RSI: 00007ffe4ae0e470 RDI: 0000000000000005 [ 33.928729][ T449] RBP: 00007ffe4ae0e3d0 R08: 0000000000000000 R09: 0000000000000000 [ 33.928730][ T449] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91651f [ 33.928730][ T449] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe4ae0eb40 [ 33.928737][ T449] [ 33.972905][ T449] vethB: entered promiscuous mode [ 34.006929][ T450] vethA: entered promiscuous mode [ 34.007705][ T450] vethB: entered promiscuous mode [ 34.050190][ T451] vethA: entered promiscuous mode [ 34.051106][ T451] vethB: entered promiscuous mode [ 34.241606][ T457] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 34.242056][ T457] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 34.349390][ T461] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 34.349877][ T461] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 34.448571][ T464] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 41.222603][ T12] vethA: left promiscuous mode [ 41.222623][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.222625][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 41.222627][ T12] preempt_count: 1, expected: 0 [ 41.222628][ T12] RCU nest depth: 0, expected: 0 [ 41.222629][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 41.222631][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.222647][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.222652][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 41.222658][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 41.222663][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.222668][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.222672][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.222676][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 41.222680][ T12] irq event stamp: 296392 [ 41.222680][ T12] hardirqs last enabled at (296391): [] __down_trylock_console_sem+0x86/0xa0 [ 41.222683][ T12] hardirqs last disabled at (296392): [] console_emit_next_record+0x3d4/0x4c0 [ 41.222685][ T12] softirqs last enabled at (296262): [] tcp_close+0x2b/0xb0 [ 41.222689][ T12] softirqs last disabled at (296260): [] release_sock+0x21/0x240 [ 41.222692][ T12] Preemption disabled at: [ 41.222693][ T12] [] vprintk_emit+0x31b/0x3e0 [ 41.222699][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.222703][ T12] Tainted: [W]=WARN [ 41.222704][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.222706][ T12] Workqueue: netns cleanup_net [ 41.222709][ T12] Call Trace: [ 41.222711][ T12] [ 41.222713][ T12] dump_stack_lvl+0x6f/0xa0 [ 41.222719][ T12] ? vprintk_emit+0x31b/0x3e0 [ 41.222721][ T12] __might_resched.cold+0x1fe/0x2c1 [ 41.222726][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.222730][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 41.222736][ T12] __kmalloc_noprof+0x443/0x760 [ 41.222738][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 41.222745][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 41.222748][ T12] alloc_buf.isra.0+0x4b/0x260 [ 41.222751][ T12] put_chars+0x1e1/0x2f0 [ 41.222754][ T12] ? __send_to_port+0x420/0x420 [ 41.222758][ T12] ? validate_chain+0x38b/0xc20 [ 41.222764][ T12] hvc_console_print+0x292/0x780 [ 41.222771][ T12] ? hvc_write+0x3a0/0x3a0 [ 41.222774][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.222778][ T12] ? lock_acquire+0x13c/0x160 [ 41.222783][ T12] console_emit_next_record+0x22f/0x4c0 [ 41.222787][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 41.222789][ T12] ? console_flush_one_record+0x106/0x710 [ 41.222792][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.222795][ T12] ? lock_acquire+0x13c/0x160 [ 41.222799][ T12] console_flush_one_record+0x46f/0x710 [ 41.222804][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 41.222806][ T12] ? __lock_acquire+0x518/0xc20 [ 41.222812][ T12] console_unlock+0xee/0x1f0 [ 41.222815][ T12] ? console_flush_one_record+0x710/0x710 [ 41.222817][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.222820][ T12] ? lock_acquire+0x60/0x160 [ 41.222824][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.222826][ T12] ? vprintk_emit+0x320/0x3e0 [ 41.222829][ T12] vprintk_emit+0x37c/0x3e0 [ 41.222833][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 41.222836][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 41.222838][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 41.222841][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 41.222843][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 41.222847][ T12] _printk+0xc7/0x100 [ 41.222850][ T12] ? snapshot_read.cold+0x21/0x21 [ 41.222854][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 41.222857][ T12] ? netdev_name+0x43/0x60 [ 41.222860][ T12] ? __netdev_printk+0x17f/0x1d0 [ 41.222864][ T12] netdev_info+0xe2/0x116 [ 41.222867][ T12] ? netdev_notice+0x120/0x120 [ 41.222871][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 41.222872][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 41.222875][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 41.222879][ T12] ? mutex_is_locked+0x1c/0x50 [ 41.222883][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 41.222886][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 41.222889][ T12] netif_set_promiscuity+0x4c/0xc0 [ 41.222893][ T12] dev_set_promiscuity+0x9d/0x150 [ 41.222897][ T12] hsr_del_port+0x39d/0x540 [ 41.222903][ T12] hsr_del_ports+0x24/0x80 [ 41.222905][ T12] hsr_dellink+0x5d/0x90 [ 41.222908][ T12] default_device_exit_batch+0x19d/0x600 [ 41.222912][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 41.222915][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.222917][ T12] ? mutex_is_locked+0x1c/0x50 [ 41.222922][ T12] ops_undo_list+0x2ce/0x8f0 [ 41.222926][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 41.222928][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 41.222930][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 41.222933][ T12] ? idr_destroy+0x121/0x250 [ 41.222938][ T12] cleanup_net+0x431/0x890 [ 41.222941][ T12] ? net_passive_dec+0x230/0x230 [ 41.222950][ T12] ? lock_acquire+0x13c/0x160 [ 41.222952][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.222956][ T12] process_one_work+0xe3e/0x1560 [ 41.222963][ T12] ? __queue_delayed_work+0x470/0x470 [ 41.222966][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 41.222974][ T12] worker_thread+0x4f1/0xd60 [ 41.222982][ T12] ? rescuer_thread+0x1340/0x1340 [ 41.222984][ T12] kthread+0x367/0x460 [ 41.222987][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.222990][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.222993][ T12] ret_from_fork+0x474/0x6b0 [ 41.222997][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.223000][ T12] ? __switch_to+0x5a3/0xe00 [ 41.223003][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.223006][ T12] ret_from_fork_asm+0x11/0x20 [ 41.223015][ T12] [ 41.256414][ T12] vethB: left promiscuous mode [ 41.269804][ T12] vethA (unregistering): left promiscuous mode [ 41.275524][ T12] vethB (unregistering): left promiscuous mode [ 41.519586][ T12] vethA: left promiscuous mode [ 41.526485][ T12] vethB (unregistering): left promiscuous mode [ 42.374581][ T533] vethA: entered promiscuous mode [ 42.374598][ T533] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.374601][ T533] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 533, name: ip [ 42.374602][ T533] preempt_count: 1, expected: 0 [ 42.374603][ T533] RCU nest depth: 0, expected: 0 [ 42.374604][ T533] locks held by ip/533: 6, last CPU#2: [ 42.374606][ T533] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 42.374620][ T533] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 42.374624][ T533] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.374630][ T533] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.374634][ T533] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.374640][ T533] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 42.374645][ T533] irq event stamp: 22492 [ 42.374646][ T533] hardirqs last enabled at (22491): [] __down_trylock_console_sem+0x86/0xa0 [ 42.374649][ T533] hardirqs last disabled at (22492): [] console_emit_next_record+0x3d4/0x4c0 [ 42.374651][ T533] softirqs last enabled at (22408): [] __alloc_skb+0x4c2/0x5f0 [ 42.374654][ T533] softirqs last disabled at (22406): [] __alloc_skb+0x4c2/0x5f0 [ 42.374657][ T533] Preemption disabled at: [ 42.374658][ T533] [] vprintk_emit+0x31b/0x3e0 [ 42.374665][ T533] CPU: 2 UID: 0 PID: 533 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.374668][ T533] Tainted: [W]=WARN [ 42.374669][ T533] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.374671][ T533] Call Trace: [ 42.374673][ T533] [ 42.374674][ T533] dump_stack_lvl+0x6f/0xa0 [ 42.374681][ T533] ? vprintk_emit+0x31b/0x3e0 [ 42.374683][ T533] __might_resched.cold+0x1fe/0x2c1 [ 42.374688][ T533] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.374692][ T533] ? __kmalloc_noprof+0xdb/0x760 [ 42.374697][ T533] __kmalloc_noprof+0x443/0x760 [ 42.374699][ T533] ? alloc_buf.isra.0+0x4b/0x260 [ 42.374705][ T533] ? do_raw_spin_unlock+0x59/0x250 [ 42.374708][ T533] alloc_buf.isra.0+0x4b/0x260 [ 42.374711][ T533] put_chars+0x1e1/0x2f0 [ 42.374714][ T533] ? __send_to_port+0x420/0x420 [ 42.374721][ T533] hvc_console_print+0x292/0x780 [ 42.374728][ T533] ? hvc_write+0x3a0/0x3a0 [ 42.374731][ T533] ? lock_acquire+0x13c/0x160 [ 42.374735][ T533] console_emit_next_record+0x22f/0x4c0 [ 42.374739][ T533] ? devkmsg_read+0x4b0/0x4b0 [ 42.374741][ T533] ? console_flush_one_record+0x106/0x710 [ 42.374744][ T533] ? rcu_is_watching+0x16/0xd0 [ 42.374748][ T533] ? lock_acquire+0x13c/0x160 [ 42.374752][ T533] console_flush_one_record+0x46f/0x710 [ 42.374757][ T533] ? console_emit_next_record+0x4c0/0x4c0 [ 42.374758][ T533] ? __lock_acquire+0x518/0xc20 [ 42.374764][ T533] console_unlock+0xee/0x1f0 [ 42.374766][ T533] ? console_flush_one_record+0x710/0x710 [ 42.374768][ T533] ? rcu_is_watching+0x16/0xd0 [ 42.374771][ T533] ? lock_acquire+0x60/0x160 [ 42.374774][ T533] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.374776][ T533] ? vprintk_emit+0x320/0x3e0 [ 42.374779][ T533] vprintk_emit+0x37c/0x3e0 [ 42.374783][ T533] ? wake_up_klogd_work_func+0x90/0x90 [ 42.374785][ T533] ? kasan_save_stack+0x3d/0x50 [ 42.374789][ T533] ? kasan_save_track+0x14/0x30 [ 42.374790][ T533] ? __kasan_kmalloc+0x7b/0x90 [ 42.374792][ T533] ? __kmalloc_cache_noprof+0x29a/0x620 [ 42.374794][ T533] ? hsr_add_port+0x1eb/0xb60 [ 42.374797][ T533] ? hsr_dev_finalize+0x841/0xcf0 [ 42.374799][ T533] ? hsr_newlink+0x3b9/0x930 [ 42.374803][ T533] _printk+0xc7/0x100 [ 42.374806][ T533] ? snapshot_read.cold+0x21/0x21 [ 42.374808][ T533] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 42.374812][ T533] ? netdev_name+0x43/0x60 [ 42.374816][ T533] ? __netdev_printk+0x17f/0x1d0 [ 42.374819][ T533] netdev_info+0xe2/0x116 [ 42.374821][ T533] ? netdev_notice+0x120/0x120 [ 42.374828][ T533] ? mutex_is_locked+0x1c/0x50 [ 42.374832][ T533] __dev_set_promiscuity.cold+0x95/0x104 [ 42.374836][ T533] netif_set_promiscuity+0x4c/0xc0 [ 42.374841][ T533] dev_set_promiscuity+0x9d/0x150 [ 42.374844][ T533] hsr_add_port+0x48c/0xb60 [ 42.374848][ T533] ? hsr_port_exists+0x60/0x60 [ 42.374851][ T533] ? timer_init_key+0x10d/0x280 [ 42.374856][ T533] hsr_dev_finalize+0x841/0xcf0 [ 42.374858][ T533] ? alloc_netdev_mqs+0xe10/0x14d0 [ 42.374863][ T533] ? alloc_netdev_mqs+0xf05/0x14d0 [ 42.374865][ T533] hsr_newlink+0x3b9/0x930 [ 42.374868][ T533] ? hsr_dellink+0x90/0x90 [ 42.374870][ T533] ? rtnl_create_link+0x169/0xf20 [ 42.374872][ T533] ? nla_strscpy+0xe3/0x180 [ 42.374877][ T533] rtnl_newlink_create+0x2d0/0x750 [ 42.374881][ T533] ? rtnl_create_link+0xf20/0xf20 [ 42.374882][ T533] ? __dev_get_by_name+0x12/0x50 [ 42.374885][ T533] ? rtnl_dev_get+0xd7/0x170 [ 42.374893][ T533] __rtnl_newlink+0x22b/0xa50 [ 42.374900][ T533] rtnl_newlink+0x9f1/0x11c0 [ 42.374906][ T533] ? rtnl_bridge_getlink+0x850/0x850 [ 42.374908][ T533] ? __lock_acquire+0x518/0xc20 [ 42.374914][ T533] ? __lock_release.isra.0+0x69/0x1a0 [ 42.374918][ T533] ? rtnl_bridge_getlink+0x850/0x850 [ 42.374920][ T533] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 42.374924][ T533] ? rtnl_link_fill+0x920/0x920 [ 42.374925][ T533] ? __lock_acquire+0x518/0xc20 [ 42.374930][ T533] ? lock_acquire.part.0+0xd4/0x280 [ 42.374931][ T533] ? find_held_lock+0x2b/0x80 [ 42.374935][ T533] netlink_rcv_skb+0x14e/0x3a0 [ 42.374938][ T533] ? rtnl_link_fill+0x920/0x920 [ 42.374942][ T533] ? netlink_ack+0xcf0/0xcf0 [ 42.374953][ T533] ? netlink_deliver_tap+0xc5/0x330 [ 42.374955][ T533] ? netlink_deliver_tap+0x13c/0x330 [ 42.374960][ T533] netlink_unicast+0x486/0x750 [ 42.374964][ T533] ? netlink_attachskb+0x810/0x810 [ 42.374967][ T533] ? __lock_acquire+0x518/0xc20 [ 42.374971][ T533] netlink_sendmsg+0x735/0xc60 [ 42.374976][ T533] ? netlink_unicast+0x750/0x750 [ 42.374980][ T533] ? __might_fault+0x97/0x140 [ 42.374985][ T533] ____sys_sendmsg+0x415/0x880 [ 42.374989][ T533] ? copy_msghdr_from_user+0x279/0x420 [ 42.374991][ T533] ? get_timestamp.constprop.0+0x390/0x390 [ 42.374993][ T533] ? move_addr_to_kernel+0x40/0x40 [ 42.375001][ T533] ___sys_sendmsg+0x14e/0x1d0 [ 42.375004][ T533] ? copy_msghdr_from_user+0x420/0x420 [ 42.375020][ T533] __sys_sendmsg+0x12c/0x1d0 [ 42.375023][ T533] ? __sys_sendmsg_sock+0x20/0x20 [ 42.375029][ T533] ? rcu_is_watching+0x16/0xd0 [ 42.375033][ T533] do_syscall_64+0xff/0x530 [ 42.375036][ T533] ? exc_page_fault+0xee/0x100 [ 42.375039][ T533] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 42.375041][ T533] RIP: 0033:0x7f7b5f21354e [ 42.375046][ T533] 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 [ 42.375048][ T533] RSP: 002b:00007ffcce241da0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 42.375050][ T533] RAX: ffffffffffffffda RBX: 00007ffcce242550 RCX: 00007f7b5f21354e [ 42.375052][ T533] RDX: 0000000000000000 RSI: 00007ffcce241e50 RDI: 0000000000000005 [ 42.375053][ T533] RBP: 00007ffcce241db0 R08: 0000000000000000 R09: 0000000000000000 [ 42.375054][ T533] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916527 [ 42.375055][ T533] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffcce242520 [ 42.375062][ T533] [ 42.413954][ T533] vethB: entered promiscuous mode [ 42.455196][ T534] vethA: entered promiscuous mode [ 42.455996][ T534] vethB: entered promiscuous mode [ 42.487383][ T535] vethA: entered promiscuous mode [ 42.488223][ T535] vethB: entered promiscuous mode [ 42.680911][ T541] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 42.681370][ T541] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 42.782157][ T544] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 42.782568][ T544] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 42.876565][ T547] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 49.225193][ T12] vethA: left promiscuous mode [ 49.225213][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.225216][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 49.225217][ T12] preempt_count: 1, expected: 0 [ 49.225218][ T12] RCU nest depth: 0, expected: 0 [ 49.225219][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 49.225221][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 49.225234][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 49.225238][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 49.225243][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 49.225247][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.225252][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.225256][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.225259][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 49.225263][ T12] irq event stamp: 400858 [ 49.225264][ T12] hardirqs last enabled at (400857): [] __down_trylock_console_sem+0x86/0xa0 [ 49.225267][ T12] hardirqs last disabled at (400858): [] console_emit_next_record+0x3d4/0x4c0 [ 49.225269][ T12] softirqs last enabled at (400728): [] tcp_close+0x2b/0xb0 [ 49.225272][ T12] softirqs last disabled at (400726): [] release_sock+0x21/0x240 [ 49.225276][ T12] Preemption disabled at: [ 49.225276][ T12] [] vprintk_emit+0x31b/0x3e0 [ 49.225283][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.225286][ T12] Tainted: [W]=WARN [ 49.225287][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.225289][ T12] Workqueue: netns cleanup_net [ 49.225293][ T12] Call Trace: [ 49.225295][ T12] [ 49.225296][ T12] dump_stack_lvl+0x6f/0xa0 [ 49.225302][ T12] ? vprintk_emit+0x31b/0x3e0 [ 49.225305][ T12] __might_resched.cold+0x1fe/0x2c1 [ 49.225309][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.225313][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 49.225318][ T12] __kmalloc_noprof+0x443/0x760 [ 49.225320][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 49.225326][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 49.225329][ T12] alloc_buf.isra.0+0x4b/0x260 [ 49.225332][ T12] put_chars+0x1e1/0x2f0 [ 49.225335][ T12] ? __send_to_port+0x420/0x420 [ 49.225338][ T12] ? validate_chain+0x38b/0xc20 [ 49.225343][ T12] hvc_console_print+0x292/0x780 [ 49.225350][ T12] ? hvc_write+0x3a0/0x3a0 [ 49.225353][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.225357][ T12] ? lock_acquire+0x13c/0x160 [ 49.225361][ T12] console_emit_next_record+0x22f/0x4c0 [ 49.225365][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 49.225366][ T12] ? console_flush_one_record+0x106/0x710 [ 49.225369][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.225372][ T12] ? lock_acquire+0x13c/0x160 [ 49.225376][ T12] console_flush_one_record+0x46f/0x710 [ 49.225380][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 49.225382][ T12] ? __lock_acquire+0x518/0xc20 [ 49.225387][ T12] console_unlock+0xee/0x1f0 [ 49.225390][ T12] ? console_flush_one_record+0x710/0x710 [ 49.225392][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.225394][ T12] ? lock_acquire+0x60/0x160 [ 49.225398][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.225399][ T12] ? vprintk_emit+0x320/0x3e0 [ 49.225403][ T12] vprintk_emit+0x37c/0x3e0 [ 49.225406][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 49.225409][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 49.225411][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 49.225414][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 49.225415][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 49.225419][ T12] _printk+0xc7/0x100 [ 49.225422][ T12] ? snapshot_read.cold+0x21/0x21 [ 49.225425][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 49.225428][ T12] ? netdev_name+0x43/0x60 [ 49.225431][ T12] ? __netdev_printk+0x17f/0x1d0 [ 49.225435][ T12] netdev_info+0xe2/0x116 [ 49.225437][ T12] ? netdev_notice+0x120/0x120 [ 49.225441][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 49.225442][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 49.225444][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 49.225448][ T12] ? mutex_is_locked+0x1c/0x50 [ 49.225452][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 49.225454][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 49.225457][ T12] netif_set_promiscuity+0x4c/0xc0 [ 49.225461][ T12] dev_set_promiscuity+0x9d/0x150 [ 49.225464][ T12] hsr_del_port+0x39d/0x540 [ 49.225469][ T12] hsr_del_ports+0x24/0x80 [ 49.225472][ T12] hsr_dellink+0x5d/0x90 [ 49.225475][ T12] default_device_exit_batch+0x19d/0x600 [ 49.225478][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 49.225481][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.225483][ T12] ? mutex_is_locked+0x1c/0x50 [ 49.225487][ T12] ops_undo_list+0x2ce/0x8f0 [ 49.225491][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 49.225493][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 49.225495][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 49.225498][ T12] ? idr_destroy+0x121/0x250 [ 49.225502][ T12] cleanup_net+0x431/0x890 [ 49.225505][ T12] ? net_passive_dec+0x230/0x230 [ 49.225509][ T12] ? lock_acquire+0x13c/0x160 [ 49.225511][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.225515][ T12] process_one_work+0xe3e/0x1560 [ 49.225521][ T12] ? __queue_delayed_work+0x470/0x470 [ 49.225524][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 49.225532][ T12] worker_thread+0x4f1/0xd60 [ 49.225538][ T12] ? rescuer_thread+0x1340/0x1340 [ 49.225540][ T12] kthread+0x367/0x460 [ 49.225543][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.225546][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.225549][ T12] ret_from_fork+0x474/0x6b0 [ 49.225553][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 49.225556][ T12] ? __switch_to+0x5a3/0xe00 [ 49.225559][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.225562][ T12] ret_from_fork_asm+0x11/0x20 [ 49.225571][ T12] [ 49.258581][ T12] vethB: left promiscuous mode [ 49.276684][ T12] vethA (unregistering): left promiscuous mode [ 49.282306][ T12] vethB (unregistering): left promiscuous mode [ 49.510443][ T12] vethA: left promiscuous mode [ 49.517108][ T12] vethB (unregistering): left promiscuous mode [ 50.328915][ T616] vethA: entered promiscuous mode [ 50.328932][ T616] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 50.328934][ T616] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 616, name: ip [ 50.328936][ T616] preempt_count: 1, expected: 0 [ 50.328937][ T616] RCU nest depth: 0, expected: 0 [ 50.328938][ T616] locks held by ip/616: 6, last CPU#3: [ 50.328940][ T616] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 50.328952][ T616] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 50.328956][ T616] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 50.328966][ T616] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 50.328970][ T616] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 50.328973][ T616] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 50.328977][ T616] irq event stamp: 22112 [ 50.328978][ T616] hardirqs last enabled at (22111): [] __down_trylock_console_sem+0x86/0xa0 [ 50.328981][ T616] hardirqs last disabled at (22112): [] console_emit_next_record+0x3d4/0x4c0 [ 50.328983][ T616] softirqs last enabled at (22026): [] __alloc_skb+0x4c2/0x5f0 [ 50.328986][ T616] softirqs last disabled at (22024): [] __alloc_skb+0x4c2/0x5f0 [ 50.328989][ T616] Preemption disabled at: [ 50.328990][ T616] [] vprintk_emit+0x31b/0x3e0 [ 50.328996][ T616] CPU: 3 UID: 0 PID: 616 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 50.328999][ T616] Tainted: [W]=WARN [ 50.329000][ T616] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.329002][ T616] Call Trace: [ 50.329004][ T616] [ 50.329006][ T616] dump_stack_lvl+0x6f/0xa0 [ 50.329012][ T616] ? vprintk_emit+0x31b/0x3e0 [ 50.329014][ T616] __might_resched.cold+0x1fe/0x2c1 [ 50.329019][ T616] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 50.329023][ T616] ? __kmalloc_noprof+0xdb/0x760 [ 50.329028][ T616] __kmalloc_noprof+0x443/0x760 [ 50.329030][ T616] ? alloc_buf.isra.0+0x4b/0x260 [ 50.329036][ T616] ? do_raw_spin_unlock+0x59/0x250 [ 50.329038][ T616] alloc_buf.isra.0+0x4b/0x260 [ 50.329042][ T616] put_chars+0x1e1/0x2f0 [ 50.329045][ T616] ? __send_to_port+0x420/0x420 [ 50.329051][ T616] hvc_console_print+0x292/0x780 [ 50.329058][ T616] ? hvc_write+0x3a0/0x3a0 [ 50.329061][ T616] ? lock_acquire+0x13c/0x160 [ 50.329065][ T616] console_emit_next_record+0x22f/0x4c0 [ 50.329069][ T616] ? devkmsg_read+0x4b0/0x4b0 [ 50.329070][ T616] ? console_flush_one_record+0x106/0x710 [ 50.329074][ T616] ? rcu_is_watching+0x16/0xd0 [ 50.329078][ T616] ? lock_acquire+0x13c/0x160 [ 50.329082][ T616] console_flush_one_record+0x46f/0x710 [ 50.329086][ T616] ? console_emit_next_record+0x4c0/0x4c0 [ 50.329088][ T616] ? __lock_acquire+0x518/0xc20 [ 50.329093][ T616] console_unlock+0xee/0x1f0 [ 50.329096][ T616] ? console_flush_one_record+0x710/0x710 [ 50.329098][ T616] ? rcu_is_watching+0x16/0xd0 [ 50.329100][ T616] ? lock_acquire+0x60/0x160 [ 50.329104][ T616] ? __down_trylock_console_sem+0x5e/0xa0 [ 50.329106][ T616] ? vprintk_emit+0x320/0x3e0 [ 50.329109][ T616] vprintk_emit+0x37c/0x3e0 [ 50.329113][ T616] ? wake_up_klogd_work_func+0x90/0x90 [ 50.329115][ T616] ? kasan_save_stack+0x3d/0x50 [ 50.329118][ T616] ? kasan_save_track+0x14/0x30 [ 50.329120][ T616] ? __kasan_kmalloc+0x7b/0x90 [ 50.329122][ T616] ? __kmalloc_cache_noprof+0x29a/0x620 [ 50.329123][ T616] ? hsr_add_port+0x1eb/0xb60 [ 50.329127][ T616] ? hsr_dev_finalize+0x841/0xcf0 [ 50.329128][ T616] ? hsr_newlink+0x3b9/0x930 [ 50.329132][ T616] _printk+0xc7/0x100 [ 50.329136][ T616] ? snapshot_read.cold+0x21/0x21 [ 50.329137][ T616] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 50.329142][ T616] ? netdev_name+0x43/0x60 [ 50.329145][ T616] ? __netdev_printk+0x17f/0x1d0 [ 50.329148][ T616] netdev_info+0xe2/0x116 [ 50.329151][ T616] ? netdev_notice+0x120/0x120 [ 50.329158][ T616] ? mutex_is_locked+0x1c/0x50 [ 50.329162][ T616] __dev_set_promiscuity.cold+0x95/0x104 [ 50.329166][ T616] netif_set_promiscuity+0x4c/0xc0 [ 50.329171][ T616] dev_set_promiscuity+0x9d/0x150 [ 50.329174][ T616] hsr_add_port+0x48c/0xb60 [ 50.329177][ T616] ? hsr_port_exists+0x60/0x60 [ 50.329181][ T616] ? timer_init_key+0x10d/0x280 [ 50.329186][ T616] hsr_dev_finalize+0x841/0xcf0 [ 50.329188][ T616] ? alloc_netdev_mqs+0xe11/0x14d0 [ 50.329192][ T616] ? alloc_netdev_mqs+0xf05/0x14d0 [ 50.329194][ T616] hsr_newlink+0x3b9/0x930 [ 50.329197][ T616] ? hsr_dellink+0x90/0x90 [ 50.329200][ T616] ? rtnl_create_link+0x169/0xf20 [ 50.329202][ T616] ? nla_strscpy+0xe3/0x180 [ 50.329207][ T616] rtnl_newlink_create+0x2d0/0x750 [ 50.329211][ T616] ? rtnl_create_link+0xf20/0xf20 [ 50.329212][ T616] ? __dev_get_by_name+0x12/0x50 [ 50.329215][ T616] ? rtnl_dev_get+0xd7/0x170 [ 50.329223][ T616] __rtnl_newlink+0x22b/0xa50 [ 50.329230][ T616] rtnl_newlink+0x9f1/0x11c0 [ 50.329235][ T616] ? rtnl_bridge_getlink+0x850/0x850 [ 50.329237][ T616] ? __lock_acquire+0x518/0xc20 [ 50.329243][ T616] ? __lock_release.isra.0+0x69/0x1a0 [ 50.329247][ T616] ? rtnl_bridge_getlink+0x850/0x850 [ 50.329249][ T616] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 50.329253][ T616] ? rtnl_link_fill+0x920/0x920 [ 50.329254][ T616] ? __lock_acquire+0x518/0xc20 [ 50.329259][ T616] ? lock_acquire.part.0+0xd4/0x280 [ 50.329260][ T616] ? find_held_lock+0x2b/0x80 [ 50.329264][ T616] netlink_rcv_skb+0x14e/0x3a0 [ 50.329267][ T616] ? rtnl_link_fill+0x920/0x920 [ 50.329270][ T616] ? netlink_ack+0xcf0/0xcf0 [ 50.329277][ T616] ? netlink_deliver_tap+0xc5/0x330 [ 50.329279][ T616] ? netlink_deliver_tap+0x13c/0x330 [ 50.329283][ T616] netlink_unicast+0x486/0x750 [ 50.329287][ T616] ? netlink_attachskb+0x810/0x810 [ 50.329290][ T616] ? __lock_acquire+0x518/0xc20 [ 50.329295][ T616] netlink_sendmsg+0x735/0xc60 [ 50.329299][ T616] ? netlink_unicast+0x750/0x750 [ 50.329303][ T616] ? __might_fault+0x97/0x140 [ 50.329308][ T616] ____sys_sendmsg+0x415/0x880 [ 50.329312][ T616] ? copy_msghdr_from_user+0x279/0x420 [ 50.329314][ T616] ? get_timestamp.constprop.0+0x390/0x390 [ 50.329316][ T616] ? move_addr_to_kernel+0x40/0x40 [ 50.329323][ T616] ___sys_sendmsg+0x14e/0x1d0 [ 50.329326][ T616] ? copy_msghdr_from_user+0x420/0x420 [ 50.329342][ T616] __sys_sendmsg+0x12c/0x1d0 [ 50.329345][ T616] ? __sys_sendmsg_sock+0x20/0x20 [ 50.329352][ T616] ? rcu_is_watching+0x16/0xd0 [ 50.329356][ T616] do_syscall_64+0xff/0x530 [ 50.329359][ T616] ? exc_page_fault+0xee/0x100 [ 50.329361][ T616] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 50.329364][ T616] RIP: 0033:0x7fd4094eb54e [ 50.329367][ T616] 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 [ 50.329370][ T616] RSP: 002b:00007fffa7cf9c30 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 50.329372][ T616] RAX: ffffffffffffffda RBX: 00007fffa7cfa3e0 RCX: 00007fd4094eb54e [ 50.329374][ T616] RDX: 0000000000000000 RSI: 00007fffa7cf9ce0 RDI: 0000000000000005 [ 50.329375][ T616] RBP: 00007fffa7cf9c40 R08: 0000000000000000 R09: 0000000000000000 [ 50.329375][ T616] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91652f [ 50.329376][ T616] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffa7cfa3b0 [ 50.329383][ T616] [ 50.362395][ T616] vethB: entered promiscuous mode [ 50.403289][ T617] vethA: entered promiscuous mode [ 50.404184][ T617] vethB: entered promiscuous mode [ 50.443973][ T618] vethA: entered promiscuous mode [ 50.444760][ T618] vethB: entered promiscuous mode [ 50.645536][ T624] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 50.645982][ T624] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 50.730514][ T627] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 50.730970][ T627] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 50.830621][ T630] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 56.792623][ T12] vethA: left promiscuous mode [ 56.792810][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.792812][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 56.792814][ T12] preempt_count: 1, expected: 0 [ 56.792815][ T12] RCU nest depth: 0, expected: 0 [ 56.792816][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 56.792818][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 56.792830][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 56.792833][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 56.792839][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 56.792843][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.792848][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.792852][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.792856][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 56.792860][ T12] irq event stamp: 495846 [ 56.792860][ T12] hardirqs last enabled at (495845): [] irqentry_exit+0x21c/0x790 [ 56.792864][ T12] hardirqs last disabled at (495846): [] console_emit_next_record+0x3d4/0x4c0 [ 56.792866][ T12] softirqs last enabled at (495844): [] handle_softirqs+0x67c/0x900 [ 56.792869][ T12] softirqs last disabled at (495507): [] __irq_exit_rcu+0x145/0x1c0 [ 56.792871][ T12] Preemption disabled at: [ 56.792872][ T12] [] vprintk_emit+0x31b/0x3e0 [ 56.792878][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 56.792882][ T12] Tainted: [W]=WARN [ 56.792882][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 56.792884][ T12] Workqueue: netns cleanup_net [ 56.792887][ T12] Call Trace: [ 56.792889][ T12] [ 56.792891][ T12] dump_stack_lvl+0x6f/0xa0 [ 56.792897][ T12] ? vprintk_emit+0x31b/0x3e0 [ 56.792899][ T12] __might_resched.cold+0x1fe/0x2c1 [ 56.792904][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 56.792908][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 56.792913][ T12] __kmalloc_noprof+0x443/0x760 [ 56.792915][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 56.792921][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 56.792924][ T12] alloc_buf.isra.0+0x4b/0x260 [ 56.792927][ T12] put_chars+0x1e1/0x2f0 [ 56.792930][ T12] ? __send_to_port+0x420/0x420 [ 56.792933][ T12] ? validate_chain+0x38b/0xc20 [ 56.792938][ T12] hvc_console_print+0x292/0x780 [ 56.792945][ T12] ? hvc_write+0x3a0/0x3a0 [ 56.792947][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.792951][ T12] ? lock_acquire+0x13c/0x160 [ 56.792955][ T12] console_emit_next_record+0x22f/0x4c0 [ 56.792959][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 56.792961][ T12] ? console_flush_one_record+0x106/0x710 [ 56.792964][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.792966][ T12] ? lock_acquire+0x13c/0x160 [ 56.792976][ T12] console_flush_one_record+0x46f/0x710 [ 56.792980][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 56.792982][ T12] ? __lock_acquire+0x518/0xc20 [ 56.792987][ T12] console_unlock+0xee/0x1f0 [ 56.792990][ T12] ? console_flush_one_record+0x710/0x710 [ 56.792992][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.792994][ T12] ? lock_acquire+0x60/0x160 [ 56.792998][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 56.793000][ T12] ? vprintk_emit+0x320/0x3e0 [ 56.793003][ T12] vprintk_emit+0x37c/0x3e0 [ 56.793007][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 56.793010][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 56.793011][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 56.793013][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 56.793015][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 56.793018][ T12] _printk+0xc7/0x100 [ 56.793022][ T12] ? snapshot_read.cold+0x21/0x21 [ 56.793025][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 56.793028][ T12] ? netdev_name+0x43/0x60 [ 56.793031][ T12] ? __netdev_printk+0x17f/0x1d0 [ 56.793035][ T12] netdev_info+0xe2/0x116 [ 56.793037][ T12] ? netdev_notice+0x120/0x120 [ 56.793040][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 56.793042][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 56.793044][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 56.793047][ T12] ? mutex_is_locked+0x1c/0x50 [ 56.793051][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 56.793054][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 56.793057][ T12] netif_set_promiscuity+0x4c/0xc0 [ 56.793060][ T12] dev_set_promiscuity+0x9d/0x150 [ 56.793063][ T12] hsr_del_port+0x39d/0x540 [ 56.793068][ T12] hsr_del_ports+0x24/0x80 [ 56.793070][ T12] hsr_dellink+0x5d/0x90 [ 56.793073][ T12] default_device_exit_batch+0x19d/0x600 [ 56.793076][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 56.793079][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 56.793081][ T12] ? mutex_is_locked+0x1c/0x50 [ 56.793085][ T12] ops_undo_list+0x2ce/0x8f0 [ 56.793089][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 56.793091][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 56.793092][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 56.793095][ T12] ? idr_destroy+0x121/0x250 [ 56.793100][ T12] cleanup_net+0x431/0x890 [ 56.793103][ T12] ? net_passive_dec+0x230/0x230 [ 56.793107][ T12] ? lock_acquire+0x13c/0x160 [ 56.793109][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.793113][ T12] process_one_work+0xe3e/0x1560 [ 56.793119][ T12] ? __queue_delayed_work+0x470/0x470 [ 56.793122][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 56.793129][ T12] worker_thread+0x4f1/0xd60 [ 56.793136][ T12] ? rescuer_thread+0x1340/0x1340 [ 56.793138][ T12] kthread+0x367/0x460 [ 56.793141][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 56.793144][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 56.793147][ T12] ret_from_fork+0x474/0x6b0 [ 56.793151][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 56.793154][ T12] ? __switch_to+0x5a3/0xe00 [ 56.793157][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 56.793160][ T12] ret_from_fork_asm+0x11/0x20 [ 56.793168][ T12] [ 56.819289][ T12] vethB: left promiscuous mode [ 56.828174][ T12] vethA (unregistering): left promiscuous mode [ 56.838293][ T12] vethB (unregistering): left promiscuous mode [ 57.062623][ T12] vethA: left promiscuous mode [ 57.075894][ T12] vethB (unregistering): left promiscuous mode [ 57.859574][ T697] vethA: entered promiscuous mode [ 57.859591][ T697] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 57.859593][ T697] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 697, name: ip [ 57.859595][ T697] preempt_count: 1, expected: 0 [ 57.859596][ T697] RCU nest depth: 0, expected: 0 [ 57.859597][ T697] locks held by ip/697: 6, last CPU#1: [ 57.859599][ T697] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 57.859611][ T697] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 57.859614][ T697] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 57.859620][ T697] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 57.859624][ T697] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 57.859627][ T697] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 57.859631][ T697] irq event stamp: 22842 [ 57.859632][ T697] hardirqs last enabled at (22841): [] __down_trylock_console_sem+0x86/0xa0 [ 57.859638][ T697] hardirqs last disabled at (22842): [] console_emit_next_record+0x3d4/0x4c0 [ 57.859640][ T697] softirqs last enabled at (22756): [] __alloc_skb+0x4c2/0x5f0 [ 57.859643][ T697] softirqs last disabled at (22754): [] __alloc_skb+0x4c2/0x5f0 [ 57.859646][ T697] Preemption disabled at: [ 57.859647][ T697] [] vprintk_emit+0x31b/0x3e0 [ 57.859653][ T697] CPU: 1 UID: 0 PID: 697 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 57.859656][ T697] Tainted: [W]=WARN [ 57.859657][ T697] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 57.859659][ T697] Call Trace: [ 57.859661][ T697] [ 57.859662][ T697] dump_stack_lvl+0x6f/0xa0 [ 57.859668][ T697] ? vprintk_emit+0x31b/0x3e0 [ 57.859670][ T697] __might_resched.cold+0x1fe/0x2c1 [ 57.859675][ T697] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 57.859679][ T697] ? __kmalloc_noprof+0xdb/0x760 [ 57.859684][ T697] __kmalloc_noprof+0x443/0x760 [ 57.859686][ T697] ? alloc_buf.isra.0+0x4b/0x260 [ 57.859691][ T697] ? do_raw_spin_unlock+0x59/0x250 [ 57.859694][ T697] alloc_buf.isra.0+0x4b/0x260 [ 57.859697][ T697] put_chars+0x1e1/0x2f0 [ 57.859700][ T697] ? __send_to_port+0x420/0x420 [ 57.859707][ T697] hvc_console_print+0x292/0x780 [ 57.859713][ T697] ? hvc_write+0x3a0/0x3a0 [ 57.859716][ T697] ? lock_acquire+0x13c/0x160 [ 57.859720][ T697] console_emit_next_record+0x22f/0x4c0 [ 57.859724][ T697] ? devkmsg_read+0x4b0/0x4b0 [ 57.859726][ T697] ? console_flush_one_record+0x106/0x710 [ 57.859729][ T697] ? rcu_is_watching+0x16/0xd0 [ 57.859733][ T697] ? lock_acquire+0x13c/0x160 [ 57.859737][ T697] console_flush_one_record+0x46f/0x710 [ 57.859741][ T697] ? console_emit_next_record+0x4c0/0x4c0 [ 57.859743][ T697] ? __lock_acquire+0x518/0xc20 [ 57.859748][ T697] console_unlock+0xee/0x1f0 [ 57.859750][ T697] ? console_flush_one_record+0x710/0x710 [ 57.859752][ T697] ? rcu_is_watching+0x16/0xd0 [ 57.859754][ T697] ? lock_acquire+0x60/0x160 [ 57.859758][ T697] ? __down_trylock_console_sem+0x5e/0xa0 [ 57.859760][ T697] ? vprintk_emit+0x320/0x3e0 [ 57.859763][ T697] vprintk_emit+0x37c/0x3e0 [ 57.859767][ T697] ? wake_up_klogd_work_func+0x90/0x90 [ 57.859768][ T697] ? kasan_save_stack+0x3d/0x50 [ 57.859771][ T697] ? kasan_save_track+0x14/0x30 [ 57.859773][ T697] ? __kasan_kmalloc+0x7b/0x90 [ 57.859775][ T697] ? __kmalloc_cache_noprof+0x29a/0x620 [ 57.859776][ T697] ? hsr_add_port+0x1eb/0xb60 [ 57.859780][ T697] ? hsr_dev_finalize+0x841/0xcf0 [ 57.859781][ T697] ? hsr_newlink+0x3b9/0x930 [ 57.859785][ T697] _printk+0xc7/0x100 [ 57.859788][ T697] ? snapshot_read.cold+0x21/0x21 [ 57.859790][ T697] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 57.859794][ T697] ? netdev_name+0x43/0x60 [ 57.859797][ T697] ? __netdev_printk+0x17f/0x1d0 [ 57.859801][ T697] netdev_info+0xe2/0x116 [ 57.859803][ T697] ? netdev_notice+0x120/0x120 [ 57.859810][ T697] ? mutex_is_locked+0x1c/0x50 [ 57.859813][ T697] __dev_set_promiscuity.cold+0x95/0x104 [ 57.859818][ T697] netif_set_promiscuity+0x4c/0xc0 [ 57.859822][ T697] dev_set_promiscuity+0x9d/0x150 [ 57.859825][ T697] hsr_add_port+0x48c/0xb60 [ 57.859829][ T697] ? hsr_port_exists+0x60/0x60 [ 57.859832][ T697] ? timer_init_key+0x10d/0x280 [ 57.859837][ T697] hsr_dev_finalize+0x841/0xcf0 [ 57.859838][ T697] ? alloc_netdev_mqs+0xe11/0x14d0 [ 57.859843][ T697] ? alloc_netdev_mqs+0xf05/0x14d0 [ 57.859845][ T697] hsr_newlink+0x3b9/0x930 [ 57.859848][ T697] ? hsr_dellink+0x90/0x90 [ 57.859850][ T697] ? rtnl_create_link+0x169/0xf20 [ 57.859852][ T697] ? nla_strscpy+0xe3/0x180 [ 57.859857][ T697] rtnl_newlink_create+0x2d0/0x750 [ 57.859861][ T697] ? rtnl_create_link+0xf20/0xf20 [ 57.859862][ T697] ? __dev_get_by_name+0x12/0x50 [ 57.859864][ T697] ? rtnl_dev_get+0xd7/0x170 [ 57.859872][ T697] __rtnl_newlink+0x22b/0xa50 [ 57.859879][ T697] rtnl_newlink+0x9f1/0x11c0 [ 57.859884][ T697] ? rtnl_bridge_getlink+0x850/0x850 [ 57.859886][ T697] ? __lock_acquire+0x518/0xc20 [ 57.859893][ T697] ? __lock_release.isra.0+0x69/0x1a0 [ 57.859897][ T697] ? rtnl_bridge_getlink+0x850/0x850 [ 57.859899][ T697] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 57.859902][ T697] ? rtnl_link_fill+0x920/0x920 [ 57.859903][ T697] ? __lock_acquire+0x518/0xc20 [ 57.859908][ T697] ? lock_acquire.part.0+0xd4/0x280 [ 57.859910][ T697] ? find_held_lock+0x2b/0x80 [ 57.859913][ T697] netlink_rcv_skb+0x14e/0x3a0 [ 57.859917][ T697] ? rtnl_link_fill+0x920/0x920 [ 57.859920][ T697] ? netlink_ack+0xcf0/0xcf0 [ 57.859926][ T697] ? netlink_deliver_tap+0xc5/0x330 [ 57.859928][ T697] ? netlink_deliver_tap+0x13c/0x330 [ 57.859932][ T697] netlink_unicast+0x486/0x750 [ 57.859936][ T697] ? netlink_attachskb+0x810/0x810 [ 57.859939][ T697] ? __lock_acquire+0x518/0xc20 [ 57.859943][ T697] netlink_sendmsg+0x735/0xc60 [ 57.859947][ T697] ? netlink_unicast+0x750/0x750 [ 57.859951][ T697] ? __might_fault+0x97/0x140 [ 57.859957][ T697] ____sys_sendmsg+0x415/0x880 [ 57.859960][ T697] ? copy_msghdr_from_user+0x279/0x420 [ 57.859963][ T697] ? get_timestamp.constprop.0+0x390/0x390 [ 57.859965][ T697] ? move_addr_to_kernel+0x40/0x40 [ 57.859977][ T697] ___sys_sendmsg+0x14e/0x1d0 [ 57.859979][ T697] ? copy_msghdr_from_user+0x420/0x420 [ 57.859995][ T697] __sys_sendmsg+0x12c/0x1d0 [ 57.859999][ T697] ? __sys_sendmsg_sock+0x20/0x20 [ 57.860005][ T697] ? rcu_is_watching+0x16/0xd0 [ 57.860009][ T697] do_syscall_64+0xff/0x530 [ 57.860012][ T697] ? exc_page_fault+0xee/0x100 [ 57.860014][ T697] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 57.860016][ T697] RIP: 0033:0x7f5e843be54e [ 57.860020][ T697] 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 [ 57.860022][ T697] RSP: 002b:00007ffd8088f5d0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 57.860024][ T697] RAX: ffffffffffffffda RBX: 00007ffd8088fd80 RCX: 00007f5e843be54e [ 57.860026][ T697] RDX: 0000000000000000 RSI: 00007ffd8088f680 RDI: 0000000000000005 [ 57.860026][ T697] RBP: 00007ffd8088f5e0 R08: 0000000000000000 R09: 0000000000000000 [ 57.860027][ T697] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916537 [ 57.860028][ T697] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd8088fd50 [ 57.860035][ T697] [ 57.891823][ T697] vethB: entered promiscuous mode [ 57.935705][ T698] vethA: entered promiscuous mode [ 57.936482][ T698] vethB: entered promiscuous mode [ 57.976178][ T699] vethA: entered promiscuous mode [ 57.977530][ T699] vethB: entered promiscuous mode [ 58.227948][ T705] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 58.228356][ T705] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 58.317868][ T708] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 58.318324][ T708] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 58.415539][ T711] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 64.362189][ T12] vethA: left promiscuous mode [ 64.362208][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 64.362210][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 64.362212][ T12] preempt_count: 1, expected: 0 [ 64.362213][ T12] RCU nest depth: 0, expected: 0 [ 64.362214][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 64.362216][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 64.362228][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 64.362231][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 64.362237][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 64.362241][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 64.362246][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 64.362249][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 64.362253][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 64.362257][ T12] irq event stamp: 593076 [ 64.362258][ T12] hardirqs last enabled at (593075): [] __down_trylock_console_sem+0x86/0xa0 [ 64.362260][ T12] hardirqs last disabled at (593076): [] console_emit_next_record+0x3d4/0x4c0 [ 64.362262][ T12] softirqs last enabled at (592946): [] tcp_close+0x2b/0xb0 [ 64.362265][ T12] softirqs last disabled at (592944): [] release_sock+0x21/0x240 [ 64.362269][ T12] Preemption disabled at: [ 64.362269][ T12] [] vprintk_emit+0x31b/0x3e0 [ 64.362275][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 64.362279][ T12] Tainted: [W]=WARN [ 64.362280][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 64.362282][ T12] Workqueue: netns cleanup_net [ 64.362285][ T12] Call Trace: [ 64.362287][ T12] [ 64.362289][ T12] dump_stack_lvl+0x6f/0xa0 [ 64.362294][ T12] ? vprintk_emit+0x31b/0x3e0 [ 64.362296][ T12] __might_resched.cold+0x1fe/0x2c1 [ 64.362301][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 64.362304][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 64.362309][ T12] __kmalloc_noprof+0x443/0x760 [ 64.362312][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 64.362318][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 64.362320][ T12] alloc_buf.isra.0+0x4b/0x260 [ 64.362324][ T12] put_chars+0x1e1/0x2f0 [ 64.362326][ T12] ? __send_to_port+0x420/0x420 [ 64.362330][ T12] ? validate_chain+0x38b/0xc20 [ 64.362335][ T12] hvc_console_print+0x292/0x780 [ 64.362342][ T12] ? hvc_write+0x3a0/0x3a0 [ 64.362344][ T12] ? rcu_is_watching+0x16/0xd0 [ 64.362348][ T12] ? lock_acquire+0x13c/0x160 [ 64.362353][ T12] console_emit_next_record+0x22f/0x4c0 [ 64.362357][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 64.362358][ T12] ? console_flush_one_record+0x106/0x710 [ 64.362361][ T12] ? rcu_is_watching+0x16/0xd0 [ 64.362364][ T12] ? lock_acquire+0x13c/0x160 [ 64.362368][ T12] console_flush_one_record+0x46f/0x710 [ 64.362372][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 64.362374][ T12] ? __lock_acquire+0x518/0xc20 [ 64.362379][ T12] console_unlock+0xee/0x1f0 [ 64.362382][ T12] ? console_flush_one_record+0x710/0x710 [ 64.362384][ T12] ? rcu_is_watching+0x16/0xd0 [ 64.362386][ T12] ? lock_acquire+0x60/0x160 [ 64.362390][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 64.362391][ T12] ? vprintk_emit+0x320/0x3e0 [ 64.362395][ T12] vprintk_emit+0x37c/0x3e0 [ 64.362399][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 64.362401][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 64.362403][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 64.362406][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 64.362407][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 64.362411][ T12] _printk+0xc7/0x100 [ 64.362414][ T12] ? snapshot_read.cold+0x21/0x21 [ 64.362418][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 64.362420][ T12] ? netdev_name+0x43/0x60 [ 64.362424][ T12] ? __netdev_printk+0x17f/0x1d0 [ 64.362427][ T12] netdev_info+0xe2/0x116 [ 64.362430][ T12] ? netdev_notice+0x120/0x120 [ 64.362433][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 64.362434][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 64.362437][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 64.362440][ T12] ? mutex_is_locked+0x1c/0x50 [ 64.362444][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 64.362447][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 64.362450][ T12] netif_set_promiscuity+0x4c/0xc0 [ 64.362454][ T12] dev_set_promiscuity+0x9d/0x150 [ 64.362457][ T12] hsr_del_port+0x39d/0x540 [ 64.362462][ T12] hsr_del_ports+0x24/0x80 [ 64.362465][ T12] hsr_dellink+0x5d/0x90 [ 64.362467][ T12] default_device_exit_batch+0x19d/0x600 [ 64.362471][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 64.362473][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 64.362476][ T12] ? mutex_is_locked+0x1c/0x50 [ 64.362480][ T12] ops_undo_list+0x2ce/0x8f0 [ 64.362483][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 64.362485][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 64.362487][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 64.362490][ T12] ? idr_destroy+0x121/0x250 [ 64.362495][ T12] cleanup_net+0x431/0x890 [ 64.362498][ T12] ? net_passive_dec+0x230/0x230 [ 64.362502][ T12] ? lock_acquire+0x13c/0x160 [ 64.362504][ T12] ? rcu_is_watching+0x16/0xd0 [ 64.362508][ T12] process_one_work+0xe3e/0x1560 [ 64.362514][ T12] ? __queue_delayed_work+0x470/0x470 [ 64.362517][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 64.362525][ T12] worker_thread+0x4f1/0xd60 [ 64.362532][ T12] ? rescuer_thread+0x1340/0x1340 [ 64.362534][ T12] kthread+0x367/0x460 [ 64.362537][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 64.362539][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 64.362542][ T12] ret_from_fork+0x474/0x6b0 [ 64.362546][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 64.362549][ T12] ? __switch_to+0x5a3/0xe00 [ 64.362552][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 64.362555][ T12] ret_from_fork_asm+0x11/0x20 [ 64.362564][ T12] [ 64.389413][ T12] vethB: left promiscuous mode [ 64.405313][ T12] vethA (unregistering): left promiscuous mode [ 64.408592][ T12] vethB (unregistering): left promiscuous mode [ 64.632870][ T12] vethA: left promiscuous mode [ 64.638853][ T12] vethB (unregistering): left promiscuous mode [ 65.406451][ T780] vethA: entered promiscuous mode [ 65.406467][ T780] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 65.406470][ T780] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 780, name: ip [ 65.406471][ T780] preempt_count: 1, expected: 0 [ 65.406472][ T780] RCU nest depth: 0, expected: 0 [ 65.406473][ T780] locks held by ip/780: 6, last CPU#2: [ 65.406475][ T780] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 65.406486][ T780] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 65.406490][ T780] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 65.406496][ T780] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 65.406499][ T780] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 65.406503][ T780] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 65.406507][ T780] irq event stamp: 27858 [ 65.406508][ T780] hardirqs last enabled at (27857): [] __down_trylock_console_sem+0x86/0xa0 [ 65.406510][ T780] hardirqs last disabled at (27858): [] console_emit_next_record+0x3d4/0x4c0 [ 65.406513][ T780] softirqs last enabled at (27774): [] __alloc_skb+0x4c2/0x5f0 [ 65.406515][ T780] softirqs last disabled at (27772): [] __alloc_skb+0x4c2/0x5f0 [ 65.406518][ T780] Preemption disabled at: [ 65.406519][ T780] [] vprintk_emit+0x31b/0x3e0 [ 65.406524][ T780] CPU: 2 UID: 0 PID: 780 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 65.406528][ T780] Tainted: [W]=WARN [ 65.406529][ T780] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 65.406530][ T780] Call Trace: [ 65.406532][ T780] [ 65.406534][ T780] dump_stack_lvl+0x6f/0xa0 [ 65.406539][ T780] ? vprintk_emit+0x31b/0x3e0 [ 65.406542][ T780] __might_resched.cold+0x1fe/0x2c1 [ 65.406546][ T780] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 65.406550][ T780] ? __kmalloc_noprof+0xdb/0x760 [ 65.406555][ T780] __kmalloc_noprof+0x443/0x760 [ 65.406557][ T780] ? alloc_buf.isra.0+0x4b/0x260 [ 65.406563][ T780] ? do_raw_spin_unlock+0x59/0x250 [ 65.406565][ T780] alloc_buf.isra.0+0x4b/0x260 [ 65.406569][ T780] put_chars+0x1e1/0x2f0 [ 65.406572][ T780] ? __send_to_port+0x420/0x420 [ 65.406578][ T780] hvc_console_print+0x292/0x780 [ 65.406584][ T780] ? hvc_write+0x3a0/0x3a0 [ 65.406587][ T780] ? lock_acquire+0x13c/0x160 [ 65.406591][ T780] console_emit_next_record+0x22f/0x4c0 [ 65.406595][ T780] ? devkmsg_read+0x4b0/0x4b0 [ 65.406597][ T780] ? console_flush_one_record+0x106/0x710 [ 65.406600][ T780] ? rcu_is_watching+0x16/0xd0 [ 65.406604][ T780] ? lock_acquire+0x13c/0x160 [ 65.406607][ T780] console_flush_one_record+0x46f/0x710 [ 65.406611][ T780] ? console_emit_next_record+0x4c0/0x4c0 [ 65.406613][ T780] ? __lock_acquire+0x518/0xc20 [ 65.406618][ T780] console_unlock+0xee/0x1f0 [ 65.406621][ T780] ? console_flush_one_record+0x710/0x710 [ 65.406623][ T780] ? rcu_is_watching+0x16/0xd0 [ 65.406625][ T780] ? lock_acquire+0x60/0x160 [ 65.406628][ T780] ? __down_trylock_console_sem+0x5e/0xa0 [ 65.406630][ T780] ? vprintk_emit+0x320/0x3e0 [ 65.406633][ T780] vprintk_emit+0x37c/0x3e0 [ 65.406639][ T780] ? wake_up_klogd_work_func+0x90/0x90 [ 65.406641][ T780] ? kasan_save_stack+0x3d/0x50 [ 65.406645][ T780] ? kasan_save_track+0x14/0x30 [ 65.406646][ T780] ? __kasan_kmalloc+0x7b/0x90 [ 65.406648][ T780] ? __kmalloc_cache_noprof+0x29a/0x620 [ 65.406649][ T780] ? hsr_add_port+0x1eb/0xb60 [ 65.406653][ T780] ? hsr_dev_finalize+0x841/0xcf0 [ 65.406655][ T780] ? hsr_newlink+0x3b9/0x930 [ 65.406658][ T780] _printk+0xc7/0x100 [ 65.406662][ T780] ? snapshot_read.cold+0x21/0x21 [ 65.406663][ T780] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 65.406667][ T780] ? netdev_name+0x43/0x60 [ 65.406671][ T780] ? __netdev_printk+0x17f/0x1d0 [ 65.406674][ T780] netdev_info+0xe2/0x116 [ 65.406676][ T780] ? netdev_notice+0x120/0x120 [ 65.406683][ T780] ? mutex_is_locked+0x1c/0x50 [ 65.406686][ T780] __dev_set_promiscuity.cold+0x95/0x104 [ 65.406691][ T780] netif_set_promiscuity+0x4c/0xc0 [ 65.406695][ T780] dev_set_promiscuity+0x9d/0x150 [ 65.406698][ T780] hsr_add_port+0x48c/0xb60 [ 65.406701][ T780] ? hsr_port_exists+0x60/0x60 [ 65.406705][ T780] ? timer_init_key+0x10d/0x280 [ 65.406710][ T780] hsr_dev_finalize+0x841/0xcf0 [ 65.406712][ T780] ? alloc_netdev_mqs+0xe11/0x14d0 [ 65.406716][ T780] ? alloc_netdev_mqs+0xf05/0x14d0 [ 65.406718][ T780] hsr_newlink+0x3b9/0x930 [ 65.406721][ T780] ? hsr_dellink+0x90/0x90 [ 65.406723][ T780] ? rtnl_create_link+0x169/0xf20 [ 65.406725][ T780] ? nla_strscpy+0xe3/0x180 [ 65.406730][ T780] rtnl_newlink_create+0x2d0/0x750 [ 65.406734][ T780] ? rtnl_create_link+0xf20/0xf20 [ 65.406735][ T780] ? __dev_get_by_name+0x12/0x50 [ 65.406737][ T780] ? rtnl_dev_get+0xd7/0x170 [ 65.406745][ T780] __rtnl_newlink+0x22b/0xa50 [ 65.406752][ T780] rtnl_newlink+0x9f1/0x11c0 [ 65.406757][ T780] ? rtnl_bridge_getlink+0x850/0x850 [ 65.406759][ T780] ? __lock_acquire+0x518/0xc20 [ 65.406765][ T780] ? __lock_release.isra.0+0x69/0x1a0 [ 65.406769][ T780] ? rtnl_bridge_getlink+0x850/0x850 [ 65.406771][ T780] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 65.406774][ T780] ? rtnl_link_fill+0x920/0x920 [ 65.406775][ T780] ? __lock_acquire+0x518/0xc20 [ 65.406780][ T780] ? lock_acquire.part.0+0xd4/0x280 [ 65.406781][ T780] ? find_held_lock+0x2b/0x80 [ 65.406785][ T780] netlink_rcv_skb+0x14e/0x3a0 [ 65.406788][ T780] ? rtnl_link_fill+0x920/0x920 [ 65.406791][ T780] ? netlink_ack+0xcf0/0xcf0 [ 65.406797][ T780] ? netlink_deliver_tap+0xc5/0x330 [ 65.406799][ T780] ? netlink_deliver_tap+0x13c/0x330 [ 65.406804][ T780] netlink_unicast+0x486/0x750 [ 65.406808][ T780] ? netlink_attachskb+0x810/0x810 [ 65.406810][ T780] ? __lock_acquire+0x518/0xc20 [ 65.406814][ T780] netlink_sendmsg+0x735/0xc60 [ 65.406818][ T780] ? netlink_unicast+0x750/0x750 [ 65.406822][ T780] ? __might_fault+0x97/0x140 [ 65.406828][ T780] ____sys_sendmsg+0x415/0x880 [ 65.406831][ T780] ? copy_msghdr_from_user+0x279/0x420 [ 65.406833][ T780] ? get_timestamp.constprop.0+0x390/0x390 [ 65.406835][ T780] ? move_addr_to_kernel+0x40/0x40 [ 65.406842][ T780] ___sys_sendmsg+0x14e/0x1d0 [ 65.406845][ T780] ? copy_msghdr_from_user+0x420/0x420 [ 65.406860][ T780] __sys_sendmsg+0x12c/0x1d0 [ 65.406863][ T780] ? __sys_sendmsg_sock+0x20/0x20 [ 65.406870][ T780] ? rcu_is_watching+0x16/0xd0 [ 65.406873][ T780] do_syscall_64+0xff/0x530 [ 65.406876][ T780] ? exc_page_fault+0xee/0x100 [ 65.406879][ T780] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 65.406881][ T780] RIP: 0033:0x7f17846c154e [ 65.406885][ T780] 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 [ 65.406887][ T780] RSP: 002b:00007ffd8f271b10 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 65.406890][ T780] RAX: ffffffffffffffda RBX: 00007ffd8f2722c0 RCX: 00007f17846c154e [ 65.406891][ T780] RDX: 0000000000000000 RSI: 00007ffd8f271bc0 RDI: 0000000000000005 [ 65.406892][ T780] RBP: 00007ffd8f271b20 R08: 0000000000000000 R09: 0000000000000000 [ 65.406893][ T780] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91653e [ 65.406893][ T780] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd8f272290 [ 65.406900][ T780] [ 65.443920][ T780] vethB: entered promiscuous mode [ 65.486338][ T781] vethA: entered promiscuous mode [ 65.487094][ T781] vethB: entered promiscuous mode [ 65.516008][ T782] vethA: entered promiscuous mode [ 65.516753][ T782] vethB: entered promiscuous mode [ 65.700947][ T788] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 65.701360][ T788] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 65.797077][ T791] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 65.797473][ T791] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 65.893634][ T794] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 72.973061][ T12] vethA: left promiscuous mode [ 72.973083][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 72.973086][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 72.973087][ T12] preempt_count: 1, expected: 0 [ 72.973088][ T12] RCU nest depth: 0, expected: 0 [ 72.973089][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 72.973091][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 72.973104][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 72.973107][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 72.973113][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 72.973117][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 72.973122][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 72.973126][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 72.973129][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 72.973133][ T12] irq event stamp: 693830 [ 72.973134][ T12] hardirqs last enabled at (693829): [] __down_trylock_console_sem+0x86/0xa0 [ 72.973136][ T12] hardirqs last disabled at (693830): [] console_emit_next_record+0x3d4/0x4c0 [ 72.973138][ T12] softirqs last enabled at (693700): [] tcp_close+0x2b/0xb0 [ 72.973142][ T12] softirqs last disabled at (693698): [] release_sock+0x21/0x240 [ 72.973145][ T12] Preemption disabled at: [ 72.973146][ T12] [] vprintk_emit+0x31b/0x3e0 [ 72.973152][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 72.973155][ T12] Tainted: [W]=WARN [ 72.973156][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 72.973158][ T12] Workqueue: netns cleanup_net [ 72.973162][ T12] Call Trace: [ 72.973163][ T12] [ 72.973165][ T12] dump_stack_lvl+0x6f/0xa0 [ 72.973171][ T12] ? vprintk_emit+0x31b/0x3e0 [ 72.973173][ T12] __might_resched.cold+0x1fe/0x2c1 [ 72.973178][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 72.973182][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 72.973187][ T12] __kmalloc_noprof+0x443/0x760 [ 72.973189][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 72.973195][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 72.973198][ T12] alloc_buf.isra.0+0x4b/0x260 [ 72.973201][ T12] put_chars+0x1e1/0x2f0 [ 72.973204][ T12] ? __send_to_port+0x420/0x420 [ 72.973208][ T12] ? validate_chain+0x38b/0xc20 [ 72.973213][ T12] hvc_console_print+0x292/0x780 [ 72.973220][ T12] ? hvc_write+0x3a0/0x3a0 [ 72.973222][ T12] ? rcu_is_watching+0x16/0xd0 [ 72.973227][ T12] ? lock_acquire+0x13c/0x160 [ 72.973231][ T12] console_emit_next_record+0x22f/0x4c0 [ 72.973235][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 72.973236][ T12] ? console_flush_one_record+0x106/0x710 [ 72.973240][ T12] ? rcu_is_watching+0x16/0xd0 [ 72.973242][ T12] ? lock_acquire+0x13c/0x160 [ 72.973246][ T12] console_flush_one_record+0x46f/0x710 [ 72.973250][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 72.973252][ T12] ? __lock_acquire+0x518/0xc20 [ 72.973257][ T12] console_unlock+0xee/0x1f0 [ 72.973260][ T12] ? console_flush_one_record+0x710/0x710 [ 72.973262][ T12] ? rcu_is_watching+0x16/0xd0 [ 72.973264][ T12] ? lock_acquire+0x60/0x160 [ 72.973268][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 72.973270][ T12] ? vprintk_emit+0x320/0x3e0 [ 72.973273][ T12] vprintk_emit+0x37c/0x3e0 [ 72.973277][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 72.973280][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 72.973281][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 72.973284][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 72.973286][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 72.973289][ T12] _printk+0xc7/0x100 [ 72.973293][ T12] ? snapshot_read.cold+0x21/0x21 [ 72.973296][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 72.973299][ T12] ? netdev_name+0x43/0x60 [ 72.973303][ T12] ? __netdev_printk+0x17f/0x1d0 [ 72.973306][ T12] netdev_info+0xe2/0x116 [ 72.973308][ T12] ? netdev_notice+0x120/0x120 [ 72.973312][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 72.973313][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 72.973316][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 72.973319][ T12] ? mutex_is_locked+0x1c/0x50 [ 72.973323][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 72.973326][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 72.973329][ T12] netif_set_promiscuity+0x4c/0xc0 [ 72.973333][ T12] dev_set_promiscuity+0x9d/0x150 [ 72.973336][ T12] hsr_del_port+0x39d/0x540 [ 72.973341][ T12] hsr_del_ports+0x24/0x80 [ 72.973344][ T12] hsr_dellink+0x5d/0x90 [ 72.973347][ T12] default_device_exit_batch+0x19d/0x600 [ 72.973350][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 72.973353][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 72.973355][ T12] ? mutex_is_locked+0x1c/0x50 [ 72.973359][ T12] ops_undo_list+0x2ce/0x8f0 [ 72.973363][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 72.973365][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 72.973367][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 72.973370][ T12] ? idr_destroy+0x121/0x250 [ 72.973375][ T12] cleanup_net+0x431/0x890 [ 72.973378][ T12] ? net_passive_dec+0x230/0x230 [ 72.973382][ T12] ? lock_acquire+0x13c/0x160 [ 72.973383][ T12] ? rcu_is_watching+0x16/0xd0 [ 72.973387][ T12] process_one_work+0xe3e/0x1560 [ 72.973394][ T12] ? __queue_delayed_work+0x470/0x470 [ 72.973397][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 72.973405][ T12] worker_thread+0x4f1/0xd60 [ 72.973412][ T12] ? rescuer_thread+0x1340/0x1340 [ 72.973414][ T12] kthread+0x367/0x460 [ 72.973416][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 72.973419][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 72.973422][ T12] ret_from_fork+0x474/0x6b0 [ 72.973426][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 72.973429][ T12] ? __switch_to+0x5a3/0xe00 [ 72.973432][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 72.973435][ T12] ret_from_fork_asm+0x11/0x20 [ 72.973444][ T12] [ 73.006096][ T12] vethB: left promiscuous mode [ 73.023075][ T12] vethA (unregistering): left promiscuous mode [ 73.028044][ T12] vethB (unregistering): left promiscuous mode [ 73.229596][ T12] vethA: left promiscuous mode [ 73.235840][ T12] vethB (unregistering): left promiscuous mode [ 74.023194][ T863] vethA: entered promiscuous mode [ 74.023210][ T863] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 74.023213][ T863] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 863, name: ip [ 74.023214][ T863] preempt_count: 1, expected: 0 [ 74.023215][ T863] RCU nest depth: 0, expected: 0 [ 74.023216][ T863] locks held by ip/863: 6, last CPU#0: [ 74.023218][ T863] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 74.023229][ T863] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 74.023234][ T863] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 74.023240][ T863] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 74.023244][ T863] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 74.023247][ T863] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 74.023252][ T863] irq event stamp: 16856 [ 74.023252][ T863] hardirqs last enabled at (16855): [] __down_trylock_console_sem+0x86/0xa0 [ 74.023255][ T863] hardirqs last disabled at (16856): [] console_emit_next_record+0x3d4/0x4c0 [ 74.023257][ T863] softirqs last enabled at (16772): [] __alloc_skb+0x4c2/0x5f0 [ 74.023261][ T863] softirqs last disabled at (16770): [] __alloc_skb+0x4c2/0x5f0 [ 74.023264][ T863] Preemption disabled at: [ 74.023264][ T863] [] vprintk_emit+0x31b/0x3e0 [ 74.023270][ T863] CPU: 0 UID: 0 PID: 863 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 74.023274][ T863] Tainted: [W]=WARN [ 74.023275][ T863] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 74.023276][ T863] Call Trace: [ 74.023278][ T863] [ 74.023280][ T863] dump_stack_lvl+0x6f/0xa0 [ 74.023286][ T863] ? vprintk_emit+0x31b/0x3e0 [ 74.023288][ T863] __might_resched.cold+0x1fe/0x2c1 [ 74.023293][ T863] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 74.023297][ T863] ? __kmalloc_noprof+0xdb/0x760 [ 74.023302][ T863] __kmalloc_noprof+0x443/0x760 [ 74.023304][ T863] ? alloc_buf.isra.0+0x4b/0x260 [ 74.023310][ T863] ? do_raw_spin_unlock+0x59/0x250 [ 74.023313][ T863] alloc_buf.isra.0+0x4b/0x260 [ 74.023317][ T863] put_chars+0x1e1/0x2f0 [ 74.023320][ T863] ? __send_to_port+0x420/0x420 [ 74.023327][ T863] hvc_console_print+0x292/0x780 [ 74.023334][ T863] ? hvc_write+0x3a0/0x3a0 [ 74.023336][ T863] ? lock_acquire+0x13c/0x160 [ 74.023341][ T863] console_emit_next_record+0x22f/0x4c0 [ 74.023345][ T863] ? devkmsg_read+0x4b0/0x4b0 [ 74.023346][ T863] ? console_flush_one_record+0x106/0x710 [ 74.023350][ T863] ? rcu_is_watching+0x16/0xd0 [ 74.023354][ T863] ? lock_acquire+0x13c/0x160 [ 74.023358][ T863] console_flush_one_record+0x46f/0x710 [ 74.023362][ T863] ? console_emit_next_record+0x4c0/0x4c0 [ 74.023364][ T863] ? __lock_acquire+0x518/0xc20 [ 74.023369][ T863] console_unlock+0xee/0x1f0 [ 74.023372][ T863] ? console_flush_one_record+0x710/0x710 [ 74.023374][ T863] ? rcu_is_watching+0x16/0xd0 [ 74.023377][ T863] ? lock_acquire+0x60/0x160 [ 74.023380][ T863] ? __down_trylock_console_sem+0x5e/0xa0 [ 74.023382][ T863] ? vprintk_emit+0x320/0x3e0 [ 74.023385][ T863] vprintk_emit+0x37c/0x3e0 [ 74.023389][ T863] ? wake_up_klogd_work_func+0x90/0x90 [ 74.023391][ T863] ? kasan_save_stack+0x3d/0x50 [ 74.023394][ T863] ? kasan_save_track+0x14/0x30 [ 74.023396][ T863] ? __kasan_kmalloc+0x7b/0x90 [ 74.023398][ T863] ? __kmalloc_cache_noprof+0x29a/0x620 [ 74.023400][ T863] ? hsr_add_port+0x1eb/0xb60 [ 74.023403][ T863] ? hsr_dev_finalize+0x841/0xcf0 [ 74.023405][ T863] ? hsr_newlink+0x3b9/0x930 [ 74.023409][ T863] _printk+0xc7/0x100 [ 74.023412][ T863] ? snapshot_read.cold+0x21/0x21 [ 74.023414][ T863] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 74.023418][ T863] ? netdev_name+0x43/0x60 [ 74.023422][ T863] ? __netdev_printk+0x17f/0x1d0 [ 74.023425][ T863] netdev_info+0xe2/0x116 [ 74.023428][ T863] ? netdev_notice+0x120/0x120 [ 74.023435][ T863] ? mutex_is_locked+0x1c/0x50 [ 74.023439][ T863] __dev_set_promiscuity.cold+0x95/0x104 [ 74.023443][ T863] netif_set_promiscuity+0x4c/0xc0 [ 74.023448][ T863] dev_set_promiscuity+0x9d/0x150 [ 74.023451][ T863] hsr_add_port+0x48c/0xb60 [ 74.023455][ T863] ? hsr_port_exists+0x60/0x60 [ 74.023458][ T863] ? timer_init_key+0x10d/0x280 [ 74.023463][ T863] hsr_dev_finalize+0x841/0xcf0 [ 74.023465][ T863] ? alloc_netdev_mqs+0xe11/0x14d0 [ 74.023470][ T863] ? alloc_netdev_mqs+0xf05/0x14d0 [ 74.023472][ T863] hsr_newlink+0x3b9/0x930 [ 74.023475][ T863] ? hsr_dellink+0x90/0x90 [ 74.023477][ T863] ? rtnl_create_link+0x169/0xf20 [ 74.023479][ T863] ? nla_strscpy+0xe3/0x180 [ 74.023484][ T863] rtnl_newlink_create+0x2d0/0x750 [ 74.023488][ T863] ? rtnl_create_link+0xf20/0xf20 [ 74.023489][ T863] ? __dev_get_by_name+0x12/0x50 [ 74.023492][ T863] ? rtnl_dev_get+0xd7/0x170 [ 74.023500][ T863] __rtnl_newlink+0x22b/0xa50 [ 74.023507][ T863] rtnl_newlink+0x9f1/0x11c0 [ 74.023513][ T863] ? rtnl_bridge_getlink+0x850/0x850 [ 74.023515][ T863] ? __lock_acquire+0x518/0xc20 [ 74.023522][ T863] ? __lock_release.isra.0+0x69/0x1a0 [ 74.023525][ T863] ? rtnl_bridge_getlink+0x850/0x850 [ 74.023528][ T863] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 74.023531][ T863] ? rtnl_link_fill+0x920/0x920 [ 74.023532][ T863] ? __lock_acquire+0x518/0xc20 [ 74.023537][ T863] ? lock_acquire.part.0+0xd4/0x280 [ 74.023539][ T863] ? find_held_lock+0x2b/0x80 [ 74.023543][ T863] netlink_rcv_skb+0x14e/0x3a0 [ 74.023546][ T863] ? rtnl_link_fill+0x920/0x920 [ 74.023549][ T863] ? netlink_ack+0xcf0/0xcf0 [ 74.023556][ T863] ? netlink_deliver_tap+0xc5/0x330 [ 74.023558][ T863] ? netlink_deliver_tap+0x13c/0x330 [ 74.023563][ T863] netlink_unicast+0x486/0x750 [ 74.023567][ T863] ? netlink_attachskb+0x810/0x810 [ 74.023570][ T863] ? __lock_acquire+0x518/0xc20 [ 74.023574][ T863] netlink_sendmsg+0x735/0xc60 [ 74.023578][ T863] ? netlink_unicast+0x750/0x750 [ 74.023583][ T863] ? __might_fault+0x97/0x140 [ 74.023588][ T863] ____sys_sendmsg+0x415/0x880 [ 74.023592][ T863] ? copy_msghdr_from_user+0x279/0x420 [ 74.023594][ T863] ? get_timestamp.constprop.0+0x390/0x390 [ 74.023596][ T863] ? move_addr_to_kernel+0x40/0x40 [ 74.023604][ T863] ___sys_sendmsg+0x14e/0x1d0 [ 74.023607][ T863] ? copy_msghdr_from_user+0x420/0x420 [ 74.023623][ T863] __sys_sendmsg+0x12c/0x1d0 [ 74.023626][ T863] ? __sys_sendmsg_sock+0x20/0x20 [ 74.023633][ T863] ? rcu_is_watching+0x16/0xd0 [ 74.023639][ T863] do_syscall_64+0xff/0x530 [ 74.023642][ T863] ? exc_page_fault+0xee/0x100 [ 74.023645][ T863] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 74.023647][ T863] RIP: 0033:0x7faf4143754e [ 74.023651][ T863] 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 [ 74.023652][ T863] RSP: 002b:00007fff8f25d300 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 74.023655][ T863] RAX: ffffffffffffffda RBX: 00007fff8f25dab0 RCX: 00007faf4143754e [ 74.023657][ T863] RDX: 0000000000000000 RSI: 00007fff8f25d3b0 RDI: 0000000000000005 [ 74.023658][ T863] RBP: 00007fff8f25d310 R08: 0000000000000000 R09: 0000000000000000 [ 74.023659][ T863] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916547 [ 74.023659][ T863] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff8f25da80 [ 74.023666][ T863] [ 74.059540][ T863] vethB: entered promiscuous mode [ 74.099534][ T864] vethA: entered promiscuous mode [ 74.100377][ T864] vethB: entered promiscuous mode [ 74.137283][ T865] vethA: entered promiscuous mode [ 74.138046][ T865] vethB: entered promiscuous mode [ 74.322337][ T871] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 74.322742][ T871] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 74.420152][ T874] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 74.420543][ T874] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 74.511758][ T877] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 81.203349][ T12] vethA: left promiscuous mode [ 81.203369][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 81.203371][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 81.203373][ T12] preempt_count: 1, expected: 0 [ 81.203374][ T12] RCU nest depth: 0, expected: 0 [ 81.203375][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 81.203377][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 81.203389][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 81.203393][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 81.203399][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 81.203403][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 81.203408][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 81.203411][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 81.203415][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 81.203419][ T12] irq event stamp: 795282 [ 81.203419][ T12] hardirqs last enabled at (795281): [] __down_trylock_console_sem+0x86/0xa0 [ 81.203422][ T12] hardirqs last disabled at (795282): [] console_emit_next_record+0x3d4/0x4c0 [ 81.203424][ T12] softirqs last enabled at (795152): [] tcp_close+0x2b/0xb0 [ 81.203427][ T12] softirqs last disabled at (795150): [] release_sock+0x21/0x240 [ 81.203430][ T12] Preemption disabled at: [ 81.203431][ T12] [] vprintk_emit+0x31b/0x3e0 [ 81.203437][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 81.203441][ T12] Tainted: [W]=WARN [ 81.203442][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 81.203444][ T12] Workqueue: netns cleanup_net [ 81.203447][ T12] Call Trace: [ 81.203449][ T12] [ 81.203451][ T12] dump_stack_lvl+0x6f/0xa0 [ 81.203457][ T12] ? vprintk_emit+0x31b/0x3e0 [ 81.203459][ T12] __might_resched.cold+0x1fe/0x2c1 [ 81.203463][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 81.203467][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 81.203472][ T12] __kmalloc_noprof+0x443/0x760 [ 81.203475][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 81.203480][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 81.203483][ T12] alloc_buf.isra.0+0x4b/0x260 [ 81.203486][ T12] put_chars+0x1e1/0x2f0 [ 81.203489][ T12] ? __send_to_port+0x420/0x420 [ 81.203492][ T12] ? validate_chain+0x38b/0xc20 [ 81.203497][ T12] hvc_console_print+0x292/0x780 [ 81.203504][ T12] ? hvc_write+0x3a0/0x3a0 [ 81.203506][ T12] ? rcu_is_watching+0x16/0xd0 [ 81.203511][ T12] ? lock_acquire+0x13c/0x160 [ 81.203515][ T12] console_emit_next_record+0x22f/0x4c0 [ 81.203518][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 81.203520][ T12] ? console_flush_one_record+0x106/0x710 [ 81.203523][ T12] ? rcu_is_watching+0x16/0xd0 [ 81.203526][ T12] ? lock_acquire+0x13c/0x160 [ 81.203530][ T12] console_flush_one_record+0x46f/0x710 [ 81.203534][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 81.203535][ T12] ? __lock_acquire+0x518/0xc20 [ 81.203541][ T12] console_unlock+0xee/0x1f0 [ 81.203543][ T12] ? console_flush_one_record+0x710/0x710 [ 81.203545][ T12] ? rcu_is_watching+0x16/0xd0 [ 81.203548][ T12] ? lock_acquire+0x60/0x160 [ 81.203551][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 81.203553][ T12] ? vprintk_emit+0x320/0x3e0 [ 81.203556][ T12] vprintk_emit+0x37c/0x3e0 [ 81.203560][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 81.203563][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 81.203564][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 81.203567][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 81.203569][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 81.203572][ T12] _printk+0xc7/0x100 [ 81.203576][ T12] ? snapshot_read.cold+0x21/0x21 [ 81.203579][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 81.203581][ T12] ? netdev_name+0x43/0x60 [ 81.203584][ T12] ? __netdev_printk+0x17f/0x1d0 [ 81.203588][ T12] netdev_info+0xe2/0x116 [ 81.203590][ T12] ? netdev_notice+0x120/0x120 [ 81.203594][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 81.203595][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 81.203597][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 81.203601][ T12] ? mutex_is_locked+0x1c/0x50 [ 81.203605][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 81.203607][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 81.203610][ T12] netif_set_promiscuity+0x4c/0xc0 [ 81.203614][ T12] dev_set_promiscuity+0x9d/0x150 [ 81.203617][ T12] hsr_del_port+0x39d/0x540 [ 81.203622][ T12] hsr_del_ports+0x24/0x80 [ 81.203625][ T12] hsr_dellink+0x5d/0x90 [ 81.203628][ T12] default_device_exit_batch+0x19d/0x600 [ 81.203631][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 81.203638][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 81.203641][ T12] ? mutex_is_locked+0x1c/0x50 [ 81.203645][ T12] ops_undo_list+0x2ce/0x8f0 [ 81.203649][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 81.203651][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 81.203652][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 81.203655][ T12] ? idr_destroy+0x121/0x250 [ 81.203660][ T12] cleanup_net+0x431/0x890 [ 81.203663][ T12] ? net_passive_dec+0x230/0x230 [ 81.203667][ T12] ? lock_acquire+0x13c/0x160 [ 81.203669][ T12] ? rcu_is_watching+0x16/0xd0 [ 81.203673][ T12] process_one_work+0xe3e/0x1560 [ 81.203679][ T12] ? __queue_delayed_work+0x470/0x470 [ 81.203682][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 81.203689][ T12] worker_thread+0x4f1/0xd60 [ 81.203696][ T12] ? rescuer_thread+0x1340/0x1340 [ 81.203698][ T12] kthread+0x367/0x460 [ 81.203701][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 81.203704][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 81.203706][ T12] ret_from_fork+0x474/0x6b0 [ 81.203710][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 81.203714][ T12] ? __switch_to+0x5a3/0xe00 [ 81.203717][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 81.203719][ T12] ret_from_fork_asm+0x11/0x20 [ 81.203728][ T12] [ 81.229835][ T12] vethB: left promiscuous mode [ 81.239739][ T12] vethA (unregistering): left promiscuous mode [ 81.244337][ T12] vethB (unregistering): left promiscuous mode [ 81.487729][ T12] vethA: left promiscuous mode [ 81.495476][ T12] vethB (unregistering): left promiscuous mode [ 82.281883][ T946] vethA: entered promiscuous mode [ 82.281900][ T946] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 82.281902][ T946] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 946, name: ip [ 82.281903][ T946] preempt_count: 1, expected: 0 [ 82.281904][ T946] RCU nest depth: 0, expected: 0 [ 82.281905][ T946] locks held by ip/946: 6, last CPU#1: [ 82.281907][ T946] #0: ffffffffbbaf2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 82.281919][ T946] #1: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 82.281923][ T946] #2: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 82.281929][ T946] #3: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 82.281932][ T946] #4: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 82.281936][ T946] #5: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 82.281940][ T946] irq event stamp: 28190 [ 82.281941][ T946] hardirqs last enabled at (28189): [] __down_trylock_console_sem+0x86/0xa0 [ 82.281943][ T946] hardirqs last disabled at (28190): [] console_emit_next_record+0x3d4/0x4c0 [ 82.281945][ T946] softirqs last enabled at (28104): [] __alloc_skb+0x4c2/0x5f0 [ 82.281948][ T946] softirqs last disabled at (28102): [] __alloc_skb+0x4c2/0x5f0 [ 82.281951][ T946] Preemption disabled at: [ 82.281951][ T946] [] vprintk_emit+0x31b/0x3e0 [ 82.281957][ T946] CPU: 1 UID: 0 PID: 946 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 82.281961][ T946] Tainted: [W]=WARN [ 82.281962][ T946] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 82.281963][ T946] Call Trace: [ 82.281965][ T946] [ 82.281967][ T946] dump_stack_lvl+0x6f/0xa0 [ 82.281972][ T946] ? vprintk_emit+0x31b/0x3e0 [ 82.281974][ T946] __might_resched.cold+0x1fe/0x2c1 [ 82.281978][ T946] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 82.281982][ T946] ? __kmalloc_noprof+0xdb/0x760 [ 82.281987][ T946] __kmalloc_noprof+0x443/0x760 [ 82.281989][ T946] ? alloc_buf.isra.0+0x4b/0x260 [ 82.281995][ T946] ? do_raw_spin_unlock+0x59/0x250 [ 82.281997][ T946] alloc_buf.isra.0+0x4b/0x260 [ 82.282001][ T946] put_chars+0x1e1/0x2f0 [ 82.282003][ T946] ? __send_to_port+0x420/0x420 [ 82.282010][ T946] hvc_console_print+0x292/0x780 [ 82.282023][ T946] ? hvc_write+0x3a0/0x3a0 [ 82.282028][ T946] ? lock_acquire+0x13c/0x160 [ 82.282034][ T946] console_emit_next_record+0x22f/0x4c0 [ 82.282038][ T946] ? devkmsg_read+0x4b0/0x4b0 [ 82.282040][ T946] ? console_flush_one_record+0x106/0x710 [ 82.282043][ T946] ? rcu_is_watching+0x16/0xd0 [ 82.282047][ T946] ? lock_acquire+0x13c/0x160 [ 82.282051][ T946] console_flush_one_record+0x46f/0x710 [ 82.282055][ T946] ? console_emit_next_record+0x4c0/0x4c0 [ 82.282057][ T946] ? __lock_acquire+0x518/0xc20 [ 82.282062][ T946] console_unlock+0xee/0x1f0 [ 82.282065][ T946] ? console_flush_one_record+0x710/0x710 [ 82.282067][ T946] ? rcu_is_watching+0x16/0xd0 [ 82.282069][ T946] ? lock_acquire+0x60/0x160 [ 82.282073][ T946] ? __down_trylock_console_sem+0x5e/0xa0 [ 82.282074][ T946] ? vprintk_emit+0x320/0x3e0 [ 82.282078][ T946] vprintk_emit+0x37c/0x3e0 [ 82.282081][ T946] ? wake_up_klogd_work_func+0x90/0x90 [ 82.282083][ T946] ? kasan_save_stack+0x3d/0x50 [ 82.282086][ T946] ? kasan_save_track+0x14/0x30 [ 82.282088][ T946] ? __kasan_kmalloc+0x7b/0x90 [ 82.282090][ T946] ? __kmalloc_cache_noprof+0x29a/0x620 [ 82.282091][ T946] ? hsr_add_port+0x1eb/0xb60 [ 82.282095][ T946] ? hsr_dev_finalize+0x841/0xcf0 [ 82.282097][ T946] ? hsr_newlink+0x3b9/0x930 [ 82.282100][ T946] _printk+0xc7/0x100 [ 82.282104][ T946] ? snapshot_read.cold+0x21/0x21 [ 82.282105][ T946] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 82.282109][ T946] ? netdev_name+0x43/0x60 [ 82.282113][ T946] ? __netdev_printk+0x17f/0x1d0 [ 82.282116][ T946] netdev_info+0xe2/0x116 [ 82.282118][ T946] ? netdev_notice+0x120/0x120 [ 82.282125][ T946] ? mutex_is_locked+0x1c/0x50 [ 82.282129][ T946] __dev_set_promiscuity.cold+0x95/0x104 [ 82.282133][ T946] netif_set_promiscuity+0x4c/0xc0 [ 82.282138][ T946] dev_set_promiscuity+0x9d/0x150 [ 82.282141][ T946] hsr_add_port+0x48c/0xb60 [ 82.282144][ T946] ? hsr_port_exists+0x60/0x60 [ 82.282147][ T946] ? timer_init_key+0x10d/0x280 [ 82.282152][ T946] hsr_dev_finalize+0x841/0xcf0 [ 82.282154][ T946] ? alloc_netdev_mqs+0xe11/0x14d0 [ 82.282158][ T946] ? alloc_netdev_mqs+0xf05/0x14d0 [ 82.282160][ T946] hsr_newlink+0x3b9/0x930 [ 82.282163][ T946] ? hsr_dellink+0x90/0x90 [ 82.282165][ T946] ? rtnl_create_link+0x169/0xf20 [ 82.282167][ T946] ? nla_strscpy+0xe3/0x180 [ 82.282172][ T946] rtnl_newlink_create+0x2d0/0x750 [ 82.282176][ T946] ? rtnl_create_link+0xf20/0xf20 [ 82.282177][ T946] ? __dev_get_by_name+0x12/0x50 [ 82.282179][ T946] ? rtnl_dev_get+0xd7/0x170 [ 82.282187][ T946] __rtnl_newlink+0x22b/0xa50 [ 82.282194][ T946] rtnl_newlink+0x9f1/0x11c0 [ 82.282199][ T946] ? rtnl_bridge_getlink+0x850/0x850 [ 82.282201][ T946] ? __lock_acquire+0x518/0xc20 [ 82.282207][ T946] ? __lock_release.isra.0+0x69/0x1a0 [ 82.282211][ T946] ? rtnl_bridge_getlink+0x850/0x850 [ 82.282213][ T946] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 82.282216][ T946] ? rtnl_link_fill+0x920/0x920 [ 82.282218][ T946] ? __lock_acquire+0x518/0xc20 [ 82.282222][ T946] ? lock_acquire.part.0+0xd4/0x280 [ 82.282224][ T946] ? find_held_lock+0x2b/0x80 [ 82.282227][ T946] netlink_rcv_skb+0x14e/0x3a0 [ 82.282231][ T946] ? rtnl_link_fill+0x920/0x920 [ 82.282234][ T946] ? netlink_ack+0xcf0/0xcf0 [ 82.282240][ T946] ? netlink_deliver_tap+0xc5/0x330 [ 82.282242][ T946] ? netlink_deliver_tap+0x13c/0x330 [ 82.282246][ T946] netlink_unicast+0x486/0x750 [ 82.282250][ T946] ? netlink_attachskb+0x810/0x810 [ 82.282253][ T946] ? __lock_acquire+0x518/0xc20 [ 82.282257][ T946] netlink_sendmsg+0x735/0xc60 [ 82.282261][ T946] ? netlink_unicast+0x750/0x750 [ 82.282265][ T946] ? __might_fault+0x97/0x140 [ 82.282270][ T946] ____sys_sendmsg+0x415/0x880 [ 82.282274][ T946] ? copy_msghdr_from_user+0x279/0x420 [ 82.282276][ T946] ? get_timestamp.constprop.0+0x390/0x390 [ 82.282278][ T946] ? move_addr_to_kernel+0x40/0x40 [ 82.282285][ T946] ___sys_sendmsg+0x14e/0x1d0 [ 82.282288][ T946] ? copy_msghdr_from_user+0x420/0x420 [ 82.282303][ T946] __sys_sendmsg+0x12c/0x1d0 [ 82.282306][ T946] ? __sys_sendmsg_sock+0x20/0x20 [ 82.282312][ T946] ? rcu_is_watching+0x16/0xd0 [ 82.282316][ T946] do_syscall_64+0xff/0x530 [ 82.282319][ T946] ? exc_page_fault+0xee/0x100 [ 82.282322][ T946] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 82.282324][ T946] RIP: 0033:0x7f14dbe0854e [ 82.282327][ T946] 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 [ 82.282329][ T946] RSP: 002b:00007ffe539aa730 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 82.282332][ T946] RAX: ffffffffffffffda RBX: 00007ffe539aaee0 RCX: 00007f14dbe0854e [ 82.282333][ T946] RDX: 0000000000000000 RSI: 00007ffe539aa7e0 RDI: 0000000000000005 [ 82.282334][ T946] RBP: 00007ffe539aa740 R08: 0000000000000000 R09: 0000000000000000 [ 82.282335][ T946] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91654f [ 82.282336][ T946] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe539aaeb0 [ 82.282343][ T946] [ 82.313785][ T946] vethB: entered promiscuous mode [ 82.352602][ T947] vethA: entered promiscuous mode [ 82.353349][ T947] vethB: entered promiscuous mode [ 82.382146][ T948] vethA: entered promiscuous mode [ 82.382927][ T948] vethB: entered promiscuous mode [ 82.556775][ T954] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 82.557222][ T954] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 82.651228][ T957] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 82.652133][ T957] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 82.745794][ T960] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 89.000744][ T12] vethA: left promiscuous mode [ 89.000762][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 89.000764][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 89.000766][ T12] preempt_count: 1, expected: 0 [ 89.000767][ T12] RCU nest depth: 0, expected: 0 [ 89.000768][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 89.000770][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 89.000782][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 89.000786][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 89.000791][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 89.000795][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 89.000800][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 89.000804][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 89.000807][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 89.000811][ T12] irq event stamp: 878602 [ 89.000812][ T12] hardirqs last enabled at (878601): [] __down_trylock_console_sem+0x86/0xa0 [ 89.000814][ T12] hardirqs last disabled at (878602): [] console_emit_next_record+0x3d4/0x4c0 [ 89.000817][ T12] softirqs last enabled at (878470): [] tcp_close+0x2b/0xb0 [ 89.000820][ T12] softirqs last disabled at (878468): [] release_sock+0x21/0x240 [ 89.000824][ T12] Preemption disabled at: [ 89.000824][ T12] [] vprintk_emit+0x31b/0x3e0 [ 89.000830][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 89.000833][ T12] Tainted: [W]=WARN [ 89.000834][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.000836][ T12] Workqueue: netns cleanup_net [ 89.000839][ T12] Call Trace: [ 89.000840][ T12] [ 89.000842][ T12] dump_stack_lvl+0x6f/0xa0 [ 89.000848][ T12] ? vprintk_emit+0x31b/0x3e0 [ 89.000850][ T12] __might_resched.cold+0x1fe/0x2c1 [ 89.000855][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 89.000858][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 89.000863][ T12] __kmalloc_noprof+0x443/0x760 [ 89.000866][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 89.000872][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 89.000874][ T12] alloc_buf.isra.0+0x4b/0x260 [ 89.000878][ T12] put_chars+0x1e1/0x2f0 [ 89.000881][ T12] ? __send_to_port+0x420/0x420 [ 89.000884][ T12] ? validate_chain+0x38b/0xc20 [ 89.000889][ T12] hvc_console_print+0x292/0x780 [ 89.000896][ T12] ? hvc_write+0x3a0/0x3a0 [ 89.000898][ T12] ? rcu_is_watching+0x16/0xd0 [ 89.000903][ T12] ? lock_acquire+0x13c/0x160 [ 89.000907][ T12] console_emit_next_record+0x22f/0x4c0 [ 89.000910][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 89.000912][ T12] ? console_flush_one_record+0x106/0x710 [ 89.000915][ T12] ? rcu_is_watching+0x16/0xd0 [ 89.000918][ T12] ? lock_acquire+0x13c/0x160 [ 89.000922][ T12] console_flush_one_record+0x46f/0x710 [ 89.000926][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 89.000928][ T12] ? __lock_acquire+0x518/0xc20 [ 89.000933][ T12] console_unlock+0xee/0x1f0 [ 89.000936][ T12] ? console_flush_one_record+0x710/0x710 [ 89.000938][ T12] ? rcu_is_watching+0x16/0xd0 [ 89.000940][ T12] ? lock_acquire+0x60/0x160 [ 89.000944][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 89.000945][ T12] ? vprintk_emit+0x320/0x3e0 [ 89.000949][ T12] vprintk_emit+0x37c/0x3e0 [ 89.000952][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 89.000955][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 89.000957][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 89.000960][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 89.000961][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 89.000965][ T12] _printk+0xc7/0x100 [ 89.000968][ T12] ? snapshot_read.cold+0x21/0x21 [ 89.000971][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 89.000974][ T12] ? netdev_name+0x43/0x60 [ 89.000977][ T12] ? __netdev_printk+0x17f/0x1d0 [ 89.000981][ T12] netdev_info+0xe2/0x116 [ 89.000983][ T12] ? netdev_notice+0x120/0x120 [ 89.000986][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 89.000988][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 89.000990][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 89.000994][ T12] ? mutex_is_locked+0x1c/0x50 [ 89.000998][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 89.001000][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 89.001003][ T12] netif_set_promiscuity+0x4c/0xc0 [ 89.001007][ T12] dev_set_promiscuity+0x9d/0x150 [ 89.001010][ T12] hsr_del_port+0x39d/0x540 [ 89.001015][ T12] hsr_del_ports+0x24/0x80 [ 89.001018][ T12] hsr_dellink+0x5d/0x90 [ 89.001020][ T12] default_device_exit_batch+0x19d/0x600 [ 89.001031][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 89.001033][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 89.001036][ T12] ? mutex_is_locked+0x1c/0x50 [ 89.001040][ T12] ops_undo_list+0x2ce/0x8f0 [ 89.001043][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 89.001045][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 89.001047][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 89.001050][ T12] ? idr_destroy+0x121/0x250 [ 89.001055][ T12] cleanup_net+0x431/0x890 [ 89.001058][ T12] ? net_passive_dec+0x230/0x230 [ 89.001062][ T12] ? lock_acquire+0x13c/0x160 [ 89.001064][ T12] ? rcu_is_watching+0x16/0xd0 [ 89.001068][ T12] process_one_work+0xe3e/0x1560 [ 89.001074][ T12] ? __queue_delayed_work+0x470/0x470 [ 89.001077][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 89.001084][ T12] worker_thread+0x4f1/0xd60 [ 89.001091][ T12] ? rescuer_thread+0x1340/0x1340 [ 89.001093][ T12] kthread+0x367/0x460 [ 89.001096][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 89.001099][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 89.001102][ T12] ret_from_fork+0x474/0x6b0 [ 89.001106][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 89.001109][ T12] ? __switch_to+0x5a3/0xe00 [ 89.001112][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 89.001115][ T12] ret_from_fork_asm+0x11/0x20 [ 89.001123][ T12] [ 89.027624][ T12] vethB: left promiscuous mode [ 89.043722][ T12] vethA (unregistering): left promiscuous mode [ 89.049157][ T12] vethB (unregistering): left promiscuous mode [ 89.273727][ T12] vethA: left promiscuous mode [ 89.280709][ T12] vethB (unregistering): left promiscuous mode [ 89.632892][ T1014] vethA: entered promiscuous mode [ 89.633629][ T1014] vethB: entered promiscuous mode [ 89.664115][ T1015] vethA: entered promiscuous mode [ 89.664891][ T1015] vethB: entered promiscuous mode [ 89.810447][ T1020] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 89.899535][ T1023] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 94.434403][ T12] vethA: left promiscuous mode [ 94.434421][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 94.434423][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 94.434425][ T12] preempt_count: 1, expected: 0 [ 94.434425][ T12] RCU nest depth: 0, expected: 0 [ 94.434426][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 94.434428][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 94.434440][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 94.434444][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 94.434450][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 94.434454][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 94.434459][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 94.434462][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 94.434466][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 94.434470][ T12] irq event stamp: 968732 [ 94.434471][ T12] hardirqs last enabled at (968731): [] __down_trylock_console_sem+0x86/0xa0 [ 94.434473][ T12] hardirqs last disabled at (968732): [] console_emit_next_record+0x3d4/0x4c0 [ 94.434475][ T12] softirqs last enabled at (968616): [] tcp_close+0x2b/0xb0 [ 94.434478][ T12] softirqs last disabled at (968614): [] release_sock+0x21/0x240 [ 94.434481][ T12] Preemption disabled at: [ 94.434482][ T12] [] vprintk_emit+0x31b/0x3e0 [ 94.434488][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 94.434491][ T12] Tainted: [W]=WARN [ 94.434492][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 94.434494][ T12] Workqueue: netns cleanup_net [ 94.434497][ T12] Call Trace: [ 94.434499][ T12] [ 94.434501][ T12] dump_stack_lvl+0x6f/0xa0 [ 94.434507][ T12] ? vprintk_emit+0x31b/0x3e0 [ 94.434509][ T12] __might_resched.cold+0x1fe/0x2c1 [ 94.434513][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 94.434517][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 94.434522][ T12] __kmalloc_noprof+0x443/0x760 [ 94.434524][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 94.434530][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 94.434533][ T12] alloc_buf.isra.0+0x4b/0x260 [ 94.434536][ T12] put_chars+0x1e1/0x2f0 [ 94.434539][ T12] ? __send_to_port+0x420/0x420 [ 94.434543][ T12] ? validate_chain+0x38b/0xc20 [ 94.434548][ T12] hvc_console_print+0x292/0x780 [ 94.434554][ T12] ? hvc_write+0x3a0/0x3a0 [ 94.434557][ T12] ? rcu_is_watching+0x16/0xd0 [ 94.434561][ T12] ? lock_acquire+0x13c/0x160 [ 94.434565][ T12] console_emit_next_record+0x22f/0x4c0 [ 94.434569][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 94.434570][ T12] ? console_flush_one_record+0x106/0x710 [ 94.434574][ T12] ? rcu_is_watching+0x16/0xd0 [ 94.434576][ T12] ? lock_acquire+0x13c/0x160 [ 94.434580][ T12] console_flush_one_record+0x46f/0x710 [ 94.434584][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 94.434586][ T12] ? __lock_acquire+0x518/0xc20 [ 94.434591][ T12] console_unlock+0xee/0x1f0 [ 94.434594][ T12] ? console_flush_one_record+0x710/0x710 [ 94.434596][ T12] ? rcu_is_watching+0x16/0xd0 [ 94.434598][ T12] ? lock_acquire+0x60/0x160 [ 94.434602][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 94.434603][ T12] ? vprintk_emit+0x320/0x3e0 [ 94.434607][ T12] vprintk_emit+0x37c/0x3e0 [ 94.434611][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 94.434613][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 94.434615][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 94.434618][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 94.434619][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 94.434623][ T12] _printk+0xc7/0x100 [ 94.434626][ T12] ? snapshot_read.cold+0x21/0x21 [ 94.434629][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 94.434632][ T12] ? netdev_name+0x43/0x60 [ 94.434640][ T12] ? __netdev_printk+0x17f/0x1d0 [ 94.434643][ T12] netdev_info+0xe2/0x116 [ 94.434646][ T12] ? netdev_notice+0x120/0x120 [ 94.434649][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 94.434651][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 94.434653][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 94.434656][ T12] ? mutex_is_locked+0x1c/0x50 [ 94.434660][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 94.434663][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 94.434666][ T12] netif_set_promiscuity+0x4c/0xc0 [ 94.434670][ T12] dev_set_promiscuity+0x9d/0x150 [ 94.434673][ T12] hsr_del_port+0x39d/0x540 [ 94.434678][ T12] hsr_del_ports+0x24/0x80 [ 94.434681][ T12] hsr_dellink+0x5d/0x90 [ 94.434684][ T12] default_device_exit_batch+0x19d/0x600 [ 94.434687][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 94.434690][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 94.434692][ T12] ? mutex_is_locked+0x1c/0x50 [ 94.434696][ T12] ops_undo_list+0x2ce/0x8f0 [ 94.434700][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 94.434702][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 94.434703][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 94.434707][ T12] ? idr_destroy+0x121/0x250 [ 94.434711][ T12] cleanup_net+0x431/0x890 [ 94.434714][ T12] ? net_passive_dec+0x230/0x230 [ 94.434718][ T12] ? lock_acquire+0x13c/0x160 [ 94.434720][ T12] ? rcu_is_watching+0x16/0xd0 [ 94.434724][ T12] process_one_work+0xe3e/0x1560 [ 94.434731][ T12] ? __queue_delayed_work+0x470/0x470 [ 94.434734][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 94.434741][ T12] worker_thread+0x4f1/0xd60 [ 94.434748][ T12] ? rescuer_thread+0x1340/0x1340 [ 94.434750][ T12] kthread+0x367/0x460 [ 94.434753][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 94.434756][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 94.434758][ T12] ret_from_fork+0x474/0x6b0 [ 94.434762][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 94.434766][ T12] ? __switch_to+0x5a3/0xe00 [ 94.434769][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 94.434771][ T12] ret_from_fork_asm+0x11/0x20 [ 94.434780][ T12] [ 94.459865][ T12] vethB: left promiscuous mode [ 94.474482][ T12] vethB (unregistering): left promiscuous mode [ 94.478352][ T12] vethA (unregistering): left promiscuous mode [ 95.082608][ T1060] vethA: entered promiscuous mode [ 95.083435][ T1060] vethB: entered promiscuous mode [ 95.123366][ T1061] vethA: entered promiscuous mode [ 95.124143][ T1061] vethB: entered promiscuous mode [ 95.260804][ T1066] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 95.356487][ T1069] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 100.169680][ T12] vethA: left promiscuous mode [ 100.169699][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 100.169701][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 100.169703][ T12] preempt_count: 1, expected: 0 [ 100.169704][ T12] RCU nest depth: 0, expected: 0 [ 100.169705][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 100.169707][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 100.169720][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 100.169723][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 100.169730][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 100.169734][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 100.169739][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 100.169742][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 100.169746][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 100.169749][ T12] irq event stamp: 1041198 [ 100.169750][ T12] hardirqs last enabled at (1041197): [] __down_trylock_console_sem+0x86/0xa0 [ 100.169753][ T12] hardirqs last disabled at (1041198): [] console_emit_next_record+0x3d4/0x4c0 [ 100.169755][ T12] softirqs last enabled at (1041082): [] tcp_close+0x2b/0xb0 [ 100.169758][ T12] softirqs last disabled at (1041080): [] release_sock+0x21/0x240 [ 100.169762][ T12] Preemption disabled at: [ 100.169762][ T12] [] vprintk_emit+0x31b/0x3e0 [ 100.169768][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 100.169772][ T12] Tainted: [W]=WARN [ 100.169772][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 100.169774][ T12] Workqueue: netns cleanup_net [ 100.169777][ T12] Call Trace: [ 100.169779][ T12] [ 100.169781][ T12] dump_stack_lvl+0x6f/0xa0 [ 100.169787][ T12] ? vprintk_emit+0x31b/0x3e0 [ 100.169790][ T12] __might_resched.cold+0x1fe/0x2c1 [ 100.169794][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 100.169798][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 100.169803][ T12] __kmalloc_noprof+0x443/0x760 [ 100.169805][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 100.169811][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 100.169814][ T12] alloc_buf.isra.0+0x4b/0x260 [ 100.169817][ T12] put_chars+0x1e1/0x2f0 [ 100.169820][ T12] ? __send_to_port+0x420/0x420 [ 100.169823][ T12] ? validate_chain+0x38b/0xc20 [ 100.169828][ T12] hvc_console_print+0x292/0x780 [ 100.169835][ T12] ? hvc_write+0x3a0/0x3a0 [ 100.169837][ T12] ? rcu_is_watching+0x16/0xd0 [ 100.169841][ T12] ? lock_acquire+0x13c/0x160 [ 100.169845][ T12] console_emit_next_record+0x22f/0x4c0 [ 100.169849][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 100.169851][ T12] ? console_flush_one_record+0x106/0x710 [ 100.169854][ T12] ? rcu_is_watching+0x16/0xd0 [ 100.169856][ T12] ? lock_acquire+0x13c/0x160 [ 100.169860][ T12] console_flush_one_record+0x46f/0x710 [ 100.169864][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 100.169866][ T12] ? __lock_acquire+0x518/0xc20 [ 100.169871][ T12] console_unlock+0xee/0x1f0 [ 100.169874][ T12] ? console_flush_one_record+0x710/0x710 [ 100.169876][ T12] ? rcu_is_watching+0x16/0xd0 [ 100.169878][ T12] ? lock_acquire+0x60/0x160 [ 100.169882][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 100.169884][ T12] ? vprintk_emit+0x320/0x3e0 [ 100.169887][ T12] vprintk_emit+0x37c/0x3e0 [ 100.169891][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 100.169893][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 100.169895][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 100.169898][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 100.169899][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 100.169903][ T12] _printk+0xc7/0x100 [ 100.169906][ T12] ? snapshot_read.cold+0x21/0x21 [ 100.169910][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 100.169912][ T12] ? netdev_name+0x43/0x60 [ 100.169916][ T12] ? __netdev_printk+0x17f/0x1d0 [ 100.169919][ T12] netdev_info+0xe2/0x116 [ 100.169921][ T12] ? netdev_notice+0x120/0x120 [ 100.169925][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 100.169926][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 100.169928][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 100.169932][ T12] ? mutex_is_locked+0x1c/0x50 [ 100.169936][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 100.169938][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 100.169941][ T12] netif_set_promiscuity+0x4c/0xc0 [ 100.169945][ T12] dev_set_promiscuity+0x9d/0x150 [ 100.169948][ T12] hsr_del_port+0x39d/0x540 [ 100.169953][ T12] hsr_del_ports+0x24/0x80 [ 100.169956][ T12] hsr_dellink+0x5d/0x90 [ 100.169959][ T12] default_device_exit_batch+0x19d/0x600 [ 100.169962][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 100.169965][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 100.169967][ T12] ? mutex_is_locked+0x1c/0x50 [ 100.169971][ T12] ops_undo_list+0x2ce/0x8f0 [ 100.169975][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 100.169977][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 100.169978][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 100.169981][ T12] ? idr_destroy+0x121/0x250 [ 100.169986][ T12] cleanup_net+0x431/0x890 [ 100.169989][ T12] ? net_passive_dec+0x230/0x230 [ 100.169993][ T12] ? lock_acquire+0x13c/0x160 [ 100.169995][ T12] ? rcu_is_watching+0x16/0xd0 [ 100.169999][ T12] process_one_work+0xe3e/0x1560 [ 100.170005][ T12] ? __queue_delayed_work+0x470/0x470 [ 100.170008][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 100.170015][ T12] worker_thread+0x4f1/0xd60 [ 100.170022][ T12] ? rescuer_thread+0x1340/0x1340 [ 100.170024][ T12] kthread+0x367/0x460 [ 100.170027][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 100.170029][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 100.170032][ T12] ret_from_fork+0x474/0x6b0 [ 100.170036][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 100.170039][ T12] ? __switch_to+0x5a3/0xe00 [ 100.170047][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 100.170049][ T12] ret_from_fork_asm+0x11/0x20 [ 100.170058][ T12] [ 100.202440][ T12] vethB: left promiscuous mode [ 100.224904][ T12] vethB (unregistering): left promiscuous mode [ 100.230068][ T12] vethA (unregistering): left promiscuous mode [ 100.813647][ T1108] vethA: entered promiscuous mode [ 100.814470][ T1108] vethB: entered promiscuous mode [ 100.844521][ T1109] vethA: entered promiscuous mode [ 100.845247][ T1109] vethB: entered promiscuous mode [ 100.990009][ T1114] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 101.073609][ T1117] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 107.205932][ T12] vethA: left promiscuous mode [ 107.205951][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 107.205953][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 107.205955][ T12] preempt_count: 1, expected: 0 [ 107.205955][ T12] RCU nest depth: 0, expected: 0 [ 107.205956][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 107.205958][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 107.205970][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 107.205974][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 107.205980][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 107.205984][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 107.205989][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 107.205992][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 107.205996][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 107.206000][ T12] irq event stamp: 1115854 [ 107.206001][ T12] hardirqs last enabled at (1115853): [] __down_trylock_console_sem+0x86/0xa0 [ 107.206003][ T12] hardirqs last disabled at (1115854): [] console_emit_next_record+0x3d4/0x4c0 [ 107.206005][ T12] softirqs last enabled at (1115738): [] tcp_close+0x2b/0xb0 [ 107.206008][ T12] softirqs last disabled at (1115736): [] release_sock+0x21/0x240 [ 107.206012][ T12] Preemption disabled at: [ 107.206012][ T12] [] vprintk_emit+0x31b/0x3e0 [ 107.206018][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 107.206022][ T12] Tainted: [W]=WARN [ 107.206023][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 107.206024][ T12] Workqueue: netns cleanup_net [ 107.206027][ T12] Call Trace: [ 107.206029][ T12] [ 107.206031][ T12] dump_stack_lvl+0x6f/0xa0 [ 107.206036][ T12] ? vprintk_emit+0x31b/0x3e0 [ 107.206039][ T12] __might_resched.cold+0x1fe/0x2c1 [ 107.206043][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 107.206047][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 107.206052][ T12] __kmalloc_noprof+0x443/0x760 [ 107.206059][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 107.206065][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 107.206067][ T12] alloc_buf.isra.0+0x4b/0x260 [ 107.206070][ T12] put_chars+0x1e1/0x2f0 [ 107.206074][ T12] ? __send_to_port+0x420/0x420 [ 107.206077][ T12] ? validate_chain+0x38b/0xc20 [ 107.206082][ T12] hvc_console_print+0x292/0x780 [ 107.206088][ T12] ? hvc_write+0x3a0/0x3a0 [ 107.206091][ T12] ? rcu_is_watching+0x16/0xd0 [ 107.206095][ T12] ? lock_acquire+0x13c/0x160 [ 107.206099][ T12] console_emit_next_record+0x22f/0x4c0 [ 107.206103][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 107.206105][ T12] ? console_flush_one_record+0x106/0x710 [ 107.206108][ T12] ? rcu_is_watching+0x16/0xd0 [ 107.206110][ T12] ? lock_acquire+0x13c/0x160 [ 107.206114][ T12] console_flush_one_record+0x46f/0x710 [ 107.206118][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 107.206120][ T12] ? __lock_acquire+0x518/0xc20 [ 107.206125][ T12] console_unlock+0xee/0x1f0 [ 107.206128][ T12] ? console_flush_one_record+0x710/0x710 [ 107.206130][ T12] ? rcu_is_watching+0x16/0xd0 [ 107.206132][ T12] ? lock_acquire+0x60/0x160 [ 107.206136][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 107.206138][ T12] ? vprintk_emit+0x320/0x3e0 [ 107.206141][ T12] vprintk_emit+0x37c/0x3e0 [ 107.206145][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 107.206148][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 107.206149][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 107.206152][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 107.206154][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 107.206157][ T12] _printk+0xc7/0x100 [ 107.206161][ T12] ? snapshot_read.cold+0x21/0x21 [ 107.206164][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 107.206166][ T12] ? netdev_name+0x43/0x60 [ 107.206170][ T12] ? __netdev_printk+0x17f/0x1d0 [ 107.206173][ T12] netdev_info+0xe2/0x116 [ 107.206175][ T12] ? netdev_notice+0x120/0x120 [ 107.206179][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 107.206180][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 107.206182][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 107.206186][ T12] ? mutex_is_locked+0x1c/0x50 [ 107.206190][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 107.206192][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 107.206195][ T12] netif_set_promiscuity+0x4c/0xc0 [ 107.206199][ T12] dev_set_promiscuity+0x9d/0x150 [ 107.206202][ T12] hsr_del_port+0x39d/0x540 [ 107.206207][ T12] hsr_del_ports+0x24/0x80 [ 107.206210][ T12] hsr_dellink+0x5d/0x90 [ 107.206213][ T12] default_device_exit_batch+0x19d/0x600 [ 107.206216][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 107.206218][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 107.206221][ T12] ? mutex_is_locked+0x1c/0x50 [ 107.206225][ T12] ops_undo_list+0x2ce/0x8f0 [ 107.206229][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 107.206230][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 107.206232][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 107.206235][ T12] ? idr_destroy+0x121/0x250 [ 107.206240][ T12] cleanup_net+0x431/0x890 [ 107.206243][ T12] ? net_passive_dec+0x230/0x230 [ 107.206247][ T12] ? lock_acquire+0x13c/0x160 [ 107.206249][ T12] ? rcu_is_watching+0x16/0xd0 [ 107.206253][ T12] process_one_work+0xe3e/0x1560 [ 107.206259][ T12] ? __queue_delayed_work+0x470/0x470 [ 107.206262][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 107.206269][ T12] worker_thread+0x4f1/0xd60 [ 107.206276][ T12] ? rescuer_thread+0x1340/0x1340 [ 107.206278][ T12] kthread+0x367/0x460 [ 107.206281][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 107.206283][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 107.206286][ T12] ret_from_fork+0x474/0x6b0 [ 107.206290][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 107.206293][ T12] ? __switch_to+0x5a3/0xe00 [ 107.206296][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 107.206299][ T12] ret_from_fork_asm+0x11/0x20 [ 107.206308][ T12] [ 107.232849][ T12] vethB: left promiscuous mode [ 107.246583][ T12] vethB (unregistering): left promiscuous mode [ 107.250922][ T12] vethA (unregistering): left promiscuous mode [ 107.840843][ T1156] vethA: entered promiscuous mode [ 107.841597][ T1156] vethB: entered promiscuous mode [ 107.871249][ T1157] vethA: entered promiscuous mode [ 107.872076][ T1157] vethB: entered promiscuous mode [ 108.024590][ T1162] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 108.127445][ T1165] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 113.669858][ T12] vethA: left promiscuous mode [ 113.669877][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 113.669879][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 113.669881][ T12] preempt_count: 1, expected: 0 [ 113.669882][ T12] RCU nest depth: 0, expected: 0 [ 113.669883][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 113.669885][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 113.669897][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 113.669901][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 113.669906][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 113.669910][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 113.669915][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 113.669919][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 113.669922][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 113.669926][ T12] irq event stamp: 1173934 [ 113.669927][ T12] hardirqs last enabled at (1173933): [] __down_trylock_console_sem+0x86/0xa0 [ 113.669929][ T12] hardirqs last disabled at (1173934): [] console_emit_next_record+0x3d4/0x4c0 [ 113.669931][ T12] softirqs last enabled at (1173818): [] tcp_close+0x2b/0xb0 [ 113.669935][ T12] softirqs last disabled at (1173816): [] release_sock+0x21/0x240 [ 113.669939][ T12] Preemption disabled at: [ 113.669939][ T12] [] vprintk_emit+0x31b/0x3e0 [ 113.669945][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 113.669948][ T12] Tainted: [W]=WARN [ 113.669949][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 113.669951][ T12] Workqueue: netns cleanup_net [ 113.669954][ T12] Call Trace: [ 113.669956][ T12] [ 113.669958][ T12] dump_stack_lvl+0x6f/0xa0 [ 113.669963][ T12] ? vprintk_emit+0x31b/0x3e0 [ 113.669965][ T12] __might_resched.cold+0x1fe/0x2c1 [ 113.669970][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 113.669974][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 113.669979][ T12] __kmalloc_noprof+0x443/0x760 [ 113.669981][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 113.669987][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 113.669990][ T12] alloc_buf.isra.0+0x4b/0x260 [ 113.669993][ T12] put_chars+0x1e1/0x2f0 [ 113.669996][ T12] ? __send_to_port+0x420/0x420 [ 113.669999][ T12] ? validate_chain+0x38b/0xc20 [ 113.670004][ T12] hvc_console_print+0x292/0x780 [ 113.670010][ T12] ? hvc_write+0x3a0/0x3a0 [ 113.670013][ T12] ? rcu_is_watching+0x16/0xd0 [ 113.670017][ T12] ? lock_acquire+0x13c/0x160 [ 113.670021][ T12] console_emit_next_record+0x22f/0x4c0 [ 113.670025][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 113.670027][ T12] ? console_flush_one_record+0x106/0x710 [ 113.670030][ T12] ? rcu_is_watching+0x16/0xd0 [ 113.670032][ T12] ? lock_acquire+0x13c/0x160 [ 113.670036][ T12] console_flush_one_record+0x46f/0x710 [ 113.670040][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 113.670042][ T12] ? __lock_acquire+0x518/0xc20 [ 113.670047][ T12] console_unlock+0xee/0x1f0 [ 113.670050][ T12] ? console_flush_one_record+0x710/0x710 [ 113.670052][ T12] ? rcu_is_watching+0x16/0xd0 [ 113.670054][ T12] ? lock_acquire+0x60/0x160 [ 113.670058][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 113.670060][ T12] ? vprintk_emit+0x320/0x3e0 [ 113.670063][ T12] vprintk_emit+0x37c/0x3e0 [ 113.670070][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 113.670073][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 113.670075][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 113.670078][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 113.670079][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 113.670083][ T12] _printk+0xc7/0x100 [ 113.670086][ T12] ? snapshot_read.cold+0x21/0x21 [ 113.670089][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 113.670092][ T12] ? netdev_name+0x43/0x60 [ 113.670095][ T12] ? __netdev_printk+0x17f/0x1d0 [ 113.670098][ T12] netdev_info+0xe2/0x116 [ 113.670101][ T12] ? netdev_notice+0x120/0x120 [ 113.670104][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 113.670106][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 113.670108][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 113.670111][ T12] ? mutex_is_locked+0x1c/0x50 [ 113.670115][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 113.670118][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 113.670120][ T12] netif_set_promiscuity+0x4c/0xc0 [ 113.670125][ T12] dev_set_promiscuity+0x9d/0x150 [ 113.670128][ T12] hsr_del_port+0x39d/0x540 [ 113.670133][ T12] hsr_del_ports+0x24/0x80 [ 113.670135][ T12] hsr_dellink+0x5d/0x90 [ 113.670138][ T12] default_device_exit_batch+0x19d/0x600 [ 113.670141][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 113.670144][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 113.670146][ T12] ? mutex_is_locked+0x1c/0x50 [ 113.670150][ T12] ops_undo_list+0x2ce/0x8f0 [ 113.670154][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 113.670156][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 113.670157][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 113.670160][ T12] ? idr_destroy+0x121/0x250 [ 113.670165][ T12] cleanup_net+0x431/0x890 [ 113.670168][ T12] ? net_passive_dec+0x230/0x230 [ 113.670172][ T12] ? lock_acquire+0x13c/0x160 [ 113.670174][ T12] ? rcu_is_watching+0x16/0xd0 [ 113.670178][ T12] process_one_work+0xe3e/0x1560 [ 113.670184][ T12] ? __queue_delayed_work+0x470/0x470 [ 113.670187][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 113.670194][ T12] worker_thread+0x4f1/0xd60 [ 113.670201][ T12] ? rescuer_thread+0x1340/0x1340 [ 113.670203][ T12] kthread+0x367/0x460 [ 113.670206][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 113.670209][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 113.670212][ T12] ret_from_fork+0x474/0x6b0 [ 113.670216][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 113.670219][ T12] ? __switch_to+0x5a3/0xe00 [ 113.670222][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 113.670224][ T12] ret_from_fork_asm+0x11/0x20 [ 113.670233][ T12] [ 113.701372][ T12] vethB: left promiscuous mode [ 113.726966][ T12] vethB (unregistering): left promiscuous mode [ 113.730917][ T12] vethA (unregistering): left promiscuous mode [ 114.268471][ T1204] vethA: entered promiscuous mode [ 114.269226][ T1204] vethB: entered promiscuous mode [ 114.302205][ T1205] vethA: entered promiscuous mode [ 114.302938][ T1205] vethB: entered promiscuous mode [ 114.441179][ T1210] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 114.548011][ T1213] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 119.810692][ T12] vethA: left promiscuous mode [ 119.810712][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 119.810714][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 119.810716][ T12] preempt_count: 1, expected: 0 [ 119.810717][ T12] RCU nest depth: 0, expected: 0 [ 119.810717][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 119.810720][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 119.810732][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 119.810736][ T12] #2: ffffffffbb8c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 119.810742][ T12] #3: ffffffffbb8e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 119.810746][ T12] #4: ffffffffbb179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 119.810751][ T12] #5: ffffffffbb179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 119.810754][ T12] #6: ffffffffbb099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 119.810758][ T12] #7: ffffffffbb099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 119.810762][ T12] irq event stamp: 1265010 [ 119.810763][ T12] hardirqs last enabled at (1265009): [] __down_trylock_console_sem+0x86/0xa0 [ 119.810765][ T12] hardirqs last disabled at (1265010): [] console_emit_next_record+0x3d4/0x4c0 [ 119.810767][ T12] softirqs last enabled at (1264894): [] tcp_close+0x2b/0xb0 [ 119.810771][ T12] softirqs last disabled at (1264892): [] release_sock+0x21/0x240 [ 119.810774][ T12] Preemption disabled at: [ 119.810775][ T12] [] vprintk_emit+0x31b/0x3e0 [ 119.810781][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 119.810784][ T12] Tainted: [W]=WARN [ 119.810785][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 119.810787][ T12] Workqueue: netns cleanup_net [ 119.810790][ T12] Call Trace: [ 119.810792][ T12] [ 119.810794][ T12] dump_stack_lvl+0x6f/0xa0 [ 119.810799][ T12] ? vprintk_emit+0x31b/0x3e0 [ 119.810801][ T12] __might_resched.cold+0x1fe/0x2c1 [ 119.810806][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 119.810810][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 119.810815][ T12] __kmalloc_noprof+0x443/0x760 [ 119.810817][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 119.810823][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 119.810826][ T12] alloc_buf.isra.0+0x4b/0x260 [ 119.810829][ T12] put_chars+0x1e1/0x2f0 [ 119.810832][ T12] ? __send_to_port+0x420/0x420 [ 119.810835][ T12] ? validate_chain+0x38b/0xc20 [ 119.810840][ T12] hvc_console_print+0x292/0x780 [ 119.810847][ T12] ? hvc_write+0x3a0/0x3a0 [ 119.810849][ T12] ? rcu_is_watching+0x16/0xd0 [ 119.810854][ T12] ? lock_acquire+0x13c/0x160 [ 119.810858][ T12] console_emit_next_record+0x22f/0x4c0 [ 119.810861][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 119.810863][ T12] ? console_flush_one_record+0x106/0x710 [ 119.810867][ T12] ? rcu_is_watching+0x16/0xd0 [ 119.810869][ T12] ? lock_acquire+0x13c/0x160 [ 119.810873][ T12] console_flush_one_record+0x46f/0x710 [ 119.810877][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 119.810879][ T12] ? __lock_acquire+0x518/0xc20 [ 119.810884][ T12] console_unlock+0xee/0x1f0 [ 119.810887][ T12] ? console_flush_one_record+0x710/0x710 [ 119.810888][ T12] ? rcu_is_watching+0x16/0xd0 [ 119.810891][ T12] ? lock_acquire+0x60/0x160 [ 119.810895][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 119.810896][ T12] ? vprintk_emit+0x320/0x3e0 [ 119.810900][ T12] vprintk_emit+0x37c/0x3e0 [ 119.810903][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 119.810906][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 119.810908][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 119.810911][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 119.810912][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 119.810916][ T12] _printk+0xc7/0x100 [ 119.810919][ T12] ? snapshot_read.cold+0x21/0x21 [ 119.810922][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 119.810925][ T12] ? netdev_name+0x43/0x60 [ 119.810928][ T12] ? __netdev_printk+0x17f/0x1d0 [ 119.810931][ T12] netdev_info+0xe2/0x116 [ 119.810934][ T12] ? netdev_notice+0x120/0x120 [ 119.810937][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 119.810939][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 119.810941][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 119.810944][ T12] ? mutex_is_locked+0x1c/0x50 [ 119.810948][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 119.810951][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 119.810954][ T12] netif_set_promiscuity+0x4c/0xc0 [ 119.810958][ T12] dev_set_promiscuity+0x9d/0x150 [ 119.810961][ T12] hsr_del_port+0x39d/0x540 [ 119.810966][ T12] hsr_del_ports+0x24/0x80 [ 119.810969][ T12] hsr_dellink+0x5d/0x90 [ 119.810972][ T12] default_device_exit_batch+0x19d/0x600 [ 119.810975][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 119.810978][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 119.810980][ T12] ? mutex_is_locked+0x1c/0x50 [ 119.810984][ T12] ops_undo_list+0x2ce/0x8f0 [ 119.810988][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 119.810989][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 119.810991][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 119.810994][ T12] ? idr_destroy+0x121/0x250 [ 119.810999][ T12] cleanup_net+0x431/0x890 [ 119.811002][ T12] ? net_passive_dec+0x230/0x230 [ 119.811005][ T12] ? lock_acquire+0x13c/0x160 [ 119.811007][ T12] ? rcu_is_watching+0x16/0xd0 [ 119.811011][ T12] process_one_work+0xe3e/0x1560 [ 119.811018][ T12] ? __queue_delayed_work+0x470/0x470 [ 119.811020][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 119.811028][ T12] worker_thread+0x4f1/0xd60 [ 119.811035][ T12] ? rescuer_thread+0x1340/0x1340 [ 119.811037][ T12] kthread+0x367/0x460 [ 119.811039][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 119.811042][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 119.811045][ T12] ret_from_fork+0x474/0x6b0 [ 119.811049][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 119.811053][ T12] ? __switch_to+0x5a3/0xe00 [ 119.811056][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 119.811058][ T12] ret_from_fork_asm+0x11/0x20 [ 119.811067][ T12] [ 119.838217][ T12] vethB: left promiscuous mode [ 119.856273][ T12] vethB (unregistering): left promiscuous mode [ 119.861150][ T12] vethA (unregistering): left promiscuous mode