[ 9.857161][ T187] ip (187) used greatest stack depth: 24048 bytes left [ 9.857179][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.857182][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 9.857183][ T187] preempt_count: 2, expected: 0 [ 9.857184][ T187] RCU nest depth: 0, expected: 0 [ 9.857185][ T187] locks held by ip/187: 5, last CPU#1: [ 9.857187][ T187] #0: ffffffffa00027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.857200][ T187] #1: ffffffffa0169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.857206][ T187] #2: ffffffffa0169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.857210][ T187] #3: ffffffffa0089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.857214][ T187] #4: ffffffffa0089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.857218][ T187] irq event stamp: 37370 [ 9.857219][ T187] hardirqs last enabled at (37369): [] __down_trylock_console_sem+0x86/0xa0 [ 9.857222][ T187] hardirqs last disabled at (37370): [] console_emit_next_record+0x3d4/0x4c0 [ 9.857223][ T187] softirqs last enabled at (36738): [] handle_softirqs+0x67c/0x900 [ 9.857225][ T187] softirqs last disabled at (36729): [] __irq_exit_rcu+0x145/0x1c0 [ 9.857227][ T187] Preemption disabled at: [ 9.857228][ T187] [<0000000000000000>] 0x0 [ 9.857236][ T187] CPU: 1 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.857239][ T187] Tainted: [W]=WARN [ 9.857240][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.857242][ T187] Call Trace: [ 9.857244][ T187] [ 9.857245][ T187] dump_stack_lvl+0x6f/0xa0 [ 9.857252][ T187] __might_resched.cold+0x1fe/0x2c1 [ 9.857256][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.857261][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 9.857266][ T187] __kmalloc_noprof+0x443/0x760 [ 9.857268][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 9.857274][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 9.857277][ T187] alloc_buf.isra.0+0x4b/0x260 [ 9.857280][ T187] put_chars+0x1e1/0x2f0 [ 9.857283][ T187] ? __send_to_port+0x420/0x420 [ 9.857284][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.857289][ T187] ? validate_chain+0x38b/0xc20 [ 9.857294][ T187] hvc_console_print+0x292/0x780 [ 9.857300][ T187] ? hvc_write+0x3a0/0x3a0 [ 9.857302][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.857304][ T187] ? lock_acquire+0x13c/0x160 [ 9.857308][ T187] console_emit_next_record+0x22f/0x4c0 [ 9.857312][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 9.857314][ T187] ? console_flush_one_record+0x106/0x710 [ 9.857317][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.857319][ T187] ? lock_acquire+0x13c/0x160 [ 9.857323][ T187] console_flush_one_record+0x46f/0x710 [ 9.857327][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 9.857329][ T187] ? __lock_acquire+0x518/0xc20 [ 9.857334][ T187] console_unlock+0xee/0x1f0 [ 9.857337][ T187] ? console_flush_one_record+0x710/0x710 [ 9.857339][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.857341][ T187] ? lock_acquire+0x60/0x160 [ 9.857344][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.857346][ T187] ? vprintk_emit+0x320/0x3e0 [ 9.857349][ T187] vprintk_emit+0x37c/0x3e0 [ 9.857353][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 9.857357][ T187] ? __lock_acquire+0x518/0xc20 [ 9.857360][ T187] _printk+0xc7/0x100 [ 9.857364][ T187] ? snapshot_read.cold+0x21/0x21 [ 9.857367][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.857369][ T187] ? __rwlock_init+0x150/0x150 [ 9.857373][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.857376][ T187] do_exit.cold+0x82/0x9c [ 9.857379][ T187] ? exit_notify+0x890/0x890 [ 9.857381][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 9.857384][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.857388][ T187] do_group_exit+0xb8/0x370 [ 9.857390][ T187] __x64_sys_exit_group+0x3c/0x50 [ 9.857392][ T187] x64_sys_call+0x1567/0x1570 [ 9.857394][ T187] do_syscall_64+0xff/0x530 [ 9.857397][ T187] ? exc_page_fault+0xee/0x100 [ 9.857401][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.857403][ T187] RIP: 0033:0x7f7f204611b8 [ 9.857405][ T187] Code: Unable to access opcode bytes at 0x7f7f2046118e. [ 9.857406][ T187] RSP: 002b:00007ffef9ffe108 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.857409][ T187] RAX: ffffffffffffffda RBX: 00007f7f20591f88 RCX: 00007f7f204611b8 [ 9.857410][ T187] RDX: 00007f7f201abfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.857411][ T187] RBP: 00007ffef9ffe160 R08: 0000000000000000 R09: 0000000000008010 [ 9.857412][ T187] R10: 00007ffef9ffdf20 R11: 0000000000000246 R12: 0000000000000001 [ 9.857413][ T187] R13: 0000000000000000 R14: 00007f7f20590680 R15: 00007f7f20591fa0 [ 9.857420][ T187] [ 15.938099][ T248] GACT probability NOT on [ 15.938117][ T248] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.938119][ T248] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 248, name: modprobe [ 15.938121][ T248] preempt_count: 1, expected: 0 [ 15.938122][ T248] RCU nest depth: 0, expected: 0 [ 15.938123][ T248] locks held by modprobe/248: 4, last CPU#3: [ 15.938126][ T248] #0: ffffffffa0169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.938138][ T248] #1: ffffffffa0169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.938143][ T248] #2: ffffffffa0089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.938147][ T248] #3: ffffffffa0089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.938151][ T248] irq event stamp: 26272 [ 15.938152][ T248] hardirqs last enabled at (26271): [] __down_trylock_console_sem+0x86/0xa0 [ 15.938154][ T248] hardirqs last disabled at (26272): [] console_emit_next_record+0x3d4/0x4c0 [ 15.938156][ T248] softirqs last enabled at (23072): [] handle_softirqs+0x67c/0x900 [ 15.938159][ T248] softirqs last disabled at (22215): [] __irq_exit_rcu+0x145/0x1c0 [ 15.938161][ T248] Preemption disabled at: [ 15.938162][ T248] [] vprintk_emit+0x31b/0x3e0 [ 15.938168][ T248] CPU: 3 UID: 0 PID: 248 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.938171][ T248] Tainted: [W]=WARN [ 15.938172][ T248] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.938174][ T248] Call Trace: [ 15.938176][ T248] [ 15.938177][ T248] dump_stack_lvl+0x6f/0xa0 [ 15.938182][ T248] ? vprintk_emit+0x31b/0x3e0 [ 15.938185][ T248] __might_resched.cold+0x1fe/0x2c1 [ 15.938189][ T248] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.938193][ T248] ? __kmalloc_noprof+0xdb/0x760 [ 15.938198][ T248] __kmalloc_noprof+0x443/0x760 [ 15.938200][ T248] ? alloc_buf.isra.0+0x4b/0x260 [ 15.938206][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 15.938209][ T248] alloc_buf.isra.0+0x4b/0x260 [ 15.938212][ T248] put_chars+0x1e1/0x2f0 [ 15.938214][ T248] ? desc_read_finalized_seq+0x79/0x120 [ 15.938216][ T248] ? __send_to_port+0x420/0x420 [ 15.938219][ T248] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.938222][ T248] ? validate_chain+0x38b/0xc20 [ 15.938226][ T248] hvc_console_print+0x292/0x780 [ 15.938229][ T248] ? __lock_acquire+0x518/0xc20 [ 15.938230][ T248] ? __lock_acquire+0x518/0xc20 [ 15.938235][ T248] ? hvc_write+0x3a0/0x3a0 [ 15.938236][ T248] ? console_emit_next_record+0x1df/0x4c0 [ 15.938239][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.938242][ T248] ? lock_acquire+0x13c/0x160 [ 15.938246][ T248] console_emit_next_record+0x22f/0x4c0 [ 15.938249][ T248] ? devkmsg_read+0x4b0/0x4b0 [ 15.938251][ T248] ? console_flush_one_record+0x106/0x710 [ 15.938254][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.938256][ T248] ? lock_acquire+0x13c/0x160 [ 15.938260][ T248] console_flush_one_record+0x46f/0x710 [ 15.938264][ T248] ? console_emit_next_record+0x4c0/0x4c0 [ 15.938266][ T248] ? __lock_acquire+0x518/0xc20 [ 15.938271][ T248] console_unlock+0xee/0x1f0 [ 15.938273][ T248] ? console_flush_one_record+0x710/0x710 [ 15.938275][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.938277][ T248] ? lock_acquire+0x60/0x160 [ 15.938281][ T248] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.938282][ T248] ? vprintk_emit+0x320/0x3e0 [ 15.938286][ T248] vprintk_emit+0x37c/0x3e0 [ 15.938289][ T248] ? wake_up_klogd_work_func+0x90/0x90 [ 15.938295][ T248] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 15.938298][ T248] _printk+0xc7/0x100 [ 15.938301][ T248] ? snapshot_read.cold+0x21/0x21 [ 15.938307][ T248] ? do_one_initcall+0x113/0x4f0 [ 15.938310][ T248] gact_init_module+0x15/0x1000 [act_gact] [ 15.938312][ T248] do_one_initcall+0x124/0x4f0 [ 15.938315][ T248] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.938320][ T248] ? do_init_module+0xae/0x8a0 [ 15.938323][ T248] ? kasan_unpoison+0x44/0x70 [ 15.938327][ T248] do_init_module+0x2ad/0x8a0 [ 15.938331][ T248] ? lockdep_hardirqs_on+0x91/0x130 [ 15.938335][ T248] ? free_module+0x470/0x470 [ 15.938338][ T248] ? kfree+0x123/0x590 [ 15.938342][ T248] load_module+0x1424/0x1bb0 [ 15.938349][ T248] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.938352][ T248] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.938356][ T248] ? find_held_lock+0x2b/0x80 [ 15.938358][ T248] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.938362][ T248] init_module_from_file+0x11f/0x1a0 [ 15.938365][ T248] ? __do_sys_init_module+0x220/0x220 [ 15.938373][ T248] ? __rwlock_init+0x150/0x150 [ 15.938376][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 15.938379][ T248] idempotent_init_module+0x37b/0x7c0 [ 15.938382][ T248] ? init_module_from_file+0x1a0/0x1a0 [ 15.938389][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.938391][ T248] ? cap_capable+0x1d7/0x3d0 [ 15.938397][ T248] __x64_sys_finit_module+0xdf/0x190 [ 15.938399][ T248] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.938403][ T248] do_syscall_64+0xff/0x530 [ 15.938405][ T248] ? exc_page_fault+0xee/0x100 [ 15.938407][ T248] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.938409][ T248] RIP: 0033:0x7f51908f937d [ 15.938413][ T248] 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.938414][ T248] RSP: 002b:00007ffc3bef9538 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.938417][ T248] RAX: ffffffffffffffda RBX: 0000556093e86810 RCX: 00007f51908f937d [ 15.938418][ T248] RDX: 0000000000000000 RSI: 00005560865daffd RDI: 0000000000000000 [ 15.938419][ T248] RBP: 00007ffc3bef95d0 R08: 0000000000000000 R09: 0000000000000000 [ 15.938420][ T248] R10: 0000000000000000 R11: 0000000000000246 R12: 00005560865daffd [ 15.938421][ T248] R13: 0000556093e86960 R14: 0000000000040000 R15: 0000000000000000 [ 15.938427][ T248]