[ 12.419735][ T270] ip (270) used greatest stack depth: 23568 bytes left [ 12.419755][ T270] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.419757][ T270] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 270, name: ip [ 12.419759][ T270] preempt_count: 2, expected: 0 [ 12.419760][ T270] RCU nest depth: 0, expected: 0 [ 12.419761][ T270] locks held by ip/270: 5, last CPU#3: [ 12.419762][ T270] #0: ffffffff934167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.419774][ T270] #1: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.419779][ T270] #2: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.419783][ T270] #3: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.419787][ T270] #4: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.419791][ T270] irq event stamp: 23750 [ 12.419792][ T270] hardirqs last enabled at (23749): [] __down_trylock_console_sem+0x86/0xa0 [ 12.419795][ T270] hardirqs last disabled at (23750): [] console_emit_next_record+0x3d4/0x4c0 [ 12.419797][ T270] softirqs last enabled at (23036): [] handle_softirqs+0x67c/0x900 [ 12.419799][ T270] softirqs last disabled at (23031): [] __irq_exit_rcu+0x145/0x1c0 [ 12.419801][ T270] Preemption disabled at: [ 12.419802][ T270] [<0000000000000000>] 0x0 [ 12.419809][ T270] CPU: 3 UID: 0 PID: 270 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.419813][ T270] Tainted: [W]=WARN [ 12.419813][ T270] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.419815][ T270] Call Trace: [ 12.419817][ T270] [ 12.419818][ T270] dump_stack_lvl+0x6f/0xa0 [ 12.419825][ T270] __might_resched.cold+0x1fe/0x2c1 [ 12.419830][ T270] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.419834][ T270] ? __kmalloc_noprof+0xdb/0x760 [ 12.419838][ T270] __kmalloc_noprof+0x443/0x760 [ 12.419840][ T270] ? alloc_buf.isra.0+0x4b/0x260 [ 12.419847][ T270] ? do_raw_spin_unlock+0x59/0x250 [ 12.419849][ T270] alloc_buf.isra.0+0x4b/0x260 [ 12.419853][ T270] put_chars+0x1e1/0x2f0 [ 12.419856][ T270] ? __send_to_port+0x420/0x420 [ 12.419857][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.419861][ T270] ? validate_chain+0x38b/0xc20 [ 12.419866][ T270] hvc_console_print+0x292/0x780 [ 12.419877][ T270] ? hvc_write+0x3a0/0x3a0 [ 12.419879][ T270] ? rcu_is_watching+0x16/0xd0 [ 12.419881][ T270] ? lock_acquire+0x13c/0x160 [ 12.419885][ T270] console_emit_next_record+0x22f/0x4c0 [ 12.419890][ T270] ? devkmsg_read+0x4b0/0x4b0 [ 12.419891][ T270] ? console_flush_one_record+0x106/0x710 [ 12.419895][ T270] ? rcu_is_watching+0x16/0xd0 [ 12.419896][ T270] ? lock_acquire+0x13c/0x160 [ 12.419901][ T270] console_flush_one_record+0x46f/0x710 [ 12.419905][ T270] ? console_emit_next_record+0x4c0/0x4c0 [ 12.419907][ T270] ? __lock_acquire+0x518/0xc20 [ 12.419912][ T270] console_unlock+0xee/0x1f0 [ 12.419915][ T270] ? console_flush_one_record+0x710/0x710 [ 12.419917][ T270] ? rcu_is_watching+0x16/0xd0 [ 12.419919][ T270] ? lock_acquire+0xe0/0x160 [ 12.419922][ T270] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.419924][ T270] ? vprintk_emit+0x320/0x3e0 [ 12.419927][ T270] vprintk_emit+0x37c/0x3e0 [ 12.419930][ T270] ? wake_up_klogd_work_func+0x90/0x90 [ 12.419933][ T270] ? __lock_acquire+0x518/0xc20 [ 12.419937][ T270] _printk+0xc7/0x100 [ 12.419941][ T270] ? snapshot_read.cold+0x21/0x21 [ 12.419943][ T270] ? do_raw_spin_lock+0x131/0x280 [ 12.419946][ T270] ? __rwlock_init+0x150/0x150 [ 12.419950][ T270] ? do_raw_spin_lock+0x131/0x280 [ 12.419953][ T270] do_exit.cold+0x82/0x9c [ 12.419957][ T270] ? exit_notify+0x890/0x890 [ 12.419958][ T270] ? __lock_release.isra.0+0x69/0x1a0 [ 12.419961][ T270] ? rcu_is_watching+0x16/0xd0 [ 12.419965][ T270] do_group_exit+0xb8/0x370 [ 12.419968][ T270] __x64_sys_exit_group+0x3c/0x50 [ 12.419969][ T270] x64_sys_call+0x1567/0x1570 [ 12.419972][ T270] do_syscall_64+0xff/0x530 [ 12.419976][ T270] ? exc_page_fault+0xee/0x100 [ 12.419979][ T270] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.419981][ T270] RIP: 0033:0x7f8443e7a1b8 [ 12.419983][ T270] Code: Unable to access opcode bytes at 0x7f8443e7a18e. [ 12.419984][ T270] RSP: 002b:00007ffcdf41cd08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.419986][ T270] RAX: ffffffffffffffda RBX: 00007f8443faaf88 RCX: 00007f8443e7a1b8 [ 12.419988][ T270] RDX: 00007f8443bc4fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.419989][ T270] RBP: 00007ffcdf41cd60 R08: 0000000000000000 R09: 0000000000000050 [ 12.419989][ T270] R10: 00007ffcdf41cb20 R11: 0000000000000246 R12: 0000000000000001 [ 12.419990][ T270] R13: 0000000000000000 R14: 00007f8443fa9680 R15: 00007f8443faafa0 [ 12.419997][ T270]