[ 19.249170][ T373] cmsg_sender (373) used greatest stack depth: 24144 bytes left [ 19.249189][ T373] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.249191][ T373] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 373, name: cmsg_sender [ 19.249193][ T373] preempt_count: 2, expected: 0 [ 19.249194][ T373] RCU nest depth: 0, expected: 0 [ 19.249195][ T373] locks held by cmsg_sender/373: 5, last CPU#1: [ 19.249197][ T373] #0: ffffffff9c6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 19.249209][ T373] #1: ffffffff9c77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.249214][ T373] #2: ffffffff9c77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.249218][ T373] #3: ffffffff9c69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.249222][ T373] #4: ffffffff9c69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.249226][ T373] irq event stamp: 39954 [ 19.249227][ T373] hardirqs last enabled at (39953): [] __down_trylock_console_sem+0x86/0xa0 [ 19.249231][ T373] hardirqs last disabled at (39954): [] console_emit_next_record+0x3d4/0x4c0 [ 19.249233][ T373] softirqs last enabled at (38746): [] handle_softirqs+0x67c/0x900 [ 19.249235][ T373] softirqs last disabled at (38741): [] __irq_exit_rcu+0x145/0x1c0 [ 19.249238][ T373] Preemption disabled at: [ 19.249239][ T373] [<0000000000000000>] 0x0 [ 19.249246][ T373] CPU: 1 UID: 0 PID: 373 Comm: cmsg_sender Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.249249][ T373] Tainted: [W]=WARN [ 19.249250][ T373] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.249252][ T373] Call Trace: [ 19.249254][ T373] [ 19.249255][ T373] dump_stack_lvl+0x6f/0xa0 [ 19.249262][ T373] __might_resched.cold+0x1fe/0x2c1 [ 19.249267][ T373] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.249271][ T373] ? __kmalloc_noprof+0xdb/0x760 [ 19.249284][ T373] __kmalloc_noprof+0x443/0x760 [ 19.249286][ T373] ? alloc_buf.isra.0+0x4b/0x260 [ 19.249292][ T373] ? do_raw_spin_unlock+0x59/0x250 [ 19.249295][ T373] alloc_buf.isra.0+0x4b/0x260 [ 19.249299][ T373] put_chars+0x1e1/0x2f0 [ 19.249302][ T373] ? __send_to_port+0x420/0x420 [ 19.249303][ T373] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.249306][ T373] ? validate_chain+0x38b/0xc20 [ 19.249312][ T373] hvc_console_print+0x292/0x780 [ 19.249320][ T373] ? hvc_write+0x3a0/0x3a0 [ 19.249322][ T373] ? rcu_is_watching+0x16/0xd0 [ 19.249324][ T373] ? lock_acquire+0x13c/0x160 [ 19.249328][ T373] console_emit_next_record+0x22f/0x4c0 [ 19.249333][ T373] ? devkmsg_read+0x4b0/0x4b0 [ 19.249334][ T373] ? console_flush_one_record+0x106/0x710 [ 19.249338][ T373] ? rcu_is_watching+0x16/0xd0 [ 19.249340][ T373] ? lock_acquire+0x13c/0x160 [ 19.249344][ T373] console_flush_one_record+0x46f/0x710 [ 19.249348][ T373] ? console_emit_next_record+0x4c0/0x4c0 [ 19.249350][ T373] ? __lock_acquire+0x518/0xc20 [ 19.249355][ T373] console_unlock+0xee/0x1f0 [ 19.249358][ T373] ? console_flush_one_record+0x710/0x710 [ 19.249360][ T373] ? rcu_is_watching+0x16/0xd0 [ 19.249362][ T373] ? lock_acquire+0xe0/0x160 [ 19.249366][ T373] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.249367][ T373] ? vprintk_emit+0x320/0x3e0 [ 19.249370][ T373] vprintk_emit+0x37c/0x3e0 [ 19.249373][ T373] ? wake_up_klogd_work_func+0x90/0x90 [ 19.249376][ T373] ? __lock_acquire+0x518/0xc20 [ 19.249380][ T373] _printk+0xc7/0x100 [ 19.249383][ T373] ? snapshot_read.cold+0x21/0x21 [ 19.249386][ T373] ? do_raw_spin_lock+0x131/0x280 [ 19.249389][ T373] ? __rwlock_init+0x150/0x150 [ 19.249393][ T373] ? do_raw_spin_lock+0x131/0x280 [ 19.249396][ T373] do_exit.cold+0x82/0x9c [ 19.249400][ T373] ? exit_notify+0x890/0x890 [ 19.249401][ T373] ? __lock_release.isra.0+0x69/0x1a0 [ 19.249404][ T373] ? rcu_is_watching+0x16/0xd0 [ 19.249408][ T373] do_group_exit+0xb8/0x370 [ 19.249411][ T373] __x64_sys_exit_group+0x3c/0x50 [ 19.249413][ T373] x64_sys_call+0x1567/0x1570 [ 19.249415][ T373] do_syscall_64+0xff/0x530 [ 19.249419][ T373] ? exc_page_fault+0xee/0x100 [ 19.249422][ T373] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.249425][ T373] RIP: 0033:0x7f00632821b8 [ 19.249427][ T373] Code: Unable to access opcode bytes at 0x7f006328218e. [ 19.249428][ T373] RSP: 002b:00007ffd4ceafe38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 19.249434][ T373] RAX: ffffffffffffffda RBX: 00007f00633b2f88 RCX: 00007f00632821b8 [ 19.249435][ T373] RDX: 00007f00631bfa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 19.249436][ T373] RBP: 00007ffd4ceafe90 R08: 0000000000000000 R09: 0000000000000020 [ 19.249437][ T373] R10: 00007ffd4ceafcd0 R11: 0000000000000246 R12: 0000000000000001 [ 19.249438][ T373] R13: 0000000000000000 R14: 00007f00633b1680 R15: 00007f00633b2fa0 [ 19.249445][ T373]