[ 11.178791][ T186] ip (186) used greatest stack depth: 23824 bytes left [ 11.178810][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.178813][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 11.178814][ T186] preempt_count: 2, expected: 0 [ 11.178815][ T186] RCU nest depth: 0, expected: 0 [ 11.178816][ T186] locks held by ip/186: 5, last CPU#0: [ 11.178819][ T186] #0: ffffffff95c02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.178832][ T186] #1: ffffffff95d6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.178837][ T186] #2: ffffffff95d6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.178840][ T186] #3: ffffffff95c89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.178844][ T186] #4: ffffffff95c89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.178848][ T186] irq event stamp: 24982 [ 11.178848][ T186] hardirqs last enabled at (24981): [] __down_trylock_console_sem+0x86/0xa0 [ 11.178852][ T186] hardirqs last disabled at (24982): [] console_emit_next_record+0x3d4/0x4c0 [ 11.178854][ T186] softirqs last enabled at (23418): [] netlink_release+0x17b/0xcf0 [ 11.178858][ T186] softirqs last disabled at (23416): [] netlink_release+0xd2/0xcf0 [ 11.178860][ T186] Preemption disabled at: [ 11.178861][ T186] [<0000000000000000>] 0x0 [ 11.178868][ T186] CPU: 0 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.178872][ T186] Tainted: [W]=WARN [ 11.178873][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.178875][ T186] Call Trace: [ 11.178876][ T186] [ 11.178878][ T186] dump_stack_lvl+0x6f/0xa0 [ 11.178884][ T186] __might_resched.cold+0x1fe/0x2c1 [ 11.178888][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.178891][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 11.178897][ T186] __kmalloc_noprof+0x443/0x760 [ 11.178899][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 11.178905][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 11.178909][ T186] alloc_buf.isra.0+0x4b/0x260 [ 11.178912][ T186] put_chars+0x1e1/0x2f0 [ 11.178915][ T186] ? __send_to_port+0x420/0x420 [ 11.178922][ T186] hvc_console_print+0x292/0x780 [ 11.178929][ T186] ? hvc_write+0x3a0/0x3a0 [ 11.178932][ T186] ? lock_acquire+0x13c/0x160 [ 11.178937][ T186] console_emit_next_record+0x22f/0x4c0 [ 11.178940][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 11.178942][ T186] ? console_flush_one_record+0x106/0x710 [ 11.178944][ T186] ? rcu_is_watching+0x16/0xd0 [ 11.178948][ T186] ? lock_acquire+0x13c/0x160 [ 11.178952][ T186] console_flush_one_record+0x46f/0x710 [ 11.178956][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 11.178957][ T186] ? __lock_acquire+0x518/0xc20 [ 11.178963][ T186] console_unlock+0xee/0x1f0 [ 11.178965][ T186] ? console_flush_one_record+0x710/0x710 [ 11.178966][ T186] ? rcu_is_watching+0x16/0xd0 [ 11.178968][ T186] ? lock_acquire+0x60/0x160 [ 11.178972][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.178974][ T186] ? vprintk_emit+0x320/0x3e0 [ 11.178977][ T186] vprintk_emit+0x37c/0x3e0 [ 11.178981][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 11.178984][ T186] ? __lock_acquire+0x518/0xc20 [ 11.178988][ T186] _printk+0xc7/0x100 [ 11.178991][ T186] ? snapshot_read.cold+0x21/0x21 [ 11.178994][ T186] ? do_raw_spin_lock+0x131/0x280 [ 11.178997][ T186] ? __rwlock_init+0x150/0x150 [ 11.179001][ T186] ? do_raw_spin_lock+0x131/0x280 [ 11.179004][ T186] do_exit.cold+0x82/0x9c [ 11.179008][ T186] ? exit_notify+0x890/0x890 [ 11.179009][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 11.179012][ T186] ? rcu_is_watching+0x16/0xd0 [ 11.179016][ T186] do_group_exit+0xb8/0x370 [ 11.179020][ T186] __x64_sys_exit_group+0x3c/0x50 [ 11.179022][ T186] x64_sys_call+0x1567/0x1570 [ 11.179025][ T186] do_syscall_64+0x10e/0x570 [ 11.179028][ T186] ? exc_page_fault+0xee/0x100 [ 11.179032][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.179034][ T186] RIP: 0033:0x7fac3d9051b8 [ 11.179036][ T186] Code: Unable to access opcode bytes at 0x7fac3d90518e. [ 11.179037][ T186] RSP: 002b:00007ffcde515e38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.179040][ T186] RAX: ffffffffffffffda RBX: 00007fac3da35f88 RCX: 00007fac3d9051b8 [ 11.179041][ T186] RDX: 00007fac3d64ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.179042][ T186] RBP: 00007ffcde515e90 R08: 0000000000000000 R09: 0000000000000050 [ 11.179043][ T186] R10: 00007ffcde515c50 R11: 0000000000000246 R12: 0000000000000001 [ 11.179044][ T186] R13: 0000000000000000 R14: 00007fac3da34680 R15: 00007fac3da35fa0 [ 11.179051][ T186]