[ 19.764497][ T777] mptcp_connect (777) used greatest stack depth: 24128 bytes left [ 19.764517][ T777] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.764519][ T777] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 777, name: mptcp_connect [ 19.764521][ T777] preempt_count: 2, expected: 0 [ 19.764522][ T777] RCU nest depth: 0, expected: 0 [ 19.764523][ T777] locks held by mptcp_connect/777: 5, last CPU#1: [ 19.764525][ T777] #0: ffffffff916267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 19.764538][ T777] #1: ffffffff9178dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.764543][ T777] #2: ffffffff9178dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.764547][ T777] #3: ffffffff916ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.764551][ T777] #4: ffffffff916ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.764555][ T777] irq event stamp: 33276 [ 19.764556][ T777] hardirqs last enabled at (33275): [] __down_trylock_console_sem+0x86/0xa0 [ 19.764558][ T777] hardirqs last disabled at (33276): [] console_emit_next_record+0x3d4/0x4c0 [ 19.764560][ T777] softirqs last enabled at (31318): [] handle_softirqs+0x67c/0x900 [ 19.764562][ T777] softirqs last disabled at (31309): [] __irq_exit_rcu+0x145/0x1c0 [ 19.764564][ T777] Preemption disabled at: [ 19.764565][ T777] [<0000000000000000>] 0x0 [ 19.764571][ T777] CPU: 1 UID: 0 PID: 777 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.764575][ T777] Tainted: [W]=WARN [ 19.764576][ T777] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.764577][ T777] Call Trace: [ 19.764579][ T777] [ 19.764580][ T777] dump_stack_lvl+0x6f/0xa0 [ 19.764586][ T777] __might_resched.cold+0x1fe/0x2c1 [ 19.764591][ T777] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.764595][ T777] ? __kmalloc_noprof+0xdb/0x760 [ 19.764600][ T777] __kmalloc_noprof+0x443/0x760 [ 19.764602][ T777] ? alloc_buf.isra.0+0x4b/0x260 [ 19.764608][ T777] ? do_raw_spin_unlock+0x59/0x250 [ 19.764611][ T777] alloc_buf.isra.0+0x4b/0x260 [ 19.764614][ T777] put_chars+0x1e1/0x2f0 [ 19.764618][ T777] ? __send_to_port+0x420/0x420 [ 19.764619][ T777] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.764624][ T777] ? validate_chain+0x38b/0xc20 [ 19.764629][ T777] hvc_console_print+0x292/0x780 [ 19.764636][ T777] ? hvc_write+0x3a0/0x3a0 [ 19.764639][ T777] ? rcu_is_watching+0x16/0xd0 [ 19.764641][ T777] ? lock_acquire+0x13c/0x160 [ 19.764645][ T777] console_emit_next_record+0x22f/0x4c0 [ 19.764649][ T777] ? devkmsg_read+0x4b0/0x4b0 [ 19.764650][ T777] ? console_flush_one_record+0x106/0x710 [ 19.764653][ T777] ? rcu_is_watching+0x16/0xd0 [ 19.764656][ T777] ? lock_acquire+0x13c/0x160 [ 19.764660][ T777] console_flush_one_record+0x46f/0x710 [ 19.764664][ T777] ? console_emit_next_record+0x4c0/0x4c0 [ 19.764666][ T777] ? __lock_acquire+0x518/0xc20 [ 19.764671][ T777] console_unlock+0xee/0x1f0 [ 19.764674][ T777] ? console_flush_one_record+0x710/0x710 [ 19.764675][ T777] ? rcu_is_watching+0x16/0xd0 [ 19.764677][ T777] ? lock_acquire+0x60/0x160 [ 19.764681][ T777] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.764682][ T777] ? vprintk_emit+0x320/0x3e0 [ 19.764685][ T777] vprintk_emit+0x37c/0x3e0 [ 19.764689][ T777] ? wake_up_klogd_work_func+0x90/0x90 [ 19.764691][ T777] ? do_raw_spin_unlock+0x59/0x250 [ 19.764693][ T777] ? __lock_acquire+0x518/0xc20 [ 19.764697][ T777] _printk+0xc7/0x100 [ 19.764700][ T777] ? snapshot_read.cold+0x21/0x21 [ 19.764703][ T777] ? do_raw_spin_lock+0x131/0x280 [ 19.764705][ T777] ? __rwlock_init+0x150/0x150 [ 19.764709][ T777] ? do_raw_spin_lock+0x131/0x280 [ 19.764712][ T777] do_exit.cold+0x82/0x9c [ 19.764715][ T777] ? exit_notify+0x890/0x890 [ 19.764717][ T777] ? __lock_release.isra.0+0x69/0x1a0 [ 19.764720][ T777] ? rcu_is_watching+0x16/0xd0 [ 19.764724][ T777] do_group_exit+0xb8/0x370 [ 19.764728][ T777] __x64_sys_exit_group+0x3c/0x50 [ 19.764730][ T777] x64_sys_call+0x1567/0x1570 [ 19.764732][ T777] do_syscall_64+0xff/0x530 [ 19.764735][ T777] ? exc_page_fault+0xee/0x100 [ 19.764738][ T777] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.764740][ T777] RIP: 0033:0x7f449dfc91b8 [ 19.764743][ T777] Code: Unable to access opcode bytes at 0x7f449dfc918e. [ 19.764744][ T777] RSP: 002b:00007ffcf10b2098 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 19.764746][ T777] RAX: ffffffffffffffda RBX: 00007f449e0f9f88 RCX: 00007f449dfc91b8 [ 19.764747][ T777] RDX: 00007f449df06a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 19.764748][ T777] RBP: 00007ffcf10b20f0 R08: 0000000000000000 R09: 0000000000000000 [ 19.764749][ T777] R10: 00007ffcf10b1f30 R11: 0000000000000246 R12: 0000000000000001 [ 19.764750][ T777] R13: 0000000000000000 R14: 00007f449e0f8680 R15: 00007f449e0f9fa0 [ 19.764757][ T777]