[ 10.115578][ T188] ip (188) used greatest stack depth: 23728 bytes left [ 10.115594][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.115597][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 10.115599][ T188] preempt_count: 2, expected: 0 [ 10.115600][ T188] RCU nest depth: 0, expected: 0 [ 10.115601][ T188] locks held by ip/188: 5, last CPU#2: [ 10.115604][ T188] #0: ffffffffb78127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.115616][ T188] #1: ffffffffb7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.115623][ T188] #2: ffffffffb7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.115627][ T188] #3: ffffffffb7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.115632][ T188] #4: ffffffffb7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.115639][ T188] irq event stamp: 37172 [ 10.115641][ T188] hardirqs last enabled at (37171): [] __down_trylock_console_sem+0x86/0xa0 [ 10.115646][ T188] hardirqs last disabled at (37172): [] console_emit_next_record+0x3d4/0x4c0 [ 10.115649][ T188] softirqs last enabled at (35892): [] netlink_release+0x17b/0xcf0 [ 10.115654][ T188] softirqs last disabled at (35890): [] netlink_release+0xd2/0xcf0 [ 10.115657][ T188] Preemption disabled at: [ 10.115658][ T188] [<0000000000000000>] 0x0 [ 10.115665][ T188] CPU: 2 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.115669][ T188] Tainted: [W]=WARN [ 10.115671][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.115672][ T188] Call Trace: [ 10.115675][ T188] [ 10.115676][ T188] dump_stack_lvl+0x6f/0xa0 [ 10.115683][ T188] __might_resched.cold+0x1fe/0x2c1 [ 10.115688][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.115693][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 10.115698][ T188] __kmalloc_noprof+0x443/0x760 [ 10.115700][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 10.115707][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 10.115710][ T188] alloc_buf.isra.0+0x4b/0x260 [ 10.115714][ T188] put_chars+0x1e1/0x2f0 [ 10.115718][ T188] ? __send_to_port+0x420/0x420 [ 10.115719][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.115725][ T188] ? validate_chain+0x38b/0xc20 [ 10.115731][ T188] hvc_console_print+0x292/0x780 [ 10.115739][ T188] ? hvc_write+0x3a0/0x3a0 [ 10.115742][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.115745][ T188] ? lock_acquire+0x13c/0x160 [ 10.115749][ T188] console_emit_next_record+0x22f/0x4c0 [ 10.115753][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 10.115755][ T188] ? console_flush_one_record+0x106/0x710 [ 10.115759][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.115762][ T188] ? lock_acquire+0x13c/0x160 [ 10.115766][ T188] console_flush_one_record+0x46f/0x710 [ 10.115770][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 10.115772][ T188] ? __lock_acquire+0x518/0xc20 [ 10.115778][ T188] console_unlock+0xee/0x1f0 [ 10.115781][ T188] ? console_flush_one_record+0x710/0x710 [ 10.115783][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.115786][ T188] ? lock_acquire+0x60/0x160 [ 10.115790][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.115791][ T188] ? vprintk_emit+0x320/0x3e0 [ 10.115795][ T188] vprintk_emit+0x37c/0x3e0 [ 10.115799][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 10.115803][ T188] ? __lock_acquire+0x518/0xc20 [ 10.115812][ T188] _printk+0xc7/0x100 [ 10.115816][ T188] ? snapshot_read.cold+0x21/0x21 [ 10.115820][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.115822][ T188] ? __rwlock_init+0x150/0x150 [ 10.115827][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.115830][ T188] do_exit.cold+0x82/0x9c [ 10.115834][ T188] ? exit_notify+0x890/0x890 [ 10.115835][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 10.115838][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.115843][ T188] do_group_exit+0xb8/0x370 [ 10.115846][ T188] __x64_sys_exit_group+0x3c/0x50 [ 10.115848][ T188] x64_sys_call+0x1567/0x1570 [ 10.115851][ T188] do_syscall_64+0xff/0x530 [ 10.115855][ T188] ? exc_page_fault+0xee/0x100 [ 10.115858][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.115860][ T188] RIP: 0033:0x7f839948c1b8 [ 10.115863][ T188] Code: Unable to access opcode bytes at 0x7f839948c18e. [ 10.115864][ T188] RSP: 002b:00007ffd42999fd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.115867][ T188] RAX: ffffffffffffffda RBX: 00007f83995bcf88 RCX: 00007f839948c1b8 [ 10.115868][ T188] RDX: 00007f83991d6fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.115869][ T188] RBP: 00007ffd4299a030 R08: 0000000000000000 R09: 0000000000000000 [ 10.115870][ T188] R10: 00007ffd42999df0 R11: 0000000000000246 R12: 0000000000000001 [ 10.115871][ T188] R13: 0000000000000000 R14: 00007f83995bb680 R15: 00007f83995bcfa0 [ 10.115878][ T188] [ 10.237394][ T192] ns1eth1: entered promiscuous mode [ 10.238415][ T192] ns1eth2: entered promiscuous mode [ 10.283323][ T193] ns2eth1: entered promiscuous mode [ 10.284237][ T193] ns2eth2: entered promiscuous mode [ 10.315755][ T194] ns3eth1: entered promiscuous mode [ 10.316669][ T194] ns3eth2: entered promiscuous mode [ 10.830635][ T209] hsr1: Slave A (ns1eth1) is not up; please bring it up to get a fully working HSR network [ 10.831344][ T209] hsr1: Slave B (ns1eth2) is not up; please bring it up to get a fully working HSR network [ 10.926535][ T212] hsr2: Slave A (ns2eth1) is not up; please bring it up to get a fully working HSR network [ 10.927061][ T212] hsr2: Slave B (ns2eth2) is not up; please bring it up to get a fully working HSR network [ 11.024417][ T215] hsr3: Slave B (ns3eth2) is not up; please bring it up to get a fully working HSR network [ 26.598759][ T353] 8021q: 802.1Q VLAN Support v1.8 [ 26.598779][ T353] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.598781][ T353] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 353, name: modprobe [ 26.598783][ T353] preempt_count: 1, expected: 0 [ 26.598783][ T353] RCU nest depth: 0, expected: 0 [ 26.598785][ T353] locks held by modprobe/353: 4, last CPU#2: [ 26.598787][ T353] #0: ffffffffb7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.598800][ T353] #1: ffffffffb7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.598804][ T353] #2: ffffffffb7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.598808][ T353] #3: ffffffffb7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.598813][ T353] irq event stamp: 26688 [ 26.598813][ T353] hardirqs last enabled at (26687): [] __down_trylock_console_sem+0x86/0xa0 [ 26.598816][ T353] hardirqs last disabled at (26688): [] console_emit_next_record+0x3d4/0x4c0 [ 26.598818][ T353] softirqs last enabled at (23518): [] handle_softirqs+0x67c/0x900 [ 26.598822][ T353] softirqs last disabled at (23019): [] __irq_exit_rcu+0x145/0x1c0 [ 26.598824][ T353] Preemption disabled at: [ 26.598825][ T353] [] vprintk_emit+0x31b/0x3e0 [ 26.598831][ T353] CPU: 2 UID: 0 PID: 353 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.598835][ T353] Tainted: [W]=WARN [ 26.598836][ T353] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.598838][ T353] Call Trace: [ 26.598840][ T353] [ 26.598841][ T353] dump_stack_lvl+0x6f/0xa0 [ 26.598847][ T353] ? vprintk_emit+0x31b/0x3e0 [ 26.598849][ T353] __might_resched.cold+0x1fe/0x2c1 [ 26.598854][ T353] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.598858][ T353] ? __kmalloc_noprof+0xdb/0x760 [ 26.598863][ T353] __kmalloc_noprof+0x443/0x760 [ 26.598865][ T353] ? alloc_buf.isra.0+0x4b/0x260 [ 26.598871][ T353] ? do_raw_spin_unlock+0x59/0x250 [ 26.598874][ T353] alloc_buf.isra.0+0x4b/0x260 [ 26.598877][ T353] put_chars+0x1e1/0x2f0 [ 26.598881][ T353] ? __send_to_port+0x420/0x420 [ 26.598882][ T353] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.598888][ T353] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.598890][ T353] ? validate_chain+0x38b/0xc20 [ 26.598895][ T353] hvc_console_print+0x292/0x780 [ 26.598898][ T353] ? __lock_acquire+0x518/0xc20 [ 26.598903][ T353] ? hvc_write+0x3a0/0x3a0 [ 26.598906][ T353] ? rcu_is_watching+0x16/0xd0 [ 26.598917][ T353] console_emit_next_record+0x22f/0x4c0 [ 26.598921][ T353] ? devkmsg_read+0x4b0/0x4b0 [ 26.598923][ T353] ? console_flush_one_record+0x106/0x710 [ 26.598926][ T353] ? rcu_is_watching+0x16/0xd0 [ 26.598929][ T353] ? lock_acquire+0x13c/0x160 [ 26.598933][ T353] console_flush_one_record+0x46f/0x710 [ 26.598937][ T353] ? console_emit_next_record+0x4c0/0x4c0 [ 26.598939][ T353] ? __lock_acquire+0x518/0xc20 [ 26.598944][ T353] console_unlock+0xee/0x1f0 [ 26.598947][ T353] ? console_flush_one_record+0x710/0x710 [ 26.598949][ T353] ? rcu_is_watching+0x16/0xd0 [ 26.598951][ T353] ? lock_acquire+0x60/0x160 [ 26.598955][ T353] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.598957][ T353] ? vprintk_emit+0x320/0x3e0 [ 26.598960][ T353] vprintk_emit+0x37c/0x3e0 [ 26.598965][ T353] ? wake_up_klogd_work_func+0x90/0x90 [ 26.598970][ T353] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 26.598974][ T353] _printk+0xc7/0x100 [ 26.598977][ T353] ? snapshot_read.cold+0x21/0x21 [ 26.598984][ T353] ? do_one_initcall+0x113/0x4f0 [ 26.598987][ T353] vlan_proto_init+0x24/0x90 [8021q] [ 26.598990][ T353] do_one_initcall+0x124/0x4f0 [ 26.598993][ T353] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 26.598998][ T353] ? do_init_module+0xae/0x8a0 [ 26.599001][ T353] ? kasan_unpoison+0x44/0x70 [ 26.599006][ T353] do_init_module+0x2ad/0x8a0 [ 26.599010][ T353] ? lockdep_hardirqs_on+0x91/0x130 [ 26.599014][ T353] ? free_module+0x470/0x470 [ 26.599017][ T353] ? kfree+0x123/0x590 [ 26.599021][ T353] load_module+0x1424/0x1bb0 [ 26.599029][ T353] ? layout_and_allocate.isra.0+0x680/0x680 [ 26.599033][ T353] ? __ia32_sys_fsconfig+0x180/0x180 [ 26.599035][ T353] ? add_chain_cache+0x12d/0x590 [ 26.599041][ T353] init_module_from_file+0x11f/0x1a0 [ 26.599044][ T353] ? __do_sys_init_module+0x220/0x220 [ 26.599052][ T353] ? __rwlock_init+0x150/0x150 [ 26.599056][ T353] ? do_raw_spin_unlock+0x59/0x250 [ 26.599059][ T353] idempotent_init_module+0x37b/0x7c0 [ 26.599062][ T353] ? init_module_from_file+0x1a0/0x1a0 [ 26.599069][ T353] ? rcu_is_watching+0x16/0xd0 [ 26.599071][ T353] ? cap_capable+0x1d7/0x3d0 [ 26.599078][ T353] __x64_sys_finit_module+0xdf/0x190 [ 26.599080][ T353] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.599084][ T353] do_syscall_64+0xff/0x530 [ 26.599087][ T353] ? exc_page_fault+0xee/0x100 [ 26.599089][ T353] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.599092][ T353] RIP: 0033:0x7f93d802d37d [ 26.599095][ T353] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 26.599097][ T353] RSP: 002b:00007fff214913b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 26.599100][ T353] RAX: ffffffffffffffda RBX: 0000557414dc9810 RCX: 00007f93d802d37d [ 26.599101][ T353] RDX: 0000000000000000 RSI: 00005573d9f48ffd RDI: 0000000000000000 [ 26.599102][ T353] RBP: 00007fff21491450 R08: 0000000000000000 R09: 0000000000000000 [ 26.599103][ T353] R10: 0000000000000000 R11: 0000000000000246 R12: 00005573d9f48ffd [ 26.599103][ T353] R13: 0000557414dc9960 R14: 0000000000040000 R15: 0000000000000000 [ 26.599110][ T353] [ 42.465658][ T71] ns1eth1: left promiscuous mode [ 42.465713][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.465715][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 42.465717][ T71] preempt_count: 1, expected: 0 [ 42.465718][ T71] RCU nest depth: 0, expected: 0 [ 42.465719][ T71] locks held by kworker/u16:1/71: 8, last CPU#1: [ 42.465722][ T71] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 42.465735][ T71] #1: ffa00000004c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 42.465739][ T71] #2: ffffffffb80c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 42.465746][ T71] #3: ffffffffb80e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 42.465750][ T71] #4: ffffffffb7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.465755][ T71] #5: ffffffffb7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.465759][ T71] #6: ffffffffb7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.465763][ T71] #7: ffffffffb7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 42.465767][ T71] irq event stamp: 22240 [ 42.465768][ T71] hardirqs last enabled at (22239): [] __down_trylock_console_sem+0x86/0xa0 [ 42.465770][ T71] hardirqs last disabled at (22240): [] console_emit_next_record+0x3d4/0x4c0 [ 42.465772][ T71] softirqs last enabled at (22208): [] handle_softirqs+0x67c/0x900 [ 42.465775][ T71] softirqs last disabled at (22159): [] __irq_exit_rcu+0x145/0x1c0 [ 42.465778][ T71] Preemption disabled at: [ 42.465779][ T71] [] vprintk_emit+0x31b/0x3e0 [ 42.465784][ T71] CPU: 1 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.465788][ T71] Tainted: [W]=WARN [ 42.465789][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.465791][ T71] Workqueue: netns cleanup_net [ 42.465795][ T71] Call Trace: [ 42.465796][ T71] [ 42.465799][ T71] dump_stack_lvl+0x6f/0xa0 [ 42.465805][ T71] ? vprintk_emit+0x31b/0x3e0 [ 42.465807][ T71] __might_resched.cold+0x1fe/0x2c1 [ 42.465812][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.465817][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 42.465822][ T71] __kmalloc_noprof+0x443/0x760 [ 42.465825][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 42.465831][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 42.465834][ T71] alloc_buf.isra.0+0x4b/0x260 [ 42.465838][ T71] put_chars+0x1e1/0x2f0 [ 42.465840][ T71] ? check_prev_add+0xef/0xe90 [ 42.465843][ T71] ? __send_to_port+0x420/0x420 [ 42.465847][ T71] ? validate_chain+0x34a/0xc20 [ 42.465852][ T71] hvc_console_print+0x292/0x780 [ 42.465860][ T71] ? hvc_write+0x3a0/0x3a0 [ 42.465863][ T71] ? rcu_is_watching+0x16/0xd0 [ 42.465867][ T71] ? lock_acquire+0x13c/0x160 [ 42.465872][ T71] console_emit_next_record+0x22f/0x4c0 [ 42.465876][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 42.465878][ T71] ? console_flush_one_record+0x106/0x710 [ 42.465882][ T71] ? rcu_is_watching+0x16/0xd0 [ 42.465885][ T71] ? lock_acquire+0x13c/0x160 [ 42.465889][ T71] console_flush_one_record+0x46f/0x710 [ 42.465894][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 42.465896][ T71] ? __lock_acquire+0x518/0xc20 [ 42.465902][ T71] console_unlock+0xee/0x1f0 [ 42.465905][ T71] ? console_flush_one_record+0x710/0x710 [ 42.465907][ T71] ? rcu_is_watching+0x16/0xd0 [ 42.465910][ T71] ? lock_acquire+0x60/0x160 [ 42.465914][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.465916][ T71] ? vprintk_emit+0x320/0x3e0 [ 42.465920][ T71] vprintk_emit+0x37c/0x3e0 [ 42.465924][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 42.465927][ T71] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 42.465929][ T71] ? lockdep_hardirqs_on+0x91/0x130 [ 42.465932][ T71] ? finish_task_switch.isra.0+0x209/0xa70 [ 42.465934][ T71] ? finish_task_switch.isra.0+0x209/0xa70 [ 42.465938][ T71] _printk+0xc7/0x100 [ 42.465942][ T71] ? snapshot_read.cold+0x21/0x21 [ 42.465946][ T71] ? synchronize_rcu_expedited+0x440/0x510 [ 42.465949][ T71] ? netdev_name+0x43/0x60 [ 42.465952][ T71] ? __netdev_printk+0x17f/0x1d0 [ 42.465956][ T71] netdev_info+0xe2/0x116 [ 42.465959][ T71] ? netdev_notice+0x120/0x120 [ 42.465963][ T71] ? synchronize_rcu_expedited+0x440/0x510 [ 42.465964][ T71] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 42.465967][ T71] ? synchronize_rcu_normal+0x340/0x340 [ 42.465971][ T71] ? mutex_is_locked+0x1c/0x50 [ 42.465975][ T71] __dev_set_promiscuity.cold+0x95/0x104 [ 42.465978][ T71] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 42.465981][ T71] netif_set_promiscuity+0x4c/0xc0 [ 42.465986][ T71] dev_set_promiscuity+0x9d/0x150 [ 42.465989][ T71] hsr_del_port+0x39d/0x540 [ 42.465995][ T71] hsr_del_ports+0x24/0x80 [ 42.465998][ T71] hsr_dellink+0x5d/0x90 [ 42.466001][ T71] default_device_exit_batch+0x19d/0x600 [ 42.466005][ T71] ? unregister_netdevice_queue+0x470/0x470 [ 42.466008][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.466010][ T71] ? mutex_is_locked+0x1c/0x50 [ 42.466021][ T71] ops_undo_list+0x2ce/0x8f0 [ 42.466026][ T71] ? lockdep_hardirqs_on+0x91/0x130 [ 42.466028][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 42.466030][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 42.466033][ T71] ? idr_destroy+0x121/0x250 [ 42.466038][ T71] cleanup_net+0x431/0x890 [ 42.466042][ T71] ? net_passive_dec+0x230/0x230 [ 42.466046][ T71] ? lock_acquire+0x13c/0x160 [ 42.466048][ T71] ? rcu_is_watching+0x16/0xd0 [ 42.466053][ T71] process_one_work+0xe3e/0x1560 [ 42.466060][ T71] ? __queue_delayed_work+0x470/0x470 [ 42.466063][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 42.466072][ T71] worker_thread+0x4f1/0xd60 [ 42.466077][ T71] ? rescuer_thread+0x1340/0x1340 [ 42.466079][ T71] ? __kthread_parkme+0xbd/0x210 [ 42.466083][ T71] ? rescuer_thread+0x1340/0x1340 [ 42.466086][ T71] ? rescuer_thread+0x1340/0x1340 [ 42.466088][ T71] kthread+0x367/0x460 [ 42.466090][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.466094][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.466097][ T71] ret_from_fork+0x474/0x6b0 [ 42.466101][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 42.466105][ T71] ? __switch_to+0x5a3/0xe00 [ 42.466108][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.466111][ T71] ret_from_fork_asm+0x11/0x20 [ 42.466122][ T71] [ 42.501865][ T71] ns1eth2: left promiscuous mode [ 42.523637][ T71] ns3eth1 (unregistering): left promiscuous mode [ 42.527458][ T71] ns2eth1 (unregistering): left promiscuous mode [ 42.778129][ T71] ns2eth2: left promiscuous mode [ 42.789960][ T71] ns3eth2 (unregistering): left promiscuous mode [ 43.449366][ T522] ns1eth1: entered promiscuous mode [ 43.450168][ T522] ns1eth2: entered promiscuous mode [ 43.489826][ T523] ns2eth1: entered promiscuous mode [ 43.489840][ T523] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.489842][ T523] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 523, name: ip [ 43.489844][ T523] preempt_count: 1, expected: 0 [ 43.489844][ T523] RCU nest depth: 0, expected: 0 [ 43.489846][ T523] locks held by ip/523: 6, last CPU#3: [ 43.489848][ T523] #0: ffffffffb82f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 43.489861][ T523] #1: ffffffffb80e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 43.489865][ T523] #2: ffffffffb7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.489871][ T523] #3: ffffffffb7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.489875][ T523] #4: ffffffffb7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.489880][ T523] #5: ffffffffb7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.489884][ T523] irq event stamp: 24652 [ 43.489885][ T523] hardirqs last enabled at (24651): [] __down_trylock_console_sem+0x86/0xa0 [ 43.489888][ T523] hardirqs last disabled at (24652): [] console_emit_next_record+0x3d4/0x4c0 [ 43.489890][ T523] softirqs last enabled at (24568): [] __alloc_skb+0x4c2/0x5f0 [ 43.489894][ T523] softirqs last disabled at (24566): [] __alloc_skb+0x4c2/0x5f0 [ 43.489896][ T523] Preemption disabled at: [ 43.489897][ T523] [] vprintk_emit+0x31b/0x3e0 [ 43.489903][ T523] CPU: 3 UID: 0 PID: 523 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.489907][ T523] Tainted: [W]=WARN [ 43.489908][ T523] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.489909][ T523] Call Trace: [ 43.489911][ T523] [ 43.489913][ T523] dump_stack_lvl+0x6f/0xa0 [ 43.489919][ T523] ? vprintk_emit+0x31b/0x3e0 [ 43.489921][ T523] __might_resched.cold+0x1fe/0x2c1 [ 43.489927][ T523] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.489931][ T523] ? __kmalloc_noprof+0xdb/0x760 [ 43.489936][ T523] __kmalloc_noprof+0x443/0x760 [ 43.489938][ T523] ? alloc_buf.isra.0+0x4b/0x260 [ 43.489944][ T523] ? do_raw_spin_unlock+0x59/0x250 [ 43.489947][ T523] alloc_buf.isra.0+0x4b/0x260 [ 43.489951][ T523] put_chars+0x1e1/0x2f0 [ 43.489954][ T523] ? __send_to_port+0x420/0x420 [ 43.489960][ T523] hvc_console_print+0x292/0x780 [ 43.489967][ T523] ? hvc_write+0x3a0/0x3a0 [ 43.489970][ T523] ? lock_acquire+0x13c/0x160 [ 43.489975][ T523] console_emit_next_record+0x22f/0x4c0 [ 43.489979][ T523] ? devkmsg_read+0x4b0/0x4b0 [ 43.489981][ T523] ? console_flush_one_record+0x106/0x710 [ 43.489984][ T523] ? rcu_is_watching+0x16/0xd0 [ 43.489989][ T523] ? lock_acquire+0x13c/0x160 [ 43.489993][ T523] console_flush_one_record+0x46f/0x710 [ 43.489997][ T523] ? console_emit_next_record+0x4c0/0x4c0 [ 43.489999][ T523] ? __lock_acquire+0x518/0xc20 [ 43.490005][ T523] console_unlock+0xee/0x1f0 [ 43.490008][ T523] ? console_flush_one_record+0x710/0x710 [ 43.490010][ T523] ? rcu_is_watching+0x16/0xd0 [ 43.490013][ T523] ? lock_acquire+0x60/0x160 [ 43.490017][ T523] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.490019][ T523] ? vprintk_emit+0x320/0x3e0 [ 43.490028][ T523] vprintk_emit+0x37c/0x3e0 [ 43.490032][ T523] ? wake_up_klogd_work_func+0x90/0x90 [ 43.490034][ T523] ? kasan_save_stack+0x3d/0x50 [ 43.490037][ T523] ? kasan_save_track+0x14/0x30 [ 43.490039][ T523] ? __kasan_kmalloc+0x7b/0x90 [ 43.490041][ T523] ? __kmalloc_cache_noprof+0x29a/0x620 [ 43.490043][ T523] ? hsr_add_port+0x1eb/0xb60 [ 43.490046][ T523] ? hsr_dev_finalize+0x841/0xcf0 [ 43.490049][ T523] ? hsr_newlink+0x3b9/0x930 [ 43.490052][ T523] _printk+0xc7/0x100 [ 43.490056][ T523] ? snapshot_read.cold+0x21/0x21 [ 43.490058][ T523] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 43.490063][ T523] ? netdev_name+0x43/0x60 [ 43.490066][ T523] ? __netdev_printk+0x17f/0x1d0 [ 43.490070][ T523] netdev_info+0xe2/0x116 [ 43.490072][ T523] ? netdev_notice+0x120/0x120 [ 43.490079][ T523] ? mutex_is_locked+0x1c/0x50 [ 43.490084][ T523] __dev_set_promiscuity.cold+0x95/0x104 [ 43.490088][ T523] netif_set_promiscuity+0x4c/0xc0 [ 43.490093][ T523] dev_set_promiscuity+0x9d/0x150 [ 43.490096][ T523] hsr_add_port+0x48c/0xb60 [ 43.490100][ T523] ? hsr_port_exists+0x60/0x60 [ 43.490103][ T523] ? timer_init_key+0x10d/0x280 [ 43.490109][ T523] hsr_dev_finalize+0x841/0xcf0 [ 43.490111][ T523] ? alloc_netdev_mqs+0xe11/0x14d0 [ 43.490116][ T523] ? alloc_netdev_mqs+0xf05/0x14d0 [ 43.490118][ T523] hsr_newlink+0x3b9/0x930 [ 43.490121][ T523] ? hsr_dellink+0x90/0x90 [ 43.490124][ T523] ? rtnl_create_link+0x169/0xf20 [ 43.490126][ T523] ? nla_strscpy+0xe3/0x180 [ 43.490131][ T523] rtnl_newlink_create+0x2d0/0x750 [ 43.490135][ T523] ? rtnl_create_link+0xf20/0xf20 [ 43.490137][ T523] ? __dev_get_by_name+0x12/0x50 [ 43.490139][ T523] ? rtnl_dev_get+0xd7/0x170 [ 43.490148][ T523] __rtnl_newlink+0x22b/0xa50 [ 43.490155][ T523] rtnl_newlink+0x9f1/0x11c0 [ 43.490160][ T523] ? rtnl_bridge_getlink+0x850/0x850 [ 43.490163][ T523] ? __lock_acquire+0x518/0xc20 [ 43.490170][ T523] ? __lock_release.isra.0+0x69/0x1a0 [ 43.490174][ T523] ? rtnl_bridge_getlink+0x850/0x850 [ 43.490176][ T523] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 43.490179][ T523] ? rtnl_link_fill+0x920/0x920 [ 43.490181][ T523] ? __lock_acquire+0x518/0xc20 [ 43.490186][ T523] ? lock_acquire.part.0+0xd4/0x280 [ 43.490188][ T523] ? find_held_lock+0x2b/0x80 [ 43.490192][ T523] netlink_rcv_skb+0x14e/0x3a0 [ 43.490195][ T523] ? rtnl_link_fill+0x920/0x920 [ 43.490198][ T523] ? netlink_ack+0xcf0/0xcf0 [ 43.490205][ T523] ? netlink_deliver_tap+0xc5/0x330 [ 43.490208][ T523] ? netlink_deliver_tap+0x13c/0x330 [ 43.490212][ T523] netlink_unicast+0x486/0x750 [ 43.490217][ T523] ? netlink_attachskb+0x810/0x810 [ 43.490220][ T523] ? __lock_acquire+0x518/0xc20 [ 43.490224][ T523] netlink_sendmsg+0x735/0xc60 [ 43.490229][ T523] ? netlink_unicast+0x750/0x750 [ 43.490233][ T523] ? __might_fault+0x97/0x140 [ 43.490239][ T523] ____sys_sendmsg+0x415/0x880 [ 43.490243][ T523] ? copy_msghdr_from_user+0x279/0x420 [ 43.490245][ T523] ? get_timestamp.constprop.0+0x390/0x390 [ 43.490247][ T523] ? move_addr_to_kernel+0x40/0x40 [ 43.490255][ T523] ___sys_sendmsg+0x14e/0x1d0 [ 43.490258][ T523] ? copy_msghdr_from_user+0x420/0x420 [ 43.490275][ T523] __sys_sendmsg+0x12c/0x1d0 [ 43.490279][ T523] ? __sys_sendmsg_sock+0x20/0x20 [ 43.490285][ T523] ? rcu_is_watching+0x16/0xd0 [ 43.490289][ T523] do_syscall_64+0xff/0x530 [ 43.490293][ T523] ? exc_page_fault+0xee/0x100 [ 43.490296][ T523] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 43.490298][ T523] RIP: 0033:0x7f67b21d454e [ 43.490302][ T523] 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 [ 43.490304][ T523] RSP: 002b:00007ffd45033d90 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 43.490307][ T523] RAX: ffffffffffffffda RBX: 00007ffd45034540 RCX: 00007f67b21d454e [ 43.490308][ T523] RDX: 0000000000000000 RSI: 00007ffd45033e40 RDI: 0000000000000005 [ 43.490309][ T523] RBP: 00007ffd45033da0 R08: 0000000000000000 R09: 0000000000000000 [ 43.490310][ T523] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90fdf0 [ 43.490311][ T523] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd45034510 [ 43.490318][ T523] [ 43.525126][ T523] ns2eth2: entered promiscuous mode [ 43.531261][ T523] ip (523) used greatest stack depth: 23336 bytes left [ 43.560749][ T524] ns3eth1: entered promiscuous mode [ 43.561633][ T524] ns3eth2: entered promiscuous mode [ 44.035316][ T539] hsr1: Slave A (ns1eth1) is not up; please bring it up to get a fully working HSR network [ 44.035870][ T539] hsr1: Slave B (ns1eth2) is not up; please bring it up to get a fully working HSR network [ 44.123311][ T542] hsr2: Slave A (ns2eth1) is not up; please bring it up to get a fully working HSR network [ 44.124410][ T542] hsr2: Slave B (ns2eth2) is not up; please bring it up to get a fully working HSR network [ 44.220530][ T545] hsr3: Slave B (ns3eth2) is not up; please bring it up to get a fully working HSR network [ 76.501141][ T71] ns1eth1: left promiscuous mode [ 76.501160][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 76.501162][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 76.501164][ T71] preempt_count: 1, expected: 0 [ 76.501165][ T71] RCU nest depth: 0, expected: 0 [ 76.501166][ T71] locks held by kworker/u16:1/71: 8, last CPU#3: [ 76.501169][ T71] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 76.501182][ T71] #1: ffa00000004c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 76.501186][ T71] #2: ffffffffb80c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 76.501192][ T71] #3: ffffffffb80e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 76.501196][ T71] #4: ffffffffb7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 76.501202][ T71] #5: ffffffffb7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 76.501205][ T71] #6: ffffffffb7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 76.501210][ T71] #7: ffffffffb7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 76.501214][ T71] irq event stamp: 162816 [ 76.501214][ T71] hardirqs last enabled at (162815): [] __down_trylock_console_sem+0x86/0xa0 [ 76.501217][ T71] hardirqs last disabled at (162816): [] console_emit_next_record+0x3d4/0x4c0 [ 76.501219][ T71] softirqs last enabled at (162650): [] inet6_fill_ifla6_attrs+0x1ac2/0x2140 [ 76.501223][ T71] softirqs last disabled at (162648): [] inet6_fill_ifla6_attrs+0x1a72/0x2140 [ 76.501225][ T71] Preemption disabled at: [ 76.501226][ T71] [] vprintk_emit+0x31b/0x3e0 [ 76.501238][ T71] CPU: 3 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 76.501242][ T71] Tainted: [W]=WARN [ 76.501243][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 76.501245][ T71] Workqueue: netns cleanup_net [ 76.501248][ T71] Call Trace: [ 76.501250][ T71] [ 76.501252][ T71] dump_stack_lvl+0x6f/0xa0 [ 76.501258][ T71] ? vprintk_emit+0x31b/0x3e0 [ 76.501260][ T71] __might_resched.cold+0x1fe/0x2c1 [ 76.501265][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 76.501269][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 76.501274][ T71] __kmalloc_noprof+0x443/0x760 [ 76.501277][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 76.501283][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 76.501286][ T71] alloc_buf.isra.0+0x4b/0x260 [ 76.501289][ T71] put_chars+0x1e1/0x2f0 [ 76.501293][ T71] ? __send_to_port+0x420/0x420 [ 76.501296][ T71] ? validate_chain+0x38b/0xc20 [ 76.501302][ T71] hvc_console_print+0x292/0x780 [ 76.501310][ T71] ? hvc_write+0x3a0/0x3a0 [ 76.501312][ T71] ? rcu_is_watching+0x16/0xd0 [ 76.501317][ T71] ? lock_acquire+0x13c/0x160 [ 76.501321][ T71] console_emit_next_record+0x22f/0x4c0 [ 76.501326][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 76.501327][ T71] ? console_flush_one_record+0x106/0x710 [ 76.501331][ T71] ? rcu_is_watching+0x16/0xd0 [ 76.501333][ T71] ? lock_acquire+0x13c/0x160 [ 76.501338][ T71] console_flush_one_record+0x46f/0x710 [ 76.501342][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 76.501344][ T71] ? __lock_acquire+0x518/0xc20 [ 76.501350][ T71] console_unlock+0xee/0x1f0 [ 76.501353][ T71] ? console_flush_one_record+0x710/0x710 [ 76.501355][ T71] ? rcu_is_watching+0x16/0xd0 [ 76.501357][ T71] ? lock_acquire+0x60/0x160 [ 76.501361][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 76.501363][ T71] ? vprintk_emit+0x320/0x3e0 [ 76.501366][ T71] vprintk_emit+0x37c/0x3e0 [ 76.501370][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 76.501373][ T71] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 76.501375][ T71] ? lockdep_hardirqs_on+0x91/0x130 [ 76.501378][ T71] ? finish_task_switch.isra.0+0x209/0xa70 [ 76.501380][ T71] ? finish_task_switch.isra.0+0x209/0xa70 [ 76.501383][ T71] _printk+0xc7/0x100 [ 76.501387][ T71] ? snapshot_read.cold+0x21/0x21 [ 76.501390][ T71] ? synchronize_rcu_expedited+0x440/0x510 [ 76.501393][ T71] ? netdev_name+0x43/0x60 [ 76.501397][ T71] ? __netdev_printk+0x17f/0x1d0 [ 76.501401][ T71] netdev_info+0xe2/0x116 [ 76.501403][ T71] ? netdev_notice+0x120/0x120 [ 76.501407][ T71] ? synchronize_rcu_expedited+0x440/0x510 [ 76.501408][ T71] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 76.501411][ T71] ? synchronize_rcu_normal+0x340/0x340 [ 76.501414][ T71] ? mutex_is_locked+0x1c/0x50 [ 76.501418][ T71] __dev_set_promiscuity.cold+0x95/0x104 [ 76.501421][ T71] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 76.501424][ T71] netif_set_promiscuity+0x4c/0xc0 [ 76.501429][ T71] dev_set_promiscuity+0x9d/0x150 [ 76.501432][ T71] hsr_del_port+0x39d/0x540 [ 76.501437][ T71] hsr_del_ports+0x24/0x80 [ 76.501440][ T71] hsr_dellink+0x5d/0x90 [ 76.501443][ T71] default_device_exit_batch+0x19d/0x600 [ 76.501447][ T71] ? unregister_netdevice_queue+0x470/0x470 [ 76.501449][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 76.501452][ T71] ? mutex_is_locked+0x1c/0x50 [ 76.501456][ T71] ops_undo_list+0x2ce/0x8f0 [ 76.501460][ T71] ? lockdep_hardirqs_on+0x91/0x130 [ 76.501462][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 76.501464][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 76.501467][ T71] ? idr_destroy+0x121/0x250 [ 76.501472][ T71] cleanup_net+0x431/0x890 [ 76.501475][ T71] ? net_passive_dec+0x230/0x230 [ 76.501479][ T71] ? lock_acquire+0x13c/0x160 [ 76.501481][ T71] ? rcu_is_watching+0x16/0xd0 [ 76.501486][ T71] process_one_work+0xe3e/0x1560 [ 76.501493][ T71] ? __queue_delayed_work+0x470/0x470 [ 76.501500][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 76.501512][ T71] worker_thread+0x4f1/0xd60 [ 76.501519][ T71] ? rescuer_thread+0x1340/0x1340 [ 76.501522][ T71] ? __kthread_parkme+0xbd/0x210 [ 76.501527][ T71] ? rescuer_thread+0x1340/0x1340 [ 76.501531][ T71] ? rescuer_thread+0x1340/0x1340 [ 76.501534][ T71] kthread+0x367/0x460 [ 76.501536][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 76.501540][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.501543][ T71] ret_from_fork+0x474/0x6b0 [ 76.501547][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 76.501551][ T71] ? __switch_to+0x5a3/0xe00 [ 76.501555][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 76.501558][ T71] ret_from_fork_asm+0x11/0x20 [ 76.501569][ T71] [ 76.536894][ T71] ns1eth2: left promiscuous mode [ 76.564094][ T71] ns3eth1 (unregistering): left promiscuous mode [ 76.567420][ T71] ns2eth1 (unregistering): left promiscuous mode [ 76.651105][ T71] ns2eth2: left promiscuous mode [ 76.675184][ T71] ns3eth2 (unregistering): left promiscuous mode