[ 43.816418][ T1298] nft (1298) used greatest stack depth: 23184 bytes left [ 43.816435][ T1298] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.816437][ T1298] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1298, name: nft [ 43.816438][ T1298] preempt_count: 2, expected: 0 [ 43.816439][ T1298] RCU nest depth: 0, expected: 0 [ 43.816440][ T1298] locks held by nft/1298: 5, last CPU#2: [ 43.816442][ T1298] #0: ffffffff98c02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 43.816454][ T1298] #1: ffffffff98d6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.816459][ T1298] #2: ffffffff98d6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.816462][ T1298] #3: ffffffff98c89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.816466][ T1298] #4: ffffffff98c89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.816469][ T1298] irq event stamp: 57632 [ 43.816470][ T1298] hardirqs last enabled at (57631): [] __down_trylock_console_sem+0x86/0xa0 [ 43.816473][ T1298] hardirqs last disabled at (57632): [] console_emit_next_record+0x3d4/0x4c0 [ 43.816475][ T1298] softirqs last enabled at (57004): [] handle_softirqs+0x67c/0x900 [ 43.816478][ T1298] softirqs last disabled at (56999): [] __irq_exit_rcu+0x145/0x1c0 [ 43.816480][ T1298] Preemption disabled at: [ 43.816481][ T1298] [<0000000000000000>] 0x0 [ 43.816487][ T1298] CPU: 2 UID: 0 PID: 1298 Comm: nft Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.816490][ T1298] Tainted: [W]=WARN [ 43.816491][ T1298] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.816493][ T1298] Call Trace: [ 43.816494][ T1298] [ 43.816496][ T1298] dump_stack_lvl+0x6f/0xa0 [ 43.816501][ T1298] __might_resched.cold+0x1fe/0x2c1 [ 43.816506][ T1298] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.816509][ T1298] ? __kmalloc_noprof+0xdb/0x760 [ 43.816514][ T1298] __kmalloc_noprof+0x443/0x760 [ 43.816516][ T1298] ? alloc_buf.isra.0+0x4b/0x260 [ 43.816522][ T1298] ? do_raw_spin_unlock+0x59/0x250 [ 43.816525][ T1298] alloc_buf.isra.0+0x4b/0x260 [ 43.816529][ T1298] put_chars+0x1e1/0x2f0 [ 43.816531][ T1298] ? __send_to_port+0x420/0x420 [ 43.816538][ T1298] hvc_console_print+0x292/0x780 [ 43.816545][ T1298] ? hvc_write+0x3a0/0x3a0 [ 43.816548][ T1298] ? lock_acquire+0x13c/0x160 [ 43.816552][ T1298] console_emit_next_record+0x22f/0x4c0 [ 43.816556][ T1298] ? devkmsg_read+0x4b0/0x4b0 [ 43.816557][ T1298] ? console_flush_one_record+0x106/0x710 [ 43.816560][ T1298] ? rcu_is_watching+0x16/0xd0 [ 43.816563][ T1298] ? lock_acquire+0x13c/0x160 [ 43.816567][ T1298] console_flush_one_record+0x46f/0x710 [ 43.816570][ T1298] ? console_emit_next_record+0x4c0/0x4c0 [ 43.816572][ T1298] ? __lock_acquire+0x518/0xc20 [ 43.816577][ T1298] console_unlock+0xee/0x1f0 [ 43.816579][ T1298] ? console_flush_one_record+0x710/0x710 [ 43.816580][ T1298] ? rcu_is_watching+0x16/0xd0 [ 43.816582][ T1298] ? lock_acquire+0x60/0x160 [ 43.816586][ T1298] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.816588][ T1298] ? vprintk_emit+0x320/0x3e0 [ 43.816591][ T1298] vprintk_emit+0x37c/0x3e0 [ 43.816594][ T1298] ? wake_up_klogd_work_func+0x90/0x90 [ 43.816597][ T1298] ? __lock_acquire+0x518/0xc20 [ 43.816601][ T1298] _printk+0xc7/0x100 [ 43.816604][ T1298] ? snapshot_read.cold+0x21/0x21 [ 43.816607][ T1298] ? do_raw_spin_lock+0x131/0x280 [ 43.816609][ T1298] ? __rwlock_init+0x150/0x150 [ 43.816613][ T1298] ? do_raw_spin_lock+0x131/0x280 [ 43.816616][ T1298] do_exit.cold+0x82/0x9c [ 43.816620][ T1298] ? exit_notify+0x890/0x890 [ 43.816622][ T1298] ? __lock_release.isra.0+0x69/0x1a0 [ 43.816625][ T1298] ? rcu_is_watching+0x16/0xd0 [ 43.816628][ T1298] do_group_exit+0xb8/0x370 [ 43.816631][ T1298] __x64_sys_exit_group+0x3c/0x50 [ 43.816633][ T1298] x64_sys_call+0x1567/0x1570 [ 43.816636][ T1298] do_syscall_64+0x10e/0x570 [ 43.816639][ T1298] ? exc_page_fault+0xee/0x100 [ 43.816643][ T1298] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 43.816645][ T1298] RIP: 0033:0x7f7da5aa01b8 [ 43.816647][ T1298] Code: Unable to access opcode bytes at 0x7f7da5aa018e. [ 43.816648][ T1298] RSP: 002b:00007ffcae9d4328 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 43.816651][ T1298] RAX: ffffffffffffffda RBX: 00007f7da5bd0f88 RCX: 00007f7da5aa01b8 [ 43.816652][ T1298] RDX: 00007f7da58a1a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 43.816653][ T1298] RBP: 00007ffcae9d4380 R08: 0000000000000000 R09: 0000000000080000 [ 43.816654][ T1298] R10: 00007ffcae9d4140 R11: 0000000000000246 R12: 0000000000000001 [ 43.816654][ T1298] R13: 0000000000000000 R14: 00007f7da5bcf680 R15: 00007f7da5bd0fa0 [ 43.816661][ T1298]