[ 9.968450][ T221] ip (221) used greatest stack depth: 24064 bytes left [ 9.968469][ T221] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.968472][ T221] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 221, name: ip [ 9.968473][ T221] preempt_count: 2, expected: 0 [ 9.968474][ T221] RCU nest depth: 0, expected: 0 [ 9.968475][ T221] locks held by ip/221: 5, last CPU#1: [ 9.968477][ T221] #0: ffffffffaca167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.968488][ T221] #1: ffffffffacb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.968493][ T221] #2: ffffffffacb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.968498][ T221] #3: ffffffffaca9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.968501][ T221] #4: ffffffffaca9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.968506][ T221] irq event stamp: 30640 [ 9.968506][ T221] hardirqs last enabled at (30639): [] __down_trylock_console_sem+0x86/0xa0 [ 9.968510][ T221] hardirqs last disabled at (30640): [] console_emit_next_record+0x3d4/0x4c0 [ 9.968512][ T221] softirqs last enabled at (29652): [] handle_softirqs+0x67c/0x900 [ 9.968514][ T221] softirqs last disabled at (29643): [] __irq_exit_rcu+0x145/0x1c0 [ 9.968516][ T221] Preemption disabled at: [ 9.968517][ T221] [<0000000000000000>] 0x0 [ 9.968524][ T221] CPU: 1 UID: 0 PID: 221 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.968527][ T221] Tainted: [W]=WARN [ 9.968528][ T221] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.968530][ T221] Call Trace: [ 9.968531][ T221] [ 9.968533][ T221] dump_stack_lvl+0x6f/0xa0 [ 9.968539][ T221] __might_resched.cold+0x1fe/0x2c1 [ 9.968544][ T221] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.968548][ T221] ? __kmalloc_noprof+0xdb/0x760 [ 9.968552][ T221] __kmalloc_noprof+0x443/0x760 [ 9.968554][ T221] ? alloc_buf.isra.0+0x4b/0x260 [ 9.968561][ T221] ? do_raw_spin_unlock+0x59/0x250 [ 9.968564][ T221] alloc_buf.isra.0+0x4b/0x260 [ 9.968568][ T221] put_chars+0x1e1/0x2f0 [ 9.968570][ T221] ? __send_to_port+0x420/0x420 [ 9.968571][ T221] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.968575][ T221] ? validate_chain+0x38b/0xc20 [ 9.968580][ T221] hvc_console_print+0x292/0x780 [ 9.968588][ T221] ? hvc_write+0x3a0/0x3a0 [ 9.968591][ T221] ? rcu_is_watching+0x16/0xd0 [ 9.968593][ T221] ? lock_acquire+0x13c/0x160 [ 9.968597][ T221] console_emit_next_record+0x22f/0x4c0 [ 9.968601][ T221] ? devkmsg_read+0x4b0/0x4b0 [ 9.968602][ T221] ? console_flush_one_record+0x106/0x710 [ 9.968606][ T221] ? rcu_is_watching+0x16/0xd0 [ 9.968607][ T221] ? lock_acquire+0x13c/0x160 [ 9.968611][ T221] console_flush_one_record+0x46f/0x710 [ 9.968615][ T221] ? console_emit_next_record+0x4c0/0x4c0 [ 9.968617][ T221] ? __lock_acquire+0x518/0xc20 [ 9.968623][ T221] console_unlock+0xee/0x1f0 [ 9.968625][ T221] ? console_flush_one_record+0x710/0x710 [ 9.968627][ T221] ? rcu_is_watching+0x16/0xd0 [ 9.968629][ T221] ? lock_acquire+0xe0/0x160 [ 9.968633][ T221] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.968634][ T221] ? vprintk_emit+0x320/0x3e0 [ 9.968637][ T221] vprintk_emit+0x37c/0x3e0 [ 9.968640][ T221] ? wake_up_klogd_work_func+0x90/0x90 [ 9.968643][ T221] ? __lock_acquire+0x518/0xc20 [ 9.968647][ T221] _printk+0xc7/0x100 [ 9.968650][ T221] ? snapshot_read.cold+0x21/0x21 [ 9.968653][ T221] ? do_raw_spin_lock+0x131/0x280 [ 9.968656][ T221] ? __rwlock_init+0x150/0x150 [ 9.968659][ T221] ? do_raw_spin_lock+0x131/0x280 [ 9.968662][ T221] do_exit.cold+0x82/0x9c [ 9.968666][ T221] ? exit_notify+0x890/0x890 [ 9.968667][ T221] ? __lock_release.isra.0+0x69/0x1a0 [ 9.968670][ T221] ? rcu_is_watching+0x16/0xd0 [ 9.968674][ T221] do_group_exit+0xb8/0x370 [ 9.968676][ T221] __x64_sys_exit_group+0x3c/0x50 [ 9.968678][ T221] x64_sys_call+0x1567/0x1570 [ 9.968681][ T221] do_syscall_64+0xff/0x530 [ 9.968684][ T221] ? exc_page_fault+0xee/0x100 [ 9.968687][ T221] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.968689][ T221] RIP: 0033:0x7f73d06711b8 [ 9.968692][ T221] Code: Unable to access opcode bytes at 0x7f73d067118e. [ 9.968693][ T221] RSP: 002b:00007ffce976ffb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.968695][ T221] RAX: ffffffffffffffda RBX: 00007f73d07a1f88 RCX: 00007f73d06711b8 [ 9.968696][ T221] RDX: 00007f73d03bbfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.968698][ T221] RBP: 00007ffce9770010 R08: 0000000000000000 R09: 0000000000000050 [ 9.968698][ T221] R10: 00007ffce976fdd0 R11: 0000000000000246 R12: 0000000000000001 [ 9.968699][ T221] R13: 0000000000000000 R14: 00007f73d07a0680 R15: 00007f73d07a1fa0 [ 9.968706][ T221]