[ 10.065627][ T187] ip (187) used greatest stack depth: 23408 bytes left [ 10.065644][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.065647][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.065648][ T187] preempt_count: 2, expected: 0 [ 10.065649][ T187] RCU nest depth: 0, expected: 0 [ 10.065650][ T187] locks held by ip/187: 5, last CPU#3: [ 10.065652][ T187] #0: ffffffff954027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.065666][ T187] #1: ffffffff95569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.065672][ T187] #2: ffffffff95569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.065676][ T187] #3: ffffffff95489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.065680][ T187] #4: ffffffff95489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.065685][ T187] irq event stamp: 28622 [ 10.065686][ T187] hardirqs last enabled at (28621): [] __down_trylock_console_sem+0x86/0xa0 [ 10.065688][ T187] hardirqs last disabled at (28622): [] console_emit_next_record+0x3d4/0x4c0 [ 10.065690][ T187] softirqs last enabled at (28524): [] handle_softirqs+0x67c/0x900 [ 10.065692][ T187] softirqs last disabled at (28519): [] __irq_exit_rcu+0x145/0x1c0 [ 10.065695][ T187] Preemption disabled at: [ 10.065695][ T187] [<0000000000000000>] 0x0 [ 10.065703][ T187] CPU: 3 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.065706][ T187] Tainted: [W]=WARN [ 10.065707][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.065709][ T187] Call Trace: [ 10.065711][ T187] [ 10.065713][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.065720][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.065725][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.065729][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.065734][ T187] __kmalloc_noprof+0x443/0x760 [ 10.065736][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.065743][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.065746][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.065749][ T187] put_chars+0x1e1/0x2f0 [ 10.065752][ T187] ? __send_to_port+0x420/0x420 [ 10.065753][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.065758][ T187] ? validate_chain+0x38b/0xc20 [ 10.065763][ T187] hvc_console_print+0x292/0x780 [ 10.065770][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.065772][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.065775][ T187] ? lock_acquire+0x13c/0x160 [ 10.065779][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.065783][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.065785][ T187] ? console_flush_one_record+0x106/0x710 [ 10.065789][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.065791][ T187] ? lock_acquire+0x13c/0x160 [ 10.065796][ T187] console_flush_one_record+0x46f/0x710 [ 10.065800][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.065802][ T187] ? __lock_acquire+0x518/0xc20 [ 10.065807][ T187] console_unlock+0xee/0x1f0 [ 10.065810][ T187] ? console_flush_one_record+0x710/0x710 [ 10.065812][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.065814][ T187] ? lock_acquire+0x60/0x160 [ 10.065818][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.065820][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.065824][ T187] vprintk_emit+0x37c/0x3e0 [ 10.065827][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.065831][ T187] ? __lock_acquire+0x518/0xc20 [ 10.065835][ T187] _printk+0xc7/0x100 [ 10.065839][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.065842][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.065845][ T187] ? __rwlock_init+0x150/0x150 [ 10.065849][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.065851][ T187] do_exit.cold+0x82/0x9c [ 10.065855][ T187] ? exit_notify+0x890/0x890 [ 10.065857][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.065860][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.065865][ T187] do_group_exit+0xb8/0x370 [ 10.065868][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.065869][ T187] x64_sys_call+0x1567/0x1570 [ 10.065872][ T187] do_syscall_64+0xff/0x530 [ 10.065875][ T187] ? exc_page_fault+0xee/0x100 [ 10.065878][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.065881][ T187] RIP: 0033:0x7fc6fe6f51b8 [ 10.065883][ T187] Code: Unable to access opcode bytes at 0x7fc6fe6f518e. [ 10.065884][ T187] RSP: 002b:00007ffd0b6fd6e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.065887][ T187] RAX: ffffffffffffffda RBX: 00007fc6fe825f88 RCX: 00007fc6fe6f51b8 [ 10.065888][ T187] RDX: 00007fc6fe43ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.065889][ T187] RBP: 00007ffd0b6fd740 R08: 0000000000000000 R09: 0000000000008010 [ 10.065890][ T187] R10: 00007ffd0b6fd500 R11: 0000000000000246 R12: 0000000000000001 [ 10.065891][ T187] R13: 0000000000000000 R14: 00007fc6fe824680 R15: 00007fc6fe825fa0 [ 10.065898][ T187] [ 16.261538][ T245] GACT probability NOT on [ 16.261558][ T245] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.261560][ T245] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 245, name: modprobe [ 16.261562][ T245] preempt_count: 1, expected: 0 [ 16.261563][ T245] RCU nest depth: 0, expected: 0 [ 16.261564][ T245] locks held by modprobe/245: 4, last CPU#1: [ 16.261566][ T245] #0: ffffffff95569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.261578][ T245] #1: ffffffff95569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.261583][ T245] #2: ffffffff95489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.261587][ T245] #3: ffffffff95489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.261591][ T245] irq event stamp: 23754 [ 16.261592][ T245] hardirqs last enabled at (23753): [] __down_trylock_console_sem+0x86/0xa0 [ 16.261595][ T245] hardirqs last disabled at (23754): [] console_emit_next_record+0x3d4/0x4c0 [ 16.261597][ T245] softirqs last enabled at (22714): [] handle_softirqs+0x67c/0x900 [ 16.261600][ T245] softirqs last disabled at (22705): [] __irq_exit_rcu+0x145/0x1c0 [ 16.261602][ T245] Preemption disabled at: [ 16.261603][ T245] [] vprintk_emit+0x31b/0x3e0 [ 16.261612][ T245] CPU: 1 UID: 0 PID: 245 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.261616][ T245] Tainted: [W]=WARN [ 16.261617][ T245] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.261619][ T245] Call Trace: [ 16.261620][ T245] [ 16.261622][ T245] dump_stack_lvl+0x6f/0xa0 [ 16.261628][ T245] ? vprintk_emit+0x31b/0x3e0 [ 16.261630][ T245] __might_resched.cold+0x1fe/0x2c1 [ 16.261635][ T245] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.261639][ T245] ? __kmalloc_noprof+0xdb/0x760 [ 16.261644][ T245] __kmalloc_noprof+0x443/0x760 [ 16.261646][ T245] ? alloc_buf.isra.0+0x4b/0x260 [ 16.261652][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 16.261655][ T245] alloc_buf.isra.0+0x4b/0x260 [ 16.261658][ T245] put_chars+0x1e1/0x2f0 [ 16.261660][ T245] ? desc_read_finalized_seq+0x79/0x120 [ 16.261662][ T245] ? __send_to_port+0x420/0x420 [ 16.261665][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.261669][ T245] ? validate_chain+0x38b/0xc20 [ 16.261673][ T245] hvc_console_print+0x292/0x780 [ 16.261676][ T245] ? __lock_acquire+0x518/0xc20 [ 16.261677][ T245] ? __lock_acquire+0x518/0xc20 [ 16.261682][ T245] ? hvc_write+0x3a0/0x3a0 [ 16.261683][ T245] ? console_emit_next_record+0x1df/0x4c0 [ 16.261687][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.261690][ T245] ? lock_acquire+0x13c/0x160 [ 16.261694][ T245] console_emit_next_record+0x22f/0x4c0 [ 16.261697][ T245] ? devkmsg_read+0x4b0/0x4b0 [ 16.261699][ T245] ? console_flush_one_record+0x106/0x710 [ 16.261702][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.261705][ T245] ? lock_acquire+0x13c/0x160 [ 16.261710][ T245] console_flush_one_record+0x46f/0x710 [ 16.261715][ T245] ? console_emit_next_record+0x4c0/0x4c0 [ 16.261717][ T245] ? __lock_acquire+0x518/0xc20 [ 16.261722][ T245] console_unlock+0xee/0x1f0 [ 16.261724][ T245] ? console_flush_one_record+0x710/0x710 [ 16.261726][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.261729][ T245] ? lock_acquire+0x60/0x160 [ 16.261732][ T245] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.261734][ T245] ? vprintk_emit+0x320/0x3e0 [ 16.261737][ T245] vprintk_emit+0x37c/0x3e0 [ 16.261742][ T245] ? wake_up_klogd_work_func+0x90/0x90 [ 16.261748][ T245] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.261751][ T245] _printk+0xc7/0x100 [ 16.261755][ T245] ? snapshot_read.cold+0x21/0x21 [ 16.261761][ T245] ? do_one_initcall+0x113/0x4f0 [ 16.261764][ T245] gact_init_module+0x15/0x1000 [act_gact] [ 16.261766][ T245] do_one_initcall+0x124/0x4f0 [ 16.261769][ T245] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.261774][ T245] ? do_init_module+0xae/0x8a0 [ 16.261777][ T245] ? kasan_unpoison+0x44/0x70 [ 16.261781][ T245] do_init_module+0x2ad/0x8a0 [ 16.261785][ T245] ? lockdep_hardirqs_on+0x91/0x130 [ 16.261789][ T245] ? free_module+0x470/0x470 [ 16.261793][ T245] ? kfree+0x123/0x590 [ 16.261797][ T245] load_module+0x1424/0x1bb0 [ 16.261804][ T245] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.261808][ T245] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.261811][ T245] ? ovl_real_file+0x172/0x1e0 [ 16.261815][ T245] ? backing_file_read_iter+0x541/0x790 [ 16.261818][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.261822][ T245] init_module_from_file+0x11f/0x1a0 [ 16.261826][ T245] ? __do_sys_init_module+0x220/0x220 [ 16.261834][ T245] ? __rwlock_init+0x150/0x150 [ 16.261837][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 16.261840][ T245] idempotent_init_module+0x37b/0x7c0 [ 16.261844][ T245] ? init_module_from_file+0x1a0/0x1a0 [ 16.261850][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.261852][ T245] ? cap_capable+0x1d7/0x3d0 [ 16.261858][ T245] __x64_sys_finit_module+0xdf/0x190 [ 16.261860][ T245] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.261864][ T245] do_syscall_64+0xff/0x530 [ 16.261866][ T245] ? exc_page_fault+0xee/0x100 [ 16.261869][ T245] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.261871][ T245] RIP: 0033:0x7fc8ab71f37d [ 16.261874][ T245] 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.261876][ T245] RSP: 002b:00007fff53d5a9f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.261879][ T245] RAX: ffffffffffffffda RBX: 000055a92722e810 RCX: 00007fc8ab71f37d [ 16.261880][ T245] RDX: 0000000000000000 RSI: 000055a9160baffd RDI: 0000000000000000 [ 16.261881][ T245] RBP: 00007fff53d5aa90 R08: 0000000000000000 R09: 0000000000000000 [ 16.261882][ T245] R10: 0000000000000000 R11: 0000000000000246 R12: 000055a9160baffd [ 16.261883][ T245] R13: 000055a92722e960 R14: 0000000000040000 R15: 0000000000000000 [ 16.261889][ T245]