[ 9.381932][ T203] ip (203) used greatest stack depth: 23848 bytes left [ 9.381947][ T203] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.381949][ T203] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 203, name: ip [ 9.381951][ T203] preempt_count: 2, expected: 0 [ 9.381952][ T203] RCU nest depth: 0, expected: 0 [ 9.381953][ T203] locks held by ip/203: 5, last CPU#0: [ 9.381954][ T203] #0: ffffffffb36167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.381965][ T203] #1: ffffffffb377ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.381970][ T203] #2: ffffffffb377de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.381974][ T203] #3: ffffffffb369d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.381978][ T203] #4: ffffffffb369d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.381981][ T203] irq event stamp: 30192 [ 9.381982][ T203] hardirqs last enabled at (30191): [] __down_trylock_console_sem+0x86/0xa0 [ 9.381985][ T203] hardirqs last disabled at (30192): [] console_emit_next_record+0x3d4/0x4c0 [ 9.381987][ T203] softirqs last enabled at (29886): [] handle_softirqs+0x67c/0x900 [ 9.381990][ T203] softirqs last disabled at (29881): [] __irq_exit_rcu+0x145/0x1c0 [ 9.381992][ T203] Preemption disabled at: [ 9.381993][ T203] [<0000000000000000>] 0x0 [ 9.382000][ T203] CPU: 0 UID: 0 PID: 203 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.382003][ T203] Tainted: [W]=WARN [ 9.382004][ T203] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.382005][ T203] Call Trace: [ 9.382007][ T203] [ 9.382009][ T203] dump_stack_lvl+0x6f/0xa0 [ 9.382015][ T203] __might_resched.cold+0x1fe/0x2c1 [ 9.382020][ T203] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.382024][ T203] ? __kmalloc_noprof+0xdb/0x760 [ 9.382028][ T203] __kmalloc_noprof+0x443/0x760 [ 9.382030][ T203] ? alloc_buf.isra.0+0x4b/0x260 [ 9.382037][ T203] ? do_raw_spin_unlock+0x59/0x250 [ 9.382040][ T203] alloc_buf.isra.0+0x4b/0x260 [ 9.382043][ T203] put_chars+0x1e1/0x2f0 [ 9.382046][ T203] ? __send_to_port+0x420/0x420 [ 9.382047][ T203] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.382050][ T203] ? validate_chain+0x38b/0xc20 [ 9.382056][ T203] hvc_console_print+0x292/0x780 [ 9.382063][ T203] ? hvc_write+0x3a0/0x3a0 [ 9.382066][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.382067][ T203] ? lock_acquire+0x13c/0x160 [ 9.382071][ T203] console_emit_next_record+0x22f/0x4c0 [ 9.382075][ T203] ? devkmsg_read+0x4b0/0x4b0 [ 9.382077][ T203] ? console_flush_one_record+0x106/0x710 [ 9.382080][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.382082][ T203] ? lock_acquire+0x13c/0x160 [ 9.382086][ T203] console_flush_one_record+0x46f/0x710 [ 9.382090][ T203] ? console_emit_next_record+0x4c0/0x4c0 [ 9.382092][ T203] ? __lock_acquire+0x518/0xc20 [ 9.382097][ T203] console_unlock+0xee/0x1f0 [ 9.382100][ T203] ? console_flush_one_record+0x710/0x710 [ 9.382102][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.382104][ T203] ? lock_acquire+0xe0/0x160 [ 9.382107][ T203] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.382109][ T203] ? vprintk_emit+0x320/0x3e0 [ 9.382112][ T203] vprintk_emit+0x37c/0x3e0 [ 9.382115][ T203] ? wake_up_klogd_work_func+0x90/0x90 [ 9.382117][ T203] ? __lock_acquire+0x518/0xc20 [ 9.382121][ T203] _printk+0xc7/0x100 [ 9.382124][ T203] ? snapshot_read.cold+0x21/0x21 [ 9.382127][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.382130][ T203] ? __rwlock_init+0x150/0x150 [ 9.382133][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.382136][ T203] do_exit.cold+0x82/0x9c [ 9.382140][ T203] ? exit_notify+0x890/0x890 [ 9.382141][ T203] ? __lock_release.isra.0+0x69/0x1a0 [ 9.382144][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.382147][ T203] do_group_exit+0xb8/0x370 [ 9.382150][ T203] __x64_sys_exit_group+0x3c/0x50 [ 9.382152][ T203] x64_sys_call+0x1567/0x1570 [ 9.382154][ T203] do_syscall_64+0xff/0x530 [ 9.382158][ T203] ? exc_page_fault+0xee/0x100 [ 9.382161][ T203] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.382163][ T203] RIP: 0033:0x7f3ea68fc1b8 [ 9.382165][ T203] Code: Unable to access opcode bytes at 0x7f3ea68fc18e. [ 9.382166][ T203] RSP: 002b:00007ffc7eadea98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.382168][ T203] RAX: ffffffffffffffda RBX: 00007f3ea6a2cf88 RCX: 00007f3ea68fc1b8 [ 9.382169][ T203] RDX: 00007f3ea6646fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.382170][ T203] RBP: 00007ffc7eadeaf0 R08: 0000000000000000 R09: 0000000000000050 [ 9.382171][ T203] R10: 00007ffc7eade8b0 R11: 0000000000000246 R12: 0000000000000001 [ 9.382172][ T203] R13: 0000000000000000 R14: 00007f3ea6a2b680 R15: 00007f3ea6a2cfa0 [ 9.382179][ T203] [ 124.960127][ T6172] ip (6172) used greatest stack depth: 23808 bytes left [ 124.960146][ T6172] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 124.960148][ T6172] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 6172, name: ip [ 124.960150][ T6172] preempt_count: 2, expected: 0 [ 124.960151][ T6172] RCU nest depth: 0, expected: 0 [ 124.960152][ T6172] locks held by ip/6172: 5, last CPU#2: [ 124.960154][ T6172] #0: ffffffffb36167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 124.960165][ T6172] #1: ffffffffb377ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 124.960170][ T6172] #2: ffffffffb377de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 124.960174][ T6172] #3: ffffffffb369d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 124.960178][ T6172] #4: ffffffffb369d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 124.960183][ T6172] irq event stamp: 17386 [ 124.960183][ T6172] hardirqs last enabled at (17385): [] __down_trylock_console_sem+0x86/0xa0 [ 124.960186][ T6172] hardirqs last disabled at (17386): [] console_emit_next_record+0x3d4/0x4c0 [ 124.960189][ T6172] softirqs last enabled at (15826): [] netlink_release+0x17b/0xcf0 [ 124.960193][ T6172] softirqs last disabled at (15824): [] netlink_release+0xd2/0xcf0 [ 124.960196][ T6172] Preemption disabled at: [ 124.960196][ T6172] [<0000000000000000>] 0x0 [ 124.960203][ T6172] CPU: 2 UID: 0 PID: 6172 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 124.960206][ T6172] Tainted: [W]=WARN [ 124.960207][ T6172] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 124.960209][ T6172] Call Trace: [ 124.960210][ T6172] [ 124.960211][ T6172] dump_stack_lvl+0x6f/0xa0 [ 124.960218][ T6172] __might_resched.cold+0x1fe/0x2c1 [ 124.960222][ T6172] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 124.960227][ T6172] ? __kmalloc_noprof+0xdb/0x760 [ 124.960231][ T6172] __kmalloc_noprof+0x443/0x760 [ 124.960233][ T6172] ? alloc_buf.isra.0+0x4b/0x260 [ 124.960239][ T6172] ? do_raw_spin_unlock+0x59/0x250 [ 124.960242][ T6172] alloc_buf.isra.0+0x4b/0x260 [ 124.960246][ T6172] put_chars+0x1e1/0x2f0 [ 124.960248][ T6172] ? __send_to_port+0x420/0x420 [ 124.960249][ T6172] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 124.960253][ T6172] ? validate_chain+0x38b/0xc20 [ 124.960258][ T6172] hvc_console_print+0x292/0x780 [ 124.960265][ T6172] ? hvc_write+0x3a0/0x3a0 [ 124.960268][ T6172] ? rcu_is_watching+0x16/0xd0 [ 124.960270][ T6172] ? lock_acquire+0x13c/0x160 [ 124.960274][ T6172] console_emit_next_record+0x22f/0x4c0 [ 124.960278][ T6172] ? devkmsg_read+0x4b0/0x4b0 [ 124.960280][ T6172] ? console_flush_one_record+0x106/0x710 [ 124.960283][ T6172] ? rcu_is_watching+0x16/0xd0 [ 124.960285][ T6172] ? lock_acquire+0x13c/0x160 [ 124.960288][ T6172] console_flush_one_record+0x46f/0x710 [ 124.960292][ T6172] ? console_emit_next_record+0x4c0/0x4c0 [ 124.960294][ T6172] ? __lock_acquire+0x518/0xc20 [ 124.960299][ T6172] console_unlock+0xee/0x1f0 [ 124.960302][ T6172] ? console_flush_one_record+0x710/0x710 [ 124.960304][ T6172] ? rcu_is_watching+0x16/0xd0 [ 124.960306][ T6172] ? lock_acquire+0xe0/0x160 [ 124.960310][ T6172] ? __down_trylock_console_sem+0x5e/0xa0 [ 124.960311][ T6172] ? vprintk_emit+0x320/0x3e0 [ 124.960314][ T6172] vprintk_emit+0x37c/0x3e0 [ 124.960317][ T6172] ? wake_up_klogd_work_func+0x90/0x90 [ 124.960320][ T6172] ? __lock_acquire+0x518/0xc20 [ 124.960323][ T6172] _printk+0xc7/0x100 [ 124.960327][ T6172] ? snapshot_read.cold+0x21/0x21 [ 124.960329][ T6172] ? do_raw_spin_lock+0x131/0x280 [ 124.960332][ T6172] ? __rwlock_init+0x150/0x150 [ 124.960336][ T6172] ? do_raw_spin_lock+0x131/0x280 [ 124.960339][ T6172] do_exit.cold+0x82/0x9c [ 124.960342][ T6172] ? exit_notify+0x890/0x890 [ 124.960344][ T6172] ? __lock_release.isra.0+0x69/0x1a0 [ 124.960346][ T6172] ? rcu_is_watching+0x16/0xd0 [ 124.960350][ T6172] do_group_exit+0xb8/0x370 [ 124.960353][ T6172] __x64_sys_exit_group+0x3c/0x50 [ 124.960354][ T6172] x64_sys_call+0x1567/0x1570 [ 124.960357][ T6172] do_syscall_64+0xff/0x530 [ 124.960360][ T6172] ? exc_page_fault+0xee/0x100 [ 124.960363][ T6172] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 124.960365][ T6172] RIP: 0033:0x7f749c34d1b8 [ 124.960367][ T6172] Code: Unable to access opcode bytes at 0x7f749c34d18e. [ 124.960368][ T6172] RSP: 002b:00007ffe4a994d68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 124.960371][ T6172] RAX: ffffffffffffffda RBX: 00007f749c47df88 RCX: 00007f749c34d1b8 [ 124.960372][ T6172] RDX: 00007f749c097fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 124.960373][ T6172] RBP: 00007ffe4a994dc0 R08: 0000000000000000 R09: 0000000000008010 [ 124.960374][ T6172] R10: 00007ffe4a994b80 R11: 0000000000000246 R12: 0000000000000001 [ 124.960375][ T6172] R13: 0000000000000000 R14: 00007f749c47c680 R15: 00007f749c47dfa0 [ 124.960381][ T6172]