[ 11.855774][ T218] ip (218) used greatest stack depth: 24256 bytes left [ 11.855794][ T218] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.855796][ T218] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 218, name: ip [ 11.855798][ T218] preempt_count: 2, expected: 0 [ 11.855799][ T218] RCU nest depth: 0, expected: 0 [ 11.855800][ T218] locks held by ip/218: 5, last CPU#3: [ 11.855801][ T218] #0: ffffffff920267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.855814][ T218] #1: ffffffff9218dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.855819][ T218] #2: ffffffff9218dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.855824][ T218] #3: ffffffff920ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.855829][ T218] #4: ffffffff920ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.855833][ T218] irq event stamp: 31944 [ 11.855834][ T218] hardirqs last enabled at (31943): [] __down_trylock_console_sem+0x86/0xa0 [ 11.855836][ T218] hardirqs last disabled at (31944): [] console_emit_next_record+0x3d4/0x4c0 [ 11.855838][ T218] softirqs last enabled at (31756): [] handle_softirqs+0x67c/0x900 [ 11.855839][ T218] softirqs last disabled at (31751): [] __irq_exit_rcu+0x145/0x1c0 [ 11.855841][ T218] Preemption disabled at: [ 11.855842][ T218] [<0000000000000000>] 0x0 [ 11.855848][ T218] CPU: 3 UID: 0 PID: 218 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.855852][ T218] Tainted: [W]=WARN [ 11.855853][ T218] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.855855][ T218] Call Trace: [ 11.855856][ T218] [ 11.855858][ T218] dump_stack_lvl+0x6f/0xa0 [ 11.855864][ T218] __might_resched.cold+0x1fe/0x2c1 [ 11.855868][ T218] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.855872][ T218] ? __kmalloc_noprof+0xdb/0x760 [ 11.855877][ T218] __kmalloc_noprof+0x443/0x760 [ 11.855879][ T218] ? alloc_buf.isra.0+0x4b/0x260 [ 11.855885][ T218] ? do_raw_spin_unlock+0x59/0x250 [ 11.855887][ T218] alloc_buf.isra.0+0x4b/0x260 [ 11.855891][ T218] put_chars+0x1e1/0x2f0 [ 11.855894][ T218] ? __send_to_port+0x420/0x420 [ 11.855896][ T218] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.855901][ T218] ? validate_chain+0x38b/0xc20 [ 11.855906][ T218] hvc_console_print+0x292/0x780 [ 11.855913][ T218] ? hvc_write+0x3a0/0x3a0 [ 11.855915][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.855918][ T218] ? lock_acquire+0x13c/0x160 [ 11.855921][ T218] console_emit_next_record+0x22f/0x4c0 [ 11.855925][ T218] ? devkmsg_read+0x4b0/0x4b0 [ 11.855926][ T218] ? console_flush_one_record+0x106/0x710 [ 11.855929][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.855931][ T218] ? lock_acquire+0x13c/0x160 [ 11.855935][ T218] console_flush_one_record+0x46f/0x710 [ 11.855939][ T218] ? console_emit_next_record+0x4c0/0x4c0 [ 11.855940][ T218] ? __lock_acquire+0x518/0xc20 [ 11.855945][ T218] console_unlock+0xee/0x1f0 [ 11.855947][ T218] ? console_flush_one_record+0x710/0x710 [ 11.855949][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.855951][ T218] ? lock_acquire+0x60/0x160 [ 11.855954][ T218] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.855956][ T218] ? vprintk_emit+0x320/0x3e0 [ 11.855959][ T218] vprintk_emit+0x37c/0x3e0 [ 11.855962][ T218] ? wake_up_klogd_work_func+0x90/0x90 [ 11.855965][ T218] ? __lock_acquire+0x518/0xc20 [ 11.855969][ T218] _printk+0xc7/0x100 [ 11.855972][ T218] ? snapshot_read.cold+0x21/0x21 [ 11.855975][ T218] ? do_raw_spin_lock+0x131/0x280 [ 11.855977][ T218] ? __rwlock_init+0x150/0x150 [ 11.855981][ T218] ? do_raw_spin_lock+0x131/0x280 [ 11.855983][ T218] do_exit.cold+0x82/0x9c [ 11.855987][ T218] ? exit_notify+0x890/0x890 [ 11.855988][ T218] ? __lock_release.isra.0+0x69/0x1a0 [ 11.855991][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.855995][ T218] do_group_exit+0xb8/0x370 [ 11.855998][ T218] __x64_sys_exit_group+0x3c/0x50 [ 11.856000][ T218] x64_sys_call+0x1567/0x1570 [ 11.856002][ T218] do_syscall_64+0xff/0x530 [ 11.856005][ T218] ? exc_page_fault+0xee/0x100 [ 11.856009][ T218] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.856011][ T218] RIP: 0033:0x7fd981edc1b8 [ 11.856013][ T218] Code: Unable to access opcode bytes at 0x7fd981edc18e. [ 11.856014][ T218] RSP: 002b:00007ffc57fc4028 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.856017][ T218] RAX: ffffffffffffffda RBX: 00007fd98200cf88 RCX: 00007fd981edc1b8 [ 11.856018][ T218] RDX: 00007fd981c26fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.856019][ T218] RBP: 00007ffc57fc4080 R08: 0000000000000000 R09: 0000000000000050 [ 11.856020][ T218] R10: 00007ffc57fc3e40 R11: 0000000000000246 R12: 0000000000000001 [ 11.856020][ T218] R13: 0000000000000000 R14: 00007fd98200b680 R15: 00007fd98200cfa0 [ 11.856027][ T218] [ 12.168542][ T224] ip (224) used greatest stack depth: 24184 bytes left