[ 9.154723][ T204] ip (204) used greatest stack depth: 24328 bytes left [ 9.154738][ T204] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.154740][ T204] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 204, name: ip [ 9.154741][ T204] preempt_count: 2, expected: 0 [ 9.154742][ T204] RCU nest depth: 0, expected: 0 [ 9.154743][ T204] locks held by ip/204: 5, last CPU#0: [ 9.154745][ T204] #0: ffffffff880167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.154756][ T204] #1: ffffffff8817ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.154760][ T204] #2: ffffffff8817de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.154764][ T204] #3: ffffffff8809d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.154768][ T204] #4: ffffffff8809d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.154772][ T204] irq event stamp: 28230 [ 9.154773][ T204] hardirqs last enabled at (28229): [] __down_trylock_console_sem+0x86/0xa0 [ 9.154776][ T204] hardirqs last disabled at (28230): [] console_emit_next_record+0x3d4/0x4c0 [ 9.154778][ T204] softirqs last enabled at (28022): [] handle_softirqs+0x67c/0x900 [ 9.154780][ T204] softirqs last disabled at (28017): [] __irq_exit_rcu+0x145/0x1c0 [ 9.154782][ T204] Preemption disabled at: [ 9.154783][ T204] [<0000000000000000>] 0x0 [ 9.154790][ T204] CPU: 0 UID: 0 PID: 204 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.154793][ T204] Tainted: [W]=WARN [ 9.154794][ T204] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.154795][ T204] Call Trace: [ 9.154797][ T204] [ 9.154798][ T204] dump_stack_lvl+0x6f/0xa0 [ 9.154805][ T204] __might_resched.cold+0x1fe/0x2c1 [ 9.154809][ T204] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.154813][ T204] ? __kmalloc_noprof+0xdb/0x760 [ 9.154817][ T204] __kmalloc_noprof+0x443/0x760 [ 9.154819][ T204] ? alloc_buf.isra.0+0x4b/0x260 [ 9.154826][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 9.154829][ T204] alloc_buf.isra.0+0x4b/0x260 [ 9.154833][ T204] put_chars+0x1e1/0x2f0 [ 9.154835][ T204] ? __send_to_port+0x420/0x420 [ 9.154837][ T204] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.154840][ T204] ? validate_chain+0x38b/0xc20 [ 9.154845][ T204] hvc_console_print+0x292/0x780 [ 9.154853][ T204] ? hvc_write+0x3a0/0x3a0 [ 9.154855][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.154857][ T204] ? lock_acquire+0x13c/0x160 [ 9.154861][ T204] console_emit_next_record+0x22f/0x4c0 [ 9.154865][ T204] ? devkmsg_read+0x4b0/0x4b0 [ 9.154867][ T204] ? console_flush_one_record+0x106/0x710 [ 9.154870][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.154871][ T204] ? lock_acquire+0x13c/0x160 [ 9.154875][ T204] console_flush_one_record+0x46f/0x710 [ 9.154879][ T204] ? console_emit_next_record+0x4c0/0x4c0 [ 9.154881][ T204] ? __lock_acquire+0x518/0xc20 [ 9.154887][ T204] console_unlock+0xee/0x1f0 [ 9.154889][ T204] ? console_flush_one_record+0x710/0x710 [ 9.154891][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.154893][ T204] ? lock_acquire+0xe0/0x160 [ 9.154896][ T204] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.154898][ T204] ? vprintk_emit+0x320/0x3e0 [ 9.154901][ T204] vprintk_emit+0x37c/0x3e0 [ 9.154904][ T204] ? wake_up_klogd_work_func+0x90/0x90 [ 9.154907][ T204] ? __lock_acquire+0x518/0xc20 [ 9.154910][ T204] _printk+0xc7/0x100 [ 9.154914][ T204] ? snapshot_read.cold+0x21/0x21 [ 9.154917][ T204] ? do_raw_spin_lock+0x131/0x280 [ 9.154919][ T204] ? __rwlock_init+0x150/0x150 [ 9.154923][ T204] ? do_raw_spin_lock+0x131/0x280 [ 9.154926][ T204] do_exit.cold+0x82/0x9c [ 9.154930][ T204] ? exit_notify+0x890/0x890 [ 9.154931][ T204] ? __lock_release.isra.0+0x69/0x1a0 [ 9.154934][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.154937][ T204] do_group_exit+0xb8/0x370 [ 9.154940][ T204] __x64_sys_exit_group+0x3c/0x50 [ 9.154942][ T204] x64_sys_call+0x1567/0x1570 [ 9.154944][ T204] do_syscall_64+0xff/0x530 [ 9.154948][ T204] ? exc_page_fault+0xee/0x100 [ 9.154951][ T204] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.154953][ T204] RIP: 0033:0x7f8159b281b8 [ 9.154955][ T204] Code: Unable to access opcode bytes at 0x7f8159b2818e. [ 9.154957][ T204] RSP: 002b:00007fff21cf3178 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.154959][ T204] RAX: ffffffffffffffda RBX: 00007f8159c58f88 RCX: 00007f8159b281b8 [ 9.154960][ T204] RDX: 00007f8159872fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.154961][ T204] RBP: 00007fff21cf31d0 R08: 0000000000000000 R09: 0000000000000050 [ 9.154962][ T204] R10: 00007fff21cf2f90 R11: 0000000000000246 R12: 0000000000000001 [ 9.154962][ T204] R13: 0000000000000000 R14: 00007f8159c57680 R15: 00007f8159c58fa0 [ 9.154969][ T204] [ 9.648358][ T222] GACT probability NOT on