[ 17.181588][ T287] nft (287) used greatest stack depth: 24064 bytes left [ 17.181605][ T287] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.181607][ T287] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 287, name: nft [ 17.181608][ T287] preempt_count: 2, expected: 0 [ 17.181609][ T287] RCU nest depth: 0, expected: 0 [ 17.181610][ T287] locks held by nft/287: 5, last CPU#3: [ 17.181612][ T287] #0: ffffffff9d802f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 17.181624][ T287] #1: ffffffff9d96a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.181629][ T287] #2: ffffffff9d96a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.181632][ T287] #3: ffffffff9d889de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.181635][ T287] #4: ffffffff9d889ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.181638][ T287] irq event stamp: 71318 [ 17.181639][ T287] hardirqs last enabled at (71317): [] __down_trylock_console_sem+0x86/0xa0 [ 17.181642][ T287] hardirqs last disabled at (71318): [] console_emit_next_record+0x3d4/0x4c0 [ 17.181644][ T287] softirqs last enabled at (71238): [] handle_softirqs+0x67c/0x900 [ 17.181646][ T287] softirqs last disabled at (71231): [] __irq_exit_rcu+0x145/0x1c0 [ 17.181649][ T287] Preemption disabled at: [ 17.181649][ T287] [<0000000000000000>] 0x0 [ 17.181656][ T287] CPU: 3 UID: 0 PID: 287 Comm: nft Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.181659][ T287] Tainted: [W]=WARN [ 17.181660][ T287] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.181662][ T287] Call Trace: [ 17.181663][ T287] [ 17.181665][ T287] dump_stack_lvl+0x6f/0xa0 [ 17.181670][ T287] __might_resched.cold+0x1fe/0x2c1 [ 17.181674][ T287] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.181678][ T287] ? __kmalloc_noprof+0xdb/0x760 [ 17.181683][ T287] __kmalloc_noprof+0x443/0x760 [ 17.181685][ T287] ? alloc_buf.isra.0+0x4b/0x260 [ 17.181691][ T287] ? do_raw_spin_unlock+0x59/0x250 [ 17.181694][ T287] alloc_buf.isra.0+0x4b/0x260 [ 17.181697][ T287] put_chars+0x1e1/0x2f0 [ 17.181700][ T287] ? __send_to_port+0x420/0x420 [ 17.181706][ T287] hvc_console_print+0x292/0x780 [ 17.181712][ T287] ? hvc_write+0x3a0/0x3a0 [ 17.181715][ T287] ? lock_acquire+0x13c/0x160 [ 17.181719][ T287] console_emit_next_record+0x22f/0x4c0 [ 17.181723][ T287] ? devkmsg_read+0x4b0/0x4b0 [ 17.181724][ T287] ? console_flush_one_record+0x106/0x710 [ 17.181726][ T287] ? rcu_is_watching+0x16/0xd0 [ 17.181730][ T287] ? lock_acquire+0x13c/0x160 [ 17.181734][ T287] console_flush_one_record+0x46f/0x710 [ 17.181737][ T287] ? console_emit_next_record+0x4c0/0x4c0 [ 17.181738][ T287] ? __lock_acquire+0x518/0xc20 [ 17.181744][ T287] console_unlock+0xee/0x1f0 [ 17.181746][ T287] ? console_flush_one_record+0x710/0x710 [ 17.181747][ T287] ? rcu_is_watching+0x16/0xd0 [ 17.181749][ T287] ? lock_acquire+0x60/0x160 [ 17.181752][ T287] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.181754][ T287] ? vprintk_emit+0x320/0x3e0 [ 17.181757][ T287] vprintk_emit+0x37c/0x3e0 [ 17.181760][ T287] ? wake_up_klogd_work_func+0x90/0x90 [ 17.181763][ T287] ? __lock_acquire+0x518/0xc20 [ 17.181766][ T287] _printk+0xc7/0x100 [ 17.181770][ T287] ? snapshot_read.cold+0x21/0x21 [ 17.181772][ T287] ? do_raw_spin_lock+0x131/0x280 [ 17.181775][ T287] ? __rwlock_init+0x150/0x150 [ 17.181779][ T287] ? do_raw_spin_lock+0x131/0x280 [ 17.181782][ T287] do_exit.cold+0x82/0x9c [ 17.181786][ T287] ? exit_notify+0x890/0x890 [ 17.181787][ T287] ? __lock_release.isra.0+0x69/0x1a0 [ 17.181790][ T287] ? rcu_is_watching+0x16/0xd0 [ 17.181794][ T287] do_group_exit+0xb8/0x370 [ 17.181797][ T287] __x64_sys_exit_group+0x3c/0x50 [ 17.181798][ T287] x64_sys_call+0x1567/0x1570 [ 17.181801][ T287] do_syscall_64+0x10e/0x570 [ 17.181805][ T287] ? exc_page_fault+0xee/0x100 [ 17.181808][ T287] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.181810][ T287] RIP: 0033:0x7f401f96e1b8 [ 17.181813][ T287] Code: Unable to access opcode bytes at 0x7f401f96e18e. [ 17.181814][ T287] RSP: 002b:00007ffc5596ab98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.181816][ T287] RAX: ffffffffffffffda RBX: 00007f401fa9ef88 RCX: 00007f401f96e1b8 [ 17.181817][ T287] RDX: 00007f401f76fa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 17.181818][ T287] RBP: 00007ffc5596abf0 R08: 0000000000000000 R09: 0000000000000130 [ 17.181819][ T287] R10: 00007ffc5596a9b0 R11: 0000000000000246 R12: 0000000000000001 [ 17.181820][ T287] R13: 0000000000000000 R14: 00007f401fa9d680 R15: 00007f401fa9efa0 [ 17.181826][ T287]