[ 32.936656][ T320] ip (320) used greatest stack depth: 23896 bytes left [ 32.936672][ T320] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.936675][ T320] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 320, name: ip [ 32.936676][ T320] preempt_count: 2, expected: 0 [ 32.936677][ T320] RCU nest depth: 0, expected: 0 [ 32.936678][ T320] locks held by ip/320: 5, last CPU#1: [ 32.936680][ T320] #0: ffffffffa02027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.936693][ T320] #1: ffffffffa0399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.936699][ T320] #2: ffffffffa0399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.936703][ T320] #3: ffffffffa0289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.936707][ T320] #4: ffffffffa0289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 32.936711][ T320] irq event stamp: 23274 [ 32.936712][ T320] hardirqs last enabled at (23273): [] __down_trylock_console_sem+0x86/0xa0 [ 32.936714][ T320] hardirqs last disabled at (23274): [] console_emit_next_record+0x3f8/0x4f0 [ 32.936716][ T320] softirqs last enabled at (21728): [] netlink_release+0x17b/0xcf0 [ 32.936721][ T320] softirqs last disabled at (21726): [] netlink_release+0xd2/0xcf0 [ 32.936724][ T320] Preemption disabled at: [ 32.936724][ T320] [<0000000000000000>] 0x0 [ 32.936732][ T320] CPU: 1 UID: 0 PID: 320 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.936735][ T320] Tainted: [W]=WARN [ 32.936736][ T320] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.936738][ T320] Call Trace: [ 32.936740][ T320] [ 32.936741][ T320] dump_stack_lvl+0x6f/0xa0 [ 32.936748][ T320] __might_resched.cold+0x1fe/0x2c1 [ 32.936752][ T320] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.936757][ T320] ? __kmalloc_noprof+0xdb/0x760 [ 32.936762][ T320] __kmalloc_noprof+0x443/0x760 [ 32.936764][ T320] ? alloc_buf.isra.0+0x4b/0x260 [ 32.936770][ T320] ? do_raw_spin_unlock+0x59/0x250 [ 32.936773][ T320] alloc_buf.isra.0+0x4b/0x260 [ 32.936776][ T320] put_chars+0x1e1/0x2f0 [ 32.936779][ T320] ? __send_to_port+0x420/0x420 [ 32.936781][ T320] ? printk_get_next_message+0x2fe/0x7d0 [ 32.936784][ T320] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.936787][ T320] ? validate_chain+0x38b/0xc20 [ 32.936792][ T320] hvc_console_print+0x292/0x780 [ 32.936795][ T320] ? __lock_acquire+0x518/0xc20 [ 32.936796][ T320] ? __lock_acquire+0x518/0xc20 [ 32.936800][ T320] ? hvc_write+0x3a0/0x3a0 [ 32.936804][ T320] ? rcu_is_watching+0x16/0xd0 [ 32.936807][ T320] ? lock_acquire+0x13c/0x160 [ 32.936810][ T320] console_emit_next_record+0x252/0x4f0 [ 32.936814][ T320] ? devkmsg_read+0x4e0/0x4e0 [ 32.936819][ T320] ? rcu_is_watching+0x16/0xd0 [ 32.936821][ T320] ? lock_acquire+0x13c/0x160 [ 32.936825][ T320] console_flush_one_record+0x46f/0x710 [ 32.936829][ T320] ? console_emit_next_record+0x4f0/0x4f0 [ 32.936830][ T320] ? __lock_acquire+0x518/0xc20 [ 32.936836][ T320] console_unlock+0xee/0x1f0 [ 32.936838][ T320] ? console_flush_one_record+0x710/0x710 [ 32.936840][ T320] ? rcu_is_watching+0x16/0xd0 [ 32.936842][ T320] ? lock_acquire+0x60/0x160 [ 32.936846][ T320] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.936847][ T320] ? vprintk_emit+0x320/0x3e0 [ 32.936851][ T320] vprintk_emit+0x37c/0x3e0 [ 32.936854][ T320] ? wake_up_klogd_work_func+0x90/0x90 [ 32.936858][ T320] ? __lock_acquire+0x518/0xc20 [ 32.936861][ T320] _printk+0xc7/0x100 [ 32.936865][ T320] ? snapshot_read.cold+0x21/0x21 [ 32.936868][ T320] ? do_raw_spin_lock+0x131/0x280 [ 32.936871][ T320] ? __rwlock_init+0x150/0x150 [ 32.936874][ T320] ? do_raw_spin_lock+0x131/0x280 [ 32.936877][ T320] do_exit.cold+0x82/0x9c [ 32.936881][ T320] ? exit_notify+0x890/0x890 [ 32.936883][ T320] ? __lock_release.isra.0+0x69/0x1a0 [ 32.936886][ T320] ? rcu_is_watching+0x16/0xd0 [ 32.936890][ T320] do_group_exit+0xb8/0x370 [ 32.936893][ T320] __x64_sys_exit_group+0x3c/0x50 [ 32.936896][ T320] x64_sys_call+0x1567/0x1570 [ 32.936898][ T320] do_syscall_64+0xff/0x530 [ 32.936901][ T320] ? exc_page_fault+0xee/0x100 [ 32.936905][ T320] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.936907][ T320] RIP: 0033:0x7ff7220311b8 [ 32.936910][ T320] Code: Unable to access opcode bytes at 0x7ff72203118e. [ 32.936911][ T320] RSP: 002b:00007ffdaf391f08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 32.936913][ T320] RAX: ffffffffffffffda RBX: 00007ff722161f88 RCX: 00007ff7220311b8 [ 32.936915][ T320] RDX: 00007ff721d7bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 32.936916][ T320] RBP: 00007ffdaf391f60 R08: 0000000000000000 R09: 0000000000000050 [ 32.936917][ T320] R10: 00007ffdaf391d20 R11: 0000000000000246 R12: 0000000000000001 [ 32.936918][ T320] R13: 0000000000000000 R14: 00007ff722160680 R15: 00007ff722161fa0 [ 32.936925][ T320]