[ 10.771105][ T224] ip (224) used greatest stack depth: 23904 bytes left [ 10.771124][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.771126][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: ip [ 10.771128][ T224] preempt_count: 2, expected: 0 [ 10.771129][ T224] RCU nest depth: 0, expected: 0 [ 10.771130][ T224] locks held by ip/224: 5, last CPU#2: [ 10.771132][ T224] #0: ffffffffb02167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.771143][ T224] #1: ffffffffb037ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.771148][ T224] #2: ffffffffb037de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.771152][ T224] #3: ffffffffb029d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.771156][ T224] #4: ffffffffb029d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.771160][ T224] irq event stamp: 29212 [ 10.771161][ T224] hardirqs last enabled at (29211): [] __down_trylock_console_sem+0x86/0xa0 [ 10.771164][ T224] hardirqs last disabled at (29212): [] console_emit_next_record+0x3d4/0x4c0 [ 10.771166][ T224] softirqs last enabled at (27884): [] handle_softirqs+0x67c/0x900 [ 10.771169][ T224] softirqs last disabled at (26549): [] __irq_exit_rcu+0x145/0x1c0 [ 10.771171][ T224] Preemption disabled at: [ 10.771172][ T224] [<0000000000000000>] 0x0 [ 10.771178][ T224] CPU: 2 UID: 0 PID: 224 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.771182][ T224] Tainted: [W]=WARN [ 10.771183][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.771185][ T224] Call Trace: [ 10.771186][ T224] [ 10.771188][ T224] dump_stack_lvl+0x6f/0xa0 [ 10.771194][ T224] __might_resched.cold+0x1fe/0x2c1 [ 10.771198][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.771202][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 10.771206][ T224] __kmalloc_noprof+0x443/0x760 [ 10.771208][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 10.771215][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 10.771218][ T224] alloc_buf.isra.0+0x4b/0x260 [ 10.771222][ T224] put_chars+0x1e1/0x2f0 [ 10.771224][ T224] ? __send_to_port+0x420/0x420 [ 10.771225][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.771228][ T224] ? validate_chain+0x38b/0xc20 [ 10.771233][ T224] hvc_console_print+0x292/0x780 [ 10.771241][ T224] ? hvc_write+0x3a0/0x3a0 [ 10.771244][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.771246][ T224] ? lock_acquire+0x13c/0x160 [ 10.771250][ T224] console_emit_next_record+0x22f/0x4c0 [ 10.771254][ T224] ? devkmsg_read+0x4b0/0x4b0 [ 10.771255][ T224] ? console_flush_one_record+0x106/0x710 [ 10.771259][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.771260][ T224] ? lock_acquire+0x13c/0x160 [ 10.771264][ T224] console_flush_one_record+0x46f/0x710 [ 10.771268][ T224] ? console_emit_next_record+0x4c0/0x4c0 [ 10.771270][ T224] ? __lock_acquire+0x518/0xc20 [ 10.771275][ T224] console_unlock+0xee/0x1f0 [ 10.771278][ T224] ? console_flush_one_record+0x710/0x710 [ 10.771280][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.771282][ T224] ? lock_acquire+0xe0/0x160 [ 10.771285][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.771287][ T224] ? vprintk_emit+0x320/0x3e0 [ 10.771290][ T224] vprintk_emit+0x37c/0x3e0 [ 10.771293][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 10.771296][ T224] ? __lock_acquire+0x518/0xc20 [ 10.771299][ T224] _printk+0xc7/0x100 [ 10.771303][ T224] ? snapshot_read.cold+0x21/0x21 [ 10.771306][ T224] ? do_raw_spin_lock+0x131/0x280 [ 10.771308][ T224] ? __rwlock_init+0x150/0x150 [ 10.771312][ T224] ? do_raw_spin_lock+0x131/0x280 [ 10.771315][ T224] do_exit.cold+0x82/0x9c [ 10.771318][ T224] ? exit_notify+0x890/0x890 [ 10.771320][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 10.771323][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.771326][ T224] do_group_exit+0xb8/0x370 [ 10.771329][ T224] __x64_sys_exit_group+0x3c/0x50 [ 10.771331][ T224] x64_sys_call+0x1567/0x1570 [ 10.771333][ T224] do_syscall_64+0xff/0x530 [ 10.771337][ T224] ? exc_page_fault+0xee/0x100 [ 10.771340][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.771342][ T224] RIP: 0033:0x7faf6e4d21b8 [ 10.771344][ T224] Code: Unable to access opcode bytes at 0x7faf6e4d218e. [ 10.771345][ T224] RSP: 002b:00007fffc6694878 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.771348][ T224] RAX: ffffffffffffffda RBX: 00007faf6e602f88 RCX: 00007faf6e4d21b8 [ 10.771349][ T224] RDX: 00007faf6e21cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.771350][ T224] RBP: 00007fffc66948d0 R08: 0000000000000000 R09: 0000000000000050 [ 10.771350][ T224] R10: 00007fffc6694690 R11: 0000000000000246 R12: 0000000000000001 [ 10.771351][ T224] R13: 0000000000000000 R14: 00007faf6e601680 R15: 00007faf6e602fa0 [ 10.771358][ T224] [ 11.729451][ T256] ip (256) used greatest stack depth: 23872 bytes left