[ 30.393291][ T825] mptcp_connect (825) used greatest stack depth: 23120 bytes left [ 30.393312][ T825] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.393314][ T825] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 825, name: mptcp_connect [ 30.393316][ T825] preempt_count: 2, expected: 0 [ 30.393317][ T825] RCU nest depth: 0, expected: 0 [ 30.393318][ T825] locks held by mptcp_connect/825: 5, last CPU#3: [ 30.393320][ T825] #0: ffffffff940267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.393333][ T825] #1: ffffffff9418dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.393339][ T825] #2: ffffffff9418dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.393343][ T825] #3: ffffffff940ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.393346][ T825] #4: ffffffff940ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.393350][ T825] irq event stamp: 642154 [ 30.393351][ T825] hardirqs last enabled at (642153): [] __down_trylock_console_sem+0x86/0xa0 [ 30.393354][ T825] hardirqs last disabled at (642154): [] console_emit_next_record+0x3d4/0x4c0 [ 30.393356][ T825] softirqs last enabled at (642100): [] handle_softirqs+0x67c/0x900 [ 30.393358][ T825] softirqs last disabled at (641775): [] __irq_exit_rcu+0x145/0x1c0 [ 30.393360][ T825] Preemption disabled at: [ 30.393361][ T825] [<0000000000000000>] 0x0 [ 30.393368][ T825] CPU: 3 UID: 0 PID: 825 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.393371][ T825] Tainted: [W]=WARN [ 30.393372][ T825] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.393374][ T825] Call Trace: [ 30.393376][ T825] [ 30.393377][ T825] dump_stack_lvl+0x6f/0xa0 [ 30.393383][ T825] __might_resched.cold+0x1fe/0x2c1 [ 30.393389][ T825] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.393392][ T825] ? __kmalloc_noprof+0xdb/0x760 [ 30.393398][ T825] __kmalloc_noprof+0x443/0x760 [ 30.393400][ T825] ? alloc_buf.isra.0+0x4b/0x260 [ 30.393406][ T825] ? do_raw_spin_unlock+0x59/0x250 [ 30.393409][ T825] alloc_buf.isra.0+0x4b/0x260 [ 30.393412][ T825] put_chars+0x1e1/0x2f0 [ 30.393416][ T825] ? __send_to_port+0x420/0x420 [ 30.393418][ T825] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.393422][ T825] ? validate_chain+0x38b/0xc20 [ 30.393427][ T825] hvc_console_print+0x292/0x780 [ 30.393435][ T825] ? hvc_write+0x3a0/0x3a0 [ 30.393437][ T825] ? rcu_is_watching+0x16/0xd0 [ 30.393440][ T825] ? lock_acquire+0x13c/0x160 [ 30.393444][ T825] console_emit_next_record+0x22f/0x4c0 [ 30.393447][ T825] ? devkmsg_read+0x4b0/0x4b0 [ 30.393449][ T825] ? console_flush_one_record+0x106/0x710 [ 30.393452][ T825] ? rcu_is_watching+0x16/0xd0 [ 30.393454][ T825] ? lock_acquire+0x13c/0x160 [ 30.393458][ T825] console_flush_one_record+0x46f/0x710 [ 30.393462][ T825] ? console_emit_next_record+0x4c0/0x4c0 [ 30.393464][ T825] ? __lock_acquire+0x518/0xc20 [ 30.393469][ T825] console_unlock+0xee/0x1f0 [ 30.393471][ T825] ? console_flush_one_record+0x710/0x710 [ 30.393473][ T825] ? rcu_is_watching+0x16/0xd0 [ 30.393475][ T825] ? lock_acquire+0x60/0x160 [ 30.393479][ T825] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.393480][ T825] ? vprintk_emit+0x320/0x3e0 [ 30.393483][ T825] vprintk_emit+0x37c/0x3e0 [ 30.393487][ T825] ? wake_up_klogd_work_func+0x90/0x90 [ 30.393490][ T825] ? __lock_acquire+0x518/0xc20 [ 30.393494][ T825] _printk+0xc7/0x100 [ 30.393498][ T825] ? snapshot_read.cold+0x21/0x21 [ 30.393500][ T825] ? do_raw_spin_lock+0x131/0x280 [ 30.393503][ T825] ? __rwlock_init+0x150/0x150 [ 30.393507][ T825] ? do_raw_spin_lock+0x131/0x280 [ 30.393509][ T825] do_exit.cold+0x82/0x9c [ 30.393513][ T825] ? exit_notify+0x890/0x890 [ 30.393515][ T825] ? __lock_release.isra.0+0x69/0x1a0 [ 30.393517][ T825] ? rcu_is_watching+0x16/0xd0 [ 30.393521][ T825] do_group_exit+0xb8/0x370 [ 30.393525][ T825] __x64_sys_exit_group+0x3c/0x50 [ 30.393527][ T825] x64_sys_call+0x1567/0x1570 [ 30.393529][ T825] do_syscall_64+0xff/0x530 [ 30.393533][ T825] ? exc_page_fault+0xee/0x100 [ 30.393536][ T825] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.393538][ T825] RIP: 0033:0x7f46583821b8 [ 30.393541][ T825] Code: Unable to access opcode bytes at 0x7f465838218e. [ 30.393542][ T825] RSP: 002b:00007fffa7f069a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.393544][ T825] RAX: ffffffffffffffda RBX: 00007f46584b2f88 RCX: 00007f46583821b8 [ 30.393546][ T825] RDX: 00007f46582bfa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 30.393547][ T825] RBP: 00007fffa7f06a00 R08: 0000000000000000 R09: 0000000000000000 [ 30.393548][ T825] R10: 00007fffa7f06840 R11: 0000000000000246 R12: 0000000000000001 [ 30.393548][ T825] R13: 0000000000000000 R14: 00007f46584b1680 R15: 00007f46584b2fa0 [ 30.393555][ T825]