[ 9.555550][ T188] ip (188) used greatest stack depth: 24128 bytes left [ 9.555565][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.555567][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.555568][ T188] preempt_count: 2, expected: 0 [ 9.555569][ T188] RCU nest depth: 0, expected: 0 [ 9.555570][ T188] locks held by ip/188: 5, last CPU#3: [ 9.555573][ T188] #0: ffffffffbb8027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.555584][ T188] #1: ffffffffbb969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.555591][ T188] #2: ffffffffbb969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.555594][ T188] #3: ffffffffbb889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.555598][ T188] #4: ffffffffbb889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.555602][ T188] irq event stamp: 32848 [ 9.555603][ T188] hardirqs last enabled at (32847): [] __down_trylock_console_sem+0x86/0xa0 [ 9.555605][ T188] hardirqs last disabled at (32848): [] console_emit_next_record+0x3d4/0x4c0 [ 9.555607][ T188] softirqs last enabled at (31954): [] handle_softirqs+0x67c/0x900 [ 9.555609][ T188] softirqs last disabled at (31949): [] __irq_exit_rcu+0x145/0x1c0 [ 9.555612][ T188] Preemption disabled at: [ 9.555612][ T188] [<0000000000000000>] 0x0 [ 9.555619][ T188] CPU: 3 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.555622][ T188] Tainted: [W]=WARN [ 9.555623][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.555625][ T188] Call Trace: [ 9.555626][ T188] [ 9.555628][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.555635][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.555639][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.555643][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.555648][ T188] __kmalloc_noprof+0x443/0x760 [ 9.555650][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.555656][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.555659][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.555662][ T188] put_chars+0x1e1/0x2f0 [ 9.555664][ T188] ? __send_to_port+0x420/0x420 [ 9.555666][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.555670][ T188] ? validate_chain+0x38b/0xc20 [ 9.555675][ T188] hvc_console_print+0x292/0x780 [ 9.555681][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.555683][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.555686][ T188] ? lock_acquire+0x13c/0x160 [ 9.555690][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.555694][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.555695][ T188] ? console_flush_one_record+0x106/0x710 [ 9.555698][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.555701][ T188] ? lock_acquire+0x13c/0x160 [ 9.555705][ T188] console_flush_one_record+0x46f/0x710 [ 9.555709][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.555710][ T188] ? __lock_acquire+0x518/0xc20 [ 9.555716][ T188] console_unlock+0xee/0x1f0 [ 9.555718][ T188] ? console_flush_one_record+0x710/0x710 [ 9.555720][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.555723][ T188] ? lock_acquire+0x60/0x160 [ 9.555726][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.555728][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.555731][ T188] vprintk_emit+0x37c/0x3e0 [ 9.555735][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.555738][ T188] ? __lock_acquire+0x518/0xc20 [ 9.555742][ T188] _printk+0xc7/0x100 [ 9.555746][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.555749][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.555751][ T188] ? __rwlock_init+0x150/0x150 [ 9.555755][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.555758][ T188] do_exit.cold+0x82/0x9c [ 9.555761][ T188] ? exit_notify+0x890/0x890 [ 9.555763][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.555766][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.555770][ T188] do_group_exit+0xb8/0x370 [ 9.555773][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.555775][ T188] x64_sys_call+0x1567/0x1570 [ 9.555777][ T188] do_syscall_64+0xff/0x530 [ 9.555780][ T188] ? exc_page_fault+0xee/0x100 [ 9.555783][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.555785][ T188] RIP: 0033:0x7f67b31371b8 [ 9.555787][ T188] Code: Unable to access opcode bytes at 0x7f67b313718e. [ 9.555789][ T188] RSP: 002b:00007ffcb951c928 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.555791][ T188] RAX: ffffffffffffffda RBX: 00007f67b3267f88 RCX: 00007f67b31371b8 [ 9.555792][ T188] RDX: 00007f67b2e81fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.555793][ T188] RBP: 00007ffcb951c980 R08: 0000000000000000 R09: 0000000000008010 [ 9.555794][ T188] R10: 00007ffcb951c740 R11: 0000000000000246 R12: 0000000000000001 [ 9.555795][ T188] R13: 0000000000000000 R14: 00007f67b3266680 R15: 00007f67b3267fa0 [ 9.555802][ T188] [ 16.683823][ T293] GACT probability NOT on [ 16.683841][ T293] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.683844][ T293] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 293, name: modprobe [ 16.683845][ T293] preempt_count: 1, expected: 0 [ 16.683846][ T293] RCU nest depth: 0, expected: 0 [ 16.683847][ T293] locks held by modprobe/293: 4, last CPU#0: [ 16.683849][ T293] #0: ffffffffbb969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.683862][ T293] #1: ffffffffbb969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.683866][ T293] #2: ffffffffbb889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.683870][ T293] #3: ffffffffbb889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.683874][ T293] irq event stamp: 20296 [ 16.683874][ T293] hardirqs last enabled at (20295): [] __down_trylock_console_sem+0x86/0xa0 [ 16.683877][ T293] hardirqs last disabled at (20296): [] console_emit_next_record+0x3d4/0x4c0 [ 16.683879][ T293] softirqs last enabled at (18978): [] handle_softirqs+0x67c/0x900 [ 16.683882][ T293] softirqs last disabled at (18227): [] __irq_exit_rcu+0x145/0x1c0 [ 16.683884][ T293] Preemption disabled at: [ 16.683885][ T293] [] vprintk_emit+0x31b/0x3e0 [ 16.683890][ T293] CPU: 0 UID: 0 PID: 293 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.683894][ T293] Tainted: [W]=WARN [ 16.683895][ T293] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.683897][ T293] Call Trace: [ 16.683898][ T293] [ 16.683900][ T293] dump_stack_lvl+0x6f/0xa0 [ 16.683906][ T293] ? vprintk_emit+0x31b/0x3e0 [ 16.683908][ T293] __might_resched.cold+0x1fe/0x2c1 [ 16.683912][ T293] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.683916][ T293] ? __kmalloc_noprof+0xdb/0x760 [ 16.683921][ T293] __kmalloc_noprof+0x443/0x760 [ 16.683923][ T293] ? alloc_buf.isra.0+0x4b/0x260 [ 16.683929][ T293] ? do_raw_spin_unlock+0x59/0x250 [ 16.683932][ T293] alloc_buf.isra.0+0x4b/0x260 [ 16.683935][ T293] put_chars+0x1e1/0x2f0 [ 16.683937][ T293] ? desc_read_finalized_seq+0x79/0x120 [ 16.683939][ T293] ? __send_to_port+0x420/0x420 [ 16.683942][ T293] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.683945][ T293] ? validate_chain+0x38b/0xc20 [ 16.683950][ T293] hvc_console_print+0x292/0x780 [ 16.683952][ T293] ? __lock_acquire+0x518/0xc20 [ 16.683954][ T293] ? __lock_acquire+0x518/0xc20 [ 16.683958][ T293] ? hvc_write+0x3a0/0x3a0 [ 16.683959][ T293] ? console_emit_next_record+0x1df/0x4c0 [ 16.683963][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.683966][ T293] ? lock_acquire+0x13c/0x160 [ 16.683969][ T293] console_emit_next_record+0x22f/0x4c0 [ 16.683973][ T293] ? devkmsg_read+0x4b0/0x4b0 [ 16.683975][ T293] ? console_flush_one_record+0x106/0x710 [ 16.683978][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.683982][ T293] ? lock_acquire+0x13c/0x160 [ 16.683986][ T293] console_flush_one_record+0x46f/0x710 [ 16.683991][ T293] ? console_emit_next_record+0x4c0/0x4c0 [ 16.683992][ T293] ? __lock_acquire+0x518/0xc20 [ 16.683997][ T293] console_unlock+0xee/0x1f0 [ 16.684000][ T293] ? console_flush_one_record+0x710/0x710 [ 16.684002][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.684004][ T293] ? lock_acquire+0x60/0x160 [ 16.684008][ T293] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.684009][ T293] ? vprintk_emit+0x320/0x3e0 [ 16.684013][ T293] vprintk_emit+0x37c/0x3e0 [ 16.684017][ T293] ? wake_up_klogd_work_func+0x90/0x90 [ 16.684022][ T293] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.684025][ T293] _printk+0xc7/0x100 [ 16.684029][ T293] ? snapshot_read.cold+0x21/0x21 [ 16.684035][ T293] ? do_one_initcall+0x113/0x4f0 [ 16.684038][ T293] gact_init_module+0x15/0x1000 [act_gact] [ 16.684040][ T293] do_one_initcall+0x124/0x4f0 [ 16.684042][ T293] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.684047][ T293] ? do_init_module+0xae/0x8a0 [ 16.684050][ T293] ? kasan_unpoison+0x44/0x70 [ 16.684054][ T293] do_init_module+0x2ad/0x8a0 [ 16.684058][ T293] ? lockdep_hardirqs_on+0x91/0x130 [ 16.684062][ T293] ? free_module+0x470/0x470 [ 16.684065][ T293] ? kfree+0x123/0x590 [ 16.684069][ T293] load_module+0x1424/0x1bb0 [ 16.684076][ T293] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.684080][ T293] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.684082][ T293] ? ovl_real_file+0x172/0x1e0 [ 16.684086][ T293] ? backing_file_read_iter+0x541/0x790 [ 16.684089][ T293] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.684093][ T293] init_module_from_file+0x11f/0x1a0 [ 16.684096][ T293] ? __do_sys_init_module+0x220/0x220 [ 16.684104][ T293] ? __rwlock_init+0x150/0x150 [ 16.684107][ T293] ? do_raw_spin_unlock+0x59/0x250 [ 16.684110][ T293] idempotent_init_module+0x37b/0x7c0 [ 16.684113][ T293] ? init_module_from_file+0x1a0/0x1a0 [ 16.684119][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.684122][ T293] ? cap_capable+0x1d7/0x3d0 [ 16.684127][ T293] __x64_sys_finit_module+0xdf/0x190 [ 16.684130][ T293] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.684133][ T293] do_syscall_64+0xff/0x530 [ 16.684135][ T293] ? exc_page_fault+0xee/0x100 [ 16.684138][ T293] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.684140][ T293] RIP: 0033:0x7fb4954e737d [ 16.684144][ T293] 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.684145][ T293] RSP: 002b:00007ffd23688758 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.684148][ T293] RAX: ffffffffffffffda RBX: 0000558d352b7810 RCX: 00007fb4954e737d [ 16.684150][ T293] RDX: 0000000000000000 RSI: 0000558d1b8bfffd RDI: 0000000000000000 [ 16.684151][ T293] RBP: 00007ffd236887f0 R08: 0000000000000000 R09: 0000000000000000 [ 16.684152][ T293] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558d1b8bfffd [ 16.684152][ T293] R13: 0000558d352b7960 R14: 0000000000040000 R15: 0000000000000000 [ 16.684165][ T293]