[ 10.553100][ T180] ip (180) used greatest stack depth: 24240 bytes left [ 10.553118][ T180] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.553120][ T180] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 180, name: ip [ 10.553122][ T180] preempt_count: 2, expected: 0 [ 10.553123][ T180] RCU nest depth: 0, expected: 0 [ 10.553124][ T180] locks held by ip/180: 5, last CPU#2: [ 10.553126][ T180] #0: ffffffffb1a02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.553138][ T180] #1: ffffffffb1b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.553143][ T180] #2: ffffffffb1b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.553147][ T180] #3: ffffffffb1a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.553150][ T180] #4: ffffffffb1a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.553153][ T180] irq event stamp: 31210 [ 10.553154][ T180] hardirqs last enabled at (31209): [] __down_trylock_console_sem+0x86/0xa0 [ 10.553157][ T180] hardirqs last disabled at (31210): [] console_emit_next_record+0x3d4/0x4c0 [ 10.553158][ T180] softirqs last enabled at (29656): [] netlink_release+0x17b/0xcf0 [ 10.553163][ T180] softirqs last disabled at (29654): [] netlink_release+0xd2/0xcf0 [ 10.553167][ T180] Preemption disabled at: [ 10.553167][ T180] [<0000000000000000>] 0x0 [ 10.553176][ T180] CPU: 2 UID: 0 PID: 180 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.553180][ T180] Tainted: [W]=WARN [ 10.553181][ T180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.553183][ T180] Call Trace: [ 10.553184][ T180] [ 10.553186][ T180] dump_stack_lvl+0x6f/0xa0 [ 10.553191][ T180] __might_resched.cold+0x1fe/0x2c1 [ 10.553196][ T180] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.553199][ T180] ? __kmalloc_noprof+0xdb/0x760 [ 10.553205][ T180] __kmalloc_noprof+0x443/0x760 [ 10.553207][ T180] ? alloc_buf.isra.0+0x4b/0x260 [ 10.553213][ T180] ? do_raw_spin_unlock+0x59/0x250 [ 10.553216][ T180] alloc_buf.isra.0+0x4b/0x260 [ 10.553220][ T180] put_chars+0x1e1/0x2f0 [ 10.553222][ T180] ? __send_to_port+0x420/0x420 [ 10.553229][ T180] hvc_console_print+0x292/0x780 [ 10.553236][ T180] ? hvc_write+0x3a0/0x3a0 [ 10.553238][ T180] ? lock_acquire+0x13c/0x160 [ 10.553243][ T180] console_emit_next_record+0x22f/0x4c0 [ 10.553246][ T180] ? devkmsg_read+0x4b0/0x4b0 [ 10.553248][ T180] ? console_flush_one_record+0x106/0x710 [ 10.553250][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.553254][ T180] ? lock_acquire+0x13c/0x160 [ 10.553258][ T180] console_flush_one_record+0x46f/0x710 [ 10.553262][ T180] ? console_emit_next_record+0x4c0/0x4c0 [ 10.553263][ T180] ? __lock_acquire+0x518/0xc20 [ 10.553268][ T180] console_unlock+0xee/0x1f0 [ 10.553271][ T180] ? console_flush_one_record+0x710/0x710 [ 10.553272][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.553274][ T180] ? lock_acquire+0x60/0x160 [ 10.553277][ T180] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.553279][ T180] ? vprintk_emit+0x320/0x3e0 [ 10.553282][ T180] vprintk_emit+0x37c/0x3e0 [ 10.553285][ T180] ? wake_up_klogd_work_func+0x90/0x90 [ 10.553288][ T180] ? __lock_acquire+0x518/0xc20 [ 10.553292][ T180] _printk+0xc7/0x100 [ 10.553296][ T180] ? snapshot_read.cold+0x21/0x21 [ 10.553298][ T180] ? do_raw_spin_lock+0x131/0x280 [ 10.553301][ T180] ? __rwlock_init+0x150/0x150 [ 10.553305][ T180] ? do_raw_spin_lock+0x131/0x280 [ 10.553308][ T180] do_exit.cold+0x82/0x9c [ 10.553312][ T180] ? exit_notify+0x890/0x890 [ 10.553314][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 10.553316][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.553320][ T180] do_group_exit+0xb8/0x370 [ 10.553323][ T180] __x64_sys_exit_group+0x3c/0x50 [ 10.553325][ T180] x64_sys_call+0x1567/0x1570 [ 10.553328][ T180] do_syscall_64+0x10e/0x570 [ 10.553331][ T180] ? exc_page_fault+0xee/0x100 [ 10.553334][ T180] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.553337][ T180] RIP: 0033:0x7f14ba1c31b8 [ 10.553339][ T180] Code: Unable to access opcode bytes at 0x7f14ba1c318e. [ 10.553340][ T180] RSP: 002b:00007ffe2f9e3de8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.553343][ T180] RAX: ffffffffffffffda RBX: 00007f14ba2f3f88 RCX: 00007f14ba1c31b8 [ 10.553344][ T180] RDX: 00007f14b9f0dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.553345][ T180] RBP: 00007ffe2f9e3e40 R08: 0000000000000000 R09: 0000000000000050 [ 10.553346][ T180] R10: 00007ffe2f9e3c00 R11: 0000000000000246 R12: 0000000000000001 [ 10.553347][ T180] R13: 0000000000000000 R14: 00007f14ba2f2680 R15: 00007f14ba2f3fa0 [ 10.553354][ T180] [ 10.785968][ T183] ip (183) used greatest stack depth: 23696 bytes left