[ 33.970749][ T932] cmsg_sender (932) used greatest stack depth: 23840 bytes left [ 33.970768][ T932] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.970770][ T932] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 932, name: cmsg_sender [ 33.970771][ T932] preempt_count: 2, expected: 0 [ 33.970772][ T932] RCU nest depth: 0, expected: 0 [ 33.970773][ T932] locks held by cmsg_sender/932: 5, last CPU#3: [ 33.970775][ T932] #0: ffffffffa4c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 33.970786][ T932] #1: ffffffffa4d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.970791][ T932] #2: ffffffffa4d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.970796][ T932] #3: ffffffffa4c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.970800][ T932] #4: ffffffffa4c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.970804][ T932] irq event stamp: 23196 [ 33.970805][ T932] hardirqs last enabled at (23195): [] __down_trylock_console_sem+0x86/0xa0 [ 33.970808][ T932] hardirqs last disabled at (23196): [] console_emit_next_record+0x3d4/0x4c0 [ 33.970810][ T932] softirqs last enabled at (21302): [] sk_common_release+0x16b/0x310 [ 33.970814][ T932] softirqs last disabled at (21300): [] sk_common_release+0xc2/0x310 [ 33.970816][ T932] Preemption disabled at: [ 33.970817][ T932] [<0000000000000000>] 0x0 [ 33.970823][ T932] CPU: 3 UID: 0 PID: 932 Comm: cmsg_sender Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.970826][ T932] Tainted: [W]=WARN [ 33.970827][ T932] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.970829][ T932] Call Trace: [ 33.970831][ T932] [ 33.970832][ T932] dump_stack_lvl+0x6f/0xa0 [ 33.970838][ T932] __might_resched.cold+0x1fe/0x2c1 [ 33.970843][ T932] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.970847][ T932] ? __kmalloc_noprof+0xdb/0x760 [ 33.970851][ T932] __kmalloc_noprof+0x443/0x760 [ 33.970853][ T932] ? alloc_buf.isra.0+0x4b/0x260 [ 33.970860][ T932] ? do_raw_spin_unlock+0x59/0x250 [ 33.970863][ T932] alloc_buf.isra.0+0x4b/0x260 [ 33.970867][ T932] put_chars+0x1e1/0x2f0 [ 33.970869][ T932] ? __send_to_port+0x420/0x420 [ 33.970870][ T932] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.970874][ T932] ? validate_chain+0x38b/0xc20 [ 33.970879][ T932] hvc_console_print+0x292/0x780 [ 33.970887][ T932] ? hvc_write+0x3a0/0x3a0 [ 33.970890][ T932] ? rcu_is_watching+0x16/0xd0 [ 33.970892][ T932] ? lock_acquire+0x13c/0x160 [ 33.970895][ T932] console_emit_next_record+0x22f/0x4c0 [ 33.970899][ T932] ? devkmsg_read+0x4b0/0x4b0 [ 33.970901][ T932] ? console_flush_one_record+0x106/0x710 [ 33.970905][ T932] ? rcu_is_watching+0x16/0xd0 [ 33.970906][ T932] ? lock_acquire+0x13c/0x160 [ 33.970910][ T932] console_flush_one_record+0x46f/0x710 [ 33.970914][ T932] ? console_emit_next_record+0x4c0/0x4c0 [ 33.970916][ T932] ? __lock_acquire+0x518/0xc20 [ 33.970922][ T932] console_unlock+0xee/0x1f0 [ 33.970924][ T932] ? console_flush_one_record+0x710/0x710 [ 33.970926][ T932] ? rcu_is_watching+0x16/0xd0 [ 33.970928][ T932] ? lock_acquire+0xe0/0x160 [ 33.970932][ T932] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.970934][ T932] ? vprintk_emit+0x320/0x3e0 [ 33.970936][ T932] vprintk_emit+0x37c/0x3e0 [ 33.970939][ T932] ? wake_up_klogd_work_func+0x90/0x90 [ 33.970942][ T932] ? __lock_acquire+0x518/0xc20 [ 33.970946][ T932] _printk+0xc7/0x100 [ 33.970950][ T932] ? snapshot_read.cold+0x21/0x21 [ 33.970952][ T932] ? do_raw_spin_lock+0x131/0x280 [ 33.970955][ T932] ? __rwlock_init+0x150/0x150 [ 33.970959][ T932] ? do_raw_spin_lock+0x131/0x280 [ 33.970962][ T932] do_exit.cold+0x82/0x9c [ 33.970966][ T932] ? exit_notify+0x890/0x890 [ 33.970967][ T932] ? __lock_release.isra.0+0x69/0x1a0 [ 33.970970][ T932] ? rcu_is_watching+0x16/0xd0 [ 33.970973][ T932] do_group_exit+0xb8/0x370 [ 33.970976][ T932] __x64_sys_exit_group+0x3c/0x50 [ 33.970978][ T932] x64_sys_call+0x1567/0x1570 [ 33.970980][ T932] do_syscall_64+0xff/0x530 [ 33.970984][ T932] ? exc_page_fault+0xee/0x100 [ 33.970987][ T932] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.970989][ T932] RIP: 0033:0x7f03f06341b8 [ 33.970991][ T932] Code: Unable to access opcode bytes at 0x7f03f063418e. [ 33.970992][ T932] RSP: 002b:00007ffcaed50648 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 33.970995][ T932] RAX: ffffffffffffffda RBX: 00007f03f0764f88 RCX: 00007f03f06341b8 [ 33.970996][ T932] RDX: 00007f03f0571a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 33.970997][ T932] RBP: 00007ffcaed506a0 R08: 0000000000000000 R09: 0000000000000020 [ 33.970998][ T932] R10: 00007ffcaed504e0 R11: 0000000000000246 R12: 0000000000000001 [ 33.970998][ T932] R13: 0000000000000000 R14: 00007f03f0763680 R15: 00007f03f0764fa0 [ 33.971005][ T932]