[ 9.384662][ T183] ip (183) used greatest stack depth: 24432 bytes left [ 9.384680][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.384682][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: ip [ 9.384684][ T183] preempt_count: 2, expected: 0 [ 9.384685][ T183] RCU nest depth: 0, expected: 0 [ 9.384686][ T183] locks held by ip/183: 5, last CPU#1: [ 9.384688][ T183] #0: ffffffff8d4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.384701][ T183] #1: ffffffff8d569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.384706][ T183] #2: ffffffff8d569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.384710][ T183] #3: ffffffff8d489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.384713][ T183] #4: ffffffff8d489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.384717][ T183] irq event stamp: 18514 [ 9.384718][ T183] hardirqs last enabled at (18513): [] __down_trylock_console_sem+0x86/0xa0 [ 9.384721][ T183] hardirqs last disabled at (18514): [] console_emit_next_record+0x3d4/0x4c0 [ 9.384724][ T183] softirqs last enabled at (17384): [] handle_softirqs+0x67c/0x900 [ 9.384726][ T183] softirqs last disabled at (17379): [] __irq_exit_rcu+0x145/0x1c0 [ 9.384729][ T183] Preemption disabled at: [ 9.384729][ T183] [<0000000000000000>] 0x0 [ 9.384736][ T183] CPU: 1 UID: 0 PID: 183 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.384740][ T183] Tainted: [W]=WARN [ 9.384741][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.384742][ T183] Call Trace: [ 9.384743][ T183] [ 9.384745][ T183] dump_stack_lvl+0x6f/0xa0 [ 9.384751][ T183] __might_resched.cold+0x1fe/0x2c1 [ 9.384755][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.384759][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 9.384764][ T183] __kmalloc_noprof+0x443/0x760 [ 9.384766][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 9.384772][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 9.384774][ T183] alloc_buf.isra.0+0x4b/0x260 [ 9.384777][ T183] put_chars+0x1e1/0x2f0 [ 9.384780][ T183] ? __send_to_port+0x420/0x420 [ 9.384781][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.384786][ T183] ? validate_chain+0x38b/0xc20 [ 9.384791][ T183] hvc_console_print+0x292/0x780 [ 9.384797][ T183] ? hvc_write+0x3a0/0x3a0 [ 9.384799][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.384801][ T183] ? lock_acquire+0x13c/0x160 [ 9.384805][ T183] console_emit_next_record+0x22f/0x4c0 [ 9.384809][ T183] ? devkmsg_read+0x4b0/0x4b0 [ 9.384810][ T183] ? console_flush_one_record+0x106/0x710 [ 9.384813][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.384815][ T183] ? lock_acquire+0x13c/0x160 [ 9.384819][ T183] console_flush_one_record+0x46f/0x710 [ 9.384823][ T183] ? console_emit_next_record+0x4c0/0x4c0 [ 9.384825][ T183] ? __lock_acquire+0x518/0xc20 [ 9.384830][ T183] console_unlock+0xee/0x1f0 [ 9.384833][ T183] ? console_flush_one_record+0x710/0x710 [ 9.384834][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.384836][ T183] ? lock_acquire+0x60/0x160 [ 9.384840][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.384842][ T183] ? vprintk_emit+0x320/0x3e0 [ 9.384845][ T183] vprintk_emit+0x37c/0x3e0 [ 9.384848][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 9.384852][ T183] ? __lock_acquire+0x518/0xc20 [ 9.384855][ T183] _printk+0xc7/0x100 [ 9.384859][ T183] ? snapshot_read.cold+0x21/0x21 [ 9.384861][ T183] ? do_raw_spin_lock+0x131/0x280 [ 9.384864][ T183] ? __rwlock_init+0x150/0x150 [ 9.384867][ T183] ? do_raw_spin_lock+0x131/0x280 [ 9.384877][ T183] do_exit.cold+0x82/0x9c [ 9.384882][ T183] ? exit_notify+0x890/0x890 [ 9.384884][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 9.384886][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.384890][ T183] do_group_exit+0xb8/0x370 [ 9.384893][ T183] __x64_sys_exit_group+0x3c/0x50 [ 9.384895][ T183] x64_sys_call+0x1567/0x1570 [ 9.384897][ T183] do_syscall_64+0xff/0x530 [ 9.384900][ T183] ? exc_page_fault+0xee/0x100 [ 9.384903][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.384905][ T183] RIP: 0033:0x7f9f054541b8 [ 9.384907][ T183] Code: Unable to access opcode bytes at 0x7f9f0545418e. [ 9.384908][ T183] RSP: 002b:00007ffd25f2c558 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.384910][ T183] RAX: ffffffffffffffda RBX: 00007f9f05584f88 RCX: 00007f9f054541b8 [ 9.384912][ T183] RDX: 00007f9f0519efc8 RSI: fffffffffffffeb8 RDI: 0000000000000001 [ 9.384913][ T183] RBP: 00007ffd25f2c5b0 R08: 0000000000000000 R09: 0000000000000000 [ 9.384913][ T183] R10: 00007ffd25f2c370 R11: 0000000000000246 R12: 0000000000000001 [ 9.384914][ T183] R13: 0000000000000001 R14: 00007f9f05583680 R15: 00007f9f05584fa0 [ 9.384921][ T183] [ 17.350062][ T282] ping (282) used greatest stack depth: 23872 bytes left [ 17.350078][ T282] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.350080][ T282] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 282, name: ping [ 17.350082][ T282] preempt_count: 2, expected: 0 [ 17.350082][ T282] RCU nest depth: 0, expected: 0 [ 17.350083][ T282] locks held by ping/282: 5, last CPU#2: [ 17.350085][ T282] #0: ffffffff8d4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.350098][ T282] #1: ffffffff8d569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.350103][ T282] #2: ffffffff8d569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.350107][ T282] #3: ffffffff8d489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.350110][ T282] #4: ffffffff8d489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.350114][ T282] irq event stamp: 55634 [ 17.350115][ T282] hardirqs last enabled at (55633): [] __down_trylock_console_sem+0x86/0xa0 [ 17.350117][ T282] hardirqs last disabled at (55634): [] console_emit_next_record+0x3d4/0x4c0 [ 17.350119][ T282] softirqs last enabled at (55174): [] handle_softirqs+0x67c/0x900 [ 17.350121][ T282] softirqs last disabled at (55167): [] __irq_exit_rcu+0x145/0x1c0 [ 17.350123][ T282] Preemption disabled at: [ 17.350124][ T282] [<0000000000000000>] 0x0 [ 17.350130][ T282] CPU: 2 UID: 0 PID: 282 Comm: ping Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.350133][ T282] Tainted: [W]=WARN [ 17.350134][ T282] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.350136][ T282] Call Trace: [ 17.350137][ T282] [ 17.350139][ T282] dump_stack_lvl+0x6f/0xa0 [ 17.350145][ T282] __might_resched.cold+0x1fe/0x2c1 [ 17.350149][ T282] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.350153][ T282] ? __kmalloc_noprof+0xdb/0x760 [ 17.350158][ T282] __kmalloc_noprof+0x443/0x760 [ 17.350160][ T282] ? alloc_buf.isra.0+0x4b/0x260 [ 17.350166][ T282] ? do_raw_spin_unlock+0x59/0x250 [ 17.350169][ T282] alloc_buf.isra.0+0x4b/0x260 [ 17.350172][ T282] put_chars+0x1e1/0x2f0 [ 17.350174][ T282] ? __send_to_port+0x420/0x420 [ 17.350176][ T282] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.350180][ T282] ? validate_chain+0x38b/0xc20 [ 17.350185][ T282] hvc_console_print+0x292/0x780 [ 17.350191][ T282] ? hvc_write+0x3a0/0x3a0 [ 17.350193][ T282] ? rcu_is_watching+0x16/0xd0 [ 17.350196][ T282] ? lock_acquire+0x13c/0x160 [ 17.350199][ T282] console_emit_next_record+0x22f/0x4c0 [ 17.350203][ T282] ? devkmsg_read+0x4b0/0x4b0 [ 17.350205][ T282] ? console_flush_one_record+0x106/0x710 [ 17.350208][ T282] ? rcu_is_watching+0x16/0xd0 [ 17.350210][ T282] ? lock_acquire+0x13c/0x160 [ 17.350214][ T282] console_flush_one_record+0x46f/0x710 [ 17.350218][ T282] ? console_emit_next_record+0x4c0/0x4c0 [ 17.350219][ T282] ? __lock_acquire+0x518/0xc20 [ 17.350224][ T282] console_unlock+0xee/0x1f0 [ 17.350227][ T282] ? console_flush_one_record+0x710/0x710 [ 17.350229][ T282] ? rcu_is_watching+0x16/0xd0 [ 17.350231][ T282] ? lock_acquire+0x60/0x160 [ 17.350235][ T282] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.350236][ T282] ? vprintk_emit+0x320/0x3e0 [ 17.350239][ T282] vprintk_emit+0x37c/0x3e0 [ 17.350243][ T282] ? wake_up_klogd_work_func+0x90/0x90 [ 17.350246][ T282] ? __lock_acquire+0x518/0xc20 [ 17.350250][ T282] _printk+0xc7/0x100 [ 17.350254][ T282] ? snapshot_read.cold+0x21/0x21 [ 17.350256][ T282] ? do_raw_spin_lock+0x131/0x280 [ 17.350259][ T282] ? __rwlock_init+0x150/0x150 [ 17.350262][ T282] ? do_raw_spin_lock+0x131/0x280 [ 17.350265][ T282] do_exit.cold+0x82/0x9c [ 17.350268][ T282] ? exit_notify+0x890/0x890 [ 17.350270][ T282] ? __lock_release.isra.0+0x69/0x1a0 [ 17.350273][ T282] ? rcu_is_watching+0x16/0xd0 [ 17.350277][ T282] do_group_exit+0xb8/0x370 [ 17.350280][ T282] __x64_sys_exit_group+0x3c/0x50 [ 17.350281][ T282] x64_sys_call+0x1567/0x1570 [ 17.350283][ T282] do_syscall_64+0xff/0x530 [ 17.350287][ T282] ? exc_page_fault+0xee/0x100 [ 17.350290][ T282] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.350292][ T282] RIP: 0033:0x7ff5c444c1b8 [ 17.350294][ T282] Code: Unable to access opcode bytes at 0x7ff5c444c18e. [ 17.350295][ T282] RSP: 002b:00007ffd5f550ac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.350297][ T282] RAX: ffffffffffffffda RBX: 00007ff5c457cf88 RCX: 00007ff5c444c1b8 [ 17.350298][ T282] RDX: 00007ff5c41dd7c8 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 17.350299][ T282] RBP: 00007ffd5f550b20 R08: 0000000000000000 R09: 0000000000001010 [ 17.350300][ T282] R10: 00007ffd5f550940 R11: 0000000000000246 R12: 0000000000000002 [ 17.350301][ T282] R13: 0000000000000000 R14: 00007ff5c457b680 R15: 00007ff5c457cfa0 [ 17.350307][ T282]