[ 11.906506][ T288] cmsg_sender (288) used greatest stack depth: 24480 bytes left [ 11.906525][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.906527][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: cmsg_sender [ 11.906528][ T288] preempt_count: 2, expected: 0 [ 11.906529][ T288] RCU nest depth: 0, expected: 0 [ 11.906530][ T288] locks held by cmsg_sender/288: 5, last CPU#0: [ 11.906532][ T288] #0: ffffffffb14167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.906544][ T288] #1: ffffffffb157ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.906549][ T288] #2: ffffffffb157de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.906554][ T288] #3: ffffffffb149d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.906558][ T288] #4: ffffffffb149d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.906568][ T288] irq event stamp: 27834 [ 11.906569][ T288] hardirqs last enabled at (27833): [] __down_trylock_console_sem+0x86/0xa0 [ 11.906573][ T288] hardirqs last disabled at (27834): [] console_emit_next_record+0x3d4/0x4c0 [ 11.906576][ T288] softirqs last enabled at (27180): [] handle_softirqs+0x67c/0x900 [ 11.906580][ T288] softirqs last disabled at (25539): [] __irq_exit_rcu+0x145/0x1c0 [ 11.906583][ T288] Preemption disabled at: [ 11.906584][ T288] [<0000000000000000>] 0x0 [ 11.906592][ T288] CPU: 0 UID: 0 PID: 288 Comm: cmsg_sender Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.906596][ T288] Tainted: [W]=WARN [ 11.906597][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.906598][ T288] Call Trace: [ 11.906600][ T288] [ 11.906601][ T288] dump_stack_lvl+0x6f/0xa0 [ 11.906608][ T288] __might_resched.cold+0x1fe/0x2c1 [ 11.906613][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.906617][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 11.906621][ T288] __kmalloc_noprof+0x443/0x760 [ 11.906623][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 11.906630][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 11.906633][ T288] alloc_buf.isra.0+0x4b/0x260 [ 11.906636][ T288] put_chars+0x1e1/0x2f0 [ 11.906639][ T288] ? __send_to_port+0x420/0x420 [ 11.906640][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.906643][ T288] ? validate_chain+0x38b/0xc20 [ 11.906649][ T288] hvc_console_print+0x292/0x780 [ 11.906656][ T288] ? hvc_write+0x3a0/0x3a0 [ 11.906659][ T288] ? rcu_is_watching+0x16/0xd0 [ 11.906661][ T288] ? lock_acquire+0x13c/0x160 [ 11.906665][ T288] console_emit_next_record+0x22f/0x4c0 [ 11.906669][ T288] ? devkmsg_read+0x4b0/0x4b0 [ 11.906671][ T288] ? console_flush_one_record+0x106/0x710 [ 11.906674][ T288] ? rcu_is_watching+0x16/0xd0 [ 11.906676][ T288] ? lock_acquire+0x13c/0x160 [ 11.906680][ T288] console_flush_one_record+0x46f/0x710 [ 11.906684][ T288] ? console_emit_next_record+0x4c0/0x4c0 [ 11.906686][ T288] ? __lock_acquire+0x518/0xc20 [ 11.906691][ T288] console_unlock+0xee/0x1f0 [ 11.906694][ T288] ? console_flush_one_record+0x710/0x710 [ 11.906696][ T288] ? rcu_is_watching+0x16/0xd0 [ 11.906697][ T288] ? lock_acquire+0xe0/0x160 [ 11.906701][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.906703][ T288] ? vprintk_emit+0x320/0x3e0 [ 11.906706][ T288] vprintk_emit+0x37c/0x3e0 [ 11.906709][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 11.906712][ T288] ? __lock_acquire+0x518/0xc20 [ 11.906715][ T288] _printk+0xc7/0x100 [ 11.906719][ T288] ? snapshot_read.cold+0x21/0x21 [ 11.906722][ T288] ? do_raw_spin_lock+0x131/0x280 [ 11.906725][ T288] ? __rwlock_init+0x150/0x150 [ 11.906729][ T288] ? do_raw_spin_lock+0x131/0x280 [ 11.906732][ T288] do_exit.cold+0x82/0x9c [ 11.906735][ T288] ? exit_notify+0x890/0x890 [ 11.906737][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 11.906739][ T288] ? rcu_is_watching+0x16/0xd0 [ 11.906743][ T288] do_group_exit+0xb8/0x370 [ 11.906746][ T288] __x64_sys_exit_group+0x3c/0x50 [ 11.906748][ T288] x64_sys_call+0x1567/0x1570 [ 11.906750][ T288] do_syscall_64+0xff/0x530 [ 11.906754][ T288] ? exc_page_fault+0xee/0x100 [ 11.906757][ T288] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.906759][ T288] RIP: 0033:0x7fc66ab7b1b8 [ 11.906762][ T288] Code: Unable to access opcode bytes at 0x7fc66ab7b18e. [ 11.906763][ T288] RSP: 002b:00007ffeb40b7d68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.906765][ T288] RAX: ffffffffffffffda RBX: 00007fc66acabf88 RCX: 00007fc66ab7b1b8 [ 11.906767][ T288] RDX: 00007fc66aab8a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 11.906768][ T288] RBP: 00007ffeb40b7dc0 R08: 0000000000000000 R09: 0000000000000020 [ 11.906769][ T288] R10: 00007ffeb40b7c00 R11: 0000000000000246 R12: 0000000000000001 [ 11.906769][ T288] R13: 0000000000000000 R14: 00007fc66acaa680 R15: 00007fc66acabfa0 [ 11.906776][ T288]