[ 11.082474][ T209] ip (209) used greatest stack depth: 23952 bytes left [ 11.082489][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.082491][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 11.082493][ T209] preempt_count: 2, expected: 0 [ 11.082494][ T209] RCU nest depth: 0, expected: 0 [ 11.082495][ T209] locks held by ip/209: 5, last CPU#0: [ 11.082497][ T209] #0: ffffffff974167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.082508][ T209] #1: ffffffff9757ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.082513][ T209] #2: ffffffff9757de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.082517][ T209] #3: ffffffff9749d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.082521][ T209] #4: ffffffff9749d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.082524][ T209] irq event stamp: 58090 [ 11.082525][ T209] hardirqs last enabled at (58089): [] __down_trylock_console_sem+0x86/0xa0 [ 11.082528][ T209] hardirqs last disabled at (58090): [] console_emit_next_record+0x3d4/0x4c0 [ 11.082530][ T209] softirqs last enabled at (56486): [] netlink_release+0x17b/0xcf0 [ 11.082534][ T209] softirqs last disabled at (56484): [] netlink_release+0xd2/0xcf0 [ 11.082537][ T209] Preemption disabled at: [ 11.082537][ T209] [<0000000000000000>] 0x0 [ 11.082544][ T209] CPU: 0 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.082548][ T209] Tainted: [W]=WARN [ 11.082549][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.082550][ T209] Call Trace: [ 11.082552][ T209] [ 11.082554][ T209] dump_stack_lvl+0x6f/0xa0 [ 11.082560][ T209] __might_resched.cold+0x1fe/0x2c1 [ 11.082564][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.082569][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 11.082573][ T209] __kmalloc_noprof+0x443/0x760 [ 11.082575][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 11.082582][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 11.082584][ T209] alloc_buf.isra.0+0x4b/0x260 [ 11.082588][ T209] put_chars+0x1e1/0x2f0 [ 11.082591][ T209] ? __send_to_port+0x420/0x420 [ 11.082592][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.082595][ T209] ? validate_chain+0x38b/0xc20 [ 11.082601][ T209] hvc_console_print+0x292/0x780 [ 11.082609][ T209] ? hvc_write+0x3a0/0x3a0 [ 11.082611][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.082613][ T209] ? lock_acquire+0x13c/0x160 [ 11.082617][ T209] console_emit_next_record+0x22f/0x4c0 [ 11.082621][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 11.082623][ T209] ? console_flush_one_record+0x106/0x710 [ 11.082626][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.082628][ T209] ? lock_acquire+0x13c/0x160 [ 11.082632][ T209] console_flush_one_record+0x46f/0x710 [ 11.082636][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 11.082638][ T209] ? __lock_acquire+0x518/0xc20 [ 11.082643][ T209] console_unlock+0xee/0x1f0 [ 11.082646][ T209] ? console_flush_one_record+0x710/0x710 [ 11.082648][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.082650][ T209] ? lock_acquire+0xe0/0x160 [ 11.082653][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.082655][ T209] ? vprintk_emit+0x320/0x3e0 [ 11.082658][ T209] vprintk_emit+0x37c/0x3e0 [ 11.082661][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 11.082664][ T209] ? __lock_acquire+0x518/0xc20 [ 11.082668][ T209] _printk+0xc7/0x100 [ 11.082671][ T209] ? snapshot_read.cold+0x21/0x21 [ 11.082674][ T209] ? do_raw_spin_lock+0x131/0x280 [ 11.082676][ T209] ? __rwlock_init+0x150/0x150 [ 11.082680][ T209] ? do_raw_spin_lock+0x131/0x280 [ 11.082683][ T209] do_exit.cold+0x82/0x9c [ 11.082687][ T209] ? exit_notify+0x890/0x890 [ 11.082688][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 11.082691][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.082695][ T209] do_group_exit+0xb8/0x370 [ 11.082697][ T209] __x64_sys_exit_group+0x3c/0x50 [ 11.082699][ T209] x64_sys_call+0x1567/0x1570 [ 11.082702][ T209] do_syscall_64+0xff/0x530 [ 11.082706][ T209] ? exc_page_fault+0xee/0x100 [ 11.082709][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.082711][ T209] RIP: 0033:0x7f769d5111b8 [ 11.082713][ T209] Code: Unable to access opcode bytes at 0x7f769d51118e. [ 11.082714][ T209] RSP: 002b:00007fff80210448 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.082716][ T209] RAX: ffffffffffffffda RBX: 00007f769d641f88 RCX: 00007f769d5111b8 [ 11.082718][ T209] RDX: 00007f769d25bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.082719][ T209] RBP: 00007fff802104a0 R08: 0000000000000000 R09: 0000000000008010 [ 11.082719][ T209] R10: 00007fff80210260 R11: 0000000000000246 R12: 0000000000000001 [ 11.082720][ T209] R13: 0000000000000000 R14: 00007f769d640680 R15: 00007f769d641fa0 [ 11.082727][ T209] [ 16.742453][ T383] GACT probability NOT on [ 16.742468][ T383] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.742470][ T383] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 383, name: modprobe [ 16.742472][ T383] preempt_count: 1, expected: 0 [ 16.742473][ T383] RCU nest depth: 0, expected: 0 [ 16.742474][ T383] locks held by modprobe/383: 4, last CPU#2: [ 16.742476][ T383] #0: ffffffff9757ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.742487][ T383] #1: ffffffff9757de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.742492][ T383] #2: ffffffff9749d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.742496][ T383] #3: ffffffff9749d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.742500][ T383] irq event stamp: 18738 [ 16.742501][ T383] hardirqs last enabled at (18737): [] __down_trylock_console_sem+0x86/0xa0 [ 16.742504][ T383] hardirqs last disabled at (18738): [] console_emit_next_record+0x3d4/0x4c0 [ 16.742506][ T383] softirqs last enabled at (17404): [] handle_softirqs+0x67c/0x900 [ 16.742509][ T383] softirqs last disabled at (17395): [] __irq_exit_rcu+0x145/0x1c0 [ 16.742512][ T383] Preemption disabled at: [ 16.742512][ T383] [] vprintk_emit+0x31b/0x3e0 [ 16.742517][ T383] CPU: 2 UID: 0 PID: 383 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.742521][ T383] Tainted: [W]=WARN [ 16.742522][ T383] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.742523][ T383] Call Trace: [ 16.742525][ T383] [ 16.742526][ T383] dump_stack_lvl+0x6f/0xa0 [ 16.742532][ T383] ? vprintk_emit+0x31b/0x3e0 [ 16.742534][ T383] __might_resched.cold+0x1fe/0x2c1 [ 16.742538][ T383] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.742542][ T383] ? __kmalloc_noprof+0xdb/0x760 [ 16.742546][ T383] __kmalloc_noprof+0x443/0x760 [ 16.742548][ T383] ? alloc_buf.isra.0+0x4b/0x260 [ 16.742555][ T383] ? do_raw_spin_unlock+0x59/0x250 [ 16.742558][ T383] alloc_buf.isra.0+0x4b/0x260 [ 16.742561][ T383] put_chars+0x1e1/0x2f0 [ 16.742563][ T383] ? desc_read_finalized_seq+0x79/0x120 [ 16.742565][ T383] ? __send_to_port+0x420/0x420 [ 16.742568][ T383] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.742571][ T383] ? validate_chain+0x38b/0xc20 [ 16.742576][ T383] hvc_console_print+0x292/0x780 [ 16.742580][ T383] ? __lock_acquire+0x518/0xc20 [ 16.742581][ T383] ? __lock_acquire+0x518/0xc20 [ 16.742586][ T383] ? hvc_write+0x3a0/0x3a0 [ 16.742588][ T383] ? console_emit_next_record+0x1df/0x4c0 [ 16.742591][ T383] ? rcu_is_watching+0x16/0xd0 [ 16.742593][ T383] ? lock_acquire+0x13c/0x160 [ 16.742597][ T383] console_emit_next_record+0x22f/0x4c0 [ 16.742601][ T383] ? devkmsg_read+0x4b0/0x4b0 [ 16.742603][ T383] ? console_flush_one_record+0x106/0x710 [ 16.742606][ T383] ? rcu_is_watching+0x16/0xd0 [ 16.742608][ T383] ? lock_acquire+0x13c/0x160 [ 16.742612][ T383] console_flush_one_record+0x46f/0x710 [ 16.742616][ T383] ? console_emit_next_record+0x4c0/0x4c0 [ 16.742618][ T383] ? __lock_acquire+0x518/0xc20 [ 16.742623][ T383] console_unlock+0xee/0x1f0 [ 16.742626][ T383] ? console_flush_one_record+0x710/0x710 [ 16.742628][ T383] ? rcu_is_watching+0x16/0xd0 [ 16.742629][ T383] ? lock_acquire+0xe0/0x160 [ 16.742633][ T383] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.742635][ T383] ? vprintk_emit+0x320/0x3e0 [ 16.742637][ T383] vprintk_emit+0x37c/0x3e0 [ 16.742641][ T383] ? wake_up_klogd_work_func+0x90/0x90 [ 16.742645][ T383] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.742648][ T383] _printk+0xc7/0x100 [ 16.742652][ T383] ? snapshot_read.cold+0x21/0x21 [ 16.742658][ T383] ? do_one_initcall+0x113/0x4f0 [ 16.742661][ T383] gact_init_module+0x15/0x1000 [act_gact] [ 16.742663][ T383] do_one_initcall+0x124/0x4f0 [ 16.742666][ T383] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.742671][ T383] ? do_init_module+0xae/0x8a0 [ 16.742673][ T383] ? kasan_unpoison+0x44/0x70 [ 16.742679][ T383] do_init_module+0x2ad/0x8a0 [ 16.742682][ T383] ? lockdep_hardirqs_on+0x91/0x130 [ 16.742686][ T383] ? free_module+0x470/0x470 [ 16.742689][ T383] ? kfree+0x123/0x590 [ 16.742692][ T383] load_module+0x1424/0x1bb0 [ 16.742697][ T383] ? security_kernel_post_read_file+0x2f/0x60 [ 16.742702][ T383] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.742705][ T383] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.742709][ T383] ? backing_file_read_iter+0x541/0x790 [ 16.742713][ T383] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.742717][ T383] init_module_from_file+0x11f/0x1a0 [ 16.742719][ T383] ? __do_sys_init_module+0x270/0x270 [ 16.742726][ T383] ? __rwlock_init+0x150/0x150 [ 16.742730][ T383] ? do_raw_spin_unlock+0x59/0x250 [ 16.742733][ T383] idempotent_init_module+0x37b/0x7c0 [ 16.742736][ T383] ? init_module_from_file+0x1a0/0x1a0 [ 16.742741][ T383] ? cap_capable+0x1d7/0x3d0 [ 16.742744][ T383] ? __x64_sys_pread64+0x18d/0x250 [ 16.742749][ T383] __x64_sys_finit_module+0xdf/0x190 [ 16.742750][ T383] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.742754][ T383] do_syscall_64+0xff/0x530 [ 16.742757][ T383] ? exc_page_fault+0xee/0x100 [ 16.742760][ T383] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.742762][ T383] RIP: 0033:0x7ff52862d37d [ 16.742765][ T383] 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.742767][ T383] RSP: 002b:00007ffec749b1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.742770][ T383] RAX: ffffffffffffffda RBX: 00005555af3d0810 RCX: 00007ff52862d37d [ 16.742771][ T383] RDX: 0000000000000000 RSI: 000055559f834ffd RDI: 0000000000000000 [ 16.742772][ T383] RBP: 00007ffec749b290 R08: 0000000000000000 R09: 0000000000000000 [ 16.742773][ T383] R10: 0000000000000000 R11: 0000000000000246 R12: 000055559f834ffd [ 16.742774][ T383] R13: 00005555af3d0960 R14: 0000000000040000 R15: 0000000000000000 [ 16.742780][ T383]