[ 13.442195][ T250] ip (250) used greatest stack depth: 23600 bytes left [ 13.442211][ T250] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.442213][ T250] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 250, name: ip [ 13.442215][ T250] preempt_count: 2, expected: 0 [ 13.442215][ T250] RCU nest depth: 0, expected: 0 [ 13.442217][ T250] locks held by ip/250: 5, last CPU#3: [ 13.442218][ T250] #0: ffffffff95e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.442229][ T250] #1: ffffffff95f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.442234][ T250] #2: ffffffff95f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.442238][ T250] #3: ffffffff95e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.442242][ T250] #4: ffffffff95e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.442246][ T250] irq event stamp: 22530 [ 13.442247][ T250] hardirqs last enabled at (22529): [] __down_trylock_console_sem+0x86/0xa0 [ 13.442250][ T250] hardirqs last disabled at (22530): [] console_emit_next_record+0x3d4/0x4c0 [ 13.442252][ T250] softirqs last enabled at (20960): [] netlink_release+0x17b/0xcf0 [ 13.442256][ T250] softirqs last disabled at (20958): [] netlink_release+0xd2/0xcf0 [ 13.442258][ T250] Preemption disabled at: [ 13.442259][ T250] [<0000000000000000>] 0x0 [ 13.442266][ T250] CPU: 3 UID: 0 PID: 250 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.442269][ T250] Tainted: [W]=WARN [ 13.442270][ T250] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.442271][ T250] Call Trace: [ 13.442273][ T250] [ 13.442274][ T250] dump_stack_lvl+0x6f/0xa0 [ 13.442281][ T250] __might_resched.cold+0x1fe/0x2c1 [ 13.442285][ T250] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.442289][ T250] ? __kmalloc_noprof+0xdb/0x760 [ 13.442293][ T250] __kmalloc_noprof+0x443/0x760 [ 13.442295][ T250] ? alloc_buf.isra.0+0x4b/0x260 [ 13.442302][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 13.442305][ T250] alloc_buf.isra.0+0x4b/0x260 [ 13.442308][ T250] put_chars+0x1e1/0x2f0 [ 13.442311][ T250] ? __send_to_port+0x420/0x420 [ 13.442312][ T250] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.442315][ T250] ? validate_chain+0x38b/0xc20 [ 13.442320][ T250] hvc_console_print+0x292/0x780 [ 13.442328][ T250] ? hvc_write+0x3a0/0x3a0 [ 13.442330][ T250] ? rcu_is_watching+0x16/0xd0 [ 13.442332][ T250] ? lock_acquire+0x13c/0x160 [ 13.442336][ T250] console_emit_next_record+0x22f/0x4c0 [ 13.442340][ T250] ? devkmsg_read+0x4b0/0x4b0 [ 13.442342][ T250] ? console_flush_one_record+0x106/0x710 [ 13.442345][ T250] ? rcu_is_watching+0x16/0xd0 [ 13.442347][ T250] ? lock_acquire+0x13c/0x160 [ 13.442350][ T250] console_flush_one_record+0x46f/0x710 [ 13.442355][ T250] ? console_emit_next_record+0x4c0/0x4c0 [ 13.442356][ T250] ? __lock_acquire+0x518/0xc20 [ 13.442361][ T250] console_unlock+0xee/0x1f0 [ 13.442364][ T250] ? console_flush_one_record+0x710/0x710 [ 13.442366][ T250] ? rcu_is_watching+0x16/0xd0 [ 13.442368][ T250] ? lock_acquire+0xe0/0x160 [ 13.442371][ T250] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.442373][ T250] ? vprintk_emit+0x320/0x3e0 [ 13.442376][ T250] vprintk_emit+0x37c/0x3e0 [ 13.442379][ T250] ? wake_up_klogd_work_func+0x90/0x90 [ 13.442381][ T250] ? __lock_acquire+0x518/0xc20 [ 13.442385][ T250] _printk+0xc7/0x100 [ 13.442389][ T250] ? snapshot_read.cold+0x21/0x21 [ 13.442392][ T250] ? do_raw_spin_lock+0x131/0x280 [ 13.442394][ T250] ? __rwlock_init+0x150/0x150 [ 13.442398][ T250] ? do_raw_spin_lock+0x131/0x280 [ 13.442400][ T250] do_exit.cold+0x82/0x9c [ 13.442404][ T250] ? exit_notify+0x890/0x890 [ 13.442405][ T250] ? __lock_release.isra.0+0x69/0x1a0 [ 13.442408][ T250] ? rcu_is_watching+0x16/0xd0 [ 13.442411][ T250] do_group_exit+0xb8/0x370 [ 13.442414][ T250] __x64_sys_exit_group+0x3c/0x50 [ 13.442416][ T250] x64_sys_call+0x1567/0x1570 [ 13.442418][ T250] do_syscall_64+0xff/0x530 [ 13.442425][ T250] ? exc_page_fault+0xee/0x100 [ 13.442428][ T250] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.442430][ T250] RIP: 0033:0x7f7b257c31b8 [ 13.442432][ T250] Code: Unable to access opcode bytes at 0x7f7b257c318e. [ 13.442433][ T250] RSP: 002b:00007ffcfc9cb1e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.442436][ T250] RAX: ffffffffffffffda RBX: 00007f7b258f3f88 RCX: 00007f7b257c31b8 [ 13.442437][ T250] RDX: 00007f7b2550dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.442438][ T250] RBP: 00007ffcfc9cb240 R08: 0000000000000000 R09: 0000000000000050 [ 13.442439][ T250] R10: 00007ffcfc9cb000 R11: 0000000000000246 R12: 0000000000000001 [ 13.442439][ T250] R13: 0000000000000000 R14: 00007f7b258f2680 R15: 00007f7b258f3fa0 [ 13.442446][ T250]