[ 18.173065][ T374] nft (374) used greatest stack depth: 23904 bytes left [ 18.173082][ T374] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.173084][ T374] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 374, name: nft [ 18.173085][ T374] preempt_count: 2, expected: 0 [ 18.173086][ T374] RCU nest depth: 0, expected: 0 [ 18.173087][ T374] locks held by nft/374: 5, last CPU#0: [ 18.173089][ T374] #0: ffffffffb3402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 18.173102][ T374] #1: ffffffffb356a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.173107][ T374] #2: ffffffffb356a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.173110][ T374] #3: ffffffffb3489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.173114][ T374] #4: ffffffffb3489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.173117][ T374] irq event stamp: 58024 [ 18.173118][ T374] hardirqs last enabled at (58023): [] __down_trylock_console_sem+0x86/0xa0 [ 18.173121][ T374] hardirqs last disabled at (58024): [] console_emit_next_record+0x3d4/0x4c0 [ 18.173123][ T374] softirqs last enabled at (56696): [] handle_softirqs+0x67c/0x900 [ 18.173125][ T374] softirqs last disabled at (54993): [] __irq_exit_rcu+0x145/0x1c0 [ 18.173128][ T374] Preemption disabled at: [ 18.173128][ T374] [<0000000000000000>] 0x0 [ 18.173135][ T374] CPU: 0 UID: 0 PID: 374 Comm: nft Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.173139][ T374] Tainted: [W]=WARN [ 18.173140][ T374] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.173141][ T374] Call Trace: [ 18.173143][ T374] [ 18.173144][ T374] dump_stack_lvl+0x6f/0xa0 [ 18.173149][ T374] __might_resched.cold+0x1fe/0x2c1 [ 18.173154][ T374] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.173157][ T374] ? __kmalloc_noprof+0xdb/0x760 [ 18.173162][ T374] __kmalloc_noprof+0x443/0x760 [ 18.173165][ T374] ? alloc_buf.isra.0+0x4b/0x260 [ 18.173171][ T374] ? do_raw_spin_unlock+0x59/0x250 [ 18.173174][ T374] alloc_buf.isra.0+0x4b/0x260 [ 18.173177][ T374] put_chars+0x1e1/0x2f0 [ 18.173180][ T374] ? __send_to_port+0x420/0x420 [ 18.173187][ T374] hvc_console_print+0x292/0x780 [ 18.173194][ T374] ? hvc_write+0x3a0/0x3a0 [ 18.173197][ T374] ? lock_acquire+0x13c/0x160 [ 18.173201][ T374] console_emit_next_record+0x22f/0x4c0 [ 18.173205][ T374] ? devkmsg_read+0x4b0/0x4b0 [ 18.173206][ T374] ? console_flush_one_record+0x106/0x710 [ 18.173209][ T374] ? rcu_is_watching+0x16/0xd0 [ 18.173212][ T374] ? lock_acquire+0x13c/0x160 [ 18.173217][ T374] console_flush_one_record+0x46f/0x710 [ 18.173220][ T374] ? console_emit_next_record+0x4c0/0x4c0 [ 18.173222][ T374] ? __lock_acquire+0x518/0xc20 [ 18.173227][ T374] console_unlock+0xee/0x1f0 [ 18.173229][ T374] ? console_flush_one_record+0x710/0x710 [ 18.173231][ T374] ? rcu_is_watching+0x16/0xd0 [ 18.173232][ T374] ? lock_acquire+0x60/0x160 [ 18.173236][ T374] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.173238][ T374] ? vprintk_emit+0x320/0x3e0 [ 18.173241][ T374] vprintk_emit+0x37c/0x3e0 [ 18.173244][ T374] ? wake_up_klogd_work_func+0x90/0x90 [ 18.173247][ T374] ? __lock_acquire+0x518/0xc20 [ 18.173251][ T374] _printk+0xc7/0x100 [ 18.173255][ T374] ? snapshot_read.cold+0x21/0x21 [ 18.173258][ T374] ? do_raw_spin_lock+0x131/0x280 [ 18.173260][ T374] ? __rwlock_init+0x150/0x150 [ 18.173264][ T374] ? do_raw_spin_lock+0x131/0x280 [ 18.173267][ T374] do_exit.cold+0x82/0x9c [ 18.173271][ T374] ? exit_notify+0x890/0x890 [ 18.173272][ T374] ? __lock_release.isra.0+0x69/0x1a0 [ 18.173275][ T374] ? rcu_is_watching+0x16/0xd0 [ 18.173279][ T374] do_group_exit+0xb8/0x370 [ 18.173282][ T374] __x64_sys_exit_group+0x3c/0x50 [ 18.173284][ T374] x64_sys_call+0x1567/0x1570 [ 18.173287][ T374] do_syscall_64+0x10e/0x570 [ 18.173291][ T374] ? exc_page_fault+0xee/0x100 [ 18.173294][ T374] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.173296][ T374] RIP: 0033:0x7f3bcd3c61b8 [ 18.173298][ T374] Code: Unable to access opcode bytes at 0x7f3bcd3c618e. [ 18.173299][ T374] RSP: 002b:00007ffdb7e27fa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.173302][ T374] RAX: ffffffffffffffda RBX: 00007f3bcd4f6f88 RCX: 00007f3bcd3c61b8 [ 18.173303][ T374] RDX: 00007f3bcd1c7a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 18.173304][ T374] RBP: 00007ffdb7e28000 R08: 0000000000000000 R09: 0000000000000130 [ 18.173305][ T374] R10: 00007ffdb7e27dc0 R11: 0000000000000246 R12: 0000000000000001 [ 18.173305][ T374] R13: 0000000000000000 R14: 00007f3bcd4f5680 R15: 00007f3bcd4f6fa0 [ 18.173312][ T374]