[ 10.589748][ T209] ip (209) used greatest stack depth: 24368 bytes left [ 10.589764][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.589766][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 10.589768][ T209] preempt_count: 2, expected: 0 [ 10.589768][ T209] RCU nest depth: 0, expected: 0 [ 10.589769][ T209] locks held by ip/209: 5, last CPU#3: [ 10.589771][ T209] #0: ffffffffaf0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.589783][ T209] #1: ffffffffaf17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.589788][ T209] #2: ffffffffaf17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.589792][ T209] #3: ffffffffaf09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.589796][ T209] #4: ffffffffaf09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.589800][ T209] irq event stamp: 31714 [ 10.589800][ T209] hardirqs last enabled at (31713): [] __down_trylock_console_sem+0x86/0xa0 [ 10.589803][ T209] hardirqs last disabled at (31714): [] console_emit_next_record+0x3d4/0x4c0 [ 10.589806][ T209] softirqs last enabled at (30424): [] netlink_release+0x17b/0xcf0 [ 10.589810][ T209] softirqs last disabled at (30422): [] netlink_release+0xd2/0xcf0 [ 10.589812][ T209] Preemption disabled at: [ 10.589813][ T209] [<0000000000000000>] 0x0 [ 10.589820][ T209] CPU: 3 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.589823][ T209] Tainted: [W]=WARN [ 10.589824][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.589826][ T209] Call Trace: [ 10.589828][ T209] [ 10.589829][ T209] dump_stack_lvl+0x6f/0xa0 [ 10.589836][ T209] __might_resched.cold+0x1fe/0x2c1 [ 10.589840][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.589844][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 10.589848][ T209] __kmalloc_noprof+0x443/0x760 [ 10.589850][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 10.589856][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 10.589859][ T209] alloc_buf.isra.0+0x4b/0x260 [ 10.589863][ T209] put_chars+0x1e1/0x2f0 [ 10.589865][ T209] ? __send_to_port+0x420/0x420 [ 10.589866][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.589870][ T209] ? validate_chain+0x38b/0xc20 [ 10.589875][ T209] hvc_console_print+0x292/0x780 [ 10.589883][ T209] ? hvc_write+0x3a0/0x3a0 [ 10.589885][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.589887][ T209] ? lock_acquire+0x13c/0x160 [ 10.589891][ T209] console_emit_next_record+0x22f/0x4c0 [ 10.589895][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 10.589897][ T209] ? console_flush_one_record+0x106/0x710 [ 10.589900][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.589901][ T209] ? lock_acquire+0x13c/0x160 [ 10.589905][ T209] console_flush_one_record+0x46f/0x710 [ 10.589909][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 10.589911][ T209] ? __lock_acquire+0x518/0xc20 [ 10.589916][ T209] console_unlock+0xee/0x1f0 [ 10.589919][ T209] ? console_flush_one_record+0x710/0x710 [ 10.589921][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.589922][ T209] ? lock_acquire+0xe0/0x160 [ 10.589926][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.589928][ T209] ? vprintk_emit+0x320/0x3e0 [ 10.589930][ T209] vprintk_emit+0x37c/0x3e0 [ 10.589933][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 10.589936][ T209] ? __lock_acquire+0x518/0xc20 [ 10.589940][ T209] _printk+0xc7/0x100 [ 10.589944][ T209] ? snapshot_read.cold+0x21/0x21 [ 10.589946][ T209] ? do_raw_spin_lock+0x131/0x280 [ 10.589949][ T209] ? __rwlock_init+0x150/0x150 [ 10.589953][ T209] ? do_raw_spin_lock+0x131/0x280 [ 10.589955][ T209] do_exit.cold+0x82/0x9c [ 10.589959][ T209] ? exit_notify+0x890/0x890 [ 10.589960][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 10.589963][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.589967][ T209] do_group_exit+0xb8/0x370 [ 10.589969][ T209] __x64_sys_exit_group+0x3c/0x50 [ 10.589971][ T209] x64_sys_call+0x1567/0x1570 [ 10.589974][ T209] do_syscall_64+0xff/0x530 [ 10.589978][ T209] ? exc_page_fault+0xee/0x100 [ 10.589980][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.589983][ T209] RIP: 0033:0x7f1b7d69e1b8 [ 10.589985][ T209] Code: Unable to access opcode bytes at 0x7f1b7d69e18e. [ 10.589986][ T209] RSP: 002b:00007ffdfaf8d328 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.589989][ T209] RAX: ffffffffffffffda RBX: 00007f1b7d7cef88 RCX: 00007f1b7d69e1b8 [ 10.589990][ T209] RDX: 00007f1b7d3e8fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.589991][ T209] RBP: 00007ffdfaf8d380 R08: 0000000000000000 R09: 0000000000000050 [ 10.589992][ T209] R10: 00007ffdfaf8d140 R11: 0000000000000246 R12: 0000000000000001 [ 10.589993][ T209] R13: 0000000000000000 R14: 00007f1b7d7cd680 R15: 00007f1b7d7cefa0 [ 10.589999][ T209]