[ 9.260571][ T184] ip (184) used greatest stack depth: 23376 bytes left [ 9.260586][ T184] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.260589][ T184] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 184, name: ip [ 9.260590][ T184] preempt_count: 2, expected: 0 [ 9.260591][ T184] RCU nest depth: 0, expected: 0 [ 9.260592][ T184] locks held by ip/184: 5, last CPU#2: [ 9.260594][ T184] #0: ffffffffa5e02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.260606][ T184] #1: ffffffffa5f6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.260611][ T184] #2: ffffffffa5f6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.260614][ T184] #3: ffffffffa5e89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.260618][ T184] #4: ffffffffa5e89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.260621][ T184] irq event stamp: 26166 [ 9.260621][ T184] hardirqs last enabled at (26165): [] __down_trylock_console_sem+0x86/0xa0 [ 9.260625][ T184] hardirqs last disabled at (26166): [] console_emit_next_record+0x3d4/0x4c0 [ 9.260626][ T184] softirqs last enabled at (25594): [] handle_softirqs+0x67c/0x900 [ 9.260628][ T184] softirqs last disabled at (25589): [] __irq_exit_rcu+0x145/0x1c0 [ 9.260631][ T184] Preemption disabled at: [ 9.260631][ T184] [<0000000000000000>] 0x0 [ 9.260638][ T184] CPU: 2 UID: 0 PID: 184 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.260641][ T184] Tainted: [W]=WARN [ 9.260642][ T184] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.260644][ T184] Call Trace: [ 9.260646][ T184] [ 9.260647][ T184] dump_stack_lvl+0x6f/0xa0 [ 9.260653][ T184] __might_resched.cold+0x1fe/0x2c1 [ 9.260657][ T184] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.260660][ T184] ? __kmalloc_noprof+0xdb/0x760 [ 9.260665][ T184] __kmalloc_noprof+0x443/0x760 [ 9.260668][ T184] ? alloc_buf.isra.0+0x4b/0x260 [ 9.260674][ T184] ? do_raw_spin_unlock+0x59/0x250 [ 9.260677][ T184] alloc_buf.isra.0+0x4b/0x260 [ 9.260680][ T184] put_chars+0x1e1/0x2f0 [ 9.260683][ T184] ? __send_to_port+0x420/0x420 [ 9.260689][ T184] hvc_console_print+0x292/0x780 [ 9.260696][ T184] ? hvc_write+0x3a0/0x3a0 [ 9.260698][ T184] ? lock_acquire+0x13c/0x160 [ 9.260702][ T184] console_emit_next_record+0x22f/0x4c0 [ 9.260706][ T184] ? devkmsg_read+0x4b0/0x4b0 [ 9.260707][ T184] ? console_flush_one_record+0x106/0x710 [ 9.260710][ T184] ? rcu_is_watching+0x16/0xd0 [ 9.260713][ T184] ? lock_acquire+0x13c/0x160 [ 9.260717][ T184] console_flush_one_record+0x46f/0x710 [ 9.260720][ T184] ? console_emit_next_record+0x4c0/0x4c0 [ 9.260722][ T184] ? __lock_acquire+0x518/0xc20 [ 9.260731][ T184] console_unlock+0xee/0x1f0 [ 9.260733][ T184] ? console_flush_one_record+0x710/0x710 [ 9.260734][ T184] ? rcu_is_watching+0x16/0xd0 [ 9.260736][ T184] ? lock_acquire+0x60/0x160 [ 9.260740][ T184] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.260742][ T184] ? vprintk_emit+0x320/0x3e0 [ 9.260744][ T184] vprintk_emit+0x37c/0x3e0 [ 9.260747][ T184] ? wake_up_klogd_work_func+0x90/0x90 [ 9.260750][ T184] ? __lock_acquire+0x518/0xc20 [ 9.260754][ T184] _printk+0xc7/0x100 [ 9.260757][ T184] ? snapshot_read.cold+0x21/0x21 [ 9.260760][ T184] ? do_raw_spin_lock+0x131/0x280 [ 9.260762][ T184] ? __rwlock_init+0x150/0x150 [ 9.260766][ T184] ? do_raw_spin_lock+0x131/0x280 [ 9.260769][ T184] do_exit.cold+0x82/0x9c [ 9.260773][ T184] ? exit_notify+0x890/0x890 [ 9.260774][ T184] ? __lock_release.isra.0+0x69/0x1a0 [ 9.260777][ T184] ? rcu_is_watching+0x16/0xd0 [ 9.260780][ T184] do_group_exit+0xb8/0x370 [ 9.260783][ T184] __x64_sys_exit_group+0x3c/0x50 [ 9.260785][ T184] x64_sys_call+0x1567/0x1570 [ 9.260788][ T184] do_syscall_64+0x10e/0x570 [ 9.260791][ T184] ? exc_page_fault+0xee/0x100 [ 9.260794][ T184] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.260797][ T184] RIP: 0033:0x7f5a47bfb1b8 [ 9.260799][ T184] Code: Unable to access opcode bytes at 0x7f5a47bfb18e. [ 9.260800][ T184] RSP: 002b:00007ffdd46c7a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.260802][ T184] RAX: ffffffffffffffda RBX: 00007f5a47d2bf88 RCX: 00007f5a47bfb1b8 [ 9.260804][ T184] RDX: 00007f5a47945fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.260805][ T184] RBP: 00007ffdd46c7ae0 R08: 0000000000000000 R09: 0000000000000050 [ 9.260805][ T184] R10: 00007ffdd46c78a0 R11: 0000000000000246 R12: 0000000000000001 [ 9.260806][ T184] R13: 0000000000000000 R14: 00007f5a47d2a680 R15: 00007f5a47d2bfa0 [ 9.260813][ T184] [ 15.250043][ T285] ip (285) used greatest stack depth: 23200 bytes left [ 15.250059][ T285] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.250061][ T285] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 285, name: ip [ 15.250062][ T285] preempt_count: 2, expected: 0 [ 15.250063][ T285] RCU nest depth: 0, expected: 0 [ 15.250064][ T285] locks held by ip/285: 5, last CPU#0: [ 15.250066][ T285] #0: ffffffffa5e02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 15.250078][ T285] #1: ffffffffa5f6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.250083][ T285] #2: ffffffffa5f6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.250086][ T285] #3: ffffffffa5e89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.250090][ T285] #4: ffffffffa5e89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.250093][ T285] irq event stamp: 39450 [ 15.250094][ T285] hardirqs last enabled at (39449): [] __down_trylock_console_sem+0x86/0xa0 [ 15.250097][ T285] hardirqs last disabled at (39450): [] console_emit_next_record+0x3d4/0x4c0 [ 15.250099][ T285] softirqs last enabled at (39120): [] handle_softirqs+0x67c/0x900 [ 15.250101][ T285] softirqs last disabled at (37727): [] __irq_exit_rcu+0x145/0x1c0 [ 15.250104][ T285] Preemption disabled at: [ 15.250104][ T285] [<0000000000000000>] 0x0 [ 15.250111][ T285] CPU: 0 UID: 0 PID: 285 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.250114][ T285] Tainted: [W]=WARN [ 15.250116][ T285] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.250117][ T285] Call Trace: [ 15.250119][ T285] [ 15.250120][ T285] dump_stack_lvl+0x6f/0xa0 [ 15.250125][ T285] __might_resched.cold+0x1fe/0x2c1 [ 15.250130][ T285] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.250133][ T285] ? __kmalloc_noprof+0xdb/0x760 [ 15.250138][ T285] __kmalloc_noprof+0x443/0x760 [ 15.250140][ T285] ? alloc_buf.isra.0+0x4b/0x260 [ 15.250146][ T285] ? do_raw_spin_unlock+0x59/0x250 [ 15.250149][ T285] alloc_buf.isra.0+0x4b/0x260 [ 15.250152][ T285] put_chars+0x1e1/0x2f0 [ 15.250155][ T285] ? __send_to_port+0x420/0x420 [ 15.250162][ T285] hvc_console_print+0x292/0x780 [ 15.250168][ T285] ? hvc_write+0x3a0/0x3a0 [ 15.250171][ T285] ? lock_acquire+0x13c/0x160 [ 15.250175][ T285] console_emit_next_record+0x22f/0x4c0 [ 15.250178][ T285] ? devkmsg_read+0x4b0/0x4b0 [ 15.250180][ T285] ? console_flush_one_record+0x106/0x710 [ 15.250182][ T285] ? rcu_is_watching+0x16/0xd0 [ 15.250186][ T285] ? lock_acquire+0x13c/0x160 [ 15.250190][ T285] console_flush_one_record+0x46f/0x710 [ 15.250193][ T285] ? console_emit_next_record+0x4c0/0x4c0 [ 15.250194][ T285] ? __lock_acquire+0x518/0xc20 [ 15.250200][ T285] console_unlock+0xee/0x1f0 [ 15.250202][ T285] ? console_flush_one_record+0x710/0x710 [ 15.250203][ T285] ? rcu_is_watching+0x16/0xd0 [ 15.250205][ T285] ? lock_acquire+0x60/0x160 [ 15.250209][ T285] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.250210][ T285] ? vprintk_emit+0x320/0x3e0 [ 15.250213][ T285] vprintk_emit+0x37c/0x3e0 [ 15.250216][ T285] ? wake_up_klogd_work_func+0x90/0x90 [ 15.250219][ T285] ? __lock_acquire+0x518/0xc20 [ 15.250223][ T285] _printk+0xc7/0x100 [ 15.250226][ T285] ? snapshot_read.cold+0x21/0x21 [ 15.250229][ T285] ? do_raw_spin_lock+0x131/0x280 [ 15.250231][ T285] ? __rwlock_init+0x150/0x150 [ 15.250235][ T285] ? do_raw_spin_lock+0x131/0x280 [ 15.250238][ T285] do_exit.cold+0x82/0x9c [ 15.250242][ T285] ? exit_notify+0x890/0x890 [ 15.250243][ T285] ? __lock_release.isra.0+0x69/0x1a0 [ 15.250246][ T285] ? rcu_is_watching+0x16/0xd0 [ 15.250250][ T285] do_group_exit+0xb8/0x370 [ 15.250253][ T285] __x64_sys_exit_group+0x3c/0x50 [ 15.250255][ T285] x64_sys_call+0x1567/0x1570 [ 15.250257][ T285] do_syscall_64+0x10e/0x570 [ 15.250261][ T285] ? exc_page_fault+0xee/0x100 [ 15.250264][ T285] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.250266][ T285] RIP: 0033:0x7f78ee9211b8 [ 15.250268][ T285] Code: Unable to access opcode bytes at 0x7f78ee92118e. [ 15.250269][ T285] RSP: 002b:00007ffd49b3aa18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 15.250272][ T285] RAX: ffffffffffffffda RBX: 00007f78eea51f88 RCX: 00007f78ee9211b8 [ 15.250273][ T285] RDX: 00007f78ee66bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 15.250274][ T285] RBP: 00007ffd49b3aa70 R08: 0000000000000000 R09: 0000000000000000 [ 15.250275][ T285] R10: 00007ffd49b3a830 R11: 0000000000000246 R12: 0000000000000001 [ 15.250276][ T285] R13: 0000000000000000 R14: 00007f78eea50680 R15: 00007f78eea51fa0 [ 15.250282][ T285]