[ 13.376173][ T307] ip (307) used greatest stack depth: 24080 bytes left [ 13.376216][ T307] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.376218][ T307] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 307, name: ip [ 13.376220][ T307] preempt_count: 2, expected: 0 [ 13.376221][ T307] RCU nest depth: 0, expected: 0 [ 13.376222][ T307] locks held by ip/307: 5, last CPU#2: [ 13.376224][ T307] #0: ffffffffa7c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.376236][ T307] #1: ffffffffa7d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.376241][ T307] #2: ffffffffa7d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.376245][ T307] #3: ffffffffa7c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.376249][ T307] #4: ffffffffa7c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.376253][ T307] irq event stamp: 22618 [ 13.376254][ T307] hardirqs last enabled at (22617): [] __down_trylock_console_sem+0x86/0xa0 [ 13.376258][ T307] hardirqs last disabled at (22618): [] console_emit_next_record+0x3d4/0x4c0 [ 13.376260][ T307] softirqs last enabled at (21022): [] netlink_release+0x17b/0xcf0 [ 13.376264][ T307] softirqs last disabled at (21020): [] netlink_release+0xd2/0xcf0 [ 13.376267][ T307] Preemption disabled at: [ 13.376267][ T307] [<0000000000000000>] 0x0 [ 13.376275][ T307] CPU: 2 UID: 0 PID: 307 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.376279][ T307] Tainted: [W]=WARN [ 13.376280][ T307] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.376281][ T307] Call Trace: [ 13.376283][ T307] [ 13.376284][ T307] dump_stack_lvl+0x6f/0xa0 [ 13.376291][ T307] __might_resched.cold+0x1fe/0x2c1 [ 13.376296][ T307] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.376300][ T307] ? __kmalloc_noprof+0xdb/0x760 [ 13.376305][ T307] __kmalloc_noprof+0x443/0x760 [ 13.376307][ T307] ? alloc_buf.isra.0+0x4b/0x260 [ 13.376314][ T307] ? do_raw_spin_unlock+0x59/0x250 [ 13.376316][ T307] alloc_buf.isra.0+0x4b/0x260 [ 13.376321][ T307] put_chars+0x1e1/0x2f0 [ 13.376325][ T307] ? __send_to_port+0x420/0x420 [ 13.376326][ T307] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.376330][ T307] ? validate_chain+0x38b/0xc20 [ 13.376336][ T307] hvc_console_print+0x292/0x780 [ 13.376343][ T307] ? hvc_write+0x3a0/0x3a0 [ 13.376346][ T307] ? rcu_is_watching+0x16/0xd0 [ 13.376348][ T307] ? lock_acquire+0x13c/0x160 [ 13.376352][ T307] console_emit_next_record+0x22f/0x4c0 [ 13.376356][ T307] ? devkmsg_read+0x4b0/0x4b0 [ 13.376358][ T307] ? console_flush_one_record+0x106/0x710 [ 13.376362][ T307] ? rcu_is_watching+0x16/0xd0 [ 13.376363][ T307] ? lock_acquire+0x13c/0x160 [ 13.376368][ T307] console_flush_one_record+0x46f/0x710 [ 13.376372][ T307] ? console_emit_next_record+0x4c0/0x4c0 [ 13.376374][ T307] ? __lock_acquire+0x518/0xc20 [ 13.376379][ T307] console_unlock+0xee/0x1f0 [ 13.376382][ T307] ? console_flush_one_record+0x710/0x710 [ 13.376384][ T307] ? rcu_is_watching+0x16/0xd0 [ 13.376386][ T307] ? lock_acquire+0xe0/0x160 [ 13.376390][ T307] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.376392][ T307] ? vprintk_emit+0x320/0x3e0 [ 13.376394][ T307] vprintk_emit+0x37c/0x3e0 [ 13.376398][ T307] ? wake_up_klogd_work_func+0x90/0x90 [ 13.376401][ T307] ? __lock_acquire+0x518/0xc20 [ 13.376404][ T307] _printk+0xc7/0x100 [ 13.376408][ T307] ? snapshot_read.cold+0x21/0x21 [ 13.376411][ T307] ? do_raw_spin_lock+0x131/0x280 [ 13.376414][ T307] ? __rwlock_init+0x150/0x150 [ 13.376418][ T307] ? do_raw_spin_lock+0x131/0x280 [ 13.376421][ T307] do_exit.cold+0x82/0x9c [ 13.376425][ T307] ? exit_notify+0x890/0x890 [ 13.376426][ T307] ? __lock_release.isra.0+0x69/0x1a0 [ 13.376429][ T307] ? rcu_is_watching+0x16/0xd0 [ 13.376433][ T307] do_group_exit+0xb8/0x370 [ 13.376436][ T307] __x64_sys_exit_group+0x3c/0x50 [ 13.376438][ T307] x64_sys_call+0x1567/0x1570 [ 13.376440][ T307] do_syscall_64+0xff/0x530 [ 13.376444][ T307] ? exc_page_fault+0xee/0x100 [ 13.376447][ T307] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.376450][ T307] RIP: 0033:0x7f71c63191b8 [ 13.376452][ T307] Code: Unable to access opcode bytes at 0x7f71c631918e. [ 13.376453][ T307] RSP: 002b:00007fffcaf29968 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.376455][ T307] RAX: ffffffffffffffda RBX: 00007f71c6449f88 RCX: 00007f71c63191b8 [ 13.376457][ T307] RDX: 00007f71c6063fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.376458][ T307] RBP: 00007fffcaf299c0 R08: 0000000000000000 R09: 0000000000000050 [ 13.376459][ T307] R10: 00007fffcaf29780 R11: 0000000000000246 R12: 0000000000000001 [ 13.376459][ T307] R13: 0000000000000000 R14: 00007f71c6448680 R15: 00007f71c6449fa0 [ 13.376466][ T307]