[ 9.232906][ T129] uname (129) used greatest stack depth: 24816 bytes left [ 9.232926][ T129] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.232928][ T129] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 129, name: uname [ 9.232930][ T129] preempt_count: 2, expected: 0 [ 9.232931][ T129] RCU nest depth: 0, expected: 0 [ 9.232932][ T129] locks held by uname/129: 5, last CPU#3: [ 9.232934][ T129] #0: ffffffff9b0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.232946][ T129] #1: ffffffff9b169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.232951][ T129] #2: ffffffff9b169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.232955][ T129] #3: ffffffff9b089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.232958][ T129] #4: ffffffff9b089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.232961][ T129] irq event stamp: 8282 [ 9.232962][ T129] hardirqs last enabled at (8281): [] __down_trylock_console_sem+0x86/0xa0 [ 9.232966][ T129] hardirqs last disabled at (8282): [] console_emit_next_record+0x3d4/0x4c0 [ 9.232967][ T129] softirqs last enabled at (8232): [] handle_softirqs+0x67c/0x900 [ 9.232970][ T129] softirqs last disabled at (8223): [] __irq_exit_rcu+0x145/0x1c0 [ 9.232972][ T129] Preemption disabled at: [ 9.232973][ T129] [<0000000000000000>] 0x0 [ 9.232980][ T129] CPU: 3 UID: 0 PID: 129 Comm: uname Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.232984][ T129] Tainted: [W]=WARN [ 9.232984][ T129] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.232986][ T129] Call Trace: [ 9.232988][ T129] [ 9.232989][ T129] dump_stack_lvl+0x6f/0xa0 [ 9.232995][ T129] __might_resched.cold+0x1fe/0x2c1 [ 9.232999][ T129] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.233002][ T129] ? __kmalloc_noprof+0xdb/0x760 [ 9.233008][ T129] __kmalloc_noprof+0x443/0x760 [ 9.233010][ T129] ? alloc_buf.isra.0+0x4b/0x260 [ 9.233016][ T129] ? do_raw_spin_unlock+0x59/0x250 [ 9.233019][ T129] alloc_buf.isra.0+0x4b/0x260 [ 9.233023][ T129] put_chars+0x1e1/0x2f0 [ 9.233026][ T129] ? __send_to_port+0x420/0x420 [ 9.233027][ T129] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.233032][ T129] ? validate_chain+0x38b/0xc20 [ 9.233037][ T129] hvc_console_print+0x292/0x780 [ 9.233044][ T129] ? hvc_write+0x3a0/0x3a0 [ 9.233046][ T129] ? rcu_is_watching+0x16/0xd0 [ 9.233048][ T129] ? lock_acquire+0x13c/0x160 [ 9.233052][ T129] console_emit_next_record+0x22f/0x4c0 [ 9.233056][ T129] ? devkmsg_read+0x4b0/0x4b0 [ 9.233057][ T129] ? console_flush_one_record+0x106/0x710 [ 9.233060][ T129] ? rcu_is_watching+0x16/0xd0 [ 9.233062][ T129] ? lock_acquire+0x13c/0x160 [ 9.233066][ T129] console_flush_one_record+0x46f/0x710 [ 9.233069][ T129] ? console_emit_next_record+0x4c0/0x4c0 [ 9.233071][ T129] ? __lock_acquire+0x518/0xc20 [ 9.233076][ T129] console_unlock+0xee/0x1f0 [ 9.233079][ T129] ? console_flush_one_record+0x710/0x710 [ 9.233080][ T129] ? rcu_is_watching+0x16/0xd0 [ 9.233082][ T129] ? lock_acquire+0x60/0x160 [ 9.233086][ T129] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.233087][ T129] ? vprintk_emit+0x320/0x3e0 [ 9.233090][ T129] vprintk_emit+0x37c/0x3e0 [ 9.233093][ T129] ? wake_up_klogd_work_func+0x90/0x90 [ 9.233096][ T129] ? __lock_acquire+0x518/0xc20 [ 9.233100][ T129] _printk+0xc7/0x100 [ 9.233104][ T129] ? snapshot_read.cold+0x21/0x21 [ 9.233107][ T129] ? do_raw_spin_lock+0x131/0x280 [ 9.233110][ T129] ? __rwlock_init+0x150/0x150 [ 9.233114][ T129] ? do_raw_spin_lock+0x131/0x280 [ 9.233117][ T129] do_exit.cold+0x82/0x9c [ 9.233120][ T129] ? exit_notify+0x890/0x890 [ 9.233122][ T129] ? __lock_release.isra.0+0x69/0x1a0 [ 9.233125][ T129] ? rcu_is_watching+0x16/0xd0 [ 9.233128][ T129] do_group_exit+0xb8/0x370 [ 9.233131][ T129] __x64_sys_exit_group+0x3c/0x50 [ 9.233133][ T129] x64_sys_call+0x1567/0x1570 [ 9.233136][ T129] do_syscall_64+0xff/0x530 [ 9.233140][ T129] ? exc_page_fault+0xee/0x100 [ 9.233143][ T129] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.233145][ T129] RIP: 0033:0x7f45c031e1b8 [ 9.233147][ T129] Code: Unable to access opcode bytes at 0x7f45c031e18e. [ 9.233148][ T129] RSP: 002b:00007ffe7aa5b4c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.233151][ T129] RAX: ffffffffffffffda RBX: 00007f45c044ef88 RCX: 00007f45c031e1b8 [ 9.233152][ T129] RDX: 00007f45c025ba48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 9.233153][ T129] RBP: 00007ffe7aa5b520 R08: 0000000000000000 R09: 0000000000001010 [ 9.233154][ T129] R10: 00007ffe7aa5b380 R11: 0000000000000246 R12: 0000000000000002 [ 9.233155][ T129] R13: 0000000000000000 R14: 00007f45c044d680 R15: 00007f45c044efa0 [ 9.233161][ T129]