[ 10.121914][ T188] ip (188) used greatest stack depth: 24160 bytes left [ 10.121930][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.121932][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 10.121934][ T188] preempt_count: 2, expected: 0 [ 10.121934][ T188] RCU nest depth: 0, expected: 0 [ 10.121935][ T188] locks held by ip/188: 5, last CPU#1: [ 10.121938][ T188] #0: ffffffff8f2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.121950][ T188] #1: ffffffff8f369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.121955][ T188] #2: ffffffff8f369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.121959][ T188] #3: ffffffff8f289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.121963][ T188] #4: ffffffff8f289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.121967][ T188] irq event stamp: 51556 [ 10.121967][ T188] hardirqs last enabled at (51555): [] __down_trylock_console_sem+0x86/0xa0 [ 10.121970][ T188] hardirqs last disabled at (51556): [] console_emit_next_record+0x3d4/0x4c0 [ 10.121972][ T188] softirqs last enabled at (50486): [] handle_softirqs+0x67c/0x900 [ 10.121974][ T188] softirqs last disabled at (50477): [] __irq_exit_rcu+0x145/0x1c0 [ 10.121981][ T188] Preemption disabled at: [ 10.121982][ T188] [<0000000000000000>] 0x0 [ 10.121988][ T188] CPU: 1 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.121992][ T188] Tainted: [W]=WARN [ 10.121993][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.121994][ T188] Call Trace: [ 10.121996][ T188] [ 10.121997][ T188] dump_stack_lvl+0x6f/0xa0 [ 10.122003][ T188] __might_resched.cold+0x1fe/0x2c1 [ 10.122008][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.122012][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 10.122017][ T188] __kmalloc_noprof+0x443/0x760 [ 10.122020][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 10.122026][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 10.122028][ T188] alloc_buf.isra.0+0x4b/0x260 [ 10.122031][ T188] put_chars+0x1e1/0x2f0 [ 10.122034][ T188] ? __send_to_port+0x420/0x420 [ 10.122036][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.122041][ T188] ? validate_chain+0x38b/0xc20 [ 10.122046][ T188] hvc_console_print+0x292/0x780 [ 10.122052][ T188] ? hvc_write+0x3a0/0x3a0 [ 10.122054][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.122057][ T188] ? lock_acquire+0x13c/0x160 [ 10.122061][ T188] console_emit_next_record+0x22f/0x4c0 [ 10.122064][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 10.122066][ T188] ? console_flush_one_record+0x106/0x710 [ 10.122069][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.122072][ T188] ? lock_acquire+0x13c/0x160 [ 10.122076][ T188] console_flush_one_record+0x46f/0x710 [ 10.122080][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 10.122082][ T188] ? __lock_acquire+0x518/0xc20 [ 10.122087][ T188] console_unlock+0xee/0x1f0 [ 10.122090][ T188] ? console_flush_one_record+0x710/0x710 [ 10.122092][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.122095][ T188] ? lock_acquire+0x60/0x160 [ 10.122098][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.122100][ T188] ? vprintk_emit+0x320/0x3e0 [ 10.122103][ T188] vprintk_emit+0x37c/0x3e0 [ 10.122107][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 10.122111][ T188] ? __lock_acquire+0x518/0xc20 [ 10.122114][ T188] _printk+0xc7/0x100 [ 10.122118][ T188] ? snapshot_read.cold+0x21/0x21 [ 10.122121][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.122123][ T188] ? __rwlock_init+0x150/0x150 [ 10.122127][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.122130][ T188] do_exit.cold+0x82/0x9c [ 10.122134][ T188] ? exit_notify+0x890/0x890 [ 10.122136][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 10.122139][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.122143][ T188] do_group_exit+0xb8/0x370 [ 10.122146][ T188] __x64_sys_exit_group+0x3c/0x50 [ 10.122148][ T188] x64_sys_call+0x1567/0x1570 [ 10.122150][ T188] do_syscall_64+0xff/0x530 [ 10.122153][ T188] ? exc_page_fault+0xee/0x100 [ 10.122156][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.122158][ T188] RIP: 0033:0x7f81c91b21b8 [ 10.122160][ T188] Code: Unable to access opcode bytes at 0x7f81c91b218e. [ 10.122162][ T188] RSP: 002b:00007fff913cb368 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.122164][ T188] RAX: ffffffffffffffda RBX: 00007f81c92e2f88 RCX: 00007f81c91b21b8 [ 10.122165][ T188] RDX: 00007f81c8efcfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.122166][ T188] RBP: 00007fff913cb3c0 R08: 0000000000000000 R09: 0000000000008010 [ 10.122167][ T188] R10: 00007fff913cb180 R11: 0000000000000246 R12: 0000000000000001 [ 10.122168][ T188] R13: 0000000000000000 R14: 00007f81c92e1680 R15: 00007f81c92e2fa0 [ 10.122175][ T188] [ 16.362450][ T250] GACT probability NOT on [ 16.362467][ T250] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.362470][ T250] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 250, name: modprobe [ 16.362472][ T250] preempt_count: 1, expected: 0 [ 16.362473][ T250] RCU nest depth: 0, expected: 0 [ 16.362473][ T250] locks held by modprobe/250: 4, last CPU#1: [ 16.362476][ T250] #0: ffffffff8f369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.362488][ T250] #1: ffffffff8f369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.362492][ T250] #2: ffffffff8f289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.362496][ T250] #3: ffffffff8f289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.362500][ T250] irq event stamp: 15574 [ 16.362501][ T250] hardirqs last enabled at (15573): [] __down_trylock_console_sem+0x86/0xa0 [ 16.362504][ T250] hardirqs last disabled at (15574): [] console_emit_next_record+0x3d4/0x4c0 [ 16.362505][ T250] softirqs last enabled at (14742): [] handle_softirqs+0x67c/0x900 [ 16.362508][ T250] softirqs last disabled at (14733): [] __irq_exit_rcu+0x145/0x1c0 [ 16.362510][ T250] Preemption disabled at: [ 16.362511][ T250] [] vprintk_emit+0x31b/0x3e0 [ 16.362517][ T250] CPU: 1 UID: 0 PID: 250 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.362520][ T250] Tainted: [W]=WARN [ 16.362521][ T250] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.362523][ T250] Call Trace: [ 16.362524][ T250] [ 16.362526][ T250] dump_stack_lvl+0x6f/0xa0 [ 16.362532][ T250] ? vprintk_emit+0x31b/0x3e0 [ 16.362534][ T250] __might_resched.cold+0x1fe/0x2c1 [ 16.362538][ T250] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.362542][ T250] ? __kmalloc_noprof+0xdb/0x760 [ 16.362547][ T250] __kmalloc_noprof+0x443/0x760 [ 16.362549][ T250] ? alloc_buf.isra.0+0x4b/0x260 [ 16.362554][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 16.362557][ T250] alloc_buf.isra.0+0x4b/0x260 [ 16.362560][ T250] put_chars+0x1e1/0x2f0 [ 16.362562][ T250] ? desc_read_finalized_seq+0x79/0x120 [ 16.362564][ T250] ? __send_to_port+0x420/0x420 [ 16.362567][ T250] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.362570][ T250] ? validate_chain+0x38b/0xc20 [ 16.362574][ T250] hvc_console_print+0x292/0x780 [ 16.362577][ T250] ? __lock_acquire+0x518/0xc20 [ 16.362578][ T250] ? __lock_acquire+0x518/0xc20 [ 16.362583][ T250] ? hvc_write+0x3a0/0x3a0 [ 16.362584][ T250] ? console_emit_next_record+0x1df/0x4c0 [ 16.362587][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.362590][ T250] ? lock_acquire+0x13c/0x160 [ 16.362593][ T250] console_emit_next_record+0x22f/0x4c0 [ 16.362597][ T250] ? devkmsg_read+0x4b0/0x4b0 [ 16.362599][ T250] ? console_flush_one_record+0x106/0x710 [ 16.362602][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.362604][ T250] ? lock_acquire+0x13c/0x160 [ 16.362608][ T250] console_flush_one_record+0x46f/0x710 [ 16.362612][ T250] ? console_emit_next_record+0x4c0/0x4c0 [ 16.362614][ T250] ? __lock_acquire+0x518/0xc20 [ 16.362618][ T250] console_unlock+0xee/0x1f0 [ 16.362621][ T250] ? console_flush_one_record+0x710/0x710 [ 16.362623][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.362625][ T250] ? lock_acquire+0x60/0x160 [ 16.362628][ T250] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.362630][ T250] ? vprintk_emit+0x320/0x3e0 [ 16.362633][ T250] vprintk_emit+0x37c/0x3e0 [ 16.362637][ T250] ? wake_up_klogd_work_func+0x90/0x90 [ 16.362642][ T250] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.362645][ T250] _printk+0xc7/0x100 [ 16.362649][ T250] ? snapshot_read.cold+0x21/0x21 [ 16.362655][ T250] ? do_one_initcall+0x113/0x4f0 [ 16.362658][ T250] gact_init_module+0x15/0x1000 [act_gact] [ 16.362660][ T250] do_one_initcall+0x124/0x4f0 [ 16.362662][ T250] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.362667][ T250] ? do_init_module+0xae/0x8a0 [ 16.362670][ T250] ? kasan_unpoison+0x44/0x70 [ 16.362674][ T250] do_init_module+0x2ad/0x8a0 [ 16.362678][ T250] ? lockdep_hardirqs_on+0x91/0x130 [ 16.362682][ T250] ? free_module+0x470/0x470 [ 16.362685][ T250] ? kfree+0x123/0x590 [ 16.362689][ T250] load_module+0x1424/0x1bb0 [ 16.362696][ T250] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.362699][ T250] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.362702][ T250] ? ovl_real_file+0x172/0x1e0 [ 16.362706][ T250] ? backing_file_read_iter+0x541/0x790 [ 16.362709][ T250] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.362713][ T250] init_module_from_file+0x11f/0x1a0 [ 16.362716][ T250] ? __do_sys_init_module+0x220/0x220 [ 16.362723][ T250] ? __rwlock_init+0x150/0x150 [ 16.362727][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 16.362730][ T250] idempotent_init_module+0x37b/0x7c0 [ 16.362733][ T250] ? init_module_from_file+0x1a0/0x1a0 [ 16.362739][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.362741][ T250] ? cap_capable+0x1d7/0x3d0 [ 16.362747][ T250] __x64_sys_finit_module+0xdf/0x190 [ 16.362749][ T250] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.362753][ T250] do_syscall_64+0xff/0x530 [ 16.362755][ T250] ? exc_page_fault+0xee/0x100 [ 16.362757][ T250] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.362760][ T250] RIP: 0033:0x7fab39aa737d [ 16.362763][ T250] 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.362765][ T250] RSP: 002b:00007fff207deab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.362768][ T250] RAX: ffffffffffffffda RBX: 000055fce3bb6810 RCX: 00007fab39aa737d [ 16.362769][ T250] RDX: 0000000000000000 RSI: 000055fcd0aefffd RDI: 0000000000000000 [ 16.362770][ T250] RBP: 00007fff207deb50 R08: 0000000000000000 R09: 0000000000000000 [ 16.362771][ T250] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fcd0aefffd [ 16.362772][ T250] R13: 000055fce3bb6960 R14: 0000000000040000 R15: 0000000000000000 [ 16.362778][ T250]