[ 11.751514][ T223] nft (223) used greatest stack depth: 24064 bytes left [ 11.751533][ T223] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.751535][ T223] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 223, name: nft [ 11.751537][ T223] preempt_count: 2, expected: 0 [ 11.751538][ T223] RCU nest depth: 0, expected: 0 [ 11.751539][ T223] locks held by nft/223: 5, last CPU#2: [ 11.751542][ T223] #0: ffffffffb9402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.751554][ T223] #1: ffffffffb956a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.751559][ T223] #2: ffffffffb956a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.751563][ T223] #3: ffffffffb9489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.751566][ T223] #4: ffffffffb9489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.751569][ T223] irq event stamp: 58484 [ 11.751570][ T223] hardirqs last enabled at (58483): [] __down_trylock_console_sem+0x86/0xa0 [ 11.751574][ T223] hardirqs last disabled at (58484): [] console_emit_next_record+0x3d4/0x4c0 [ 11.751575][ T223] softirqs last enabled at (58130): [] handle_softirqs+0x67c/0x900 [ 11.751578][ T223] softirqs last disabled at (58125): [] __irq_exit_rcu+0x145/0x1c0 [ 11.751580][ T223] Preemption disabled at: [ 11.751581][ T223] [<0000000000000000>] 0x0 [ 11.751588][ T223] CPU: 2 UID: 0 PID: 223 Comm: nft Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.751591][ T223] Tainted: [W]=WARN [ 11.751592][ T223] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.751594][ T223] Call Trace: [ 11.751595][ T223] [ 11.751597][ T223] dump_stack_lvl+0x6f/0xa0 [ 11.751602][ T223] __might_resched.cold+0x1fe/0x2c1 [ 11.751607][ T223] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.751610][ T223] ? __kmalloc_noprof+0xdb/0x760 [ 11.751615][ T223] __kmalloc_noprof+0x443/0x760 [ 11.751618][ T223] ? alloc_buf.isra.0+0x4b/0x260 [ 11.751624][ T223] ? do_raw_spin_unlock+0x59/0x250 [ 11.751627][ T223] alloc_buf.isra.0+0x4b/0x260 [ 11.751630][ T223] put_chars+0x1e1/0x2f0 [ 11.751633][ T223] ? __send_to_port+0x420/0x420 [ 11.751640][ T223] hvc_console_print+0x292/0x780 [ 11.751647][ T223] ? hvc_write+0x3a0/0x3a0 [ 11.751650][ T223] ? lock_acquire+0x13c/0x160 [ 11.751654][ T223] console_emit_next_record+0x22f/0x4c0 [ 11.751658][ T223] ? devkmsg_read+0x4b0/0x4b0 [ 11.751659][ T223] ? console_flush_one_record+0x106/0x710 [ 11.751662][ T223] ? rcu_is_watching+0x16/0xd0 [ 11.751665][ T223] ? lock_acquire+0x13c/0x160 [ 11.751670][ T223] console_flush_one_record+0x46f/0x710 [ 11.751673][ T223] ? console_emit_next_record+0x4c0/0x4c0 [ 11.751675][ T223] ? __lock_acquire+0x518/0xc20 [ 11.751680][ T223] console_unlock+0xee/0x1f0 [ 11.751682][ T223] ? console_flush_one_record+0x710/0x710 [ 11.751684][ T223] ? rcu_is_watching+0x16/0xd0 [ 11.751686][ T223] ? lock_acquire+0x60/0x160 [ 11.751689][ T223] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.751691][ T223] ? vprintk_emit+0x320/0x3e0 [ 11.751694][ T223] vprintk_emit+0x37c/0x3e0 [ 11.751698][ T223] ? wake_up_klogd_work_func+0x90/0x90 [ 11.751701][ T223] ? __lock_acquire+0x518/0xc20 [ 11.751705][ T223] _printk+0xc7/0x100 [ 11.751708][ T223] ? snapshot_read.cold+0x21/0x21 [ 11.751711][ T223] ? do_raw_spin_lock+0x131/0x280 [ 11.751714][ T223] ? __rwlock_init+0x150/0x150 [ 11.751718][ T223] ? do_raw_spin_lock+0x131/0x280 [ 11.751721][ T223] do_exit.cold+0x82/0x9c [ 11.751725][ T223] ? exit_notify+0x890/0x890 [ 11.751726][ T223] ? __lock_release.isra.0+0x69/0x1a0 [ 11.751729][ T223] ? rcu_is_watching+0x16/0xd0 [ 11.751733][ T223] do_group_exit+0xb8/0x370 [ 11.751736][ T223] __x64_sys_exit_group+0x3c/0x50 [ 11.751738][ T223] x64_sys_call+0x1567/0x1570 [ 11.751741][ T223] do_syscall_64+0x10e/0x570 [ 11.751745][ T223] ? exc_page_fault+0xee/0x100 [ 11.751749][ T223] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.751751][ T223] RIP: 0033:0x7fd8151bb1b8 [ 11.751753][ T223] Code: Unable to access opcode bytes at 0x7fd8151bb18e. [ 11.751754][ T223] RSP: 002b:00007fff7b7d8748 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.751757][ T223] RAX: ffffffffffffffda RBX: 00007fd8152ebf88 RCX: 00007fd8151bb1b8 [ 11.751758][ T223] RDX: 00007fd814fbca48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 11.751759][ T223] RBP: 00007fff7b7d87a0 R08: 0000000000000000 R09: 0000000000000130 [ 11.751760][ T223] R10: 00007fff7b7d8560 R11: 0000000000000246 R12: 0000000000000001 [ 11.751761][ T223] R13: 0000000000000000 R14: 00007fd8152ea680 R15: 00007fd8152ebfa0 [ 11.751768][ T223]