[ 16.438267][ T246] GACT probability NOT on [ 16.438289][ T246] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.438292][ T246] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 246, name: modprobe [ 16.438295][ T246] preempt_count: 1, expected: 0 [ 16.438297][ T246] RCU nest depth: 0, expected: 0 [ 16.438298][ T246] locks held by modprobe/246: 4, last CPU#2: [ 16.438301][ T246] #0: ffffffffa4769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.438318][ T246] #1: ffffffffa4769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.438324][ T246] #2: ffffffffa4689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.438331][ T246] #3: ffffffffa4689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.438338][ T246] irq event stamp: 18860 [ 16.438339][ T246] hardirqs last enabled at (18859): [] __down_trylock_console_sem+0x86/0xa0 [ 16.438343][ T246] hardirqs last disabled at (18860): [] console_emit_next_record+0x3d4/0x4c0 [ 16.438346][ T246] softirqs last enabled at (17230): [] handle_softirqs+0x67c/0x900 [ 16.438350][ T246] softirqs last disabled at (16505): [] __irq_exit_rcu+0x145/0x1c0 [ 16.438354][ T246] Preemption disabled at: [ 16.438354][ T246] [] vprintk_emit+0x31b/0x3e0 [ 16.438362][ T246] CPU: 2 UID: 0 PID: 246 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.438367][ T246] Tainted: [W]=WARN [ 16.438368][ T246] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.438371][ T246] Call Trace: [ 16.438373][ T246] [ 16.438375][ T246] dump_stack_lvl+0x6f/0xa0 [ 16.438382][ T246] ? vprintk_emit+0x31b/0x3e0 [ 16.438386][ T246] __might_resched.cold+0x1fe/0x2c1 [ 16.438392][ T246] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.438398][ T246] ? __kmalloc_noprof+0xdb/0x760 [ 16.438405][ T246] __kmalloc_noprof+0x443/0x760 [ 16.438409][ T246] ? alloc_buf.isra.0+0x4b/0x260 [ 16.438418][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 16.438422][ T246] alloc_buf.isra.0+0x4b/0x260 [ 16.438427][ T246] put_chars+0x1e1/0x2f0 [ 16.438430][ T246] ? desc_read_finalized_seq+0x79/0x120 [ 16.438434][ T246] ? __send_to_port+0x420/0x420 [ 16.438439][ T246] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.438444][ T246] ? validate_chain+0x38b/0xc20 [ 16.438451][ T246] hvc_console_print+0x292/0x780 [ 16.438455][ T246] ? __lock_acquire+0x518/0xc20 [ 16.438458][ T246] ? __lock_acquire+0x518/0xc20 [ 16.438466][ T246] ? hvc_write+0x3a0/0x3a0 [ 16.438468][ T246] ? console_emit_next_record+0x1df/0x4c0 [ 16.438473][ T246] ? rcu_is_watching+0x16/0xd0 [ 16.438478][ T246] ? lock_acquire+0x13c/0x160 [ 16.438485][ T246] console_emit_next_record+0x22f/0x4c0 [ 16.438491][ T246] ? devkmsg_read+0x4b0/0x4b0 [ 16.438494][ T246] ? console_flush_one_record+0x106/0x710 [ 16.438499][ T246] ? rcu_is_watching+0x16/0xd0 [ 16.438503][ T246] ? lock_acquire+0x13c/0x160 [ 16.438510][ T246] console_flush_one_record+0x46f/0x710 [ 16.438517][ T246] ? console_emit_next_record+0x4c0/0x4c0 [ 16.438520][ T246] ? __lock_acquire+0x518/0xc20 [ 16.438529][ T246] console_unlock+0xee/0x1f0 [ 16.438534][ T246] ? console_flush_one_record+0x710/0x710 [ 16.438537][ T246] ? rcu_is_watching+0x16/0xd0 [ 16.438540][ T246] ? lock_acquire+0x60/0x160 [ 16.438547][ T246] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.438549][ T246] ? vprintk_emit+0x320/0x3e0 [ 16.438555][ T246] vprintk_emit+0x37c/0x3e0 [ 16.438562][ T246] ? wake_up_klogd_work_func+0x90/0x90 [ 16.438572][ T246] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.438577][ T246] _printk+0xc7/0x100 [ 16.438582][ T246] ? snapshot_read.cold+0x21/0x21 [ 16.438593][ T246] ? do_one_initcall+0x113/0x4f0 [ 16.438598][ T246] gact_init_module+0x15/0x1000 [act_gact] [ 16.438602][ T246] do_one_initcall+0x124/0x4f0 [ 16.438606][ T246] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.438615][ T246] ? do_init_module+0xae/0x8a0 [ 16.438619][ T246] ? kasan_unpoison+0x44/0x70 [ 16.438627][ T246] do_init_module+0x2ad/0x8a0 [ 16.438633][ T246] ? lockdep_hardirqs_on+0x91/0x130 [ 16.438639][ T246] ? free_module+0x470/0x470 [ 16.438644][ T246] ? kfree+0x123/0x590 [ 16.438651][ T246] load_module+0x1424/0x1bb0 [ 16.438664][ T246] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.438671][ T246] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.438674][ T246] ? ovl_real_file+0x172/0x1e0 [ 16.438680][ T246] ? backing_file_read_iter+0x541/0x790 [ 16.438684][ T246] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.438691][ T246] init_module_from_file+0x11f/0x1a0 [ 16.438696][ T246] ? __do_sys_init_module+0x220/0x220 [ 16.438712][ T246] ? __rwlock_init+0x150/0x150 [ 16.438718][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 16.438723][ T246] idempotent_init_module+0x37b/0x7c0 [ 16.438732][ T246] ? init_module_from_file+0x1a0/0x1a0 [ 16.438743][ T246] ? rcu_is_watching+0x16/0xd0 [ 16.438747][ T246] ? cap_capable+0x1d7/0x3d0 [ 16.438756][ T246] __x64_sys_finit_module+0xdf/0x190 [ 16.438759][ T246] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.438765][ T246] do_syscall_64+0xff/0x530 [ 16.438767][ T246] ? exc_page_fault+0xee/0x100 [ 16.438772][ T246] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.438775][ T246] RIP: 0033:0x7fb2e71d637d [ 16.438780][ T246] 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.438783][ T246] RSP: 002b:00007ffd8071d798 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.438787][ T246] RAX: ffffffffffffffda RBX: 0000557e0758e810 RCX: 00007fb2e71d637d [ 16.438789][ T246] RDX: 0000000000000000 RSI: 0000557ded7caffd RDI: 0000000000000000 [ 16.438790][ T246] RBP: 00007ffd8071d830 R08: 0000000000000000 R09: 0000000000000000 [ 16.438792][ T246] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557ded7caffd [ 16.438793][ T246] R13: 0000557e0758e960 R14: 0000000000040000 R15: 0000000000000000 [ 16.438807][ T246] [ 19.451424][ T498] ip (498) used greatest stack depth: 24208 bytes left [ 19.451443][ T498] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.451445][ T498] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 498, name: ip [ 19.451447][ T498] preempt_count: 2, expected: 0 [ 19.451448][ T498] RCU nest depth: 0, expected: 0 [ 19.451449][ T498] locks held by ip/498: 5, last CPU#2: [ 19.451451][ T498] #0: ffffffffa46027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 19.451464][ T498] #1: ffffffffa4769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.451470][ T498] #2: ffffffffa4769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.451474][ T498] #3: ffffffffa4689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.451477][ T498] #4: ffffffffa4689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.451481][ T498] irq event stamp: 25238 [ 19.451482][ T498] hardirqs last enabled at (25237): [] __down_trylock_console_sem+0x86/0xa0 [ 19.451485][ T498] hardirqs last disabled at (25238): [] console_emit_next_record+0x3d4/0x4c0 [ 19.451487][ T498] softirqs last enabled at (23954): [] netlink_release+0x17b/0xcf0 [ 19.451491][ T498] softirqs last disabled at (23952): [] netlink_release+0xd2/0xcf0 [ 19.451493][ T498] Preemption disabled at: [ 19.451494][ T498] [<0000000000000000>] 0x0 [ 19.451500][ T498] CPU: 2 UID: 0 PID: 498 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.451504][ T498] Tainted: [W]=WARN [ 19.451505][ T498] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.451507][ T498] Call Trace: [ 19.451509][ T498] [ 19.451510][ T498] dump_stack_lvl+0x6f/0xa0 [ 19.451517][ T498] __might_resched.cold+0x1fe/0x2c1 [ 19.451521][ T498] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.451526][ T498] ? __kmalloc_noprof+0xdb/0x760 [ 19.451531][ T498] __kmalloc_noprof+0x443/0x760 [ 19.451533][ T498] ? alloc_buf.isra.0+0x4b/0x260 [ 19.451539][ T498] ? do_raw_spin_unlock+0x59/0x250 [ 19.451541][ T498] alloc_buf.isra.0+0x4b/0x260 [ 19.451544][ T498] put_chars+0x1e1/0x2f0 [ 19.451547][ T498] ? __send_to_port+0x420/0x420 [ 19.451549][ T498] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.451554][ T498] ? validate_chain+0x38b/0xc20 [ 19.451559][ T498] hvc_console_print+0x292/0x780 [ 19.451565][ T498] ? hvc_write+0x3a0/0x3a0 [ 19.451567][ T498] ? rcu_is_watching+0x16/0xd0 [ 19.451569][ T498] ? lock_acquire+0x13c/0x160 [ 19.451573][ T498] console_emit_next_record+0x22f/0x4c0 [ 19.451577][ T498] ? devkmsg_read+0x4b0/0x4b0 [ 19.451579][ T498] ? console_flush_one_record+0x106/0x710 [ 19.451582][ T498] ? rcu_is_watching+0x16/0xd0 [ 19.451584][ T498] ? lock_acquire+0x13c/0x160 [ 19.451588][ T498] console_flush_one_record+0x46f/0x710 [ 19.451592][ T498] ? console_emit_next_record+0x4c0/0x4c0 [ 19.451594][ T498] ? __lock_acquire+0x518/0xc20 [ 19.451599][ T498] console_unlock+0xee/0x1f0 [ 19.451602][ T498] ? console_flush_one_record+0x710/0x710 [ 19.451604][ T498] ? rcu_is_watching+0x16/0xd0 [ 19.451606][ T498] ? lock_acquire+0x60/0x160 [ 19.451609][ T498] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.451611][ T498] ? vprintk_emit+0x320/0x3e0 [ 19.451614][ T498] vprintk_emit+0x37c/0x3e0 [ 19.451618][ T498] ? wake_up_klogd_work_func+0x90/0x90 [ 19.451622][ T498] ? __lock_acquire+0x518/0xc20 [ 19.451625][ T498] _printk+0xc7/0x100 [ 19.451629][ T498] ? snapshot_read.cold+0x21/0x21 [ 19.451632][ T498] ? do_raw_spin_lock+0x131/0x280 [ 19.451634][ T498] ? __rwlock_init+0x150/0x150 [ 19.451638][ T498] ? do_raw_spin_lock+0x131/0x280 [ 19.451641][ T498] do_exit.cold+0x82/0x9c [ 19.451645][ T498] ? exit_notify+0x890/0x890 [ 19.451647][ T498] ? __lock_release.isra.0+0x69/0x1a0 [ 19.451649][ T498] ? rcu_is_watching+0x16/0xd0 [ 19.451653][ T498] do_group_exit+0xb8/0x370 [ 19.451656][ T498] __x64_sys_exit_group+0x3c/0x50 [ 19.451658][ T498] x64_sys_call+0x1567/0x1570 [ 19.451660][ T498] do_syscall_64+0xff/0x530 [ 19.451663][ T498] ? exc_page_fault+0xee/0x100 [ 19.451666][ T498] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.451669][ T498] RIP: 0033:0x7f437f89e1b8 [ 19.451671][ T498] Code: Unable to access opcode bytes at 0x7f437f89e18e. [ 19.451672][ T498] RSP: 002b:00007fffa09acad8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 19.451674][ T498] RAX: ffffffffffffffda RBX: 00007f437f9cef88 RCX: 00007f437f89e1b8 [ 19.451676][ T498] RDX: 00007f437f5e8fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 19.451677][ T498] RBP: 00007fffa09acb30 R08: 0000000000000000 R09: 0000000000000050 [ 19.451678][ T498] R10: 00007fffa09ac8f0 R11: 0000000000000246 R12: 0000000000000001 [ 19.451678][ T498] R13: 0000000000000000 R14: 00007f437f9cd680 R15: 00007f437f9cefa0 [ 19.451685][ T498]