[ 10.610607][ T226] ip (226) used greatest stack depth: 24704 bytes left [ 10.610624][ T226] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.610626][ T226] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 226, name: ip [ 10.610627][ T226] preempt_count: 2, expected: 0 [ 10.610628][ T226] RCU nest depth: 0, expected: 0 [ 10.610629][ T226] locks held by ip/226: 5, last CPU#3: [ 10.610631][ T226] #0: ffffffffbc2167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.610642][ T226] #1: ffffffffbc37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.610647][ T226] #2: ffffffffbc37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.610651][ T226] #3: ffffffffbc29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.610655][ T226] #4: ffffffffbc29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.610659][ T226] irq event stamp: 28490 [ 10.610659][ T226] hardirqs last enabled at (28489): [] __down_trylock_console_sem+0x86/0xa0 [ 10.610663][ T226] hardirqs last disabled at (28490): [] console_emit_next_record+0x3d4/0x4c0 [ 10.610664][ T226] softirqs last enabled at (27202): [] netlink_release+0x17b/0xcf0 [ 10.610668][ T226] softirqs last disabled at (27200): [] netlink_release+0xd2/0xcf0 [ 10.610671][ T226] Preemption disabled at: [ 10.610672][ T226] [<0000000000000000>] 0x0 [ 10.610678][ T226] CPU: 3 UID: 0 PID: 226 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.610682][ T226] Tainted: [W]=WARN [ 10.610682][ T226] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.610684][ T226] Call Trace: [ 10.610685][ T226] [ 10.610687][ T226] dump_stack_lvl+0x6f/0xa0 [ 10.610694][ T226] __might_resched.cold+0x1fe/0x2c1 [ 10.610698][ T226] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.610702][ T226] ? __kmalloc_noprof+0xdb/0x760 [ 10.610707][ T226] __kmalloc_noprof+0x443/0x760 [ 10.610708][ T226] ? alloc_buf.isra.0+0x4b/0x260 [ 10.610715][ T226] ? do_raw_spin_unlock+0x59/0x250 [ 10.610718][ T226] alloc_buf.isra.0+0x4b/0x260 [ 10.610721][ T226] put_chars+0x1e1/0x2f0 [ 10.610723][ T226] ? __send_to_port+0x420/0x420 [ 10.610725][ T226] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.610728][ T226] ? validate_chain+0x38b/0xc20 [ 10.610734][ T226] hvc_console_print+0x292/0x780 [ 10.610741][ T226] ? hvc_write+0x3a0/0x3a0 [ 10.610744][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.610746][ T226] ? lock_acquire+0x13c/0x160 [ 10.610749][ T226] console_emit_next_record+0x22f/0x4c0 [ 10.610753][ T226] ? devkmsg_read+0x4b0/0x4b0 [ 10.610755][ T226] ? console_flush_one_record+0x106/0x710 [ 10.610758][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.610760][ T226] ? lock_acquire+0x13c/0x160 [ 10.610764][ T226] console_flush_one_record+0x46f/0x710 [ 10.610768][ T226] ? console_emit_next_record+0x4c0/0x4c0 [ 10.610770][ T226] ? __lock_acquire+0x518/0xc20 [ 10.610775][ T226] console_unlock+0xee/0x1f0 [ 10.610777][ T226] ? console_flush_one_record+0x710/0x710 [ 10.610779][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.610781][ T226] ? lock_acquire+0xe0/0x160 [ 10.610784][ T226] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.610786][ T226] ? vprintk_emit+0x320/0x3e0 [ 10.610789][ T226] vprintk_emit+0x37c/0x3e0 [ 10.610792][ T226] ? wake_up_klogd_work_func+0x90/0x90 [ 10.610795][ T226] ? __lock_acquire+0x518/0xc20 [ 10.610798][ T226] _printk+0xc7/0x100 [ 10.610802][ T226] ? snapshot_read.cold+0x21/0x21 [ 10.610805][ T226] ? do_raw_spin_lock+0x131/0x280 [ 10.610807][ T226] ? __rwlock_init+0x150/0x150 [ 10.610811][ T226] ? do_raw_spin_lock+0x131/0x280 [ 10.610814][ T226] do_exit.cold+0x82/0x9c [ 10.610817][ T226] ? exit_notify+0x890/0x890 [ 10.610819][ T226] ? __lock_release.isra.0+0x69/0x1a0 [ 10.610822][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.610825][ T226] do_group_exit+0xb8/0x370 [ 10.610828][ T226] __x64_sys_exit_group+0x3c/0x50 [ 10.610830][ T226] x64_sys_call+0x1567/0x1570 [ 10.610832][ T226] do_syscall_64+0xff/0x530 [ 10.610836][ T226] ? exc_page_fault+0xee/0x100 [ 10.610839][ T226] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.610841][ T226] RIP: 0033:0x7fc6acc251b8 [ 10.610843][ T226] Code: Unable to access opcode bytes at 0x7fc6acc2518e. [ 10.610844][ T226] RSP: 002b:00007ffc38ed8fd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.610846][ T226] RAX: ffffffffffffffda RBX: 00007fc6acd55f88 RCX: 00007fc6acc251b8 [ 10.610847][ T226] RDX: 00007fc6ac96ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.610848][ T226] RBP: 00007ffc38ed9030 R08: 0000000000000000 R09: 0000000000000050 [ 10.610849][ T226] R10: 00007ffc38ed8df0 R11: 0000000000000246 R12: 0000000000000001 [ 10.610850][ T226] R13: 0000000000000000 R14: 00007fc6acd54680 R15: 00007fc6acd55fa0 [ 10.610857][ T226] [ 10.689720][ T232] ip (232) used greatest stack depth: 23664 bytes left