[ 20.854207][ T921] mptcp_connect (921) used greatest stack depth: 23744 bytes left [ 20.854229][ T921] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.854232][ T921] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 921, name: mptcp_connect [ 20.854234][ T921] preempt_count: 2, expected: 0 [ 20.854235][ T921] RCU nest depth: 0, expected: 0 [ 20.854237][ T921] locks held by mptcp_connect/921: 5, last CPU#3: [ 20.854240][ T921] #0: ffffffff9aa267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 20.854256][ T921] #1: ffffffff9ab8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.854263][ T921] #2: ffffffff9ab8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.854269][ T921] #3: ffffffff9aaad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.854275][ T921] #4: ffffffff9aaad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.854281][ T921] irq event stamp: 37592 [ 20.854282][ T921] hardirqs last enabled at (37591): [] __down_trylock_console_sem+0x86/0xa0 [ 20.854286][ T921] hardirqs last disabled at (37592): [] console_emit_next_record+0x3d4/0x4c0 [ 20.854289][ T921] softirqs last enabled at (37214): [] handle_softirqs+0x67c/0x900 [ 20.854291][ T921] softirqs last disabled at (36311): [] __irq_exit_rcu+0x145/0x1c0 [ 20.854294][ T921] Preemption disabled at: [ 20.854295][ T921] [<0000000000000000>] 0x0 [ 20.854304][ T921] CPU: 3 UID: 0 PID: 921 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.854310][ T921] Tainted: [W]=WARN [ 20.854311][ T921] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.854313][ T921] Call Trace: [ 20.854316][ T921] [ 20.854318][ T921] dump_stack_lvl+0x6f/0xa0 [ 20.854326][ T921] __might_resched.cold+0x1fe/0x2c1 [ 20.854333][ T921] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.854339][ T921] ? __kmalloc_noprof+0xdb/0x760 [ 20.854346][ T921] __kmalloc_noprof+0x443/0x760 [ 20.854349][ T921] ? alloc_buf.isra.0+0x4b/0x260 [ 20.854359][ T921] ? do_raw_spin_unlock+0x59/0x250 [ 20.854363][ T921] alloc_buf.isra.0+0x4b/0x260 [ 20.854368][ T921] put_chars+0x1e1/0x2f0 [ 20.854373][ T921] ? __send_to_port+0x420/0x420 [ 20.854376][ T921] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.854382][ T921] ? validate_chain+0x38b/0xc20 [ 20.854392][ T921] hvc_console_print+0x292/0x780 [ 20.854404][ T921] ? hvc_write+0x3a0/0x3a0 [ 20.854408][ T921] ? rcu_is_watching+0x16/0xd0 [ 20.854412][ T921] ? lock_acquire+0x13c/0x160 [ 20.854419][ T921] console_emit_next_record+0x22f/0x4c0 [ 20.854425][ T921] ? devkmsg_read+0x4b0/0x4b0 [ 20.854427][ T921] ? console_flush_one_record+0x106/0x710 [ 20.854433][ T921] ? rcu_is_watching+0x16/0xd0 [ 20.854436][ T921] ? lock_acquire+0x13c/0x160 [ 20.854443][ T921] console_flush_one_record+0x46f/0x710 [ 20.854450][ T921] ? console_emit_next_record+0x4c0/0x4c0 [ 20.854452][ T921] ? __lock_acquire+0x518/0xc20 [ 20.854462][ T921] console_unlock+0xee/0x1f0 [ 20.854466][ T921] ? console_flush_one_record+0x710/0x710 [ 20.854468][ T921] ? rcu_is_watching+0x16/0xd0 [ 20.854472][ T921] ? lock_acquire+0x60/0x160 [ 20.854478][ T921] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.854481][ T921] ? vprintk_emit+0x320/0x3e0 [ 20.854486][ T921] vprintk_emit+0x37c/0x3e0 [ 20.854492][ T921] ? wake_up_klogd_work_func+0x90/0x90 [ 20.854495][ T921] ? do_raw_spin_unlock+0x59/0x250 [ 20.854500][ T921] ? __lock_acquire+0x518/0xc20 [ 20.854506][ T921] _printk+0xc7/0x100 [ 20.854511][ T921] ? snapshot_read.cold+0x21/0x21 [ 20.854516][ T921] ? do_raw_spin_lock+0x131/0x280 [ 20.854520][ T921] ? __rwlock_init+0x150/0x150 [ 20.854526][ T921] ? do_raw_spin_lock+0x131/0x280 [ 20.854530][ T921] do_exit.cold+0x82/0x9c [ 20.854535][ T921] ? exit_notify+0x890/0x890 [ 20.854538][ T921] ? __lock_release.isra.0+0x69/0x1a0 [ 20.854542][ T921] ? rcu_is_watching+0x16/0xd0 [ 20.854549][ T921] do_group_exit+0xb8/0x370 [ 20.854555][ T921] __x64_sys_exit_group+0x3c/0x50 [ 20.854559][ T921] x64_sys_call+0x1567/0x1570 [ 20.854561][ T921] do_syscall_64+0xff/0x530 [ 20.854566][ T921] ? exc_page_fault+0xee/0x100 [ 20.854571][ T921] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.854574][ T921] RIP: 0033:0x7f57860721b8 [ 20.854577][ T921] Code: Unable to access opcode bytes at 0x7f578607218e. [ 20.854579][ T921] RSP: 002b:00007ffee9ce8fa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 20.854582][ T921] RAX: ffffffffffffffda RBX: 00007f57861a2f88 RCX: 00007f57860721b8 [ 20.854584][ T921] RDX: 00007f5785fafa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 20.854586][ T921] RBP: 00007ffee9ce9000 R08: 0000000000000000 R09: 0000000000000000 [ 20.854587][ T921] R10: 00007ffee9ce8e40 R11: 0000000000000246 R12: 0000000000000001 [ 20.854588][ T921] R13: 0000000000000000 R14: 00007f57861a1680 R15: 00007f57861a2fa0 [ 20.854601][ T921]