[ 20.573746][ T712] mptcp_connect (712) used greatest stack depth: 23872 bytes left [ 20.573781][ T712] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.573783][ T712] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 712, name: mptcp_connect [ 20.573785][ T712] preempt_count: 2, expected: 0 [ 20.573786][ T712] RCU nest depth: 0, expected: 0 [ 20.573787][ T712] locks held by mptcp_connect/712: 5, last CPU#3: [ 20.573789][ T712] #0: ffffffff9e0267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 20.573802][ T712] #1: ffffffff9e18dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.573808][ T712] #2: ffffffff9e18dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.573812][ T712] #3: ffffffff9e0ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.573815][ T712] #4: ffffffff9e0ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.573819][ T712] irq event stamp: 32282 [ 20.573820][ T712] hardirqs last enabled at (32281): [] __down_trylock_console_sem+0x86/0xa0 [ 20.573823][ T712] hardirqs last disabled at (32282): [] console_emit_next_record+0x3d4/0x4c0 [ 20.573824][ T712] softirqs last enabled at (29800): [] handle_softirqs+0x67c/0x900 [ 20.573826][ T712] softirqs last disabled at (29795): [] __irq_exit_rcu+0x145/0x1c0 [ 20.573828][ T712] Preemption disabled at: [ 20.573829][ T712] [<0000000000000000>] 0x0 [ 20.573836][ T712] CPU: 3 UID: 0 PID: 712 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.573840][ T712] Tainted: [W]=WARN [ 20.573840][ T712] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.573842][ T712] Call Trace: [ 20.573844][ T712] [ 20.573845][ T712] dump_stack_lvl+0x6f/0xa0 [ 20.573852][ T712] __might_resched.cold+0x1fe/0x2c1 [ 20.573856][ T712] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.573860][ T712] ? __kmalloc_noprof+0xdb/0x760 [ 20.573865][ T712] __kmalloc_noprof+0x443/0x760 [ 20.573867][ T712] ? alloc_buf.isra.0+0x4b/0x260 [ 20.573874][ T712] ? do_raw_spin_unlock+0x59/0x250 [ 20.573876][ T712] alloc_buf.isra.0+0x4b/0x260 [ 20.573880][ T712] put_chars+0x1e1/0x2f0 [ 20.573883][ T712] ? __send_to_port+0x420/0x420 [ 20.573885][ T712] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.573890][ T712] ? validate_chain+0x38b/0xc20 [ 20.573895][ T712] hvc_console_print+0x292/0x780 [ 20.573902][ T712] ? hvc_write+0x3a0/0x3a0 [ 20.573905][ T712] ? rcu_is_watching+0x16/0xd0 [ 20.573907][ T712] ? lock_acquire+0x13c/0x160 [ 20.573911][ T712] console_emit_next_record+0x22f/0x4c0 [ 20.573914][ T712] ? devkmsg_read+0x4b0/0x4b0 [ 20.573916][ T712] ? console_flush_one_record+0x106/0x710 [ 20.573919][ T712] ? rcu_is_watching+0x16/0xd0 [ 20.573921][ T712] ? lock_acquire+0x13c/0x160 [ 20.573925][ T712] console_flush_one_record+0x46f/0x710 [ 20.573929][ T712] ? console_emit_next_record+0x4c0/0x4c0 [ 20.573931][ T712] ? __lock_acquire+0x518/0xc20 [ 20.573936][ T712] console_unlock+0xee/0x1f0 [ 20.573938][ T712] ? console_flush_one_record+0x710/0x710 [ 20.573940][ T712] ? rcu_is_watching+0x16/0xd0 [ 20.573942][ T712] ? lock_acquire+0x60/0x160 [ 20.573946][ T712] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.573947][ T712] ? vprintk_emit+0x320/0x3e0 [ 20.573950][ T712] vprintk_emit+0x37c/0x3e0 [ 20.573954][ T712] ? wake_up_klogd_work_func+0x90/0x90 [ 20.573956][ T712] ? do_raw_spin_unlock+0x59/0x250 [ 20.573959][ T712] ? __lock_acquire+0x518/0xc20 [ 20.573962][ T712] _printk+0xc7/0x100 [ 20.573966][ T712] ? snapshot_read.cold+0x21/0x21 [ 20.573968][ T712] ? do_raw_spin_lock+0x131/0x280 [ 20.573971][ T712] ? __rwlock_init+0x150/0x150 [ 20.573975][ T712] ? do_raw_spin_lock+0x131/0x280 [ 20.573977][ T712] do_exit.cold+0x82/0x9c [ 20.573981][ T712] ? exit_notify+0x890/0x890 [ 20.573983][ T712] ? __lock_release.isra.0+0x69/0x1a0 [ 20.573985][ T712] ? rcu_is_watching+0x16/0xd0 [ 20.573989][ T712] do_group_exit+0xb8/0x370 [ 20.573993][ T712] __x64_sys_exit_group+0x3c/0x50 [ 20.573995][ T712] x64_sys_call+0x1567/0x1570 [ 20.573997][ T712] do_syscall_64+0xff/0x530 [ 20.574000][ T712] ? exc_page_fault+0xee/0x100 [ 20.574004][ T712] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.574006][ T712] RIP: 0033:0x7fca318f61b8 [ 20.574008][ T712] Code: Unable to access opcode bytes at 0x7fca318f618e. [ 20.574010][ T712] RSP: 002b:00007ffef45a4a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 20.574012][ T712] RAX: ffffffffffffffda RBX: 00007fca31a26f88 RCX: 00007fca318f61b8 [ 20.574014][ T712] RDX: 00007fca31833a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 20.574014][ T712] RBP: 00007ffef45a4ae0 R08: 0000000000000000 R09: 0000000000000000 [ 20.574015][ T712] R10: 00007ffef45a4920 R11: 0000000000000246 R12: 0000000000000001 [ 20.574016][ T712] R13: 0000000000000000 R14: 00007fca31a25680 R15: 00007fca31a26fa0 [ 20.574023][ T712] [ 20.597169][ T656] mptcp_connect (656) used greatest stack depth: 23776 bytes left