[ 9.235895][ T188] ip (188) used greatest stack depth: 24008 bytes left [ 9.235910][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.235912][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.235914][ T188] preempt_count: 2, expected: 0 [ 9.235914][ T188] RCU nest depth: 0, expected: 0 [ 9.235915][ T188] locks held by ip/188: 5, last CPU#1: [ 9.235918][ T188] #0: ffffffff8e2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.235930][ T188] #1: ffffffff8e369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.235936][ T188] #2: ffffffff8e369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.235940][ T188] #3: ffffffff8e289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.235944][ T188] #4: ffffffff8e289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.235948][ T188] irq event stamp: 33478 [ 9.235949][ T188] hardirqs last enabled at (33477): [] __down_trylock_console_sem+0x86/0xa0 [ 9.235951][ T188] hardirqs last disabled at (33478): [] console_emit_next_record+0x3d4/0x4c0 [ 9.235953][ T188] softirqs last enabled at (32338): [] handle_softirqs+0x67c/0x900 [ 9.235955][ T188] softirqs last disabled at (32333): [] __irq_exit_rcu+0x145/0x1c0 [ 9.235958][ T188] Preemption disabled at: [ 9.235959][ T188] [<0000000000000000>] 0x0 [ 9.235965][ T188] CPU: 1 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.235968][ T188] Tainted: [W]=WARN [ 9.235969][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.235970][ T188] Call Trace: [ 9.235972][ T188] [ 9.235973][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.235979][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.235984][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.235988][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.235993][ T188] __kmalloc_noprof+0x443/0x760 [ 9.235996][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.236002][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.236004][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.236007][ T188] put_chars+0x1e1/0x2f0 [ 9.236010][ T188] ? __send_to_port+0x420/0x420 [ 9.236012][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.236017][ T188] ? validate_chain+0x38b/0xc20 [ 9.236022][ T188] hvc_console_print+0x292/0x780 [ 9.236029][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.236031][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.236033][ T188] ? lock_acquire+0x13c/0x160 [ 9.236037][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.236041][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.236043][ T188] ? console_flush_one_record+0x106/0x710 [ 9.236046][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.236048][ T188] ? lock_acquire+0x13c/0x160 [ 9.236052][ T188] console_flush_one_record+0x46f/0x710 [ 9.236057][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.236059][ T188] ? __lock_acquire+0x518/0xc20 [ 9.236064][ T188] console_unlock+0xee/0x1f0 [ 9.236067][ T188] ? console_flush_one_record+0x710/0x710 [ 9.236068][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.236071][ T188] ? lock_acquire+0x60/0x160 [ 9.236075][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.236076][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.236080][ T188] vprintk_emit+0x37c/0x3e0 [ 9.236083][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.236087][ T188] ? __lock_acquire+0x518/0xc20 [ 9.236091][ T188] _printk+0xc7/0x100 [ 9.236094][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.236097][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.236100][ T188] ? __rwlock_init+0x150/0x150 [ 9.236104][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.236107][ T188] do_exit.cold+0x82/0x9c [ 9.236110][ T188] ? exit_notify+0x890/0x890 [ 9.236112][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.236115][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.236119][ T188] do_group_exit+0xb8/0x370 [ 9.236122][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.236124][ T188] x64_sys_call+0x1567/0x1570 [ 9.236126][ T188] do_syscall_64+0xff/0x530 [ 9.236130][ T188] ? exc_page_fault+0xee/0x100 [ 9.236133][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.236135][ T188] RIP: 0033:0x7fc11e0171b8 [ 9.236137][ T188] Code: Unable to access opcode bytes at 0x7fc11e01718e. [ 9.236138][ T188] RSP: 002b:00007ffdc0ab13e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.236141][ T188] RAX: ffffffffffffffda RBX: 00007fc11e147f88 RCX: 00007fc11e0171b8 [ 9.236142][ T188] RDX: 00007fc11dd61fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.236143][ T188] RBP: 00007ffdc0ab1440 R08: 0000000000000000 R09: 0000000000008010 [ 9.236144][ T188] R10: 00007ffdc0ab1200 R11: 0000000000000246 R12: 0000000000000001 [ 9.236145][ T188] R13: 0000000000000000 R14: 00007fc11e146680 R15: 00007fc11e147fa0 [ 9.236152][ T188] [ 15.254833][ T236] GACT probability NOT on [ 15.254848][ T236] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.254850][ T236] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 236, name: modprobe [ 15.254852][ T236] preempt_count: 1, expected: 0 [ 15.254853][ T236] RCU nest depth: 0, expected: 0 [ 15.254854][ T236] locks held by modprobe/236: 4, last CPU#1: [ 15.254856][ T236] #0: ffffffff8e369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.254868][ T236] #1: ffffffff8e369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.254872][ T236] #2: ffffffff8e289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.254877][ T236] #3: ffffffff8e289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.254880][ T236] irq event stamp: 26038 [ 15.254881][ T236] hardirqs last enabled at (26037): [] __down_trylock_console_sem+0x86/0xa0 [ 15.254883][ T236] hardirqs last disabled at (26038): [] console_emit_next_record+0x3d4/0x4c0 [ 15.254885][ T236] softirqs last enabled at (26018): [] handle_softirqs+0x67c/0x900 [ 15.254888][ T236] softirqs last disabled at (26011): [] __irq_exit_rcu+0x145/0x1c0 [ 15.254890][ T236] Preemption disabled at: [ 15.254891][ T236] [] vprintk_emit+0x31b/0x3e0 [ 15.254896][ T236] CPU: 1 UID: 0 PID: 236 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.254900][ T236] Tainted: [W]=WARN [ 15.254900][ T236] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.254902][ T236] Call Trace: [ 15.254904][ T236] [ 15.254905][ T236] dump_stack_lvl+0x6f/0xa0 [ 15.254911][ T236] ? vprintk_emit+0x31b/0x3e0 [ 15.254913][ T236] __might_resched.cold+0x1fe/0x2c1 [ 15.254917][ T236] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.254921][ T236] ? __kmalloc_noprof+0xdb/0x760 [ 15.254926][ T236] __kmalloc_noprof+0x443/0x760 [ 15.254928][ T236] ? alloc_buf.isra.0+0x4b/0x260 [ 15.254934][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 15.254937][ T236] alloc_buf.isra.0+0x4b/0x260 [ 15.254940][ T236] put_chars+0x1e1/0x2f0 [ 15.254942][ T236] ? desc_read_finalized_seq+0x79/0x120 [ 15.254943][ T236] ? __send_to_port+0x420/0x420 [ 15.254946][ T236] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.254950][ T236] ? validate_chain+0x38b/0xc20 [ 15.254954][ T236] hvc_console_print+0x292/0x780 [ 15.254956][ T236] ? __lock_acquire+0x518/0xc20 [ 15.254958][ T236] ? __lock_acquire+0x518/0xc20 [ 15.254962][ T236] ? hvc_write+0x3a0/0x3a0 [ 15.254963][ T236] ? console_emit_next_record+0x1df/0x4c0 [ 15.254967][ T236] ? rcu_is_watching+0x16/0xd0 [ 15.254969][ T236] ? lock_acquire+0x13c/0x160 [ 15.254973][ T236] console_emit_next_record+0x22f/0x4c0 [ 15.254977][ T236] ? devkmsg_read+0x4b0/0x4b0 [ 15.254978][ T236] ? console_flush_one_record+0x106/0x710 [ 15.254981][ T236] ? rcu_is_watching+0x16/0xd0 [ 15.254984][ T236] ? lock_acquire+0x13c/0x160 [ 15.254987][ T236] console_flush_one_record+0x46f/0x710 [ 15.254991][ T236] ? console_emit_next_record+0x4c0/0x4c0 [ 15.254993][ T236] ? __lock_acquire+0x518/0xc20 [ 15.254998][ T236] console_unlock+0xee/0x1f0 [ 15.255000][ T236] ? console_flush_one_record+0x710/0x710 [ 15.255002][ T236] ? rcu_is_watching+0x16/0xd0 [ 15.255004][ T236] ? lock_acquire+0x60/0x160 [ 15.255008][ T236] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.255009][ T236] ? vprintk_emit+0x320/0x3e0 [ 15.255013][ T236] vprintk_emit+0x37c/0x3e0 [ 15.255016][ T236] ? wake_up_klogd_work_func+0x90/0x90 [ 15.255022][ T236] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 15.255024][ T236] _printk+0xc7/0x100 [ 15.255028][ T236] ? snapshot_read.cold+0x21/0x21 [ 15.255034][ T236] ? do_one_initcall+0x113/0x4f0 [ 15.255037][ T236] gact_init_module+0x15/0x1000 [act_gact] [ 15.255039][ T236] do_one_initcall+0x124/0x4f0 [ 15.255042][ T236] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.255046][ T236] ? do_init_module+0xae/0x8a0 [ 15.255049][ T236] ? kasan_unpoison+0x44/0x70 [ 15.255054][ T236] do_init_module+0x2ad/0x8a0 [ 15.255058][ T236] ? lockdep_hardirqs_on+0x91/0x130 [ 15.255062][ T236] ? free_module+0x470/0x470 [ 15.255065][ T236] ? kfree+0x123/0x590 [ 15.255069][ T236] load_module+0x1424/0x1bb0 [ 15.255075][ T236] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.255079][ T236] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.255082][ T236] ? ovl_real_file+0x172/0x1e0 [ 15.255086][ T236] ? backing_file_read_iter+0x541/0x790 [ 15.255089][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.255093][ T236] init_module_from_file+0x11f/0x1a0 [ 15.255096][ T236] ? __do_sys_init_module+0x220/0x220 [ 15.255103][ T236] ? __rwlock_init+0x150/0x150 [ 15.255107][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 15.255110][ T236] idempotent_init_module+0x37b/0x7c0 [ 15.255113][ T236] ? init_module_from_file+0x1a0/0x1a0 [ 15.255119][ T236] ? rcu_is_watching+0x16/0xd0 [ 15.255121][ T236] ? cap_capable+0x1d7/0x3d0 [ 15.255127][ T236] __x64_sys_finit_module+0xdf/0x190 [ 15.255129][ T236] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.255132][ T236] do_syscall_64+0xff/0x530 [ 15.255134][ T236] ? exc_page_fault+0xee/0x100 [ 15.255137][ T236] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.255139][ T236] RIP: 0033:0x7fc003fd537d [ 15.255142][ T236] 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.255144][ T236] RSP: 002b:00007fff805bd118 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.255147][ T236] RAX: ffffffffffffffda RBX: 0000560070100810 RCX: 00007fc003fd537d [ 15.255148][ T236] RDX: 0000000000000000 RSI: 00005600394c5ffd RDI: 0000000000000000 [ 15.255149][ T236] RBP: 00007fff805bd1b0 R08: 0000000000000000 R09: 0000000000000000 [ 15.255150][ T236] R10: 0000000000000000 R11: 0000000000000246 R12: 00005600394c5ffd [ 15.255151][ T236] R13: 0000560070100960 R14: 0000000000040000 R15: 0000000000000000 [ 15.255157][ T236]