[ 9.087358][ T181] ip (181) used greatest stack depth: 24272 bytes left [ 9.087374][ T181] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.087377][ T181] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 181, name: ip [ 9.087378][ T181] preempt_count: 2, expected: 0 [ 9.087379][ T181] RCU nest depth: 0, expected: 0 [ 9.087380][ T181] locks held by ip/181: 5, last CPU#1: [ 9.087382][ T181] #0: ffffffffaf2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.087393][ T181] #1: ffffffffaf399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.087398][ T181] #2: ffffffffaf399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.087401][ T181] #3: ffffffffaf289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.087404][ T181] #4: ffffffffaf289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.087408][ T181] irq event stamp: 29074 [ 9.087408][ T181] hardirqs last enabled at (29073): [] __down_trylock_console_sem+0x86/0xa0 [ 9.087412][ T181] hardirqs last disabled at (29074): [] console_emit_next_record+0x3f8/0x4f0 [ 9.087413][ T181] softirqs last enabled at (29044): [] handle_softirqs+0x67c/0x900 [ 9.087416][ T181] softirqs last disabled at (27881): [] __irq_exit_rcu+0x145/0x1c0 [ 9.087418][ T181] Preemption disabled at: [ 9.087419][ T181] [<0000000000000000>] 0x0 [ 9.087426][ T181] CPU: 1 UID: 0 PID: 181 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.087429][ T181] Tainted: [W]=WARN [ 9.087429][ T181] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.087431][ T181] Call Trace: [ 9.087433][ T181] [ 9.087434][ T181] dump_stack_lvl+0x6f/0xa0 [ 9.087440][ T181] __might_resched.cold+0x1fe/0x2c1 [ 9.087445][ T181] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.087448][ T181] ? __kmalloc_noprof+0xdb/0x760 [ 9.087453][ T181] __kmalloc_noprof+0x443/0x760 [ 9.087456][ T181] ? alloc_buf.isra.0+0x4b/0x260 [ 9.087462][ T181] ? do_raw_spin_unlock+0x59/0x250 [ 9.087464][ T181] alloc_buf.isra.0+0x4b/0x260 [ 9.087467][ T181] put_chars+0x1e1/0x2f0 [ 9.087471][ T181] ? __send_to_port+0x420/0x420 [ 9.087472][ T181] ? printk_get_next_message+0x2fe/0x7d0 [ 9.087475][ T181] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.087479][ T181] ? validate_chain+0x38b/0xc20 [ 9.087484][ T181] hvc_console_print+0x292/0x780 [ 9.087488][ T181] ? __lock_acquire+0x518/0xc20 [ 9.087490][ T181] ? __lock_acquire+0x518/0xc20 [ 9.087494][ T181] ? hvc_write+0x3a0/0x3a0 [ 9.087498][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.087500][ T181] ? lock_acquire+0x13c/0x160 [ 9.087504][ T181] console_emit_next_record+0x252/0x4f0 [ 9.087508][ T181] ? devkmsg_read+0x4e0/0x4e0 [ 9.087512][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.087514][ T181] ? lock_acquire+0x13c/0x160 [ 9.087518][ T181] console_flush_one_record+0x46f/0x710 [ 9.087521][ T181] ? console_emit_next_record+0x4f0/0x4f0 [ 9.087523][ T181] ? __lock_acquire+0x518/0xc20 [ 9.087528][ T181] console_unlock+0xee/0x1f0 [ 9.087531][ T181] ? console_flush_one_record+0x710/0x710 [ 9.087532][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.087534][ T181] ? lock_acquire+0x60/0x160 [ 9.087538][ T181] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.087540][ T181] ? vprintk_emit+0x320/0x3e0 [ 9.087542][ T181] vprintk_emit+0x37c/0x3e0 [ 9.087546][ T181] ? wake_up_klogd_work_func+0x90/0x90 [ 9.087549][ T181] ? __lock_acquire+0x518/0xc20 [ 9.087552][ T181] _printk+0xc7/0x100 [ 9.087559][ T181] ? snapshot_read.cold+0x21/0x21 [ 9.087562][ T181] ? do_raw_spin_lock+0x131/0x280 [ 9.087564][ T181] ? __rwlock_init+0x150/0x150 [ 9.087567][ T181] ? do_raw_spin_lock+0x131/0x280 [ 9.087569][ T181] do_exit.cold+0x82/0x9c [ 9.087573][ T181] ? exit_notify+0x890/0x890 [ 9.087575][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 9.087578][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.087581][ T181] do_group_exit+0xb8/0x370 [ 9.087584][ T181] __x64_sys_exit_group+0x3c/0x50 [ 9.087586][ T181] x64_sys_call+0x1567/0x1570 [ 9.087589][ T181] do_syscall_64+0xff/0x530 [ 9.087592][ T181] ? exc_page_fault+0xee/0x100 [ 9.087595][ T181] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.087597][ T181] RIP: 0033:0x7fe0943431b8 [ 9.087599][ T181] Code: Unable to access opcode bytes at 0x7fe09434318e. [ 9.087600][ T181] RSP: 002b:00007fff07bae088 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.087603][ T181] RAX: ffffffffffffffda RBX: 00007fe094473f88 RCX: 00007fe0943431b8 [ 9.087604][ T181] RDX: 00007fe09408dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.087605][ T181] RBP: 00007fff07bae0e0 R08: 0000000000000000 R09: 0000000000008010 [ 9.087606][ T181] R10: 00007fff07badea0 R11: 0000000000000246 R12: 0000000000000001 [ 9.087607][ T181] R13: 0000000000000000 R14: 00007fe094472680 R15: 00007fe094473fa0 [ 9.087613][ T181] [ 9.278350][ T183] team0: Port device dummy1 added [ 9.303941][ T187] team0: Port device dummy2 added [ 9.368145][ T69] dummy1: entered promiscuous mode [ 9.368493][ T69] dummy2: entered promiscuous mode [ 9.525986][ T10] dummy1: left promiscuous mode [ 9.526226][ T10] dummy2: left promiscuous mode [ 9.570884][ T206] team0 (unregistering): Port device dummy1 removed [ 9.573828][ T206] team0 (unregistering): Port device dummy2 removed [ 9.614291][ T206] ip (206) used greatest stack depth: 23960 bytes left