[ 25.005754][ T582] cmsg_sender (582) used greatest stack depth: 23440 bytes left [ 25.005774][ T582] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.005776][ T582] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 582, name: cmsg_sender [ 25.005777][ T582] preempt_count: 2, expected: 0 [ 25.005778][ T582] RCU nest depth: 0, expected: 0 [ 25.005779][ T582] locks held by cmsg_sender/582: 5, last CPU#3: [ 25.005781][ T582] #0: ffffffffac2167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 25.005793][ T582] #1: ffffffffac37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.005797][ T582] #2: ffffffffac37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.005802][ T582] #3: ffffffffac29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.005806][ T582] #4: ffffffffac29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.005810][ T582] irq event stamp: 24950 [ 25.005811][ T582] hardirqs last enabled at (24949): [] __down_trylock_console_sem+0x86/0xa0 [ 25.005814][ T582] hardirqs last disabled at (24950): [] console_emit_next_record+0x3d4/0x4c0 [ 25.005816][ T582] softirqs last enabled at (22836): [] sk_common_release+0x16b/0x310 [ 25.005819][ T582] softirqs last disabled at (22834): [] sk_common_release+0xc2/0x310 [ 25.005822][ T582] Preemption disabled at: [ 25.005823][ T582] [<0000000000000000>] 0x0 [ 25.005829][ T582] CPU: 3 UID: 0 PID: 582 Comm: cmsg_sender Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.005833][ T582] Tainted: [W]=WARN [ 25.005834][ T582] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.005835][ T582] Call Trace: [ 25.005837][ T582] [ 25.005838][ T582] dump_stack_lvl+0x6f/0xa0 [ 25.005845][ T582] __might_resched.cold+0x1fe/0x2c1 [ 25.005850][ T582] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.005854][ T582] ? __kmalloc_noprof+0xdb/0x760 [ 25.005858][ T582] __kmalloc_noprof+0x443/0x760 [ 25.005860][ T582] ? alloc_buf.isra.0+0x4b/0x260 [ 25.005866][ T582] ? do_raw_spin_unlock+0x59/0x250 [ 25.005869][ T582] alloc_buf.isra.0+0x4b/0x260 [ 25.005873][ T582] put_chars+0x1e1/0x2f0 [ 25.005875][ T582] ? __send_to_port+0x420/0x420 [ 25.005876][ T582] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.005880][ T582] ? validate_chain+0x38b/0xc20 [ 25.005888][ T582] hvc_console_print+0x292/0x780 [ 25.005896][ T582] ? hvc_write+0x3a0/0x3a0 [ 25.005898][ T582] ? rcu_is_watching+0x16/0xd0 [ 25.005900][ T582] ? lock_acquire+0x13c/0x160 [ 25.005904][ T582] console_emit_next_record+0x22f/0x4c0 [ 25.005908][ T582] ? devkmsg_read+0x4b0/0x4b0 [ 25.005910][ T582] ? console_flush_one_record+0x106/0x710 [ 25.005914][ T582] ? rcu_is_watching+0x16/0xd0 [ 25.005915][ T582] ? lock_acquire+0x13c/0x160 [ 25.005919][ T582] console_flush_one_record+0x46f/0x710 [ 25.005923][ T582] ? console_emit_next_record+0x4c0/0x4c0 [ 25.005925][ T582] ? __lock_acquire+0x518/0xc20 [ 25.005930][ T582] console_unlock+0xee/0x1f0 [ 25.005933][ T582] ? console_flush_one_record+0x710/0x710 [ 25.005935][ T582] ? rcu_is_watching+0x16/0xd0 [ 25.005937][ T582] ? lock_acquire+0xe0/0x160 [ 25.005941][ T582] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.005942][ T582] ? vprintk_emit+0x320/0x3e0 [ 25.005945][ T582] vprintk_emit+0x37c/0x3e0 [ 25.005948][ T582] ? wake_up_klogd_work_func+0x90/0x90 [ 25.005951][ T582] ? __lock_acquire+0x518/0xc20 [ 25.005955][ T582] _printk+0xc7/0x100 [ 25.005959][ T582] ? snapshot_read.cold+0x21/0x21 [ 25.005962][ T582] ? do_raw_spin_lock+0x131/0x280 [ 25.005964][ T582] ? __rwlock_init+0x150/0x150 [ 25.005968][ T582] ? do_raw_spin_lock+0x131/0x280 [ 25.005971][ T582] do_exit.cold+0x82/0x9c [ 25.005975][ T582] ? exit_notify+0x890/0x890 [ 25.005976][ T582] ? __lock_release.isra.0+0x69/0x1a0 [ 25.005979][ T582] ? rcu_is_watching+0x16/0xd0 [ 25.005982][ T582] do_group_exit+0xb8/0x370 [ 25.005985][ T582] __x64_sys_exit_group+0x3c/0x50 [ 25.005987][ T582] x64_sys_call+0x1567/0x1570 [ 25.005989][ T582] do_syscall_64+0xff/0x530 [ 25.005993][ T582] ? exc_page_fault+0xee/0x100 [ 25.005996][ T582] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.005998][ T582] RIP: 0033:0x7fe587e2c1b8 [ 25.006000][ T582] Code: Unable to access opcode bytes at 0x7fe587e2c18e. [ 25.006001][ T582] RSP: 002b:00007ffe935d8eb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 25.006003][ T582] RAX: ffffffffffffffda RBX: 00007fe587f5cf88 RCX: 00007fe587e2c1b8 [ 25.006005][ T582] RDX: 00007fe587d69a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 25.006006][ T582] RBP: 00007ffe935d8f10 R08: 0000000000000000 R09: 0000000000000020 [ 25.006006][ T582] R10: 00007ffe935d8d50 R11: 0000000000000246 R12: 0000000000000001 [ 25.006007][ T582] R13: 0000000000000000 R14: 00007fe587f5b680 R15: 00007fe587f5cfa0 [ 25.006014][ T582]