[ 14.451439][ T226] ip (226) used greatest stack depth: 24112 bytes left [ 14.451454][ T226] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.451457][ T226] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 226, name: ip [ 14.451458][ T226] preempt_count: 2, expected: 0 [ 14.451459][ T226] RCU nest depth: 0, expected: 0 [ 14.451460][ T226] locks held by ip/226: 5, last CPU#3: [ 14.451462][ T226] #0: ffffffffb5a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.451473][ T226] #1: ffffffffb5b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.451478][ T226] #2: ffffffffb5b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.451483][ T226] #3: ffffffffb5a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.451487][ T226] #4: ffffffffb5a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.451491][ T226] irq event stamp: 33668 [ 14.451492][ T226] hardirqs last enabled at (33667): [] __down_trylock_console_sem+0x86/0xa0 [ 14.451495][ T226] hardirqs last disabled at (33668): [] console_emit_next_record+0x3d4/0x4c0 [ 14.451497][ T226] softirqs last enabled at (33650): [] handle_softirqs+0x67c/0x900 [ 14.451500][ T226] softirqs last disabled at (33209): [] __irq_exit_rcu+0x145/0x1c0 [ 14.451502][ T226] Preemption disabled at: [ 14.451503][ T226] [<0000000000000000>] 0x0 [ 14.451510][ T226] CPU: 3 UID: 0 PID: 226 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.451513][ T226] Tainted: [W]=WARN [ 14.451514][ T226] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.451516][ T226] Call Trace: [ 14.451518][ T226] [ 14.451519][ T226] dump_stack_lvl+0x6f/0xa0 [ 14.451526][ T226] __might_resched.cold+0x1fe/0x2c1 [ 14.451531][ T226] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.451535][ T226] ? __kmalloc_noprof+0xdb/0x760 [ 14.451543][ T226] __kmalloc_noprof+0x443/0x760 [ 14.451545][ T226] ? alloc_buf.isra.0+0x4b/0x260 [ 14.451552][ T226] ? do_raw_spin_unlock+0x59/0x250 [ 14.451555][ T226] alloc_buf.isra.0+0x4b/0x260 [ 14.451559][ T226] put_chars+0x1e1/0x2f0 [ 14.451561][ T226] ? __send_to_port+0x420/0x420 [ 14.451562][ T226] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.451566][ T226] ? validate_chain+0x38b/0xc20 [ 14.451571][ T226] hvc_console_print+0x292/0x780 [ 14.451579][ T226] ? hvc_write+0x3a0/0x3a0 [ 14.451582][ T226] ? rcu_is_watching+0x16/0xd0 [ 14.451584][ T226] ? lock_acquire+0x13c/0x160 [ 14.451588][ T226] console_emit_next_record+0x22f/0x4c0 [ 14.451592][ T226] ? devkmsg_read+0x4b0/0x4b0 [ 14.451594][ T226] ? console_flush_one_record+0x106/0x710 [ 14.451597][ T226] ? rcu_is_watching+0x16/0xd0 [ 14.451599][ T226] ? lock_acquire+0x13c/0x160 [ 14.451603][ T226] console_flush_one_record+0x46f/0x710 [ 14.451607][ T226] ? console_emit_next_record+0x4c0/0x4c0 [ 14.451609][ T226] ? __lock_acquire+0x518/0xc20 [ 14.451614][ T226] console_unlock+0xee/0x1f0 [ 14.451617][ T226] ? console_flush_one_record+0x710/0x710 [ 14.451619][ T226] ? rcu_is_watching+0x16/0xd0 [ 14.451621][ T226] ? lock_acquire+0xe0/0x160 [ 14.451624][ T226] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.451626][ T226] ? vprintk_emit+0x320/0x3e0 [ 14.451629][ T226] vprintk_emit+0x37c/0x3e0 [ 14.451632][ T226] ? wake_up_klogd_work_func+0x90/0x90 [ 14.451635][ T226] ? __lock_acquire+0x518/0xc20 [ 14.451639][ T226] _printk+0xc7/0x100 [ 14.451643][ T226] ? snapshot_read.cold+0x21/0x21 [ 14.451645][ T226] ? do_raw_spin_lock+0x131/0x280 [ 14.451648][ T226] ? __rwlock_init+0x150/0x150 [ 14.451652][ T226] ? do_raw_spin_lock+0x131/0x280 [ 14.451655][ T226] do_exit.cold+0x82/0x9c [ 14.451658][ T226] ? exit_notify+0x890/0x890 [ 14.451660][ T226] ? __lock_release.isra.0+0x69/0x1a0 [ 14.451663][ T226] ? rcu_is_watching+0x16/0xd0 [ 14.451666][ T226] do_group_exit+0xb8/0x370 [ 14.451669][ T226] __x64_sys_exit_group+0x3c/0x50 [ 14.451671][ T226] x64_sys_call+0x1567/0x1570 [ 14.451673][ T226] do_syscall_64+0xff/0x530 [ 14.451678][ T226] ? exc_page_fault+0xee/0x100 [ 14.451681][ T226] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.451683][ T226] RIP: 0033:0x7fa17fab71b8 [ 14.451685][ T226] Code: Unable to access opcode bytes at 0x7fa17fab718e. [ 14.451686][ T226] RSP: 002b:00007ffc195ebca8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.451688][ T226] RAX: ffffffffffffffda RBX: 00007fa17fbe7f88 RCX: 00007fa17fab71b8 [ 14.451689][ T226] RDX: 00007fa17f801fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.451690][ T226] RBP: 00007ffc195ebd00 R08: 0000000000000000 R09: 0000000000000050 [ 14.451691][ T226] R10: 00007ffc195ebac0 R11: 0000000000000246 R12: 0000000000000001 [ 14.451692][ T226] R13: 0000000000000000 R14: 00007fa17fbe6680 R15: 00007fa17fbe7fa0 [ 14.451699][ T226] [ 17.854999][ T246] ip (246) used greatest stack depth: 24096 bytes left [ 17.855015][ T246] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.855017][ T246] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 246, name: ip [ 17.855019][ T246] preempt_count: 2, expected: 0 [ 17.855019][ T246] RCU nest depth: 0, expected: 0 [ 17.855021][ T246] locks held by ip/246: 5, last CPU#3: [ 17.855022][ T246] #0: ffffffffb5a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.855033][ T246] #1: ffffffffb5b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.855038][ T246] #2: ffffffffb5b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.855043][ T246] #3: ffffffffb5a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.855046][ T246] #4: ffffffffb5a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.855051][ T246] irq event stamp: 35076 [ 17.855051][ T246] hardirqs last enabled at (35075): [] __down_trylock_console_sem+0x86/0xa0 [ 17.855055][ T246] hardirqs last disabled at (35076): [] console_emit_next_record+0x3d4/0x4c0 [ 17.855057][ T246] softirqs last enabled at (34618): [] handle_softirqs+0x67c/0x900 [ 17.855059][ T246] softirqs last disabled at (34611): [] __irq_exit_rcu+0x145/0x1c0 [ 17.855061][ T246] Preemption disabled at: [ 17.855062][ T246] [<0000000000000000>] 0x0 [ 17.855069][ T246] CPU: 3 UID: 0 PID: 246 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.855072][ T246] Tainted: [W]=WARN [ 17.855073][ T246] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.855074][ T246] Call Trace: [ 17.855076][ T246] [ 17.855077][ T246] dump_stack_lvl+0x6f/0xa0 [ 17.855083][ T246] __might_resched.cold+0x1fe/0x2c1 [ 17.855088][ T246] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.855092][ T246] ? __kmalloc_noprof+0xdb/0x760 [ 17.855096][ T246] __kmalloc_noprof+0x443/0x760 [ 17.855098][ T246] ? alloc_buf.isra.0+0x4b/0x260 [ 17.855105][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 17.855108][ T246] alloc_buf.isra.0+0x4b/0x260 [ 17.855111][ T246] put_chars+0x1e1/0x2f0 [ 17.855114][ T246] ? __send_to_port+0x420/0x420 [ 17.855115][ T246] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.855119][ T246] ? validate_chain+0x38b/0xc20 [ 17.855124][ T246] hvc_console_print+0x292/0x780 [ 17.855131][ T246] ? hvc_write+0x3a0/0x3a0 [ 17.855134][ T246] ? rcu_is_watching+0x16/0xd0 [ 17.855136][ T246] ? lock_acquire+0x13c/0x160 [ 17.855140][ T246] console_emit_next_record+0x22f/0x4c0 [ 17.855144][ T246] ? devkmsg_read+0x4b0/0x4b0 [ 17.855146][ T246] ? console_flush_one_record+0x106/0x710 [ 17.855149][ T246] ? rcu_is_watching+0x16/0xd0 [ 17.855150][ T246] ? lock_acquire+0x13c/0x160 [ 17.855154][ T246] console_flush_one_record+0x46f/0x710 [ 17.855158][ T246] ? console_emit_next_record+0x4c0/0x4c0 [ 17.855160][ T246] ? __lock_acquire+0x518/0xc20 [ 17.855165][ T246] console_unlock+0xee/0x1f0 [ 17.855168][ T246] ? console_flush_one_record+0x710/0x710 [ 17.855170][ T246] ? rcu_is_watching+0x16/0xd0 [ 17.855172][ T246] ? lock_acquire+0xe0/0x160 [ 17.855175][ T246] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.855177][ T246] ? vprintk_emit+0x320/0x3e0 [ 17.855180][ T246] vprintk_emit+0x37c/0x3e0 [ 17.855183][ T246] ? wake_up_klogd_work_func+0x90/0x90 [ 17.855186][ T246] ? __lock_acquire+0x518/0xc20 [ 17.855189][ T246] _printk+0xc7/0x100 [ 17.855193][ T246] ? snapshot_read.cold+0x21/0x21 [ 17.855196][ T246] ? do_raw_spin_lock+0x131/0x280 [ 17.855198][ T246] ? __rwlock_init+0x150/0x150 [ 17.855202][ T246] ? do_raw_spin_lock+0x131/0x280 [ 17.855205][ T246] do_exit.cold+0x82/0x9c [ 17.855208][ T246] ? exit_notify+0x890/0x890 [ 17.855210][ T246] ? __lock_release.isra.0+0x69/0x1a0 [ 17.855212][ T246] ? rcu_is_watching+0x16/0xd0 [ 17.855218][ T246] do_group_exit+0xb8/0x370 [ 17.855221][ T246] __x64_sys_exit_group+0x3c/0x50 [ 17.855222][ T246] x64_sys_call+0x1567/0x1570 [ 17.855225][ T246] do_syscall_64+0xff/0x530 [ 17.855229][ T246] ? exc_page_fault+0xee/0x100 [ 17.855231][ T246] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.855234][ T246] RIP: 0033:0x7f43545c21b8 [ 17.855236][ T246] Code: Unable to access opcode bytes at 0x7f43545c218e. [ 17.855237][ T246] RSP: 002b:00007ffdfa1cc3f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.855239][ T246] RAX: ffffffffffffffda RBX: 00007f43546f2f88 RCX: 00007f43545c21b8 [ 17.855240][ T246] RDX: 00007f435430cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 17.855241][ T246] RBP: 00007ffdfa1cc450 R08: 0000000000000000 R09: 0000000000000000 [ 17.855242][ T246] R10: 00007ffdfa1cc210 R11: 0000000000000246 R12: 0000000000000001 [ 17.855243][ T246] R13: 0000000000000000 R14: 00007f43546f1680 R15: 00007f43546f2fa0 [ 17.855249][ T246]