[ 9.291227][ T197] ip (197) used greatest stack depth: 23912 bytes left [ 9.291245][ T197] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.291247][ T197] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 197, name: ip [ 9.291249][ T197] preempt_count: 2, expected: 0 [ 9.291249][ T197] RCU nest depth: 0, expected: 0 [ 9.291250][ T197] locks held by ip/197: 5, last CPU#2: [ 9.291252][ T197] #0: ffffffff9e6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.291263][ T197] #1: ffffffff9e77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.291268][ T197] #2: ffffffff9e77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.291272][ T197] #3: ffffffff9e69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.291276][ T197] #4: ffffffff9e69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.291280][ T197] irq event stamp: 30752 [ 9.291281][ T197] hardirqs last enabled at (30751): [] __down_trylock_console_sem+0x86/0xa0 [ 9.291284][ T197] hardirqs last disabled at (30752): [] console_emit_next_record+0x3d4/0x4c0 [ 9.291286][ T197] softirqs last enabled at (29160): [] netlink_release+0x17b/0xcf0 [ 9.291290][ T197] softirqs last disabled at (29158): [] netlink_release+0xd2/0xcf0 [ 9.291293][ T197] Preemption disabled at: [ 9.291293][ T197] [<0000000000000000>] 0x0 [ 9.291300][ T197] CPU: 2 UID: 0 PID: 197 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.291304][ T197] Tainted: [W]=WARN [ 9.291304][ T197] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.291306][ T197] Call Trace: [ 9.291308][ T197] [ 9.291309][ T197] dump_stack_lvl+0x6f/0xa0 [ 9.291316][ T197] __might_resched.cold+0x1fe/0x2c1 [ 9.291321][ T197] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.291324][ T197] ? __kmalloc_noprof+0xdb/0x760 [ 9.291329][ T197] __kmalloc_noprof+0x443/0x760 [ 9.291331][ T197] ? alloc_buf.isra.0+0x4b/0x260 [ 9.291337][ T197] ? do_raw_spin_unlock+0x59/0x250 [ 9.291340][ T197] alloc_buf.isra.0+0x4b/0x260 [ 9.291343][ T197] put_chars+0x1e1/0x2f0 [ 9.291346][ T197] ? __send_to_port+0x420/0x420 [ 9.291347][ T197] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.291350][ T197] ? validate_chain+0x38b/0xc20 [ 9.291355][ T197] hvc_console_print+0x292/0x780 [ 9.291363][ T197] ? hvc_write+0x3a0/0x3a0 [ 9.291365][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.291367][ T197] ? lock_acquire+0x13c/0x160 [ 9.291371][ T197] console_emit_next_record+0x22f/0x4c0 [ 9.291375][ T197] ? devkmsg_read+0x4b0/0x4b0 [ 9.291377][ T197] ? console_flush_one_record+0x106/0x710 [ 9.291380][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.291382][ T197] ? lock_acquire+0x13c/0x160 [ 9.291385][ T197] console_flush_one_record+0x46f/0x710 [ 9.291390][ T197] ? console_emit_next_record+0x4c0/0x4c0 [ 9.291391][ T197] ? __lock_acquire+0x518/0xc20 [ 9.291397][ T197] console_unlock+0xee/0x1f0 [ 9.291399][ T197] ? console_flush_one_record+0x710/0x710 [ 9.291401][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.291403][ T197] ? lock_acquire+0xe0/0x160 [ 9.291406][ T197] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.291408][ T197] ? vprintk_emit+0x320/0x3e0 [ 9.291411][ T197] vprintk_emit+0x37c/0x3e0 [ 9.291413][ T197] ? wake_up_klogd_work_func+0x90/0x90 [ 9.291416][ T197] ? __lock_acquire+0x518/0xc20 [ 9.291420][ T197] _printk+0xc7/0x100 [ 9.291423][ T197] ? snapshot_read.cold+0x21/0x21 [ 9.291426][ T197] ? do_raw_spin_lock+0x131/0x280 [ 9.291429][ T197] ? __rwlock_init+0x150/0x150 [ 9.291432][ T197] ? do_raw_spin_lock+0x131/0x280 [ 9.291435][ T197] do_exit.cold+0x82/0x9c [ 9.291439][ T197] ? exit_notify+0x890/0x890 [ 9.291440][ T197] ? __lock_release.isra.0+0x69/0x1a0 [ 9.291443][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.291446][ T197] do_group_exit+0xb8/0x370 [ 9.291449][ T197] __x64_sys_exit_group+0x3c/0x50 [ 9.291451][ T197] x64_sys_call+0x1567/0x1570 [ 9.291453][ T197] do_syscall_64+0xff/0x530 [ 9.291457][ T197] ? exc_page_fault+0xee/0x100 [ 9.291460][ T197] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.291462][ T197] RIP: 0033:0x7fd07e5471b8 [ 9.291464][ T197] Code: Unable to access opcode bytes at 0x7fd07e54718e. [ 9.291465][ T197] RSP: 002b:00007ffd3ff9f6c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.291467][ T197] RAX: ffffffffffffffda RBX: 00007fd07e677f88 RCX: 00007fd07e5471b8 [ 9.291469][ T197] RDX: 00007fd07e291fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.291470][ T197] RBP: 00007ffd3ff9f720 R08: 0000000000000000 R09: 0000000000000050 [ 9.291471][ T197] R10: 00007ffd3ff9f4e0 R11: 0000000000000246 R12: 0000000000000001 [ 9.291472][ T197] R13: 0000000000000000 R14: 00007fd07e676680 R15: 00007fd07e677fa0 [ 9.291478][ T197]