[ 11.946598][ T302] ip (302) used greatest stack depth: 23952 bytes left [ 11.946615][ T302] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.946618][ T302] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 302, name: ip [ 11.946619][ T302] preempt_count: 2, expected: 0 [ 11.946620][ T302] RCU nest depth: 0, expected: 0 [ 11.946621][ T302] locks held by ip/302: 5, last CPU#3: [ 11.946623][ T302] #0: ffffffff974167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.946634][ T302] #1: ffffffff9757ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.946639][ T302] #2: ffffffff9757de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.946643][ T302] #3: ffffffff9749d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.946646][ T302] #4: ffffffff9749d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.946650][ T302] irq event stamp: 21404 [ 11.946651][ T302] hardirqs last enabled at (21403): [] __down_trylock_console_sem+0x86/0xa0 [ 11.946654][ T302] hardirqs last disabled at (21404): [] console_emit_next_record+0x3d4/0x4c0 [ 11.946656][ T302] softirqs last enabled at (21134): [] handle_softirqs+0x67c/0x900 [ 11.946659][ T302] softirqs last disabled at (21129): [] __irq_exit_rcu+0x145/0x1c0 [ 11.946661][ T302] Preemption disabled at: [ 11.946662][ T302] [<0000000000000000>] 0x0 [ 11.946668][ T302] CPU: 3 UID: 0 PID: 302 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.946672][ T302] Tainted: [W]=WARN [ 11.946673][ T302] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.946674][ T302] Call Trace: [ 11.946676][ T302] [ 11.946678][ T302] dump_stack_lvl+0x6f/0xa0 [ 11.946684][ T302] __might_resched.cold+0x1fe/0x2c1 [ 11.946688][ T302] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.946692][ T302] ? __kmalloc_noprof+0xdb/0x760 [ 11.946696][ T302] __kmalloc_noprof+0x443/0x760 [ 11.946698][ T302] ? alloc_buf.isra.0+0x4b/0x260 [ 11.946705][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 11.946708][ T302] alloc_buf.isra.0+0x4b/0x260 [ 11.946711][ T302] put_chars+0x1e1/0x2f0 [ 11.946713][ T302] ? __send_to_port+0x420/0x420 [ 11.946715][ T302] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.946718][ T302] ? validate_chain+0x38b/0xc20 [ 11.946723][ T302] hvc_console_print+0x292/0x780 [ 11.946731][ T302] ? hvc_write+0x3a0/0x3a0 [ 11.946734][ T302] ? rcu_is_watching+0x16/0xd0 [ 11.946735][ T302] ? lock_acquire+0x13c/0x160 [ 11.946739][ T302] console_emit_next_record+0x22f/0x4c0 [ 11.946743][ T302] ? devkmsg_read+0x4b0/0x4b0 [ 11.946745][ T302] ? console_flush_one_record+0x106/0x710 [ 11.946748][ T302] ? rcu_is_watching+0x16/0xd0 [ 11.946750][ T302] ? lock_acquire+0x13c/0x160 [ 11.946754][ T302] console_flush_one_record+0x46f/0x710 [ 11.946758][ T302] ? console_emit_next_record+0x4c0/0x4c0 [ 11.946760][ T302] ? __lock_acquire+0x518/0xc20 [ 11.946765][ T302] console_unlock+0xee/0x1f0 [ 11.946767][ T302] ? console_flush_one_record+0x710/0x710 [ 11.946769][ T302] ? rcu_is_watching+0x16/0xd0 [ 11.946771][ T302] ? lock_acquire+0xe0/0x160 [ 11.946775][ T302] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.946776][ T302] ? vprintk_emit+0x320/0x3e0 [ 11.946779][ T302] vprintk_emit+0x37c/0x3e0 [ 11.946782][ T302] ? wake_up_klogd_work_func+0x90/0x90 [ 11.946785][ T302] ? __lock_acquire+0x518/0xc20 [ 11.946789][ T302] _printk+0xc7/0x100 [ 11.946792][ T302] ? snapshot_read.cold+0x21/0x21 [ 11.946795][ T302] ? do_raw_spin_lock+0x131/0x280 [ 11.946798][ T302] ? __rwlock_init+0x150/0x150 [ 11.946801][ T302] ? do_raw_spin_lock+0x131/0x280 [ 11.946804][ T302] do_exit.cold+0x82/0x9c [ 11.946808][ T302] ? exit_notify+0x890/0x890 [ 11.946809][ T302] ? __lock_release.isra.0+0x69/0x1a0 [ 11.946812][ T302] ? rcu_is_watching+0x16/0xd0 [ 11.946815][ T302] do_group_exit+0xb8/0x370 [ 11.946818][ T302] __x64_sys_exit_group+0x3c/0x50 [ 11.946820][ T302] x64_sys_call+0x1567/0x1570 [ 11.946822][ T302] do_syscall_64+0xff/0x530 [ 11.946826][ T302] ? exc_page_fault+0xee/0x100 [ 11.946829][ T302] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.946831][ T302] RIP: 0033:0x7fdbf519b1b8 [ 11.946833][ T302] Code: Unable to access opcode bytes at 0x7fdbf519b18e. [ 11.946834][ T302] RSP: 002b:00007ffd16449578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.946837][ T302] RAX: ffffffffffffffda RBX: 00007fdbf52cbf88 RCX: 00007fdbf519b1b8 [ 11.946838][ T302] RDX: 00007fdbf4ee5fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.946839][ T302] RBP: 00007ffd164495d0 R08: 0000000000000000 R09: 0000000000000050 [ 11.946840][ T302] R10: 00007ffd16449390 R11: 0000000000000246 R12: 0000000000000001 [ 11.946840][ T302] R13: 0000000000000000 R14: 00007fdbf52ca680 R15: 00007fdbf52cbfa0 [ 11.946847][ T302]