[ 11.492057][ T252] ip (252) used greatest stack depth: 23672 bytes left [ 11.492073][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.492075][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: ip [ 11.492076][ T252] preempt_count: 2, expected: 0 [ 11.492077][ T252] RCU nest depth: 0, expected: 0 [ 11.492078][ T252] locks held by ip/252: 5, last CPU#3: [ 11.492080][ T252] #0: ffffffff8be267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.492093][ T252] #1: ffffffff8bf8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.492098][ T252] #2: ffffffff8bf8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.492102][ T252] #3: ffffffff8bead660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.492106][ T252] #4: ffffffff8bead560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.492110][ T252] irq event stamp: 20824 [ 11.492111][ T252] hardirqs last enabled at (20823): [] __down_trylock_console_sem+0x86/0xa0 [ 11.492113][ T252] hardirqs last disabled at (20824): [] console_emit_next_record+0x3d4/0x4c0 [ 11.492115][ T252] softirqs last enabled at (19250): [] netlink_release+0x17b/0xcf0 [ 11.492119][ T252] softirqs last disabled at (19248): [] netlink_release+0xd2/0xcf0 [ 11.492121][ T252] Preemption disabled at: [ 11.492122][ T252] [<0000000000000000>] 0x0 [ 11.492129][ T252] CPU: 3 UID: 0 PID: 252 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.492132][ T252] Tainted: [W]=WARN [ 11.492133][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.492135][ T252] Call Trace: [ 11.492136][ T252] [ 11.492138][ T252] dump_stack_lvl+0x6f/0xa0 [ 11.492144][ T252] __might_resched.cold+0x1fe/0x2c1 [ 11.492149][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.492153][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 11.492158][ T252] __kmalloc_noprof+0x443/0x760 [ 11.492160][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 11.492166][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 11.492169][ T252] alloc_buf.isra.0+0x4b/0x260 [ 11.492172][ T252] put_chars+0x1e1/0x2f0 [ 11.492176][ T252] ? __send_to_port+0x420/0x420 [ 11.492178][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.492182][ T252] ? validate_chain+0x38b/0xc20 [ 11.492188][ T252] hvc_console_print+0x292/0x780 [ 11.492195][ T252] ? hvc_write+0x3a0/0x3a0 [ 11.492198][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.492200][ T252] ? lock_acquire+0x13c/0x160 [ 11.492204][ T252] console_emit_next_record+0x22f/0x4c0 [ 11.492207][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 11.492209][ T252] ? console_flush_one_record+0x106/0x710 [ 11.492212][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.492214][ T252] ? lock_acquire+0x13c/0x160 [ 11.492218][ T252] console_flush_one_record+0x46f/0x710 [ 11.492222][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 11.492223][ T252] ? __lock_acquire+0x518/0xc20 [ 11.492228][ T252] console_unlock+0xee/0x1f0 [ 11.492231][ T252] ? console_flush_one_record+0x710/0x710 [ 11.492233][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.492235][ T252] ? lock_acquire+0x60/0x160 [ 11.492241][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.492243][ T252] ? vprintk_emit+0x320/0x3e0 [ 11.492246][ T252] vprintk_emit+0x37c/0x3e0 [ 11.492250][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 11.492253][ T252] ? __lock_acquire+0x518/0xc20 [ 11.492257][ T252] _printk+0xc7/0x100 [ 11.492260][ T252] ? snapshot_read.cold+0x21/0x21 [ 11.492263][ T252] ? do_raw_spin_lock+0x131/0x280 [ 11.492266][ T252] ? __rwlock_init+0x150/0x150 [ 11.492269][ T252] ? do_raw_spin_lock+0x131/0x280 [ 11.492272][ T252] do_exit.cold+0x82/0x9c [ 11.492276][ T252] ? exit_notify+0x890/0x890 [ 11.492277][ T252] ? __lock_release.isra.0+0x69/0x1a0 [ 11.492280][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.492284][ T252] do_group_exit+0xb8/0x370 [ 11.492287][ T252] __x64_sys_exit_group+0x3c/0x50 [ 11.492290][ T252] x64_sys_call+0x1567/0x1570 [ 11.492292][ T252] do_syscall_64+0xff/0x530 [ 11.492295][ T252] ? exc_page_fault+0xee/0x100 [ 11.492298][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.492301][ T252] RIP: 0033:0x7f0f038a81b8 [ 11.492303][ T252] Code: Unable to access opcode bytes at 0x7f0f038a818e. [ 11.492304][ T252] RSP: 002b:00007fffee4e5ff8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.492307][ T252] RAX: ffffffffffffffda RBX: 00007f0f039d8f88 RCX: 00007f0f038a81b8 [ 11.492308][ T252] RDX: 00007f0f035f2fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.492310][ T252] RBP: 00007fffee4e6050 R08: 0000000000000000 R09: 0000000000000050 [ 11.492311][ T252] R10: 00007fffee4e5e10 R11: 0000000000000246 R12: 0000000000000001 [ 11.492311][ T252] R13: 0000000000000000 R14: 00007f0f039d7680 R15: 00007f0f039d8fa0 [ 11.492318][ T252] [ 30.934244][ T1014] mptcp_connect (1014) used greatest stack depth: 23520 bytes left [ 30.934264][ T1014] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.934266][ T1014] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1014, name: mptcp_connect [ 30.934268][ T1014] preempt_count: 2, expected: 0 [ 30.934269][ T1014] RCU nest depth: 0, expected: 0 [ 30.934270][ T1014] locks held by mptcp_connect/1014: 5, last CPU#0: [ 30.934272][ T1014] #0: ffffffff8be267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.934285][ T1014] #1: ffffffff8bf8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.934290][ T1014] #2: ffffffff8bf8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.934294][ T1014] #3: ffffffff8bead660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.934298][ T1014] #4: ffffffff8bead560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.934301][ T1014] irq event stamp: 384646 [ 30.934302][ T1014] hardirqs last enabled at (384645): [] __down_trylock_console_sem+0x86/0xa0 [ 30.934306][ T1014] hardirqs last disabled at (384646): [] console_emit_next_record+0x3d4/0x4c0 [ 30.934309][ T1014] softirqs last enabled at (383758): [] mptcp_close+0x2d/0x90 [ 30.934314][ T1014] softirqs last disabled at (383756): [] release_sock+0x21/0x240 [ 30.934319][ T1014] Preemption disabled at: [ 30.934320][ T1014] [<0000000000000000>] 0x0 [ 30.934327][ T1014] CPU: 0 UID: 0 PID: 1014 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.934330][ T1014] Tainted: [W]=WARN [ 30.934331][ T1014] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.934333][ T1014] Call Trace: [ 30.934334][ T1014] [ 30.934336][ T1014] dump_stack_lvl+0x6f/0xa0 [ 30.934342][ T1014] __might_resched.cold+0x1fe/0x2c1 [ 30.934347][ T1014] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.934351][ T1014] ? __kmalloc_noprof+0xdb/0x760 [ 30.934355][ T1014] __kmalloc_noprof+0x443/0x760 [ 30.934358][ T1014] ? alloc_buf.isra.0+0x4b/0x260 [ 30.934364][ T1014] ? do_raw_spin_unlock+0x59/0x250 [ 30.934366][ T1014] alloc_buf.isra.0+0x4b/0x260 [ 30.934370][ T1014] put_chars+0x1e1/0x2f0 [ 30.934373][ T1014] ? __send_to_port+0x420/0x420 [ 30.934375][ T1014] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.934379][ T1014] ? validate_chain+0x38b/0xc20 [ 30.934385][ T1014] hvc_console_print+0x292/0x780 [ 30.934392][ T1014] ? hvc_write+0x3a0/0x3a0 [ 30.934394][ T1014] ? rcu_is_watching+0x16/0xd0 [ 30.934396][ T1014] ? lock_acquire+0x13c/0x160 [ 30.934400][ T1014] console_emit_next_record+0x22f/0x4c0 [ 30.934404][ T1014] ? devkmsg_read+0x4b0/0x4b0 [ 30.934405][ T1014] ? console_flush_one_record+0x106/0x710 [ 30.934408][ T1014] ? rcu_is_watching+0x16/0xd0 [ 30.934410][ T1014] ? lock_acquire+0x13c/0x160 [ 30.934414][ T1014] console_flush_one_record+0x46f/0x710 [ 30.934418][ T1014] ? console_emit_next_record+0x4c0/0x4c0 [ 30.934420][ T1014] ? __lock_acquire+0x518/0xc20 [ 30.934425][ T1014] console_unlock+0xee/0x1f0 [ 30.934427][ T1014] ? console_flush_one_record+0x710/0x710 [ 30.934429][ T1014] ? rcu_is_watching+0x16/0xd0 [ 30.934431][ T1014] ? lock_acquire+0x60/0x160 [ 30.934435][ T1014] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.934436][ T1014] ? vprintk_emit+0x320/0x3e0 [ 30.934439][ T1014] vprintk_emit+0x37c/0x3e0 [ 30.934443][ T1014] ? wake_up_klogd_work_func+0x90/0x90 [ 30.934446][ T1014] ? __lock_acquire+0x518/0xc20 [ 30.934450][ T1014] _printk+0xc7/0x100 [ 30.934454][ T1014] ? snapshot_read.cold+0x21/0x21 [ 30.934456][ T1014] ? do_raw_spin_lock+0x131/0x280 [ 30.934459][ T1014] ? __rwlock_init+0x150/0x150 [ 30.934462][ T1014] ? do_raw_spin_lock+0x131/0x280 [ 30.934465][ T1014] do_exit.cold+0x82/0x9c [ 30.934469][ T1014] ? exit_notify+0x890/0x890 [ 30.934470][ T1014] ? __lock_release.isra.0+0x69/0x1a0 [ 30.934473][ T1014] ? rcu_is_watching+0x16/0xd0 [ 30.934477][ T1014] do_group_exit+0xb8/0x370 [ 30.934480][ T1014] __x64_sys_exit_group+0x3c/0x50 [ 30.934483][ T1014] x64_sys_call+0x1567/0x1570 [ 30.934485][ T1014] do_syscall_64+0xff/0x530 [ 30.934487][ T1014] ? exc_page_fault+0xee/0x100 [ 30.934491][ T1014] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.934493][ T1014] RIP: 0033:0x7f83c09a61b8 [ 30.934495][ T1014] Code: Unable to access opcode bytes at 0x7f83c09a618e. [ 30.934497][ T1014] RSP: 002b:00007ffda2a5d678 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.934499][ T1014] RAX: ffffffffffffffda RBX: 00007f83c0ad6f88 RCX: 00007f83c09a61b8 [ 30.934501][ T1014] RDX: 00007f83c08e3a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 30.934502][ T1014] RBP: 00007ffda2a5d6d0 R08: 0000000000000000 R09: 0000000000000000 [ 30.934502][ T1014] R10: 00007ffda2a5d510 R11: 0000000000000246 R12: 0000000000000001 [ 30.934503][ T1014] R13: 0000000000000000 R14: 00007f83c0ad5680 R15: 00007f83c0ad6fa0 [ 30.934510][ T1014]