[ 17.321102][ T476] cmsg_sender (476) used greatest stack depth: 24064 bytes left [ 17.321117][ T476] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.321119][ T476] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 476, name: cmsg_sender [ 17.321121][ T476] preempt_count: 2, expected: 0 [ 17.321122][ T476] RCU nest depth: 0, expected: 0 [ 17.321123][ T476] locks held by cmsg_sender/476: 5, last CPU#3: [ 17.321124][ T476] #0: fffffffface167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.321136][ T476] #1: ffffffffacf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.321141][ T476] #2: ffffffffacf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.321145][ T476] #3: fffffffface9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.321149][ T476] #4: fffffffface9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.321153][ T476] irq event stamp: 47088 [ 17.321154][ T476] hardirqs last enabled at (47087): [] __down_trylock_console_sem+0x86/0xa0 [ 17.321157][ T476] hardirqs last disabled at (47088): [] console_emit_next_record+0x3d4/0x4c0 [ 17.321159][ T476] softirqs last enabled at (45114): [] sk_common_release+0x16b/0x310 [ 17.321163][ T476] softirqs last disabled at (45112): [] sk_common_release+0xc2/0x310 [ 17.321165][ T476] Preemption disabled at: [ 17.321165][ T476] [<0000000000000000>] 0x0 [ 17.321172][ T476] CPU: 3 UID: 0 PID: 476 Comm: cmsg_sender Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.321176][ T476] Tainted: [W]=WARN [ 17.321177][ T476] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.321178][ T476] Call Trace: [ 17.321180][ T476] [ 17.321181][ T476] dump_stack_lvl+0x6f/0xa0 [ 17.321188][ T476] __might_resched.cold+0x1fe/0x2c1 [ 17.321192][ T476] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.321196][ T476] ? __kmalloc_noprof+0xdb/0x760 [ 17.321201][ T476] __kmalloc_noprof+0x443/0x760 [ 17.321202][ T476] ? alloc_buf.isra.0+0x4b/0x260 [ 17.321209][ T476] ? do_raw_spin_unlock+0x59/0x250 [ 17.321212][ T476] alloc_buf.isra.0+0x4b/0x260 [ 17.321215][ T476] put_chars+0x1e1/0x2f0 [ 17.321218][ T476] ? __send_to_port+0x420/0x420 [ 17.321219][ T476] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.321223][ T476] ? validate_chain+0x38b/0xc20 [ 17.321228][ T476] hvc_console_print+0x292/0x780 [ 17.321236][ T476] ? hvc_write+0x3a0/0x3a0 [ 17.321238][ T476] ? rcu_is_watching+0x16/0xd0 [ 17.321240][ T476] ? lock_acquire+0x13c/0x160 [ 17.321244][ T476] console_emit_next_record+0x22f/0x4c0 [ 17.321248][ T476] ? devkmsg_read+0x4b0/0x4b0 [ 17.321250][ T476] ? console_flush_one_record+0x106/0x710 [ 17.321253][ T476] ? rcu_is_watching+0x16/0xd0 [ 17.321255][ T476] ? lock_acquire+0x13c/0x160 [ 17.321259][ T476] console_flush_one_record+0x46f/0x710 [ 17.321263][ T476] ? console_emit_next_record+0x4c0/0x4c0 [ 17.321265][ T476] ? __lock_acquire+0x518/0xc20 [ 17.321270][ T476] console_unlock+0xee/0x1f0 [ 17.321273][ T476] ? console_flush_one_record+0x710/0x710 [ 17.321274][ T476] ? rcu_is_watching+0x16/0xd0 [ 17.321276][ T476] ? lock_acquire+0xe0/0x160 [ 17.321280][ T476] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.321281][ T476] ? vprintk_emit+0x320/0x3e0 [ 17.321284][ T476] vprintk_emit+0x37c/0x3e0 [ 17.321287][ T476] ? wake_up_klogd_work_func+0x90/0x90 [ 17.321290][ T476] ? __lock_acquire+0x518/0xc20 [ 17.321294][ T476] _printk+0xc7/0x100 [ 17.321297][ T476] ? snapshot_read.cold+0x21/0x21 [ 17.321300][ T476] ? do_raw_spin_lock+0x131/0x280 [ 17.321302][ T476] ? __rwlock_init+0x150/0x150 [ 17.321306][ T476] ? do_raw_spin_lock+0x131/0x280 [ 17.321309][ T476] do_exit.cold+0x82/0x9c [ 17.321313][ T476] ? exit_notify+0x890/0x890 [ 17.321314][ T476] ? __lock_release.isra.0+0x69/0x1a0 [ 17.321317][ T476] ? rcu_is_watching+0x16/0xd0 [ 17.321320][ T476] do_group_exit+0xb8/0x370 [ 17.321323][ T476] __x64_sys_exit_group+0x3c/0x50 [ 17.321325][ T476] x64_sys_call+0x1567/0x1570 [ 17.321327][ T476] do_syscall_64+0xff/0x530 [ 17.321331][ T476] ? exc_page_fault+0xee/0x100 [ 17.321334][ T476] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.321336][ T476] RIP: 0033:0x7ff90a3971b8 [ 17.321338][ T476] Code: Unable to access opcode bytes at 0x7ff90a39718e. [ 17.321339][ T476] RSP: 002b:00007ffce922fe88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.321342][ T476] RAX: ffffffffffffffda RBX: 00007ff90a4c7f88 RCX: 00007ff90a3971b8 [ 17.321343][ T476] RDX: 00007ff90a2d4a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 17.321344][ T476] RBP: 00007ffce922fee0 R08: 0000000000000000 R09: 0000000000000020 [ 17.321345][ T476] R10: 00007ffce922fd20 R11: 0000000000000246 R12: 0000000000000001 [ 17.321346][ T476] R13: 0000000000000000 R14: 00007ff90a4c6680 R15: 00007ff90a4c7fa0 [ 17.321352][ T476]