[ 10.251630][ T211] ip (211) used greatest stack depth: 23808 bytes left [ 10.251646][ T211] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.251648][ T211] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 211, name: ip [ 10.251650][ T211] preempt_count: 2, expected: 0 [ 10.251651][ T211] RCU nest depth: 0, expected: 0 [ 10.251652][ T211] locks held by ip/211: 5, last CPU#0: [ 10.251654][ T211] #0: ffffffff976027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.251666][ T211] #1: ffffffff97769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.251672][ T211] #2: ffffffff97769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.251675][ T211] #3: ffffffff97689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.251679][ T211] #4: ffffffff97689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.251682][ T211] irq event stamp: 16896 [ 10.251683][ T211] hardirqs last enabled at (16895): [] __down_trylock_console_sem+0x86/0xa0 [ 10.251687][ T211] hardirqs last disabled at (16896): [] console_emit_next_record+0x3d4/0x4c0 [ 10.251688][ T211] softirqs last enabled at (15448): [] netlink_release+0x17b/0xcf0 [ 10.251692][ T211] softirqs last disabled at (15446): [] netlink_release+0xd2/0xcf0 [ 10.251694][ T211] Preemption disabled at: [ 10.251695][ T211] [<0000000000000000>] 0x0 [ 10.251702][ T211] CPU: 0 UID: 0 PID: 211 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.251705][ T211] Tainted: [W]=WARN [ 10.251706][ T211] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.251708][ T211] Call Trace: [ 10.251709][ T211] [ 10.251711][ T211] dump_stack_lvl+0x6f/0xa0 [ 10.251717][ T211] __might_resched.cold+0x1fe/0x2c1 [ 10.251721][ T211] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.251727][ T211] ? __kmalloc_noprof+0xdb/0x760 [ 10.251732][ T211] __kmalloc_noprof+0x443/0x760 [ 10.251735][ T211] ? alloc_buf.isra.0+0x4b/0x260 [ 10.251741][ T211] ? do_raw_spin_unlock+0x59/0x250 [ 10.251744][ T211] alloc_buf.isra.0+0x4b/0x260 [ 10.251747][ T211] put_chars+0x1e1/0x2f0 [ 10.251750][ T211] ? __send_to_port+0x420/0x420 [ 10.251752][ T211] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.251756][ T211] ? validate_chain+0x38b/0xc20 [ 10.251762][ T211] hvc_console_print+0x292/0x780 [ 10.251769][ T211] ? hvc_write+0x3a0/0x3a0 [ 10.251771][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.251773][ T211] ? lock_acquire+0x13c/0x160 [ 10.251777][ T211] console_emit_next_record+0x22f/0x4c0 [ 10.251781][ T211] ? devkmsg_read+0x4b0/0x4b0 [ 10.251782][ T211] ? console_flush_one_record+0x106/0x710 [ 10.251785][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.251787][ T211] ? lock_acquire+0x13c/0x160 [ 10.251791][ T211] console_flush_one_record+0x46f/0x710 [ 10.251794][ T211] ? console_emit_next_record+0x4c0/0x4c0 [ 10.251796][ T211] ? __lock_acquire+0x518/0xc20 [ 10.251801][ T211] console_unlock+0xee/0x1f0 [ 10.251803][ T211] ? console_flush_one_record+0x710/0x710 [ 10.251805][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.251806][ T211] ? lock_acquire+0x60/0x160 [ 10.251810][ T211] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.251812][ T211] ? vprintk_emit+0x320/0x3e0 [ 10.251815][ T211] vprintk_emit+0x37c/0x3e0 [ 10.251818][ T211] ? wake_up_klogd_work_func+0x90/0x90 [ 10.251821][ T211] ? __lock_acquire+0x518/0xc20 [ 10.251825][ T211] _printk+0xc7/0x100 [ 10.251829][ T211] ? snapshot_read.cold+0x21/0x21 [ 10.251832][ T211] ? do_raw_spin_lock+0x131/0x280 [ 10.251834][ T211] ? __rwlock_init+0x150/0x150 [ 10.251838][ T211] ? do_raw_spin_lock+0x131/0x280 [ 10.251841][ T211] do_exit.cold+0x82/0x9c [ 10.251845][ T211] ? exit_notify+0x890/0x890 [ 10.251846][ T211] ? __lock_release.isra.0+0x69/0x1a0 [ 10.251849][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.251853][ T211] do_group_exit+0xb8/0x370 [ 10.251856][ T211] __x64_sys_exit_group+0x3c/0x50 [ 10.251858][ T211] x64_sys_call+0x1567/0x1570 [ 10.251861][ T211] do_syscall_64+0xff/0x530 [ 10.251865][ T211] ? exc_page_fault+0xee/0x100 [ 10.251868][ T211] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.251870][ T211] RIP: 0033:0x7fe10530c1b8 [ 10.251872][ T211] Code: Unable to access opcode bytes at 0x7fe10530c18e. [ 10.251873][ T211] RSP: 002b:00007ffc2b96a558 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.251876][ T211] RAX: ffffffffffffffda RBX: 00007fe10543cf88 RCX: 00007fe10530c1b8 [ 10.251877][ T211] RDX: 00007fe105056fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.251878][ T211] RBP: 00007ffc2b96a5b0 R08: 0000000000000000 R09: 0000000000008010 [ 10.251879][ T211] R10: 00007ffc2b96a370 R11: 0000000000000246 R12: 0000000000000001 [ 10.251880][ T211] R13: 0000000000000000 R14: 00007fe10543b680 R15: 00007fe10543cfa0 [ 10.251886][ T211]