[ 9.267769][ T198] ip (198) used greatest stack depth: 24064 bytes left [ 9.267783][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.267785][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: ip [ 9.267786][ T198] preempt_count: 2, expected: 0 [ 9.267787][ T198] RCU nest depth: 0, expected: 0 [ 9.267788][ T198] locks held by ip/198: 5, last CPU#2: [ 9.267790][ T198] #0: ffffffffb1e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.267801][ T198] #1: ffffffffb1f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.267806][ T198] #2: ffffffffb1f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.267810][ T198] #3: ffffffffb1e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.267814][ T198] #4: ffffffffb1e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.267818][ T198] irq event stamp: 25520 [ 9.267818][ T198] hardirqs last enabled at (25519): [] __down_trylock_console_sem+0x86/0xa0 [ 9.267822][ T198] hardirqs last disabled at (25520): [] console_emit_next_record+0x3d4/0x4c0 [ 9.267824][ T198] softirqs last enabled at (25150): [] handle_softirqs+0x67c/0x900 [ 9.267826][ T198] softirqs last disabled at (25143): [] __irq_exit_rcu+0x145/0x1c0 [ 9.267829][ T198] Preemption disabled at: [ 9.267829][ T198] [<0000000000000000>] 0x0 [ 9.267835][ T198] CPU: 2 UID: 0 PID: 198 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.267839][ T198] Tainted: [W]=WARN [ 9.267840][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.267841][ T198] Call Trace: [ 9.267843][ T198] [ 9.267844][ T198] dump_stack_lvl+0x6f/0xa0 [ 9.267850][ T198] __might_resched.cold+0x1fe/0x2c1 [ 9.267855][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.267859][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 9.267863][ T198] __kmalloc_noprof+0x443/0x760 [ 9.267865][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 9.267871][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 9.267874][ T198] alloc_buf.isra.0+0x4b/0x260 [ 9.267878][ T198] put_chars+0x1e1/0x2f0 [ 9.267880][ T198] ? __send_to_port+0x420/0x420 [ 9.267881][ T198] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.267885][ T198] ? validate_chain+0x38b/0xc20 [ 9.267891][ T198] hvc_console_print+0x292/0x780 [ 9.267898][ T198] ? hvc_write+0x3a0/0x3a0 [ 9.267901][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.267903][ T198] ? lock_acquire+0x13c/0x160 [ 9.267907][ T198] console_emit_next_record+0x22f/0x4c0 [ 9.267911][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 9.267913][ T198] ? console_flush_one_record+0x106/0x710 [ 9.267916][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.267917][ T198] ? lock_acquire+0x13c/0x160 [ 9.267921][ T198] console_flush_one_record+0x46f/0x710 [ 9.267925][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 9.267927][ T198] ? __lock_acquire+0x518/0xc20 [ 9.267932][ T198] console_unlock+0xee/0x1f0 [ 9.267935][ T198] ? console_flush_one_record+0x710/0x710 [ 9.267937][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.267938][ T198] ? lock_acquire+0xe0/0x160 [ 9.267942][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.267944][ T198] ? vprintk_emit+0x320/0x3e0 [ 9.267946][ T198] vprintk_emit+0x37c/0x3e0 [ 9.267949][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 9.267952][ T198] ? __lock_acquire+0x518/0xc20 [ 9.267956][ T198] _printk+0xc7/0x100 [ 9.267959][ T198] ? snapshot_read.cold+0x21/0x21 [ 9.267962][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.267965][ T198] ? __rwlock_init+0x150/0x150 [ 9.267968][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.267971][ T198] do_exit.cold+0x82/0x9c [ 9.267975][ T198] ? exit_notify+0x890/0x890 [ 9.267976][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 9.267979][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.267982][ T198] do_group_exit+0xb8/0x370 [ 9.267985][ T198] __x64_sys_exit_group+0x3c/0x50 [ 9.267987][ T198] x64_sys_call+0x1567/0x1570 [ 9.267989][ T198] do_syscall_64+0xff/0x530 [ 9.267993][ T198] ? exc_page_fault+0xee/0x100 [ 9.267996][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.267998][ T198] RIP: 0033:0x7fb31aaad1b8 [ 9.268000][ T198] Code: Unable to access opcode bytes at 0x7fb31aaad18e. [ 9.268001][ T198] RSP: 002b:00007fffa4e2e7b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.268004][ T198] RAX: ffffffffffffffda RBX: 00007fb31abddf88 RCX: 00007fb31aaad1b8 [ 9.268005][ T198] RDX: 00007fb31a7f7fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.268006][ T198] RBP: 00007fffa4e2e810 R08: 0000000000000000 R09: 0000000000008010 [ 9.268006][ T198] R10: 00007fffa4e2e5d0 R11: 0000000000000246 R12: 0000000000000001 [ 9.268007][ T198] R13: 0000000000000000 R14: 00007fb31abdc680 R15: 00007fb31abddfa0 [ 9.268014][ T198] [ 10.695107][ T263] ip (263) used greatest stack depth: 23920 bytes left [ 10.695122][ T263] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.695123][ T263] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 263, name: ip [ 10.695125][ T263] preempt_count: 2, expected: 0 [ 10.695126][ T263] RCU nest depth: 0, expected: 0 [ 10.695127][ T263] locks held by ip/263: 5, last CPU#0: [ 10.695129][ T263] #0: ffffffffb1e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.695140][ T263] #1: ffffffffb1f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.695148][ T263] #2: ffffffffb1f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.695152][ T263] #3: ffffffffb1e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.695155][ T263] #4: ffffffffb1e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.695159][ T263] irq event stamp: 23762 [ 10.695160][ T263] hardirqs last enabled at (23761): [] __down_trylock_console_sem+0x86/0xa0 [ 10.695163][ T263] hardirqs last disabled at (23762): [] console_emit_next_record+0x3d4/0x4c0 [ 10.695165][ T263] softirqs last enabled at (23048): [] handle_softirqs+0x67c/0x900 [ 10.695167][ T263] softirqs last disabled at (23043): [] __irq_exit_rcu+0x145/0x1c0 [ 10.695169][ T263] Preemption disabled at: [ 10.695170][ T263] [<0000000000000000>] 0x0 [ 10.695177][ T263] CPU: 0 UID: 0 PID: 263 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.695180][ T263] Tainted: [W]=WARN [ 10.695181][ T263] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.695182][ T263] Call Trace: [ 10.695184][ T263] [ 10.695185][ T263] dump_stack_lvl+0x6f/0xa0 [ 10.695192][ T263] __might_resched.cold+0x1fe/0x2c1 [ 10.695196][ T263] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.695200][ T263] ? __kmalloc_noprof+0xdb/0x760 [ 10.695204][ T263] __kmalloc_noprof+0x443/0x760 [ 10.695206][ T263] ? alloc_buf.isra.0+0x4b/0x260 [ 10.695212][ T263] ? do_raw_spin_unlock+0x59/0x250 [ 10.695215][ T263] alloc_buf.isra.0+0x4b/0x260 [ 10.695219][ T263] put_chars+0x1e1/0x2f0 [ 10.695221][ T263] ? __send_to_port+0x420/0x420 [ 10.695222][ T263] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.695226][ T263] ? validate_chain+0x38b/0xc20 [ 10.695231][ T263] hvc_console_print+0x292/0x780 [ 10.695239][ T263] ? hvc_write+0x3a0/0x3a0 [ 10.695241][ T263] ? rcu_is_watching+0x16/0xd0 [ 10.695243][ T263] ? lock_acquire+0x13c/0x160 [ 10.695247][ T263] console_emit_next_record+0x22f/0x4c0 [ 10.695251][ T263] ? devkmsg_read+0x4b0/0x4b0 [ 10.695253][ T263] ? console_flush_one_record+0x106/0x710 [ 10.695256][ T263] ? rcu_is_watching+0x16/0xd0 [ 10.695257][ T263] ? lock_acquire+0x13c/0x160 [ 10.695261][ T263] console_flush_one_record+0x46f/0x710 [ 10.695267][ T263] ? console_emit_next_record+0x4c0/0x4c0 [ 10.695269][ T263] ? __lock_acquire+0x518/0xc20 [ 10.695274][ T263] console_unlock+0xee/0x1f0 [ 10.695277][ T263] ? console_flush_one_record+0x710/0x710 [ 10.695279][ T263] ? rcu_is_watching+0x16/0xd0 [ 10.695281][ T263] ? lock_acquire+0xe0/0x160 [ 10.695284][ T263] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.695286][ T263] ? vprintk_emit+0x320/0x3e0 [ 10.695289][ T263] vprintk_emit+0x37c/0x3e0 [ 10.695292][ T263] ? wake_up_klogd_work_func+0x90/0x90 [ 10.695294][ T263] ? __lock_acquire+0x518/0xc20 [ 10.695298][ T263] _printk+0xc7/0x100 [ 10.695301][ T263] ? snapshot_read.cold+0x21/0x21 [ 10.695304][ T263] ? do_raw_spin_lock+0x131/0x280 [ 10.695307][ T263] ? __rwlock_init+0x150/0x150 [ 10.695310][ T263] ? do_raw_spin_lock+0x131/0x280 [ 10.695313][ T263] do_exit.cold+0x82/0x9c [ 10.695317][ T263] ? exit_notify+0x890/0x890 [ 10.695318][ T263] ? __lock_release.isra.0+0x69/0x1a0 [ 10.695321][ T263] ? rcu_is_watching+0x16/0xd0 [ 10.695324][ T263] do_group_exit+0xb8/0x370 [ 10.695327][ T263] __x64_sys_exit_group+0x3c/0x50 [ 10.695328][ T263] x64_sys_call+0x1567/0x1570 [ 10.695331][ T263] do_syscall_64+0xff/0x530 [ 10.695335][ T263] ? exc_page_fault+0xee/0x100 [ 10.695338][ T263] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.695340][ T263] RIP: 0033:0x7fee3b07c1b8 [ 10.695342][ T263] Code: Unable to access opcode bytes at 0x7fee3b07c18e. [ 10.695343][ T263] RSP: 002b:00007ffea19860d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.695345][ T263] RAX: ffffffffffffffda RBX: 00007fee3b1acf88 RCX: 00007fee3b07c1b8 [ 10.695346][ T263] RDX: 00007fee3adc6fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.695347][ T263] RBP: 00007ffea1986130 R08: 0000000000000000 R09: 0000000000000050 [ 10.695348][ T263] R10: 00007ffea1985ef0 R11: 0000000000000246 R12: 0000000000000001 [ 10.695349][ T263] R13: 0000000000000000 R14: 00007fee3b1ab680 R15: 00007fee3b1acfa0 [ 10.695355][ T263]