[ 9.526600][ T197] ip (197) used greatest stack depth: 23904 bytes left [ 9.526617][ T197] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.526618][ T197] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 197, name: ip [ 9.526620][ T197] preempt_count: 2, expected: 0 [ 9.526621][ T197] RCU nest depth: 0, expected: 0 [ 9.526622][ T197] locks held by ip/197: 5, last CPU#3: [ 9.526624][ T197] #0: ffffffff9c4267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.526636][ T197] #1: ffffffff9c58dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.526642][ T197] #2: ffffffff9c58dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.526646][ T197] #3: ffffffff9c4ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.526649][ T197] #4: ffffffff9c4ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.526653][ T197] irq event stamp: 21568 [ 9.526654][ T197] hardirqs last enabled at (21567): [] __down_trylock_console_sem+0x86/0xa0 [ 9.526656][ T197] hardirqs last disabled at (21568): [] console_emit_next_record+0x3d4/0x4c0 [ 9.526658][ T197] softirqs last enabled at (20094): [] handle_softirqs+0x67c/0x900 [ 9.526660][ T197] softirqs last disabled at (19841): [] __irq_exit_rcu+0x145/0x1c0 [ 9.526663][ T197] Preemption disabled at: [ 9.526663][ T197] [<0000000000000000>] 0x0 [ 9.526670][ T197] CPU: 3 UID: 0 PID: 197 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.526674][ T197] Tainted: [W]=WARN [ 9.526675][ T197] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.526676][ T197] Call Trace: [ 9.526678][ T197] [ 9.526679][ T197] dump_stack_lvl+0x6f/0xa0 [ 9.526686][ T197] __might_resched.cold+0x1fe/0x2c1 [ 9.526690][ T197] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.526694][ T197] ? __kmalloc_noprof+0xdb/0x760 [ 9.526699][ T197] __kmalloc_noprof+0x443/0x760 [ 9.526701][ T197] ? alloc_buf.isra.0+0x4b/0x260 [ 9.526707][ T197] ? do_raw_spin_unlock+0x59/0x250 [ 9.526710][ T197] alloc_buf.isra.0+0x4b/0x260 [ 9.526714][ T197] put_chars+0x1e1/0x2f0 [ 9.526717][ T197] ? __send_to_port+0x420/0x420 [ 9.526719][ T197] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.526723][ T197] ? validate_chain+0x38b/0xc20 [ 9.526729][ T197] hvc_console_print+0x292/0x780 [ 9.526736][ T197] ? hvc_write+0x3a0/0x3a0 [ 9.526739][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.526741][ T197] ? lock_acquire+0x13c/0x160 [ 9.526745][ T197] console_emit_next_record+0x22f/0x4c0 [ 9.526748][ T197] ? devkmsg_read+0x4b0/0x4b0 [ 9.526750][ T197] ? console_flush_one_record+0x106/0x710 [ 9.526753][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.526755][ T197] ? lock_acquire+0x13c/0x160 [ 9.526759][ T197] console_flush_one_record+0x46f/0x710 [ 9.526763][ T197] ? console_emit_next_record+0x4c0/0x4c0 [ 9.526764][ T197] ? __lock_acquire+0x518/0xc20 [ 9.526769][ T197] console_unlock+0xee/0x1f0 [ 9.526772][ T197] ? console_flush_one_record+0x710/0x710 [ 9.526773][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.526775][ T197] ? lock_acquire+0x60/0x160 [ 9.526779][ T197] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.526780][ T197] ? vprintk_emit+0x320/0x3e0 [ 9.526784][ T197] vprintk_emit+0x37c/0x3e0 [ 9.526787][ T197] ? wake_up_klogd_work_func+0x90/0x90 [ 9.526790][ T197] ? __lock_acquire+0x518/0xc20 [ 9.526794][ T197] _printk+0xc7/0x100 [ 9.526798][ T197] ? snapshot_read.cold+0x21/0x21 [ 9.526800][ T197] ? do_raw_spin_lock+0x131/0x280 [ 9.526803][ T197] ? __rwlock_init+0x150/0x150 [ 9.526806][ T197] ? do_raw_spin_lock+0x131/0x280 [ 9.526809][ T197] do_exit.cold+0x82/0x9c [ 9.526813][ T197] ? exit_notify+0x890/0x890 [ 9.526815][ T197] ? __lock_release.isra.0+0x69/0x1a0 [ 9.526817][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.526821][ T197] do_group_exit+0xb8/0x370 [ 9.526824][ T197] __x64_sys_exit_group+0x3c/0x50 [ 9.526826][ T197] x64_sys_call+0x1567/0x1570 [ 9.526828][ T197] do_syscall_64+0xff/0x530 [ 9.526832][ T197] ? exc_page_fault+0xee/0x100 [ 9.526835][ T197] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.526837][ T197] RIP: 0033:0x7f96220371b8 [ 9.526840][ T197] Code: Unable to access opcode bytes at 0x7f962203718e. [ 9.526841][ T197] RSP: 002b:00007ffe6e4f75f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.526843][ T197] RAX: ffffffffffffffda RBX: 00007f9622167f88 RCX: 00007f96220371b8 [ 9.526845][ T197] RDX: 00007f9621d81fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.526846][ T197] RBP: 00007ffe6e4f7650 R08: 0000000000000000 R09: 0000000000000050 [ 9.526847][ T197] R10: 00007ffe6e4f7410 R11: 0000000000000246 R12: 0000000000000001 [ 9.526847][ T197] R13: 0000000000000000 R14: 00007f9622166680 R15: 00007f9622167fa0 [ 9.526854][ T197] [ 27.322942][ T1014] mptcp_connect (1014) used greatest stack depth: 22992 bytes left [ 27.322959][ T1014] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.322961][ T1014] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1014, name: mptcp_connect [ 27.322963][ T1014] preempt_count: 2, expected: 0 [ 27.322964][ T1014] RCU nest depth: 0, expected: 0 [ 27.322965][ T1014] locks held by mptcp_connect/1014: 5, last CPU#0: [ 27.322967][ T1014] #0: ffffffff9c4267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 27.322979][ T1014] #1: ffffffff9c58dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.322985][ T1014] #2: ffffffff9c58dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.322988][ T1014] #3: ffffffff9c4ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.322992][ T1014] #4: ffffffff9c4ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.322996][ T1014] irq event stamp: 180734 [ 27.322997][ T1014] hardirqs last enabled at (180733): [] __down_trylock_console_sem+0x86/0xa0 [ 27.322999][ T1014] hardirqs last disabled at (180734): [] console_emit_next_record+0x3d4/0x4c0 [ 27.323001][ T1014] softirqs last enabled at (180418): [] handle_softirqs+0x67c/0x900 [ 27.323003][ T1014] softirqs last disabled at (180261): [] __irq_exit_rcu+0x145/0x1c0 [ 27.323011][ T1014] Preemption disabled at: [ 27.323012][ T1014] [<0000000000000000>] 0x0 [ 27.323019][ T1014] CPU: 0 UID: 0 PID: 1014 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.323023][ T1014] Tainted: [W]=WARN [ 27.323024][ T1014] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.323025][ T1014] Call Trace: [ 27.323027][ T1014] [ 27.323029][ T1014] dump_stack_lvl+0x6f/0xa0 [ 27.323037][ T1014] __might_resched.cold+0x1fe/0x2c1 [ 27.323043][ T1014] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.323048][ T1014] ? __kmalloc_noprof+0xdb/0x760 [ 27.323054][ T1014] __kmalloc_noprof+0x443/0x760 [ 27.323056][ T1014] ? alloc_buf.isra.0+0x4b/0x260 [ 27.323062][ T1014] ? do_raw_spin_unlock+0x59/0x250 [ 27.323065][ T1014] alloc_buf.isra.0+0x4b/0x260 [ 27.323069][ T1014] put_chars+0x1e1/0x2f0 [ 27.323072][ T1014] ? __send_to_port+0x420/0x420 [ 27.323074][ T1014] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.323078][ T1014] ? validate_chain+0x38b/0xc20 [ 27.323084][ T1014] hvc_console_print+0x292/0x780 [ 27.323091][ T1014] ? hvc_write+0x3a0/0x3a0 [ 27.323094][ T1014] ? rcu_is_watching+0x16/0xd0 [ 27.323096][ T1014] ? lock_acquire+0x13c/0x160 [ 27.323100][ T1014] console_emit_next_record+0x22f/0x4c0 [ 27.323104][ T1014] ? devkmsg_read+0x4b0/0x4b0 [ 27.323105][ T1014] ? console_flush_one_record+0x106/0x710 [ 27.323108][ T1014] ? rcu_is_watching+0x16/0xd0 [ 27.323110][ T1014] ? lock_acquire+0x13c/0x160 [ 27.323114][ T1014] console_flush_one_record+0x46f/0x710 [ 27.323118][ T1014] ? console_emit_next_record+0x4c0/0x4c0 [ 27.323119][ T1014] ? __lock_acquire+0x518/0xc20 [ 27.323124][ T1014] console_unlock+0xee/0x1f0 [ 27.323127][ T1014] ? console_flush_one_record+0x710/0x710 [ 27.323129][ T1014] ? rcu_is_watching+0x16/0xd0 [ 27.323131][ T1014] ? lock_acquire+0x60/0x160 [ 27.323134][ T1014] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.323136][ T1014] ? vprintk_emit+0x320/0x3e0 [ 27.323139][ T1014] vprintk_emit+0x37c/0x3e0 [ 27.323143][ T1014] ? wake_up_klogd_work_func+0x90/0x90 [ 27.323144][ T1014] ? do_raw_spin_unlock+0x59/0x250 [ 27.323147][ T1014] ? __lock_acquire+0x518/0xc20 [ 27.323151][ T1014] _printk+0xc7/0x100 [ 27.323154][ T1014] ? snapshot_read.cold+0x21/0x21 [ 27.323157][ T1014] ? do_raw_spin_lock+0x131/0x280 [ 27.323160][ T1014] ? __rwlock_init+0x150/0x150 [ 27.323163][ T1014] ? do_raw_spin_lock+0x131/0x280 [ 27.323166][ T1014] do_exit.cold+0x82/0x9c [ 27.323170][ T1014] ? exit_notify+0x890/0x890 [ 27.323172][ T1014] ? __lock_release.isra.0+0x69/0x1a0 [ 27.323174][ T1014] ? rcu_is_watching+0x16/0xd0 [ 27.323178][ T1014] do_group_exit+0xb8/0x370 [ 27.323181][ T1014] __x64_sys_exit_group+0x3c/0x50 [ 27.323184][ T1014] x64_sys_call+0x1567/0x1570 [ 27.323185][ T1014] do_syscall_64+0xff/0x530 [ 27.323189][ T1014] ? exc_page_fault+0xee/0x100 [ 27.323192][ T1014] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.323195][ T1014] RIP: 0033:0x7f7b263651b8 [ 27.323197][ T1014] Code: Unable to access opcode bytes at 0x7f7b2636518e. [ 27.323198][ T1014] RSP: 002b:00007fff56ae29d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 27.323201][ T1014] RAX: ffffffffffffffda RBX: 00007f7b26495f88 RCX: 00007f7b263651b8 [ 27.323202][ T1014] RDX: 00007f7b262a2a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 27.323203][ T1014] RBP: 00007fff56ae2a30 R08: 0000000000000000 R09: 0000000000000000 [ 27.323204][ T1014] R10: 00007fff56ae2870 R11: 0000000000000246 R12: 0000000000000001 [ 27.323205][ T1014] R13: 0000000000000000 R14: 00007f7b26494680 R15: 00007f7b26495fa0 [ 27.323212][ T1014]