[ 11.902088][ T254] ip (254) used greatest stack depth: 23840 bytes left [ 11.902108][ T254] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.902111][ T254] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 254, name: ip [ 11.902113][ T254] preempt_count: 2, expected: 0 [ 11.902115][ T254] RCU nest depth: 0, expected: 0 [ 11.902116][ T254] locks held by ip/254: 5, last CPU#3: [ 11.902119][ T254] #0: ffffffff9ae167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.902133][ T254] #1: ffffffff9af7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.902140][ T254] #2: ffffffff9af7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.902147][ T254] #3: ffffffff9ae9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.902153][ T254] #4: ffffffff9ae9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.902159][ T254] irq event stamp: 22454 [ 11.902161][ T254] hardirqs last enabled at (22453): [] __down_trylock_console_sem+0x86/0xa0 [ 11.902164][ T254] hardirqs last disabled at (22454): [] console_emit_next_record+0x3d4/0x4c0 [ 11.902168][ T254] softirqs last enabled at (21176): [] netlink_release+0x17b/0xcf0 [ 11.902174][ T254] softirqs last disabled at (21174): [] netlink_release+0xd2/0xcf0 [ 11.902177][ T254] Preemption disabled at: [ 11.902178][ T254] [<0000000000000000>] 0x0 [ 11.902187][ T254] CPU: 3 UID: 0 PID: 254 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.902192][ T254] Tainted: [W]=WARN [ 11.902193][ T254] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.902195][ T254] Call Trace: [ 11.902197][ T254] [ 11.902200][ T254] dump_stack_lvl+0x6f/0xa0 [ 11.902208][ T254] __might_resched.cold+0x1fe/0x2c1 [ 11.902214][ T254] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.902220][ T254] ? __kmalloc_noprof+0xdb/0x760 [ 11.902227][ T254] __kmalloc_noprof+0x443/0x760 [ 11.902230][ T254] ? alloc_buf.isra.0+0x4b/0x260 [ 11.902240][ T254] ? do_raw_spin_unlock+0x59/0x250 [ 11.902243][ T254] alloc_buf.isra.0+0x4b/0x260 [ 11.902249][ T254] put_chars+0x1e1/0x2f0 [ 11.902253][ T254] ? __send_to_port+0x420/0x420 [ 11.902255][ T254] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.902260][ T254] ? validate_chain+0x38b/0xc20 [ 11.902270][ T254] hvc_console_print+0x292/0x780 [ 11.902282][ T254] ? hvc_write+0x3a0/0x3a0 [ 11.902286][ T254] ? rcu_is_watching+0x16/0xd0 [ 11.902289][ T254] ? lock_acquire+0x13c/0x160 [ 11.902296][ T254] console_emit_next_record+0x22f/0x4c0 [ 11.902303][ T254] ? devkmsg_read+0x4b0/0x4b0 [ 11.902305][ T254] ? console_flush_one_record+0x106/0x710 [ 11.902310][ T254] ? rcu_is_watching+0x16/0xd0 [ 11.902313][ T254] ? lock_acquire+0x13c/0x160 [ 11.902320][ T254] console_flush_one_record+0x46f/0x710 [ 11.902327][ T254] ? console_emit_next_record+0x4c0/0x4c0 [ 11.902330][ T254] ? __lock_acquire+0x518/0xc20 [ 11.902339][ T254] console_unlock+0xee/0x1f0 [ 11.902344][ T254] ? console_flush_one_record+0x710/0x710 [ 11.902347][ T254] ? rcu_is_watching+0x16/0xd0 [ 11.902349][ T254] ? lock_acquire+0xe0/0x160 [ 11.902356][ T254] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.902359][ T254] ? vprintk_emit+0x320/0x3e0 [ 11.902363][ T254] vprintk_emit+0x37c/0x3e0 [ 11.902369][ T254] ? wake_up_klogd_work_func+0x90/0x90 [ 11.902374][ T254] ? __lock_acquire+0x518/0xc20 [ 11.902380][ T254] _printk+0xc7/0x100 [ 11.902385][ T254] ? snapshot_read.cold+0x21/0x21 [ 11.902390][ T254] ? do_raw_spin_lock+0x131/0x280 [ 11.902394][ T254] ? __rwlock_init+0x150/0x150 [ 11.902400][ T254] ? do_raw_spin_lock+0x131/0x280 [ 11.902405][ T254] do_exit.cold+0x82/0x9c [ 11.902410][ T254] ? exit_notify+0x890/0x890 [ 11.902413][ T254] ? __lock_release.isra.0+0x69/0x1a0 [ 11.902417][ T254] ? rcu_is_watching+0x16/0xd0 [ 11.902424][ T254] do_group_exit+0xb8/0x370 [ 11.902429][ T254] __x64_sys_exit_group+0x3c/0x50 [ 11.902432][ T254] x64_sys_call+0x1567/0x1570 [ 11.902435][ T254] do_syscall_64+0xff/0x530 [ 11.902440][ T254] ? exc_page_fault+0xee/0x100 [ 11.902444][ T254] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.902448][ T254] RIP: 0033:0x7fac977a91b8 [ 11.902451][ T254] Code: Unable to access opcode bytes at 0x7fac977a918e. [ 11.902452][ T254] RSP: 002b:00007ffccfd31348 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.902456][ T254] RAX: ffffffffffffffda RBX: 00007fac978d9f88 RCX: 00007fac977a91b8 [ 11.902458][ T254] RDX: 00007fac974f3fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.902460][ T254] RBP: 00007ffccfd313a0 R08: 0000000000000000 R09: 0000000000000050 [ 11.902461][ T254] R10: 00007ffccfd31160 R11: 0000000000000246 R12: 0000000000000001 [ 11.902463][ T254] R13: 0000000000000000 R14: 00007fac978d8680 R15: 00007fac978d9fa0 [ 11.902475][ T254]