[ 30.909731][ T924] cmsg_sender (924) used greatest stack depth: 24576 bytes left [ 30.909748][ T924] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.909751][ T924] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 924, name: cmsg_sender [ 30.909752][ T924] preempt_count: 2, expected: 0 [ 30.909753][ T924] RCU nest depth: 0, expected: 0 [ 30.909754][ T924] locks held by cmsg_sender/924: 5, last CPU#2: [ 30.909756][ T924] #0: ffffffff972167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.909767][ T924] #1: ffffffff9737ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.909772][ T924] #2: ffffffff9737de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.909776][ T924] #3: ffffffff9729d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.909780][ T924] #4: ffffffff9729d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.909784][ T924] irq event stamp: 49948 [ 30.909785][ T924] hardirqs last enabled at (49947): [] __down_trylock_console_sem+0x86/0xa0 [ 30.909788][ T924] hardirqs last disabled at (49948): [] console_emit_next_record+0x3d4/0x4c0 [ 30.909790][ T924] softirqs last enabled at (49606): [] handle_softirqs+0x67c/0x900 [ 30.909792][ T924] softirqs last disabled at (49597): [] __irq_exit_rcu+0x145/0x1c0 [ 30.909795][ T924] Preemption disabled at: [ 30.909795][ T924] [<0000000000000000>] 0x0 [ 30.909802][ T924] CPU: 2 UID: 0 PID: 924 Comm: cmsg_sender Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.909806][ T924] Tainted: [W]=WARN [ 30.909806][ T924] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.909808][ T924] Call Trace: [ 30.909809][ T924] [ 30.909811][ T924] dump_stack_lvl+0x6f/0xa0 [ 30.909818][ T924] __might_resched.cold+0x1fe/0x2c1 [ 30.909822][ T924] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.909826][ T924] ? __kmalloc_noprof+0xdb/0x760 [ 30.909830][ T924] __kmalloc_noprof+0x443/0x760 [ 30.909832][ T924] ? alloc_buf.isra.0+0x4b/0x260 [ 30.909839][ T924] ? do_raw_spin_unlock+0x59/0x250 [ 30.909842][ T924] alloc_buf.isra.0+0x4b/0x260 [ 30.909846][ T924] put_chars+0x1e1/0x2f0 [ 30.909848][ T924] ? __send_to_port+0x420/0x420 [ 30.909849][ T924] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.909852][ T924] ? validate_chain+0x38b/0xc20 [ 30.909857][ T924] hvc_console_print+0x292/0x780 [ 30.909865][ T924] ? hvc_write+0x3a0/0x3a0 [ 30.909867][ T924] ? rcu_is_watching+0x16/0xd0 [ 30.909869][ T924] ? lock_acquire+0x13c/0x160 [ 30.909873][ T924] console_emit_next_record+0x22f/0x4c0 [ 30.909877][ T924] ? devkmsg_read+0x4b0/0x4b0 [ 30.909879][ T924] ? console_flush_one_record+0x106/0x710 [ 30.909882][ T924] ? rcu_is_watching+0x16/0xd0 [ 30.909884][ T924] ? lock_acquire+0x13c/0x160 [ 30.909887][ T924] console_flush_one_record+0x46f/0x710 [ 30.909891][ T924] ? console_emit_next_record+0x4c0/0x4c0 [ 30.909893][ T924] ? __lock_acquire+0x518/0xc20 [ 30.909898][ T924] console_unlock+0xee/0x1f0 [ 30.909901][ T924] ? console_flush_one_record+0x710/0x710 [ 30.909903][ T924] ? rcu_is_watching+0x16/0xd0 [ 30.909905][ T924] ? lock_acquire+0xe0/0x160 [ 30.909908][ T924] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.909910][ T924] ? vprintk_emit+0x320/0x3e0 [ 30.909913][ T924] vprintk_emit+0x37c/0x3e0 [ 30.909916][ T924] ? wake_up_klogd_work_func+0x90/0x90 [ 30.909918][ T924] ? __lock_acquire+0x518/0xc20 [ 30.909922][ T924] _printk+0xc7/0x100 [ 30.909926][ T924] ? snapshot_read.cold+0x21/0x21 [ 30.909928][ T924] ? do_raw_spin_lock+0x131/0x280 [ 30.909931][ T924] ? __rwlock_init+0x150/0x150 [ 30.909935][ T924] ? do_raw_spin_lock+0x131/0x280 [ 30.909937][ T924] do_exit.cold+0x82/0x9c [ 30.909941][ T924] ? exit_notify+0x890/0x890 [ 30.909942][ T924] ? __lock_release.isra.0+0x69/0x1a0 [ 30.909945][ T924] ? rcu_is_watching+0x16/0xd0 [ 30.909949][ T924] do_group_exit+0xb8/0x370 [ 30.909951][ T924] __x64_sys_exit_group+0x3c/0x50 [ 30.909953][ T924] x64_sys_call+0x1567/0x1570 [ 30.909956][ T924] do_syscall_64+0xff/0x530 [ 30.909960][ T924] ? exc_page_fault+0xee/0x100 [ 30.909962][ T924] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.909964][ T924] RIP: 0033:0x7f56939761b8 [ 30.909966][ T924] Code: Unable to access opcode bytes at 0x7f569397618e. [ 30.909968][ T924] RSP: 002b:00007ffcca3f8148 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.909970][ T924] RAX: ffffffffffffffda RBX: 00007f5693aa6f88 RCX: 00007f56939761b8 [ 30.909971][ T924] RDX: 00007f56938b3a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 30.909972][ T924] RBP: 00007ffcca3f81a0 R08: 0000000000000000 R09: 0000000000000020 [ 30.909973][ T924] R10: 00007ffcca3f7fe0 R11: 0000000000000246 R12: 0000000000000001 [ 30.909974][ T924] R13: 0000000000000000 R14: 00007f5693aa5680 R15: 00007f5693aa6fa0 [ 30.909980][ T924]