[ 10.187755][ T188] ip (188) used greatest stack depth: 24032 bytes left [ 10.187775][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.187777][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 10.187779][ T188] preempt_count: 2, expected: 0 [ 10.187780][ T188] RCU nest depth: 0, expected: 0 [ 10.187781][ T188] locks held by ip/188: 5, last CPU#1: [ 10.187783][ T188] #0: ffffffff868027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.187796][ T188] #1: ffffffff86969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.187801][ T188] #2: ffffffff86969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.187805][ T188] #3: ffffffff86889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.187809][ T188] #4: ffffffff86889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.187813][ T188] irq event stamp: 37234 [ 10.187814][ T188] hardirqs last enabled at (37233): [] __down_trylock_console_sem+0x86/0xa0 [ 10.187816][ T188] hardirqs last disabled at (37234): [] console_emit_next_record+0x3d4/0x4c0 [ 10.187818][ T188] softirqs last enabled at (36764): [] handle_softirqs+0x67c/0x900 [ 10.187820][ T188] softirqs last disabled at (36759): [] __irq_exit_rcu+0x145/0x1c0 [ 10.187822][ T188] Preemption disabled at: [ 10.187823][ T188] [<0000000000000000>] 0x0 [ 10.187830][ T188] CPU: 1 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.187834][ T188] Tainted: [W]=WARN [ 10.187835][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.187836][ T188] Call Trace: [ 10.187838][ T188] [ 10.187840][ T188] dump_stack_lvl+0x6f/0xa0 [ 10.187846][ T188] __might_resched.cold+0x1fe/0x2c1 [ 10.187850][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.187854][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 10.187859][ T188] __kmalloc_noprof+0x443/0x760 [ 10.187862][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 10.187867][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 10.187870][ T188] alloc_buf.isra.0+0x4b/0x260 [ 10.187877][ T188] put_chars+0x1e1/0x2f0 [ 10.187879][ T188] ? __send_to_port+0x420/0x420 [ 10.187881][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.187885][ T188] ? validate_chain+0x38b/0xc20 [ 10.187890][ T188] hvc_console_print+0x292/0x780 [ 10.187897][ T188] ? hvc_write+0x3a0/0x3a0 [ 10.187899][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.187901][ T188] ? lock_acquire+0x13c/0x160 [ 10.187905][ T188] console_emit_next_record+0x22f/0x4c0 [ 10.187909][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 10.187911][ T188] ? console_flush_one_record+0x106/0x710 [ 10.187914][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.187916][ T188] ? lock_acquire+0x13c/0x160 [ 10.187920][ T188] console_flush_one_record+0x46f/0x710 [ 10.187924][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 10.187925][ T188] ? __lock_acquire+0x518/0xc20 [ 10.187930][ T188] console_unlock+0xee/0x1f0 [ 10.187933][ T188] ? console_flush_one_record+0x710/0x710 [ 10.187935][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.187943][ T188] ? lock_acquire+0x60/0x160 [ 10.187947][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.187948][ T188] ? vprintk_emit+0x320/0x3e0 [ 10.187952][ T188] vprintk_emit+0x37c/0x3e0 [ 10.187955][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 10.187959][ T188] ? __lock_acquire+0x518/0xc20 [ 10.187962][ T188] _printk+0xc7/0x100 [ 10.187966][ T188] ? snapshot_read.cold+0x21/0x21 [ 10.187969][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.187971][ T188] ? __rwlock_init+0x150/0x150 [ 10.187975][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.187977][ T188] do_exit.cold+0x82/0x9c [ 10.187981][ T188] ? exit_notify+0x890/0x890 [ 10.187983][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 10.187986][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.187990][ T188] do_group_exit+0xb8/0x370 [ 10.187993][ T188] __x64_sys_exit_group+0x3c/0x50 [ 10.187995][ T188] x64_sys_call+0x1567/0x1570 [ 10.187997][ T188] do_syscall_64+0xff/0x530 [ 10.188000][ T188] ? exc_page_fault+0xee/0x100 [ 10.188003][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.188005][ T188] RIP: 0033:0x7f89c27421b8 [ 10.188008][ T188] Code: Unable to access opcode bytes at 0x7f89c274218e. [ 10.188009][ T188] RSP: 002b:00007fffd47b8b58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.188011][ T188] RAX: ffffffffffffffda RBX: 00007f89c2872f88 RCX: 00007f89c27421b8 [ 10.188013][ T188] RDX: 00007f89c248cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.188014][ T188] RBP: 00007fffd47b8bb0 R08: 0000000000000000 R09: 0000000000008010 [ 10.188014][ T188] R10: 00007fffd47b8970 R11: 0000000000000246 R12: 0000000000000001 [ 10.188015][ T188] R13: 0000000000000000 R14: 00007f89c2871680 R15: 00007f89c2872fa0 [ 10.188022][ T188] [ 16.284778][ T247] GACT probability NOT on [ 16.284796][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.284799][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: modprobe [ 16.284800][ T247] preempt_count: 1, expected: 0 [ 16.284801][ T247] RCU nest depth: 0, expected: 0 [ 16.284802][ T247] locks held by modprobe/247: 4, last CPU#2: [ 16.284804][ T247] #0: ffffffff86969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.284817][ T247] #1: ffffffff86969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.284821][ T247] #2: ffffffff86889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.284825][ T247] #3: ffffffff86889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.284829][ T247] irq event stamp: 26146 [ 16.284830][ T247] hardirqs last enabled at (26145): [] __down_trylock_console_sem+0x86/0xa0 [ 16.284832][ T247] hardirqs last disabled at (26146): [] console_emit_next_record+0x3d4/0x4c0 [ 16.284834][ T247] softirqs last enabled at (24610): [] handle_softirqs+0x67c/0x900 [ 16.284837][ T247] softirqs last disabled at (24605): [] __irq_exit_rcu+0x145/0x1c0 [ 16.284840][ T247] Preemption disabled at: [ 16.284840][ T247] [] vprintk_emit+0x31b/0x3e0 [ 16.284845][ T247] CPU: 2 UID: 0 PID: 247 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.284849][ T247] Tainted: [W]=WARN [ 16.284850][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.284852][ T247] Call Trace: [ 16.284853][ T247] [ 16.284855][ T247] dump_stack_lvl+0x6f/0xa0 [ 16.284860][ T247] ? vprintk_emit+0x31b/0x3e0 [ 16.284862][ T247] __might_resched.cold+0x1fe/0x2c1 [ 16.284867][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.284871][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 16.284878][ T247] __kmalloc_noprof+0x443/0x760 [ 16.284880][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 16.284886][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 16.284889][ T247] alloc_buf.isra.0+0x4b/0x260 [ 16.284892][ T247] put_chars+0x1e1/0x2f0 [ 16.284894][ T247] ? desc_read_finalized_seq+0x79/0x120 [ 16.284896][ T247] ? __send_to_port+0x420/0x420 [ 16.284899][ T247] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.284902][ T247] ? validate_chain+0x38b/0xc20 [ 16.284906][ T247] hvc_console_print+0x292/0x780 [ 16.284909][ T247] ? __lock_acquire+0x518/0xc20 [ 16.284910][ T247] ? __lock_acquire+0x518/0xc20 [ 16.284915][ T247] ? hvc_write+0x3a0/0x3a0 [ 16.284916][ T247] ? console_emit_next_record+0x1df/0x4c0 [ 16.284919][ T247] ? rcu_is_watching+0x16/0xd0 [ 16.284922][ T247] ? lock_acquire+0x13c/0x160 [ 16.284926][ T247] console_emit_next_record+0x22f/0x4c0 [ 16.284930][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 16.284932][ T247] ? console_flush_one_record+0x106/0x710 [ 16.284935][ T247] ? rcu_is_watching+0x16/0xd0 [ 16.284937][ T247] ? lock_acquire+0x13c/0x160 [ 16.284941][ T247] console_flush_one_record+0x46f/0x710 [ 16.284945][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 16.284946][ T247] ? __lock_acquire+0x518/0xc20 [ 16.284951][ T247] console_unlock+0xee/0x1f0 [ 16.284954][ T247] ? console_flush_one_record+0x710/0x710 [ 16.284956][ T247] ? rcu_is_watching+0x16/0xd0 [ 16.284958][ T247] ? lock_acquire+0x60/0x160 [ 16.284965][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.284967][ T247] ? vprintk_emit+0x320/0x3e0 [ 16.284970][ T247] vprintk_emit+0x37c/0x3e0 [ 16.284974][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 16.284980][ T247] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.284982][ T247] _printk+0xc7/0x100 [ 16.284986][ T247] ? snapshot_read.cold+0x21/0x21 [ 16.284992][ T247] ? do_one_initcall+0x113/0x4f0 [ 16.284995][ T247] gact_init_module+0x15/0x1000 [act_gact] [ 16.284997][ T247] do_one_initcall+0x124/0x4f0 [ 16.285000][ T247] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.285004][ T247] ? do_init_module+0xae/0x8a0 [ 16.285008][ T247] ? kasan_unpoison+0x44/0x70 [ 16.285012][ T247] do_init_module+0x2ad/0x8a0 [ 16.285016][ T247] ? lockdep_hardirqs_on+0x91/0x130 [ 16.285020][ T247] ? free_module+0x470/0x470 [ 16.285023][ T247] ? kfree+0x123/0x590 [ 16.285027][ T247] load_module+0x1424/0x1bb0 [ 16.285034][ T247] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.285037][ T247] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.285040][ T247] ? ovl_real_file+0x172/0x1e0 [ 16.285044][ T247] ? backing_file_read_iter+0x541/0x790 [ 16.285047][ T247] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.285051][ T247] init_module_from_file+0x11f/0x1a0 [ 16.285054][ T247] ? __do_sys_init_module+0x220/0x220 [ 16.285062][ T247] ? __rwlock_init+0x150/0x150 [ 16.285065][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 16.285068][ T247] idempotent_init_module+0x37b/0x7c0 [ 16.285071][ T247] ? init_module_from_file+0x1a0/0x1a0 [ 16.285077][ T247] ? rcu_is_watching+0x16/0xd0 [ 16.285080][ T247] ? cap_capable+0x1d7/0x3d0 [ 16.285085][ T247] __x64_sys_finit_module+0xdf/0x190 [ 16.285088][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.285091][ T247] do_syscall_64+0xff/0x530 [ 16.285093][ T247] ? exc_page_fault+0xee/0x100 [ 16.285096][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.285098][ T247] RIP: 0033:0x7f734e4f237d [ 16.285101][ T247] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 16.285103][ T247] RSP: 002b:00007ffec2c4ab48 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.285106][ T247] RAX: ffffffffffffffda RBX: 0000563117c82810 RCX: 00007f734e4f237d [ 16.285107][ T247] RDX: 0000000000000000 RSI: 000056310c4d2ffd RDI: 0000000000000000 [ 16.285108][ T247] RBP: 00007ffec2c4abe0 R08: 0000000000000000 R09: 0000000000000000 [ 16.285109][ T247] R10: 0000000000000000 R11: 0000000000000246 R12: 000056310c4d2ffd [ 16.285110][ T247] R13: 0000563117c82960 R14: 0000000000040000 R15: 0000000000000000 [ 16.285116][ T247]