[ 16.911519][ T293] GACT probability NOT on [ 16.911538][ T293] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.911541][ T293] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 293, name: modprobe [ 16.911543][ T293] preempt_count: 1, expected: 0 [ 16.911544][ T293] RCU nest depth: 0, expected: 0 [ 16.911545][ T293] locks held by modprobe/293: 4, last CPU#1: [ 16.911547][ T293] #0: ffffffffb1569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.911561][ T293] #1: ffffffffb1569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.911565][ T293] #2: ffffffffb1489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.911569][ T293] #3: ffffffffb1489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.911574][ T293] irq event stamp: 23480 [ 16.911575][ T293] hardirqs last enabled at (23479): [] __down_trylock_console_sem+0x86/0xa0 [ 16.911577][ T293] hardirqs last disabled at (23480): [] console_emit_next_record+0x3d4/0x4c0 [ 16.911579][ T293] softirqs last enabled at (19928): [] handle_softirqs+0x67c/0x900 [ 16.911582][ T293] softirqs last disabled at (19923): [] __irq_exit_rcu+0x145/0x1c0 [ 16.911585][ T293] Preemption disabled at: [ 16.911585][ T293] [] vprintk_emit+0x31b/0x3e0 [ 16.911591][ T293] CPU: 1 UID: 0 PID: 293 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.911595][ T293] Tainted: [W]=WARN [ 16.911596][ T293] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.911597][ T293] Call Trace: [ 16.911599][ T293] [ 16.911600][ T293] dump_stack_lvl+0x6f/0xa0 [ 16.911606][ T293] ? vprintk_emit+0x31b/0x3e0 [ 16.911608][ T293] __might_resched.cold+0x1fe/0x2c1 [ 16.911613][ T293] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.911617][ T293] ? __kmalloc_noprof+0xdb/0x760 [ 16.911622][ T293] __kmalloc_noprof+0x443/0x760 [ 16.911625][ T293] ? alloc_buf.isra.0+0x4b/0x260 [ 16.911631][ T293] ? do_raw_spin_unlock+0x59/0x250 [ 16.911634][ T293] alloc_buf.isra.0+0x4b/0x260 [ 16.911637][ T293] put_chars+0x1e1/0x2f0 [ 16.911639][ T293] ? desc_read_finalized_seq+0x79/0x120 [ 16.911641][ T293] ? __send_to_port+0x420/0x420 [ 16.911644][ T293] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.911648][ T293] ? validate_chain+0x38b/0xc20 [ 16.911652][ T293] hvc_console_print+0x292/0x780 [ 16.911655][ T293] ? __lock_acquire+0x518/0xc20 [ 16.911656][ T293] ? __lock_acquire+0x518/0xc20 [ 16.911661][ T293] ? hvc_write+0x3a0/0x3a0 [ 16.911663][ T293] ? console_emit_next_record+0x1df/0x4c0 [ 16.911666][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.911669][ T293] ? lock_acquire+0x13c/0x160 [ 16.911674][ T293] console_emit_next_record+0x22f/0x4c0 [ 16.911678][ T293] ? devkmsg_read+0x4b0/0x4b0 [ 16.911679][ T293] ? console_flush_one_record+0x106/0x710 [ 16.911683][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.911685][ T293] ? lock_acquire+0x13c/0x160 [ 16.911690][ T293] console_flush_one_record+0x46f/0x710 [ 16.911694][ T293] ? console_emit_next_record+0x4c0/0x4c0 [ 16.911696][ T293] ? __lock_acquire+0x518/0xc20 [ 16.911702][ T293] console_unlock+0xee/0x1f0 [ 16.911705][ T293] ? console_flush_one_record+0x710/0x710 [ 16.911707][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.911709][ T293] ? lock_acquire+0x60/0x160 [ 16.911713][ T293] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.911715][ T293] ? vprintk_emit+0x320/0x3e0 [ 16.911718][ T293] vprintk_emit+0x37c/0x3e0 [ 16.911723][ T293] ? wake_up_klogd_work_func+0x90/0x90 [ 16.911728][ T293] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.911732][ T293] _printk+0xc7/0x100 [ 16.911736][ T293] ? snapshot_read.cold+0x21/0x21 [ 16.911742][ T293] ? do_one_initcall+0x113/0x4f0 [ 16.911746][ T293] gact_init_module+0x15/0x1000 [act_gact] [ 16.911748][ T293] do_one_initcall+0x124/0x4f0 [ 16.911751][ T293] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.911756][ T293] ? do_init_module+0xae/0x8a0 [ 16.911759][ T293] ? kasan_unpoison+0x44/0x70 [ 16.911764][ T293] do_init_module+0x2ad/0x8a0 [ 16.911768][ T293] ? lockdep_hardirqs_on+0x91/0x130 [ 16.911772][ T293] ? free_module+0x470/0x470 [ 16.911776][ T293] ? kfree+0x123/0x590 [ 16.911780][ T293] load_module+0x1424/0x1bb0 [ 16.911788][ T293] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.911792][ T293] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.911795][ T293] ? ovl_real_file+0x172/0x1e0 [ 16.911799][ T293] ? backing_file_read_iter+0x541/0x790 [ 16.911802][ T293] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.911806][ T293] init_module_from_file+0x11f/0x1a0 [ 16.911809][ T293] ? __do_sys_init_module+0x220/0x220 [ 16.911818][ T293] ? __rwlock_init+0x150/0x150 [ 16.911822][ T293] ? do_raw_spin_unlock+0x59/0x250 [ 16.911825][ T293] idempotent_init_module+0x37b/0x7c0 [ 16.911828][ T293] ? init_module_from_file+0x1a0/0x1a0 [ 16.911835][ T293] ? rcu_is_watching+0x16/0xd0 [ 16.911837][ T293] ? cap_capable+0x1d7/0x3d0 [ 16.911843][ T293] __x64_sys_finit_module+0xdf/0x190 [ 16.911846][ T293] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.911849][ T293] do_syscall_64+0xff/0x530 [ 16.911851][ T293] ? exc_page_fault+0xee/0x100 [ 16.911854][ T293] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.911857][ T293] RIP: 0033:0x7f7a7fa6037d [ 16.911861][ T293] 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.911863][ T293] RSP: 002b:00007ffdca91ec98 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.911865][ T293] RAX: ffffffffffffffda RBX: 000055e469f11810 RCX: 00007f7a7fa6037d [ 16.911867][ T293] RDX: 0000000000000000 RSI: 000055e42e562ffd RDI: 0000000000000000 [ 16.911868][ T293] RBP: 00007ffdca91ed30 R08: 0000000000000000 R09: 0000000000000000 [ 16.911869][ T293] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e42e562ffd [ 16.911870][ T293] R13: 000055e469f11960 R14: 0000000000040000 R15: 0000000000000000 [ 16.911877][ T293] [ 19.676186][ T521] Mirror/redirect action on [ 19.676205][ T521] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.676208][ T521] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 521, name: modprobe [ 19.676210][ T521] preempt_count: 1, expected: 0 [ 19.676211][ T521] RCU nest depth: 0, expected: 0 [ 19.676212][ T521] locks held by modprobe/521: 4, last CPU#0: [ 19.676214][ T521] #0: ffffffffb1569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.676227][ T521] #1: ffffffffb1569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.676231][ T521] #2: ffffffffb1489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.676235][ T521] #3: ffffffffb1489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.676240][ T521] irq event stamp: 25378 [ 19.676240][ T521] hardirqs last enabled at (25377): [] __down_trylock_console_sem+0x86/0xa0 [ 19.676243][ T521] hardirqs last disabled at (25378): [] console_emit_next_record+0x3d4/0x4c0 [ 19.676245][ T521] softirqs last enabled at (24030): [] handle_softirqs+0x67c/0x900 [ 19.676248][ T521] softirqs last disabled at (23019): [] __irq_exit_rcu+0x145/0x1c0 [ 19.676250][ T521] Preemption disabled at: [ 19.676251][ T521] [] vprintk_emit+0x31b/0x3e0 [ 19.676257][ T521] CPU: 0 UID: 0 PID: 521 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.676260][ T521] Tainted: [W]=WARN [ 19.676261][ T521] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.676263][ T521] Call Trace: [ 19.676265][ T521] [ 19.676266][ T521] dump_stack_lvl+0x6f/0xa0 [ 19.676272][ T521] ? vprintk_emit+0x31b/0x3e0 [ 19.676274][ T521] __might_resched.cold+0x1fe/0x2c1 [ 19.676279][ T521] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.676283][ T521] ? __kmalloc_noprof+0xdb/0x760 [ 19.676289][ T521] __kmalloc_noprof+0x443/0x760 [ 19.676291][ T521] ? alloc_buf.isra.0+0x4b/0x260 [ 19.676297][ T521] ? do_raw_spin_unlock+0x59/0x250 [ 19.676300][ T521] alloc_buf.isra.0+0x4b/0x260 [ 19.676303][ T521] put_chars+0x1e1/0x2f0 [ 19.676306][ T521] ? __send_to_port+0x420/0x420 [ 19.676307][ T521] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.676312][ T521] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.676315][ T521] ? validate_chain+0x38b/0xc20 [ 19.676319][ T521] hvc_console_print+0x292/0x780 [ 19.676322][ T521] ? __lock_acquire+0x518/0xc20 [ 19.676327][ T521] ? hvc_write+0x3a0/0x3a0 [ 19.676329][ T521] ? rcu_is_watching+0x16/0xd0 [ 19.676335][ T521] console_emit_next_record+0x22f/0x4c0 [ 19.676339][ T521] ? devkmsg_read+0x4b0/0x4b0 [ 19.676340][ T521] ? console_flush_one_record+0x106/0x710 [ 19.676344][ T521] ? rcu_is_watching+0x16/0xd0 [ 19.676346][ T521] ? lock_acquire+0x13c/0x160 [ 19.676350][ T521] console_flush_one_record+0x46f/0x710 [ 19.676354][ T521] ? console_emit_next_record+0x4c0/0x4c0 [ 19.676356][ T521] ? __lock_acquire+0x518/0xc20 [ 19.676361][ T521] console_unlock+0xee/0x1f0 [ 19.676364][ T521] ? console_flush_one_record+0x710/0x710 [ 19.676366][ T521] ? rcu_is_watching+0x16/0xd0 [ 19.676368][ T521] ? lock_acquire+0x60/0x160 [ 19.676372][ T521] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.676374][ T521] ? vprintk_emit+0x320/0x3e0 [ 19.676377][ T521] vprintk_emit+0x37c/0x3e0 [ 19.676381][ T521] ? wake_up_klogd_work_func+0x90/0x90 [ 19.676384][ T521] ? netdev_run_todo+0x2a8/0xfd0 [ 19.676388][ T521] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 19.676391][ T521] ? rcu_is_watching+0x16/0xd0 [ 19.676395][ T521] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 19.676397][ T521] _printk+0xc7/0x100 [ 19.676401][ T521] ? snapshot_read.cold+0x21/0x21 [ 19.676403][ T521] ? __lock_release.isra.0+0x69/0x1a0 [ 19.676406][ T521] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 19.676408][ T521] ? __up_write+0x23d/0x5f0 [ 19.676410][ T521] ? __up_write+0x2e5/0x5f0 [ 19.676413][ T521] ? __up_write+0x2c7/0x5f0 [ 19.676416][ T521] mirred_init_module+0x28/0x1000 [act_mirred] [ 19.676419][ T521] do_one_initcall+0x124/0x4f0 [ 19.676422][ T521] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.676427][ T521] ? do_init_module+0xae/0x8a0 [ 19.676430][ T521] ? kasan_unpoison+0x44/0x70 [ 19.676436][ T521] do_init_module+0x2ad/0x8a0 [ 19.676440][ T521] ? lockdep_hardirqs_on+0x91/0x130 [ 19.676444][ T521] ? free_module+0x470/0x470 [ 19.676447][ T521] ? kfree+0x123/0x590 [ 19.676451][ T521] load_module+0x1424/0x1bb0 [ 19.676459][ T521] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.676462][ T521] ? __ia32_sys_fsconfig+0x180/0x180 [ 19.676465][ T521] ? ovl_real_file+0x172/0x1e0 [ 19.676476][ T521] ? backing_file_read_iter+0x541/0x790 [ 19.676479][ T521] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.676483][ T521] init_module_from_file+0x11f/0x1a0 [ 19.676486][ T521] ? __do_sys_init_module+0x220/0x220 [ 19.676494][ T521] ? __rwlock_init+0x150/0x150 [ 19.676497][ T521] ? do_raw_spin_unlock+0x59/0x250 [ 19.676500][ T521] idempotent_init_module+0x37b/0x7c0 [ 19.676504][ T521] ? init_module_from_file+0x1a0/0x1a0 [ 19.676510][ T521] ? rcu_is_watching+0x16/0xd0 [ 19.676512][ T521] ? cap_capable+0x1d7/0x3d0 [ 19.676518][ T521] __x64_sys_finit_module+0xdf/0x190 [ 19.676520][ T521] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.676524][ T521] do_syscall_64+0xff/0x530 [ 19.676526][ T521] ? exc_page_fault+0xee/0x100 [ 19.676528][ T521] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.676531][ T521] RIP: 0033:0x7f2ac7f7537d [ 19.676534][ T521] 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 [ 19.676536][ T521] RSP: 002b:00007fffa4330828 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.676539][ T521] RAX: ffffffffffffffda RBX: 0000559ba4e38810 RCX: 00007f2ac7f7537d [ 19.676540][ T521] RDX: 0000000000000000 RSI: 0000559b90b11ffd RDI: 0000000000000000 [ 19.676541][ T521] RBP: 00007fffa43308c0 R08: 0000000000000000 R09: 0000000000000000 [ 19.676542][ T521] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559b90b11ffd [ 19.676543][ T521] R13: 0000559ba4e38960 R14: 0000000000040000 R15: 0000000000000000 [ 19.676549][ T521]