[ 9.643482][ T188] ip (188) used greatest stack depth: 24192 bytes left [ 9.643498][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.643500][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.643501][ T188] preempt_count: 2, expected: 0 [ 9.643502][ T188] RCU nest depth: 0, expected: 0 [ 9.643503][ T188] locks held by ip/188: 5, last CPU#3: [ 9.643505][ T188] #0: ffffffff9a0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.643518][ T188] #1: ffffffff9a169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.643524][ T188] #2: ffffffff9a169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.643527][ T188] #3: ffffffff9a089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.643531][ T188] #4: ffffffff9a089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.643535][ T188] irq event stamp: 32356 [ 9.643536][ T188] hardirqs last enabled at (32355): [] __down_trylock_console_sem+0x86/0xa0 [ 9.643538][ T188] hardirqs last disabled at (32356): [] console_emit_next_record+0x3d4/0x4c0 [ 9.643540][ T188] softirqs last enabled at (31656): [] handle_softirqs+0x67c/0x900 [ 9.643542][ T188] softirqs last disabled at (31647): [] __irq_exit_rcu+0x145/0x1c0 [ 9.643544][ T188] Preemption disabled at: [ 9.643545][ T188] [<0000000000000000>] 0x0 [ 9.643551][ T188] CPU: 3 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.643555][ T188] Tainted: [W]=WARN [ 9.643556][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.643557][ T188] Call Trace: [ 9.643559][ T188] [ 9.643560][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.643566][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.643571][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.643575][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.643580][ T188] __kmalloc_noprof+0x443/0x760 [ 9.643582][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.643588][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.643591][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.643594][ T188] put_chars+0x1e1/0x2f0 [ 9.643597][ T188] ? __send_to_port+0x420/0x420 [ 9.643598][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.643603][ T188] ? validate_chain+0x38b/0xc20 [ 9.643608][ T188] hvc_console_print+0x292/0x780 [ 9.643614][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.643616][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.643619][ T188] ? lock_acquire+0x13c/0x160 [ 9.643623][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.643626][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.643628][ T188] ? console_flush_one_record+0x106/0x710 [ 9.643631][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.643634][ T188] ? lock_acquire+0x13c/0x160 [ 9.643637][ T188] console_flush_one_record+0x46f/0x710 [ 9.643641][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.643643][ T188] ? __lock_acquire+0x518/0xc20 [ 9.643648][ T188] console_unlock+0xee/0x1f0 [ 9.643651][ T188] ? console_flush_one_record+0x710/0x710 [ 9.643653][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.643655][ T188] ? lock_acquire+0x60/0x160 [ 9.643658][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.643660][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.643663][ T188] vprintk_emit+0x37c/0x3e0 [ 9.643667][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.643670][ T188] ? __lock_acquire+0x518/0xc20 [ 9.643674][ T188] _printk+0xc7/0x100 [ 9.643678][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.643680][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.643683][ T188] ? __rwlock_init+0x150/0x150 [ 9.643687][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.643689][ T188] do_exit.cold+0x82/0x9c [ 9.643693][ T188] ? exit_notify+0x890/0x890 [ 9.643695][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.643697][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.643701][ T188] do_group_exit+0xb8/0x370 [ 9.643704][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.643706][ T188] x64_sys_call+0x1567/0x1570 [ 9.643708][ T188] do_syscall_64+0xff/0x530 [ 9.643711][ T188] ? exc_page_fault+0xee/0x100 [ 9.643714][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.643716][ T188] RIP: 0033:0x7faaccd071b8 [ 9.643718][ T188] Code: Unable to access opcode bytes at 0x7faaccd0718e. [ 9.643719][ T188] RSP: 002b:00007ffe907e1678 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.643722][ T188] RAX: ffffffffffffffda RBX: 00007faacce37f88 RCX: 00007faaccd071b8 [ 9.643724][ T188] RDX: 00007faacca51fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.643724][ T188] RBP: 00007ffe907e16d0 R08: 0000000000000000 R09: 0000000000008010 [ 9.643725][ T188] R10: 00007ffe907e1490 R11: 0000000000000246 R12: 0000000000000001 [ 9.643726][ T188] R13: 0000000000000000 R14: 00007faacce36680 R15: 00007faacce37fa0 [ 9.643733][ T188] [ 15.766151][ T246] GACT probability NOT on [ 15.766170][ T246] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.766172][ T246] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 246, name: modprobe [ 15.766174][ T246] preempt_count: 1, expected: 0 [ 15.766175][ T246] RCU nest depth: 0, expected: 0 [ 15.766176][ T246] locks held by modprobe/246: 4, last CPU#3: [ 15.766178][ T246] #0: ffffffff9a169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.766190][ T246] #1: ffffffff9a169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.766195][ T246] #2: ffffffff9a089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.766199][ T246] #3: ffffffff9a089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.766203][ T246] irq event stamp: 24082 [ 15.766204][ T246] hardirqs last enabled at (24081): [] __down_trylock_console_sem+0x86/0xa0 [ 15.766206][ T246] hardirqs last disabled at (24082): [] console_emit_next_record+0x3d4/0x4c0 [ 15.766208][ T246] softirqs last enabled at (22860): [] handle_softirqs+0x67c/0x900 [ 15.766211][ T246] softirqs last disabled at (21841): [] __irq_exit_rcu+0x145/0x1c0 [ 15.766214][ T246] Preemption disabled at: [ 15.766214][ T246] [] vprintk_emit+0x31b/0x3e0 [ 15.766220][ T246] CPU: 3 UID: 0 PID: 246 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.766223][ T246] Tainted: [W]=WARN [ 15.766224][ T246] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.766226][ T246] Call Trace: [ 15.766228][ T246] [ 15.766229][ T246] dump_stack_lvl+0x6f/0xa0 [ 15.766235][ T246] ? vprintk_emit+0x31b/0x3e0 [ 15.766237][ T246] __might_resched.cold+0x1fe/0x2c1 [ 15.766242][ T246] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.766246][ T246] ? __kmalloc_noprof+0xdb/0x760 [ 15.766251][ T246] __kmalloc_noprof+0x443/0x760 [ 15.766254][ T246] ? alloc_buf.isra.0+0x4b/0x260 [ 15.766260][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 15.766263][ T246] alloc_buf.isra.0+0x4b/0x260 [ 15.766266][ T246] put_chars+0x1e1/0x2f0 [ 15.766268][ T246] ? desc_read_finalized_seq+0x79/0x120 [ 15.766271][ T246] ? __send_to_port+0x420/0x420 [ 15.766274][ T246] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.766277][ T246] ? validate_chain+0x38b/0xc20 [ 15.766282][ T246] hvc_console_print+0x292/0x780 [ 15.766284][ T246] ? __lock_acquire+0x518/0xc20 [ 15.766286][ T246] ? __lock_acquire+0x518/0xc20 [ 15.766291][ T246] ? hvc_write+0x3a0/0x3a0 [ 15.766292][ T246] ? console_emit_next_record+0x1df/0x4c0 [ 15.766296][ T246] ? rcu_is_watching+0x16/0xd0 [ 15.766299][ T246] ? lock_acquire+0x13c/0x160 [ 15.766303][ T246] console_emit_next_record+0x22f/0x4c0 [ 15.766307][ T246] ? devkmsg_read+0x4b0/0x4b0 [ 15.766309][ T246] ? console_flush_one_record+0x106/0x710 [ 15.766312][ T246] ? rcu_is_watching+0x16/0xd0 [ 15.766315][ T246] ? lock_acquire+0x13c/0x160 [ 15.766319][ T246] console_flush_one_record+0x46f/0x710 [ 15.766324][ T246] ? console_emit_next_record+0x4c0/0x4c0 [ 15.766326][ T246] ? __lock_acquire+0x518/0xc20 [ 15.766332][ T246] console_unlock+0xee/0x1f0 [ 15.766335][ T246] ? console_flush_one_record+0x710/0x710 [ 15.766336][ T246] ? rcu_is_watching+0x16/0xd0 [ 15.766339][ T246] ? lock_acquire+0x60/0x160 [ 15.766343][ T246] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.766344][ T246] ? vprintk_emit+0x320/0x3e0 [ 15.766348][ T246] vprintk_emit+0x37c/0x3e0 [ 15.766352][ T246] ? wake_up_klogd_work_func+0x90/0x90 [ 15.766358][ T246] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 15.766362][ T246] _printk+0xc7/0x100 [ 15.766366][ T246] ? snapshot_read.cold+0x21/0x21 [ 15.766372][ T246] ? do_one_initcall+0x113/0x4f0 [ 15.766375][ T246] gact_init_module+0x15/0x1000 [act_gact] [ 15.766378][ T246] do_one_initcall+0x124/0x4f0 [ 15.766383][ T246] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.766389][ T246] ? do_init_module+0xae/0x8a0 [ 15.766392][ T246] ? kasan_unpoison+0x44/0x70 [ 15.766397][ T246] do_init_module+0x2ad/0x8a0 [ 15.766401][ T246] ? lockdep_hardirqs_on+0x91/0x130 [ 15.766406][ T246] ? free_module+0x470/0x470 [ 15.766409][ T246] ? kfree+0x123/0x590 [ 15.766413][ T246] load_module+0x1424/0x1bb0 [ 15.766420][ T246] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.766424][ T246] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.766427][ T246] ? ovl_real_file+0x172/0x1e0 [ 15.766431][ T246] ? backing_file_read_iter+0x541/0x790 [ 15.766434][ T246] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.766438][ T246] init_module_from_file+0x11f/0x1a0 [ 15.766441][ T246] ? __do_sys_init_module+0x220/0x220 [ 15.766449][ T246] ? __rwlock_init+0x150/0x150 [ 15.766453][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 15.766456][ T246] idempotent_init_module+0x37b/0x7c0 [ 15.766459][ T246] ? init_module_from_file+0x1a0/0x1a0 [ 15.766466][ T246] ? rcu_is_watching+0x16/0xd0 [ 15.766468][ T246] ? cap_capable+0x1d7/0x3d0 [ 15.766474][ T246] __x64_sys_finit_module+0xdf/0x190 [ 15.766476][ T246] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.766479][ T246] do_syscall_64+0xff/0x530 [ 15.766481][ T246] ? exc_page_fault+0xee/0x100 [ 15.766484][ T246] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.766487][ T246] RIP: 0033:0x7fd96f2bd37d [ 15.766490][ T246] 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 [ 15.766492][ T246] RSP: 002b:00007ffd139d0d78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.766494][ T246] RAX: ffffffffffffffda RBX: 000055abc2ec7810 RCX: 00007fd96f2bd37d [ 15.766496][ T246] RDX: 0000000000000000 RSI: 000055abb90d7ffd RDI: 0000000000000000 [ 15.766497][ T246] RBP: 00007ffd139d0e10 R08: 0000000000000000 R09: 0000000000000000 [ 15.766498][ T246] R10: 0000000000000000 R11: 0000000000000246 R12: 000055abb90d7ffd [ 15.766498][ T246] R13: 000055abc2ec7960 R14: 0000000000040000 R15: 0000000000000000 [ 15.766505][ T246]