[ 10.839000][ T171] nft (171) used greatest stack depth: 23840 bytes left [ 10.839019][ T171] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.839022][ T171] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 171, name: nft [ 10.839023][ T171] preempt_count: 2, expected: 0 [ 10.839024][ T171] RCU nest depth: 0, expected: 0 [ 10.839025][ T171] locks held by nft/171: 5, last CPU#0: [ 10.839027][ T171] #0: ffffffff87402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.839039][ T171] #1: ffffffff8756a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.839045][ T171] #2: ffffffff8756a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.839048][ T171] #3: ffffffff87489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.839052][ T171] #4: ffffffff87489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.839056][ T171] irq event stamp: 37182 [ 10.839056][ T171] hardirqs last enabled at (37181): [] __down_trylock_console_sem+0x86/0xa0 [ 10.839060][ T171] hardirqs last disabled at (37182): [] console_emit_next_record+0x3d4/0x4c0 [ 10.839061][ T171] softirqs last enabled at (36314): [] handle_softirqs+0x67c/0x900 [ 10.839064][ T171] softirqs last disabled at (36309): [] __irq_exit_rcu+0x145/0x1c0 [ 10.839066][ T171] Preemption disabled at: [ 10.839067][ T171] [<0000000000000000>] 0x0 [ 10.839074][ T171] CPU: 0 UID: 0 PID: 171 Comm: nft Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.839077][ T171] Tainted: [W]=WARN [ 10.839078][ T171] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.839080][ T171] Call Trace: [ 10.839082][ T171] [ 10.839083][ T171] dump_stack_lvl+0x6f/0xa0 [ 10.839089][ T171] __might_resched.cold+0x1fe/0x2c1 [ 10.839094][ T171] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.839098][ T171] ? __kmalloc_noprof+0xdb/0x760 [ 10.839105][ T171] __kmalloc_noprof+0x443/0x760 [ 10.839109][ T171] ? alloc_buf.isra.0+0x4b/0x260 [ 10.839121][ T171] ? do_raw_spin_unlock+0x59/0x250 [ 10.839124][ T171] alloc_buf.isra.0+0x4b/0x260 [ 10.839127][ T171] put_chars+0x1e1/0x2f0 [ 10.839130][ T171] ? __send_to_port+0x420/0x420 [ 10.839137][ T171] hvc_console_print+0x292/0x780 [ 10.839144][ T171] ? hvc_write+0x3a0/0x3a0 [ 10.839147][ T171] ? lock_acquire+0x13c/0x160 [ 10.839151][ T171] console_emit_next_record+0x22f/0x4c0 [ 10.839155][ T171] ? devkmsg_read+0x4b0/0x4b0 [ 10.839156][ T171] ? console_flush_one_record+0x106/0x710 [ 10.839158][ T171] ? rcu_is_watching+0x16/0xd0 [ 10.839162][ T171] ? lock_acquire+0x13c/0x160 [ 10.839166][ T171] console_flush_one_record+0x46f/0x710 [ 10.839170][ T171] ? console_emit_next_record+0x4c0/0x4c0 [ 10.839171][ T171] ? __lock_acquire+0x518/0xc20 [ 10.839177][ T171] console_unlock+0xee/0x1f0 [ 10.839179][ T171] ? console_flush_one_record+0x710/0x710 [ 10.839180][ T171] ? rcu_is_watching+0x16/0xd0 [ 10.839182][ T171] ? lock_acquire+0x60/0x160 [ 10.839186][ T171] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.839188][ T171] ? vprintk_emit+0x320/0x3e0 [ 10.839191][ T171] vprintk_emit+0x37c/0x3e0 [ 10.839194][ T171] ? wake_up_klogd_work_func+0x90/0x90 [ 10.839197][ T171] ? __lock_acquire+0x518/0xc20 [ 10.839201][ T171] _printk+0xc7/0x100 [ 10.839205][ T171] ? snapshot_read.cold+0x21/0x21 [ 10.839208][ T171] ? do_raw_spin_lock+0x131/0x280 [ 10.839210][ T171] ? __rwlock_init+0x150/0x150 [ 10.839214][ T171] ? do_raw_spin_lock+0x131/0x280 [ 10.839217][ T171] do_exit.cold+0x82/0x9c [ 10.839221][ T171] ? exit_notify+0x890/0x890 [ 10.839223][ T171] ? __lock_release.isra.0+0x69/0x1a0 [ 10.839226][ T171] ? rcu_is_watching+0x16/0xd0 [ 10.839229][ T171] do_group_exit+0xb8/0x370 [ 10.839232][ T171] __x64_sys_exit_group+0x3c/0x50 [ 10.839234][ T171] x64_sys_call+0x1567/0x1570 [ 10.839237][ T171] do_syscall_64+0x10e/0x570 [ 10.839241][ T171] ? exc_page_fault+0xee/0x100 [ 10.839244][ T171] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.839247][ T171] RIP: 0033:0x7f307325a1b8 [ 10.839249][ T171] Code: Unable to access opcode bytes at 0x7f307325a18e. [ 10.839250][ T171] RSP: 002b:00007ffc20e28608 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.839253][ T171] RAX: ffffffffffffffda RBX: 00007f307338af88 RCX: 00007f307325a1b8 [ 10.839254][ T171] RDX: 00007f307305ba48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 10.839255][ T171] RBP: 00007ffc20e28660 R08: 0000000000000000 R09: 0000000000000130 [ 10.839256][ T171] R10: 00007ffc20e28420 R11: 0000000000000246 R12: 0000000000000001 [ 10.839257][ T171] R13: 0000000000000000 R14: 00007f3073389680 R15: 00007f307338afa0 [ 10.839264][ T171] [ 27.414662][ T586] grep (586) used greatest stack depth: 23808 bytes left [ 27.414682][ T586] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.414685][ T586] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 586, name: grep [ 27.414687][ T586] preempt_count: 2, expected: 0 [ 27.414688][ T586] RCU nest depth: 0, expected: 0 [ 27.414689][ T586] locks held by grep/586: 5, last CPU#3: [ 27.414692][ T586] #0: ffffffff87402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 27.414705][ T586] #1: ffffffff8756a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.414710][ T586] #2: ffffffff8756a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.414714][ T586] #3: ffffffff87489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.414718][ T586] #4: ffffffff87489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.414723][ T586] irq event stamp: 10882 [ 27.414724][ T586] hardirqs last enabled at (10881): [] __down_trylock_console_sem+0x86/0xa0 [ 27.414728][ T586] hardirqs last disabled at (10882): [] console_emit_next_record+0x3d4/0x4c0 [ 27.414730][ T586] softirqs last enabled at (10856): [] handle_softirqs+0x67c/0x900 [ 27.414732][ T586] softirqs last disabled at (10849): [] __irq_exit_rcu+0x145/0x1c0 [ 27.414735][ T586] Preemption disabled at: [ 27.414736][ T586] [<0000000000000000>] 0x0 [ 27.414744][ T586] CPU: 3 UID: 0 PID: 586 Comm: grep Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.414748][ T586] Tainted: [W]=WARN [ 27.414749][ T586] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.414751][ T586] Call Trace: [ 27.414753][ T586] [ 27.414754][ T586] dump_stack_lvl+0x6f/0xa0 [ 27.414761][ T586] __might_resched.cold+0x1fe/0x2c1 [ 27.414766][ T586] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.414769][ T586] ? __kmalloc_noprof+0xdb/0x760 [ 27.414775][ T586] __kmalloc_noprof+0x443/0x760 [ 27.414778][ T586] ? alloc_buf.isra.0+0x4b/0x260 [ 27.414785][ T586] ? do_raw_spin_unlock+0x59/0x250 [ 27.414788][ T586] alloc_buf.isra.0+0x4b/0x260 [ 27.414791][ T586] put_chars+0x1e1/0x2f0 [ 27.414794][ T586] ? __send_to_port+0x420/0x420 [ 27.414801][ T586] hvc_console_print+0x292/0x780 [ 27.414809][ T586] ? hvc_write+0x3a0/0x3a0 [ 27.414811][ T586] ? lock_acquire+0x13c/0x160 [ 27.414816][ T586] console_emit_next_record+0x22f/0x4c0 [ 27.414820][ T586] ? devkmsg_read+0x4b0/0x4b0 [ 27.414821][ T586] ? console_flush_one_record+0x106/0x710 [ 27.414824][ T586] ? rcu_is_watching+0x16/0xd0 [ 27.414828][ T586] ? lock_acquire+0x13c/0x160 [ 27.414832][ T586] console_flush_one_record+0x46f/0x710 [ 27.414836][ T586] ? console_emit_next_record+0x4c0/0x4c0 [ 27.414837][ T586] ? __lock_acquire+0x518/0xc20 [ 27.414843][ T586] console_unlock+0xee/0x1f0 [ 27.414845][ T586] ? console_flush_one_record+0x710/0x710 [ 27.414847][ T586] ? rcu_is_watching+0x16/0xd0 [ 27.414849][ T586] ? lock_acquire+0x60/0x160 [ 27.414853][ T586] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.414855][ T586] ? vprintk_emit+0x320/0x3e0 [ 27.414858][ T586] vprintk_emit+0x37c/0x3e0 [ 27.414861][ T586] ? wake_up_klogd_work_func+0x90/0x90 [ 27.414864][ T586] ? __lock_acquire+0x518/0xc20 [ 27.414868][ T586] _printk+0xc7/0x100 [ 27.414872][ T586] ? snapshot_read.cold+0x21/0x21 [ 27.414875][ T586] ? do_raw_spin_lock+0x131/0x280 [ 27.414878][ T586] ? __rwlock_init+0x150/0x150 [ 27.414882][ T586] ? do_raw_spin_lock+0x131/0x280 [ 27.414885][ T586] do_exit.cold+0x82/0x9c [ 27.414889][ T586] ? exit_notify+0x890/0x890 [ 27.414891][ T586] ? __lock_release.isra.0+0x69/0x1a0 [ 27.414894][ T586] ? rcu_is_watching+0x16/0xd0 [ 27.414898][ T586] do_group_exit+0xb8/0x370 [ 27.414901][ T586] __x64_sys_exit_group+0x3c/0x50 [ 27.414903][ T586] x64_sys_call+0x1567/0x1570 [ 27.414906][ T586] do_syscall_64+0x10e/0x570 [ 27.414909][ T586] ? exc_page_fault+0xee/0x100 [ 27.414913][ T586] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.414915][ T586] RIP: 0033:0x7efc721a11b8 [ 27.414918][ T586] Code: Unable to access opcode bytes at 0x7efc721a118e. [ 27.414919][ T586] RSP: 002b:00007ffda18f73e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 27.414921][ T586] RAX: ffffffffffffffda RBX: 00007efc722d1f88 RCX: 00007efc721a11b8 [ 27.414923][ T586] RDX: 00007efc720dfe88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 27.414924][ T586] RBP: 00007ffda18f7440 R08: 0000000000000000 R09: 0000000000000000 [ 27.414924][ T586] R10: 00007ffda18f7280 R11: 0000000000000246 R12: 0000000000000002 [ 27.414925][ T586] R13: 0000000000000000 R14: 00007efc722d0680 R15: 00007efc722d1fa0 [ 27.414932][ T586]