[ 10.255439][ T181] ip (181) used greatest stack depth: 24400 bytes left [ 10.255458][ T181] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.255461][ T181] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 181, name: ip [ 10.255463][ T181] preempt_count: 2, expected: 0 [ 10.255463][ T181] RCU nest depth: 0, expected: 0 [ 10.255465][ T181] locks held by ip/181: 5, last CPU#0: [ 10.255467][ T181] #0: ffffffff90c127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.255478][ T181] #1: ffffffff90d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.255485][ T181] #2: ffffffff90d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.255489][ T181] #3: ffffffff90c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.255492][ T181] #4: ffffffff90c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.255497][ T181] irq event stamp: 38004 [ 10.255497][ T181] hardirqs last enabled at (38003): [] __down_trylock_console_sem+0x86/0xa0 [ 10.255500][ T181] hardirqs last disabled at (38004): [] console_emit_next_record+0x3d4/0x4c0 [ 10.255502][ T181] softirqs last enabled at (36442): [] netlink_release+0x17b/0xcf0 [ 10.255506][ T181] softirqs last disabled at (36440): [] netlink_release+0xd2/0xcf0 [ 10.255509][ T181] Preemption disabled at: [ 10.255510][ T181] [<0000000000000000>] 0x0 [ 10.255517][ T181] CPU: 0 UID: 0 PID: 181 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.255520][ T181] Tainted: [W]=WARN [ 10.255521][ T181] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.255523][ T181] Call Trace: [ 10.255525][ T181] [ 10.255527][ T181] dump_stack_lvl+0x6f/0xa0 [ 10.255533][ T181] __might_resched.cold+0x1fe/0x2c1 [ 10.255538][ T181] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.255543][ T181] ? __kmalloc_noprof+0xdb/0x760 [ 10.255548][ T181] __kmalloc_noprof+0x443/0x760 [ 10.255551][ T181] ? alloc_buf.isra.0+0x4b/0x260 [ 10.255557][ T181] ? do_raw_spin_unlock+0x59/0x250 [ 10.255560][ T181] alloc_buf.isra.0+0x4b/0x260 [ 10.255564][ T181] put_chars+0x1e1/0x2f0 [ 10.255568][ T181] ? __send_to_port+0x420/0x420 [ 10.255569][ T181] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.255575][ T181] ? validate_chain+0x38b/0xc20 [ 10.255581][ T181] hvc_console_print+0x292/0x780 [ 10.255589][ T181] ? hvc_write+0x3a0/0x3a0 [ 10.255591][ T181] ? rcu_is_watching+0x16/0xd0 [ 10.255594][ T181] ? lock_acquire+0x13c/0x160 [ 10.255598][ T181] console_emit_next_record+0x22f/0x4c0 [ 10.255603][ T181] ? devkmsg_read+0x4b0/0x4b0 [ 10.255605][ T181] ? console_flush_one_record+0x106/0x710 [ 10.255608][ T181] ? rcu_is_watching+0x16/0xd0 [ 10.255611][ T181] ? lock_acquire+0x13c/0x160 [ 10.255615][ T181] console_flush_one_record+0x46f/0x710 [ 10.255620][ T181] ? console_emit_next_record+0x4c0/0x4c0 [ 10.255622][ T181] ? __lock_acquire+0x518/0xc20 [ 10.255628][ T181] console_unlock+0xee/0x1f0 [ 10.255631][ T181] ? console_flush_one_record+0x710/0x710 [ 10.255633][ T181] ? rcu_is_watching+0x16/0xd0 [ 10.255636][ T181] ? lock_acquire+0x60/0x160 [ 10.255640][ T181] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.255642][ T181] ? vprintk_emit+0x320/0x3e0 [ 10.255646][ T181] vprintk_emit+0x37c/0x3e0 [ 10.255650][ T181] ? wake_up_klogd_work_func+0x90/0x90 [ 10.255654][ T181] ? __lock_acquire+0x518/0xc20 [ 10.255658][ T181] _printk+0xc7/0x100 [ 10.255662][ T181] ? snapshot_read.cold+0x21/0x21 [ 10.255665][ T181] ? do_raw_spin_lock+0x131/0x280 [ 10.255668][ T181] ? __rwlock_init+0x150/0x150 [ 10.255672][ T181] ? do_raw_spin_lock+0x131/0x280 [ 10.255675][ T181] do_exit.cold+0x82/0x9c [ 10.255680][ T181] ? exit_notify+0x890/0x890 [ 10.255681][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 10.255684][ T181] ? rcu_is_watching+0x16/0xd0 [ 10.255689][ T181] do_group_exit+0xb8/0x370 [ 10.255692][ T181] __x64_sys_exit_group+0x3c/0x50 [ 10.255694][ T181] x64_sys_call+0x1567/0x1570 [ 10.255697][ T181] do_syscall_64+0xff/0x530 [ 10.255701][ T181] ? exc_page_fault+0xee/0x100 [ 10.255704][ T181] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.255706][ T181] RIP: 0033:0x7f2d911281b8 [ 10.255709][ T181] Code: Unable to access opcode bytes at 0x7f2d9112818e. [ 10.255710][ T181] RSP: 002b:00007ffef67464d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.255712][ T181] RAX: ffffffffffffffda RBX: 00007f2d91258f88 RCX: 00007f2d911281b8 [ 10.255714][ T181] RDX: 00007f2d90e72fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.255715][ T181] RBP: 00007ffef6746530 R08: 0000000000000000 R09: 0000000000000050 [ 10.255716][ T181] R10: 00007ffef67462f0 R11: 0000000000000246 R12: 0000000000000001 [ 10.255716][ T181] R13: 0000000000000000 R14: 00007f2d91257680 R15: 00007f2d91258fa0 [ 10.255725][ T181] [ 10.449743][ T186] ip (186) used greatest stack depth: 24256 bytes left [ 11.007314][ T197] ip (197) used greatest stack depth: 24128 bytes left [ 11.082220][ T199] rb_a: entered promiscuous mode [ 11.083247][ T199] rb_b: entered promiscuous mode [ 11.084247][ T199] rb_il: entered promiscuous mode [ 11.159980][ T201] pe_a: entered promiscuous mode [ 11.160821][ T201] pe_b: entered promiscuous mode [ 11.161640][ T201] debugfs: 'prp0' already exists in 'hsr' [ 11.161891][ T201] Cannot create hsr debugfs directory [ 11.189137][ T202] prp0: Slave A (pe_a) is not up; please bring it up to get a fully working HSR network [ 17.962176][ T69] rb_a: left promiscuous mode [ 17.962224][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.962226][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 17.962228][ T69] preempt_count: 1, expected: 0 [ 17.962229][ T69] RCU nest depth: 0, expected: 0 [ 17.962230][ T69] locks held by kworker/u16:1/69: 8, last CPU#0: [ 17.962232][ T69] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 17.962245][ T69] #1: ffa00000004a7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 17.962248][ T69] #2: ffffffff914c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 17.962257][ T69] #3: ffffffff914e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 17.962261][ T69] #4: ffffffff90d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.962266][ T69] #5: ffffffff90d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.962270][ T69] #6: ffffffff90c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.962273][ T69] #7: ffffffff90c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.962277][ T69] irq event stamp: 8792 [ 17.962278][ T69] hardirqs last enabled at (8791): [] __down_trylock_console_sem+0x86/0xa0 [ 17.962280][ T69] hardirqs last disabled at (8792): [] console_emit_next_record+0x3d4/0x4c0 [ 17.962282][ T69] softirqs last enabled at (8664): [] tcp_close+0x2b/0xb0 [ 17.962285][ T69] softirqs last disabled at (8662): [] release_sock+0x21/0x240 [ 17.962289][ T69] Preemption disabled at: [ 17.962289][ T69] [] vprintk_emit+0x31b/0x3e0 [ 17.962295][ T69] CPU: 0 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.962299][ T69] Tainted: [W]=WARN [ 17.962300][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.962302][ T69] Workqueue: netns cleanup_net [ 17.962305][ T69] Call Trace: [ 17.962307][ T69] [ 17.962309][ T69] dump_stack_lvl+0x6f/0xa0 [ 17.962315][ T69] ? vprintk_emit+0x31b/0x3e0 [ 17.962318][ T69] __might_resched.cold+0x1fe/0x2c1 [ 17.962322][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.962327][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 17.962332][ T69] __kmalloc_noprof+0x443/0x760 [ 17.962335][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 17.962342][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 17.962344][ T69] alloc_buf.isra.0+0x4b/0x260 [ 17.962348][ T69] put_chars+0x1e1/0x2f0 [ 17.962351][ T69] ? check_prev_add+0xef/0xe90 [ 17.962353][ T69] ? __send_to_port+0x420/0x420 [ 17.962357][ T69] ? validate_chain+0x34a/0xc20 [ 17.962363][ T69] hvc_console_print+0x292/0x780 [ 17.962371][ T69] ? hvc_write+0x3a0/0x3a0 [ 17.962378][ T69] ? rcu_is_watching+0x16/0xd0 [ 17.962382][ T69] ? lock_acquire+0x13c/0x160 [ 17.962387][ T69] console_emit_next_record+0x22f/0x4c0 [ 17.962392][ T69] ? devkmsg_read+0x4b0/0x4b0 [ 17.962394][ T69] ? console_flush_one_record+0x106/0x710 [ 17.962397][ T69] ? rcu_is_watching+0x16/0xd0 [ 17.962400][ T69] ? lock_acquire+0x13c/0x160 [ 17.962405][ T69] console_flush_one_record+0x46f/0x710 [ 17.962410][ T69] ? console_emit_next_record+0x4c0/0x4c0 [ 17.962412][ T69] ? __lock_acquire+0x518/0xc20 [ 17.962418][ T69] console_unlock+0xee/0x1f0 [ 17.962422][ T69] ? console_flush_one_record+0x710/0x710 [ 17.962424][ T69] ? rcu_is_watching+0x16/0xd0 [ 17.962426][ T69] ? lock_acquire+0x60/0x160 [ 17.962431][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.962432][ T69] ? vprintk_emit+0x320/0x3e0 [ 17.962436][ T69] vprintk_emit+0x37c/0x3e0 [ 17.962441][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 17.962444][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.962446][ T69] ? lockdep_hardirqs_on+0x91/0x130 [ 17.962449][ T69] ? finish_task_switch.isra.0+0x209/0xa70 [ 17.962451][ T69] ? finish_task_switch.isra.0+0x209/0xa70 [ 17.962455][ T69] _printk+0xc7/0x100 [ 17.962459][ T69] ? snapshot_read.cold+0x21/0x21 [ 17.962462][ T69] ? synchronize_rcu_expedited+0x440/0x510 [ 17.962465][ T69] ? netdev_name+0x43/0x60 [ 17.962469][ T69] ? __netdev_printk+0x17f/0x1d0 [ 17.962473][ T69] netdev_info+0xe2/0x116 [ 17.962476][ T69] ? netdev_notice+0x120/0x120 [ 17.962480][ T69] ? synchronize_rcu_expedited+0x440/0x510 [ 17.962481][ T69] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 17.962484][ T69] ? synchronize_rcu_normal+0x340/0x340 [ 17.962488][ T69] ? mutex_is_locked+0x1c/0x50 [ 17.962492][ T69] __dev_set_promiscuity.cold+0x95/0x104 [ 17.962495][ T69] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 17.962499][ T69] netif_set_promiscuity+0x4c/0xc0 [ 17.962503][ T69] dev_set_promiscuity+0x9d/0x150 [ 17.962506][ T69] hsr_del_port+0x39d/0x540 [ 17.962513][ T69] hsr_del_ports+0x24/0x80 [ 17.962515][ T69] hsr_dellink+0x5d/0x90 [ 17.962518][ T69] default_device_exit_batch+0x19d/0x600 [ 17.962523][ T69] ? unregister_netdevice_queue+0x470/0x470 [ 17.962526][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.962528][ T69] ? mutex_is_locked+0x1c/0x50 [ 17.962533][ T69] ops_undo_list+0x2ce/0x8f0 [ 17.962537][ T69] ? lockdep_hardirqs_on+0x91/0x130 [ 17.962540][ T69] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 17.962541][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 17.962545][ T69] ? idr_destroy+0x121/0x250 [ 17.962550][ T69] cleanup_net+0x431/0x890 [ 17.962554][ T69] ? net_passive_dec+0x230/0x230 [ 17.962559][ T69] ? lock_acquire+0x13c/0x160 [ 17.962561][ T69] ? rcu_is_watching+0x16/0xd0 [ 17.962565][ T69] process_one_work+0xe3e/0x1560 [ 17.962573][ T69] ? __queue_delayed_work+0x470/0x470 [ 17.962577][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 17.962586][ T69] worker_thread+0x4f1/0xd60 [ 17.962591][ T69] ? rescuer_thread+0x1340/0x1340 [ 17.962593][ T69] ? __kthread_parkme+0xbd/0x210 [ 17.962597][ T69] ? rescuer_thread+0x1340/0x1340 [ 17.962600][ T69] ? rescuer_thread+0x1340/0x1340 [ 17.962602][ T69] kthread+0x367/0x460 [ 17.962604][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.962607][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.962610][ T69] ret_from_fork+0x474/0x6b0 [ 17.962615][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 17.962619][ T69] ? __switch_to+0x5a3/0xe00 [ 17.962622][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.962625][ T69] ret_from_fork_asm+0x11/0x20 [ 17.962636][ T69] [ 17.992147][ T69] rb_b: left promiscuous mode [ 17.993511][ T69] rb_il: left promiscuous mode [ 18.011345][ T69] pe_b (unregistering): left promiscuous mode [ 18.016761][ T69] pe_a (unregistering): left promiscuous mode