[ 9.406824][ T212] ip (212) used greatest stack depth: 24344 bytes left [ 9.406839][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.406841][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 9.406842][ T212] preempt_count: 2, expected: 0 [ 9.406843][ T212] RCU nest depth: 0, expected: 0 [ 9.406844][ T212] locks held by ip/212: 5, last CPU#2: [ 9.406846][ T212] #0: ffffffffa90167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.406856][ T212] #1: ffffffffa917ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.406861][ T212] #2: ffffffffa917de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.406865][ T212] #3: ffffffffa909d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.406869][ T212] #4: ffffffffa909d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.406872][ T212] irq event stamp: 19538 [ 9.406873][ T212] hardirqs last enabled at (19537): [] __down_trylock_console_sem+0x86/0xa0 [ 9.406877][ T212] hardirqs last disabled at (19538): [] console_emit_next_record+0x3d4/0x4c0 [ 9.406879][ T212] softirqs last enabled at (17968): [] netlink_release+0x17b/0xcf0 [ 9.406882][ T212] softirqs last disabled at (17966): [] netlink_release+0xd2/0xcf0 [ 9.406885][ T212] Preemption disabled at: [ 9.406886][ T212] [<0000000000000000>] 0x0 [ 9.406892][ T212] CPU: 2 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.406895][ T212] Tainted: [W]=WARN [ 9.406896][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.406898][ T212] Call Trace: [ 9.406899][ T212] [ 9.406900][ T212] dump_stack_lvl+0x6f/0xa0 [ 9.406907][ T212] __might_resched.cold+0x1fe/0x2c1 [ 9.406911][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.406915][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 9.406920][ T212] __kmalloc_noprof+0x443/0x760 [ 9.406921][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 9.406928][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 9.406931][ T212] alloc_buf.isra.0+0x4b/0x260 [ 9.406934][ T212] put_chars+0x1e1/0x2f0 [ 9.406937][ T212] ? __send_to_port+0x420/0x420 [ 9.406938][ T212] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.406941][ T212] ? validate_chain+0x38b/0xc20 [ 9.406947][ T212] hvc_console_print+0x292/0x780 [ 9.406954][ T212] ? hvc_write+0x3a0/0x3a0 [ 9.406957][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.406959][ T212] ? lock_acquire+0x13c/0x160 [ 9.406962][ T212] console_emit_next_record+0x22f/0x4c0 [ 9.406966][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 9.406968][ T212] ? console_flush_one_record+0x106/0x710 [ 9.406971][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.406973][ T212] ? lock_acquire+0x13c/0x160 [ 9.406977][ T212] console_flush_one_record+0x46f/0x710 [ 9.406981][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 9.406983][ T212] ? __lock_acquire+0x518/0xc20 [ 9.406988][ T212] console_unlock+0xee/0x1f0 [ 9.406991][ T212] ? console_flush_one_record+0x710/0x710 [ 9.406992][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.406994][ T212] ? lock_acquire+0xe0/0x160 [ 9.406998][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.406999][ T212] ? vprintk_emit+0x320/0x3e0 [ 9.407002][ T212] vprintk_emit+0x37c/0x3e0 [ 9.407005][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 9.407008][ T212] ? __lock_acquire+0x518/0xc20 [ 9.407011][ T212] _printk+0xc7/0x100 [ 9.407015][ T212] ? snapshot_read.cold+0x21/0x21 [ 9.407018][ T212] ? do_raw_spin_lock+0x131/0x280 [ 9.407020][ T212] ? __rwlock_init+0x150/0x150 [ 9.407024][ T212] ? do_raw_spin_lock+0x131/0x280 [ 9.407026][ T212] do_exit.cold+0x82/0x9c [ 9.407030][ T212] ? exit_notify+0x890/0x890 [ 9.407031][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 9.407034][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.407037][ T212] do_group_exit+0xb8/0x370 [ 9.407040][ T212] __x64_sys_exit_group+0x3c/0x50 [ 9.407042][ T212] x64_sys_call+0x1567/0x1570 [ 9.407044][ T212] do_syscall_64+0xff/0x530 [ 9.407048][ T212] ? exc_page_fault+0xee/0x100 [ 9.407051][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.407053][ T212] RIP: 0033:0x7fd04c94b1b8 [ 9.407056][ T212] Code: Unable to access opcode bytes at 0x7fd04c94b18e. [ 9.407057][ T212] RSP: 002b:00007ffc57b27d78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.407059][ T212] RAX: ffffffffffffffda RBX: 00007fd04ca7bf88 RCX: 00007fd04c94b1b8 [ 9.407060][ T212] RDX: 00007fd04c695fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.407061][ T212] RBP: 00007ffc57b27dd0 R08: 0000000000000000 R09: 0000000000000050 [ 9.407062][ T212] R10: 00007ffc57b27b90 R11: 0000000000000246 R12: 0000000000000001 [ 9.407063][ T212] R13: 0000000000000000 R14: 00007fd04ca7a680 R15: 00007fd04ca7bfa0 [ 9.407069][ T212] [ 11.171963][ T277] ip (277) used greatest stack depth: 23760 bytes left [ 11.171978][ T277] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.171980][ T277] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 277, name: ip [ 11.171981][ T277] preempt_count: 2, expected: 0 [ 11.171982][ T277] RCU nest depth: 0, expected: 0 [ 11.171983][ T277] locks held by ip/277: 5, last CPU#2: [ 11.171985][ T277] #0: ffffffffa90167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.171996][ T277] #1: ffffffffa917ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.172001][ T277] #2: ffffffffa917de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.172005][ T277] #3: ffffffffa909d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.172008][ T277] #4: ffffffffa909d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.172012][ T277] irq event stamp: 36016 [ 11.172013][ T277] hardirqs last enabled at (36015): [] __down_trylock_console_sem+0x86/0xa0 [ 11.172016][ T277] hardirqs last disabled at (36016): [] console_emit_next_record+0x3d4/0x4c0 [ 11.172018][ T277] softirqs last enabled at (35726): [] handle_softirqs+0x67c/0x900 [ 11.172020][ T277] softirqs last disabled at (35717): [] __irq_exit_rcu+0x145/0x1c0 [ 11.172022][ T277] Preemption disabled at: [ 11.172023][ T277] [<0000000000000000>] 0x0 [ 11.172029][ T277] CPU: 2 UID: 0 PID: 277 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.172033][ T277] Tainted: [W]=WARN [ 11.172034][ T277] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.172035][ T277] Call Trace: [ 11.172037][ T277] [ 11.172038][ T277] dump_stack_lvl+0x6f/0xa0 [ 11.172044][ T277] __might_resched.cold+0x1fe/0x2c1 [ 11.172049][ T277] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.172053][ T277] ? __kmalloc_noprof+0xdb/0x760 [ 11.172057][ T277] __kmalloc_noprof+0x443/0x760 [ 11.172059][ T277] ? alloc_buf.isra.0+0x4b/0x260 [ 11.172066][ T277] ? do_raw_spin_unlock+0x59/0x250 [ 11.172069][ T277] alloc_buf.isra.0+0x4b/0x260 [ 11.172072][ T277] put_chars+0x1e1/0x2f0 [ 11.172075][ T277] ? __send_to_port+0x420/0x420 [ 11.172076][ T277] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.172079][ T277] ? validate_chain+0x38b/0xc20 [ 11.172084][ T277] hvc_console_print+0x292/0x780 [ 11.172091][ T277] ? hvc_write+0x3a0/0x3a0 [ 11.172094][ T277] ? rcu_is_watching+0x16/0xd0 [ 11.172096][ T277] ? lock_acquire+0x13c/0x160 [ 11.172100][ T277] console_emit_next_record+0x22f/0x4c0 [ 11.172104][ T277] ? devkmsg_read+0x4b0/0x4b0 [ 11.172106][ T277] ? console_flush_one_record+0x106/0x710 [ 11.172109][ T277] ? rcu_is_watching+0x16/0xd0 [ 11.172110][ T277] ? lock_acquire+0x13c/0x160 [ 11.172114][ T277] console_flush_one_record+0x46f/0x710 [ 11.172118][ T277] ? console_emit_next_record+0x4c0/0x4c0 [ 11.172120][ T277] ? __lock_acquire+0x518/0xc20 [ 11.172125][ T277] console_unlock+0xee/0x1f0 [ 11.172128][ T277] ? console_flush_one_record+0x710/0x710 [ 11.172130][ T277] ? rcu_is_watching+0x16/0xd0 [ 11.172131][ T277] ? lock_acquire+0xe0/0x160 [ 11.172135][ T277] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.172137][ T277] ? vprintk_emit+0x320/0x3e0 [ 11.172139][ T277] vprintk_emit+0x37c/0x3e0 [ 11.172142][ T277] ? wake_up_klogd_work_func+0x90/0x90 [ 11.172145][ T277] ? __lock_acquire+0x518/0xc20 [ 11.172149][ T277] _printk+0xc7/0x100 [ 11.172153][ T277] ? snapshot_read.cold+0x21/0x21 [ 11.172155][ T277] ? do_raw_spin_lock+0x131/0x280 [ 11.172158][ T277] ? __rwlock_init+0x150/0x150 [ 11.172162][ T277] ? do_raw_spin_lock+0x131/0x280 [ 11.172164][ T277] do_exit.cold+0x82/0x9c [ 11.172168][ T277] ? exit_notify+0x890/0x890 [ 11.172169][ T277] ? __lock_release.isra.0+0x69/0x1a0 [ 11.172172][ T277] ? rcu_is_watching+0x16/0xd0 [ 11.172175][ T277] do_group_exit+0xb8/0x370 [ 11.172178][ T277] __x64_sys_exit_group+0x3c/0x50 [ 11.172180][ T277] x64_sys_call+0x1567/0x1570 [ 11.172182][ T277] do_syscall_64+0xff/0x530 [ 11.172186][ T277] ? exc_page_fault+0xee/0x100 [ 11.172189][ T277] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.172191][ T277] RIP: 0033:0x7ff3a88671b8 [ 11.172194][ T277] Code: Unable to access opcode bytes at 0x7ff3a886718e. [ 11.172195][ T277] RSP: 002b:00007ffdb09761b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.172197][ T277] RAX: ffffffffffffffda RBX: 00007ff3a8997f88 RCX: 00007ff3a88671b8 [ 11.172199][ T277] RDX: 00007ff3a85b1fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.172200][ T277] RBP: 00007ffdb0976210 R08: 0000000000000000 R09: 0000000000000000 [ 11.172200][ T277] R10: 00007ffdb0975fd0 R11: 0000000000000246 R12: 0000000000000001 [ 11.172201][ T277] R13: 0000000000000000 R14: 00007ff3a8996680 R15: 00007ff3a8997fa0 [ 11.172208][ T277]