[ 9.411953][ T188] ip (188) used greatest stack depth: 24224 bytes left [ 9.411969][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.411971][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.411973][ T188] preempt_count: 2, expected: 0 [ 9.411974][ T188] RCU nest depth: 0, expected: 0 [ 9.411975][ T188] locks held by ip/188: 5, last CPU#2: [ 9.411977][ T188] #0: ffffffff86c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.411994][ T188] #1: ffffffff86d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.412000][ T188] #2: ffffffff86d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.412004][ T188] #3: ffffffff86c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.412007][ T188] #4: ffffffff86c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.412011][ T188] irq event stamp: 47616 [ 9.412012][ T188] hardirqs last enabled at (47615): [] __down_trylock_console_sem+0x86/0xa0 [ 9.412014][ T188] hardirqs last disabled at (47616): [] console_emit_next_record+0x3d4/0x4c0 [ 9.412017][ T188] softirqs last enabled at (47502): [] handle_softirqs+0x67c/0x900 [ 9.412018][ T188] softirqs last disabled at (47493): [] __irq_exit_rcu+0x145/0x1c0 [ 9.412021][ T188] Preemption disabled at: [ 9.412022][ T188] [<0000000000000000>] 0x0 [ 9.412028][ T188] CPU: 2 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.412032][ T188] Tainted: [W]=WARN [ 9.412033][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.412035][ T188] Call Trace: [ 9.412037][ T188] [ 9.412038][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.412044][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.412049][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.412053][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.412059][ T188] __kmalloc_noprof+0x443/0x760 [ 9.412061][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.412067][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.412069][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.412072][ T188] put_chars+0x1e1/0x2f0 [ 9.412075][ T188] ? __send_to_port+0x420/0x420 [ 9.412077][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.412081][ T188] ? validate_chain+0x38b/0xc20 [ 9.412086][ T188] hvc_console_print+0x292/0x780 [ 9.412093][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.412095][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.412097][ T188] ? lock_acquire+0x13c/0x160 [ 9.412101][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.412105][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.412107][ T188] ? console_flush_one_record+0x106/0x710 [ 9.412110][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.412113][ T188] ? lock_acquire+0x13c/0x160 [ 9.412117][ T188] console_flush_one_record+0x46f/0x710 [ 9.412121][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.412122][ T188] ? __lock_acquire+0x518/0xc20 [ 9.412128][ T188] console_unlock+0xee/0x1f0 [ 9.412130][ T188] ? console_flush_one_record+0x710/0x710 [ 9.412132][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.412135][ T188] ? lock_acquire+0x60/0x160 [ 9.412138][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.412140][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.412144][ T188] vprintk_emit+0x37c/0x3e0 [ 9.412147][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.412151][ T188] ? __lock_acquire+0x518/0xc20 [ 9.412154][ T188] _printk+0xc7/0x100 [ 9.412158][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.412161][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.412164][ T188] ? __rwlock_init+0x150/0x150 [ 9.412168][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.412170][ T188] do_exit.cold+0x82/0x9c [ 9.412174][ T188] ? exit_notify+0x890/0x890 [ 9.412176][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.412179][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.412183][ T188] do_group_exit+0xb8/0x370 [ 9.412185][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.412187][ T188] x64_sys_call+0x1567/0x1570 [ 9.412189][ T188] do_syscall_64+0xff/0x530 [ 9.412193][ T188] ? exc_page_fault+0xee/0x100 [ 9.412196][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.412199][ T188] RIP: 0033:0x7efe33be11b8 [ 9.412201][ T188] Code: Unable to access opcode bytes at 0x7efe33be118e. [ 9.412202][ T188] RSP: 002b:00007ffceea2f818 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.412205][ T188] RAX: ffffffffffffffda RBX: 00007efe33d11f88 RCX: 00007efe33be11b8 [ 9.412206][ T188] RDX: 00007efe3392bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.412207][ T188] RBP: 00007ffceea2f870 R08: 0000000000000000 R09: 0000000000008010 [ 9.412208][ T188] R10: 00007ffceea2f630 R11: 0000000000000246 R12: 0000000000000001 [ 9.412209][ T188] R13: 0000000000000000 R14: 00007efe33d10680 R15: 00007efe33d11fa0 [ 9.412216][ T188] [ 9.598097][ T201] ip (201) used greatest stack depth: 24032 bytes left [ 16.388452][ T294] GACT probability NOT on [ 16.388468][ T294] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.388470][ T294] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 294, name: modprobe [ 16.388472][ T294] preempt_count: 1, expected: 0 [ 16.388473][ T294] RCU nest depth: 0, expected: 0 [ 16.388474][ T294] locks held by modprobe/294: 4, last CPU#3: [ 16.388476][ T294] #0: ffffffff86d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.388489][ T294] #1: ffffffff86d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.388493][ T294] #2: ffffffff86c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.388497][ T294] #3: ffffffff86c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.388501][ T294] irq event stamp: 23722 [ 16.388502][ T294] hardirqs last enabled at (23721): [] __down_trylock_console_sem+0x86/0xa0 [ 16.388504][ T294] hardirqs last disabled at (23722): [] console_emit_next_record+0x3d4/0x4c0 [ 16.388506][ T294] softirqs last enabled at (22348): [] handle_softirqs+0x67c/0x900 [ 16.388510][ T294] softirqs last disabled at (22339): [] __irq_exit_rcu+0x145/0x1c0 [ 16.388512][ T294] Preemption disabled at: [ 16.388512][ T294] [] vprintk_emit+0x31b/0x3e0 [ 16.388518][ T294] CPU: 3 UID: 0 PID: 294 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.388522][ T294] Tainted: [W]=WARN [ 16.388523][ T294] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.388525][ T294] Call Trace: [ 16.388526][ T294] [ 16.388528][ T294] dump_stack_lvl+0x6f/0xa0 [ 16.388533][ T294] ? vprintk_emit+0x31b/0x3e0 [ 16.388535][ T294] __might_resched.cold+0x1fe/0x2c1 [ 16.388540][ T294] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.388546][ T294] ? __kmalloc_noprof+0xdb/0x760 [ 16.388553][ T294] __kmalloc_noprof+0x443/0x760 [ 16.388556][ T294] ? alloc_buf.isra.0+0x4b/0x260 [ 16.388562][ T294] ? do_raw_spin_unlock+0x59/0x250 [ 16.388565][ T294] alloc_buf.isra.0+0x4b/0x260 [ 16.388568][ T294] put_chars+0x1e1/0x2f0 [ 16.388570][ T294] ? desc_read_finalized_seq+0x79/0x120 [ 16.388572][ T294] ? __send_to_port+0x420/0x420 [ 16.388575][ T294] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.388579][ T294] ? validate_chain+0x38b/0xc20 [ 16.388583][ T294] hvc_console_print+0x292/0x780 [ 16.388586][ T294] ? __lock_acquire+0x518/0xc20 [ 16.388587][ T294] ? __lock_acquire+0x518/0xc20 [ 16.388592][ T294] ? hvc_write+0x3a0/0x3a0 [ 16.388593][ T294] ? console_emit_next_record+0x1df/0x4c0 [ 16.388596][ T294] ? rcu_is_watching+0x16/0xd0 [ 16.388600][ T294] ? lock_acquire+0x13c/0x160 [ 16.388604][ T294] console_emit_next_record+0x22f/0x4c0 [ 16.388607][ T294] ? devkmsg_read+0x4b0/0x4b0 [ 16.388609][ T294] ? console_flush_one_record+0x106/0x710 [ 16.388612][ T294] ? rcu_is_watching+0x16/0xd0 [ 16.388615][ T294] ? lock_acquire+0x13c/0x160 [ 16.388619][ T294] console_flush_one_record+0x46f/0x710 [ 16.388623][ T294] ? console_emit_next_record+0x4c0/0x4c0 [ 16.388624][ T294] ? __lock_acquire+0x518/0xc20 [ 16.388630][ T294] console_unlock+0xee/0x1f0 [ 16.388632][ T294] ? console_flush_one_record+0x710/0x710 [ 16.388634][ T294] ? rcu_is_watching+0x16/0xd0 [ 16.388637][ T294] ? lock_acquire+0x60/0x160 [ 16.388640][ T294] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.388642][ T294] ? vprintk_emit+0x320/0x3e0 [ 16.388645][ T294] vprintk_emit+0x37c/0x3e0 [ 16.388649][ T294] ? wake_up_klogd_work_func+0x90/0x90 [ 16.388655][ T294] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.388658][ T294] _printk+0xc7/0x100 [ 16.388662][ T294] ? snapshot_read.cold+0x21/0x21 [ 16.388668][ T294] ? do_one_initcall+0x113/0x4f0 [ 16.388671][ T294] gact_init_module+0x15/0x1000 [act_gact] [ 16.388673][ T294] do_one_initcall+0x124/0x4f0 [ 16.388676][ T294] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.388680][ T294] ? do_init_module+0xae/0x8a0 [ 16.388684][ T294] ? kasan_unpoison+0x44/0x70 [ 16.388688][ T294] do_init_module+0x2ad/0x8a0 [ 16.388692][ T294] ? lockdep_hardirqs_on+0x91/0x130 [ 16.388696][ T294] ? free_module+0x470/0x470 [ 16.388700][ T294] ? kfree+0x123/0x590 [ 16.388704][ T294] load_module+0x1424/0x1bb0 [ 16.388711][ T294] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.388715][ T294] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.388718][ T294] ? ovl_real_file+0x172/0x1e0 [ 16.388722][ T294] ? backing_file_read_iter+0x541/0x790 [ 16.388725][ T294] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.388729][ T294] init_module_from_file+0x11f/0x1a0 [ 16.388732][ T294] ? __do_sys_init_module+0x220/0x220 [ 16.388740][ T294] ? __rwlock_init+0x150/0x150 [ 16.388744][ T294] ? do_raw_spin_unlock+0x59/0x250 [ 16.388747][ T294] idempotent_init_module+0x37b/0x7c0 [ 16.388751][ T294] ? init_module_from_file+0x1a0/0x1a0 [ 16.388757][ T294] ? rcu_is_watching+0x16/0xd0 [ 16.388759][ T294] ? cap_capable+0x1d7/0x3d0 [ 16.388767][ T294] __x64_sys_finit_module+0xdf/0x190 [ 16.388769][ T294] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.388773][ T294] do_syscall_64+0xff/0x530 [ 16.388775][ T294] ? exc_page_fault+0xee/0x100 [ 16.388778][ T294] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.388780][ T294] RIP: 0033:0x7f330139337d [ 16.388784][ T294] 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.388785][ T294] RSP: 002b:00007ffc9f800dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.388788][ T294] RAX: ffffffffffffffda RBX: 000055e319d7f810 RCX: 00007f330139337d [ 16.388790][ T294] RDX: 0000000000000000 RSI: 000055e31265dffd RDI: 0000000000000000 [ 16.388791][ T294] RBP: 00007ffc9f800e60 R08: 0000000000000000 R09: 0000000000000000 [ 16.388791][ T294] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e31265dffd [ 16.388792][ T294] R13: 000055e319d7f960 R14: 0000000000040000 R15: 0000000000000000 [ 16.388799][ T294] [ 16.434228][ T292] tc (292) used greatest stack depth: 23568 bytes left