[ 18.308498][ T298] GACT probability NOT on [ 18.308516][ T298] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.308519][ T298] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 298, name: modprobe [ 18.308520][ T298] preempt_count: 1, expected: 0 [ 18.308521][ T298] RCU nest depth: 0, expected: 0 [ 18.308522][ T298] locks held by modprobe/298: 4, last CPU#3: [ 18.308524][ T298] #0: ffffffffb1f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.308537][ T298] #1: ffffffffb1f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.308541][ T298] #2: ffffffffb1e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.308545][ T298] #3: ffffffffb1e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.308549][ T298] irq event stamp: 15470 [ 18.308550][ T298] hardirqs last enabled at (15469): [] __down_trylock_console_sem+0x86/0xa0 [ 18.308552][ T298] hardirqs last disabled at (15470): [] console_emit_next_record+0x3d4/0x4c0 [ 18.308554][ T298] softirqs last enabled at (14490): [] handle_softirqs+0x67c/0x900 [ 18.308557][ T298] softirqs last disabled at (14455): [] __irq_exit_rcu+0x145/0x1c0 [ 18.308560][ T298] Preemption disabled at: [ 18.308561][ T298] [] vprintk_emit+0x31b/0x3e0 [ 18.308566][ T298] CPU: 3 UID: 0 PID: 298 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.308569][ T298] Tainted: [W]=WARN [ 18.308570][ T298] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.308572][ T298] Call Trace: [ 18.308573][ T298] [ 18.308575][ T298] dump_stack_lvl+0x6f/0xa0 [ 18.308581][ T298] ? vprintk_emit+0x31b/0x3e0 [ 18.308583][ T298] __might_resched.cold+0x1fe/0x2c1 [ 18.308587][ T298] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.308591][ T298] ? __kmalloc_noprof+0xdb/0x760 [ 18.308596][ T298] __kmalloc_noprof+0x443/0x760 [ 18.308599][ T298] ? alloc_buf.isra.0+0x4b/0x260 [ 18.308604][ T298] ? do_raw_spin_unlock+0x59/0x250 [ 18.308607][ T298] alloc_buf.isra.0+0x4b/0x260 [ 18.308610][ T298] put_chars+0x1e1/0x2f0 [ 18.308612][ T298] ? desc_read_finalized_seq+0x79/0x120 [ 18.308614][ T298] ? __send_to_port+0x420/0x420 [ 18.308616][ T298] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.308620][ T298] ? validate_chain+0x38b/0xc20 [ 18.308624][ T298] hvc_console_print+0x292/0x780 [ 18.308626][ T298] ? __lock_acquire+0x518/0xc20 [ 18.308628][ T298] ? __lock_acquire+0x518/0xc20 [ 18.308632][ T298] ? hvc_write+0x3a0/0x3a0 [ 18.308633][ T298] ? console_emit_next_record+0x1df/0x4c0 [ 18.308636][ T298] ? rcu_is_watching+0x16/0xd0 [ 18.308639][ T298] ? lock_acquire+0x13c/0x160 [ 18.308643][ T298] console_emit_next_record+0x22f/0x4c0 [ 18.308647][ T298] ? devkmsg_read+0x4b0/0x4b0 [ 18.308649][ T298] ? console_flush_one_record+0x106/0x710 [ 18.308652][ T298] ? rcu_is_watching+0x16/0xd0 [ 18.308654][ T298] ? lock_acquire+0x13c/0x160 [ 18.308658][ T298] console_flush_one_record+0x46f/0x710 [ 18.308661][ T298] ? console_emit_next_record+0x4c0/0x4c0 [ 18.308663][ T298] ? __lock_acquire+0x518/0xc20 [ 18.308668][ T298] console_unlock+0xee/0x1f0 [ 18.308671][ T298] ? console_flush_one_record+0x710/0x710 [ 18.308673][ T298] ? rcu_is_watching+0x16/0xd0 [ 18.308675][ T298] ? lock_acquire+0x60/0x160 [ 18.308678][ T298] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.308680][ T298] ? vprintk_emit+0x320/0x3e0 [ 18.308683][ T298] vprintk_emit+0x37c/0x3e0 [ 18.308687][ T298] ? wake_up_klogd_work_func+0x90/0x90 [ 18.308692][ T298] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 18.308696][ T298] _printk+0xc7/0x100 [ 18.308700][ T298] ? snapshot_read.cold+0x21/0x21 [ 18.308706][ T298] ? do_one_initcall+0x113/0x4f0 [ 18.308709][ T298] gact_init_module+0x15/0x1000 [act_gact] [ 18.308711][ T298] do_one_initcall+0x124/0x4f0 [ 18.308713][ T298] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 18.308719][ T298] ? do_init_module+0xae/0x8a0 [ 18.308723][ T298] ? kasan_unpoison+0x44/0x70 [ 18.308727][ T298] do_init_module+0x2ad/0x8a0 [ 18.308731][ T298] ? lockdep_hardirqs_on+0x91/0x130 [ 18.308735][ T298] ? free_module+0x470/0x470 [ 18.308738][ T298] ? kfree+0x123/0x590 [ 18.308742][ T298] load_module+0x1424/0x1bb0 [ 18.308749][ T298] ? layout_and_allocate.isra.0+0x680/0x680 [ 18.308753][ T298] ? __ia32_sys_fsconfig+0x180/0x180 [ 18.308755][ T298] ? ovl_real_file+0x172/0x1e0 [ 18.308760][ T298] ? backing_file_read_iter+0x541/0x790 [ 18.308763][ T298] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.308766][ T298] init_module_from_file+0x11f/0x1a0 [ 18.308769][ T298] ? __do_sys_init_module+0x220/0x220 [ 18.308777][ T298] ? __rwlock_init+0x150/0x150 [ 18.308780][ T298] ? do_raw_spin_unlock+0x59/0x250 [ 18.308783][ T298] idempotent_init_module+0x37b/0x7c0 [ 18.308787][ T298] ? init_module_from_file+0x1a0/0x1a0 [ 18.308793][ T298] ? rcu_is_watching+0x16/0xd0 [ 18.308795][ T298] ? cap_capable+0x1d7/0x3d0 [ 18.308801][ T298] __x64_sys_finit_module+0xdf/0x190 [ 18.308803][ T298] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.308806][ T298] do_syscall_64+0xff/0x530 [ 18.308808][ T298] ? exc_page_fault+0xee/0x100 [ 18.308811][ T298] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.308813][ T298] RIP: 0033:0x7f85b431737d [ 18.308817][ T298] 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 [ 18.308818][ T298] RSP: 002b:00007ffd15174d28 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 18.308821][ T298] RAX: ffffffffffffffda RBX: 0000559cfa8bc810 RCX: 00007f85b431737d [ 18.308822][ T298] RDX: 0000000000000000 RSI: 0000559cdf1f8ffd RDI: 0000000000000000 [ 18.308823][ T298] RBP: 00007ffd15174dc0 R08: 0000000000000000 R09: 0000000000000000 [ 18.308824][ T298] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559cdf1f8ffd [ 18.308825][ T298] R13: 0000559cfa8bc960 R14: 0000000000040000 R15: 0000000000000000 [ 18.308831][ T298] [ 60.426768][ T525] Mirror/redirect action on [ 60.426791][ T525] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 60.426794][ T525] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 525, name: modprobe [ 60.426796][ T525] preempt_count: 1, expected: 0 [ 60.426798][ T525] RCU nest depth: 0, expected: 0 [ 60.426799][ T525] locks held by modprobe/525: 4, last CPU#0: [ 60.426802][ T525] #0: ffffffffb1f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 60.426817][ T525] #1: ffffffffb1f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 60.426823][ T525] #2: ffffffffb1e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 60.426829][ T525] #3: ffffffffb1e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 60.426835][ T525] irq event stamp: 24498 [ 60.426837][ T525] hardirqs last enabled at (24497): [] __down_trylock_console_sem+0x86/0xa0 [ 60.426840][ T525] hardirqs last disabled at (24498): [] console_emit_next_record+0x3d4/0x4c0 [ 60.426843][ T525] softirqs last enabled at (23432): [] handle_softirqs+0x67c/0x900 [ 60.426846][ T525] softirqs last disabled at (23415): [] __irq_exit_rcu+0x145/0x1c0 [ 60.426849][ T525] Preemption disabled at: [ 60.426850][ T525] [] vprintk_emit+0x31b/0x3e0 [ 60.426857][ T525] CPU: 0 UID: 0 PID: 525 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 60.426862][ T525] Tainted: [W]=WARN [ 60.426863][ T525] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 60.426866][ T525] Call Trace: [ 60.426868][ T525] [ 60.426870][ T525] dump_stack_lvl+0x6f/0xa0 [ 60.426877][ T525] ? vprintk_emit+0x31b/0x3e0 [ 60.426881][ T525] __might_resched.cold+0x1fe/0x2c1 [ 60.426887][ T525] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 60.426892][ T525] ? __kmalloc_noprof+0xdb/0x760 [ 60.426899][ T525] __kmalloc_noprof+0x443/0x760 [ 60.426903][ T525] ? alloc_buf.isra.0+0x4b/0x260 [ 60.426911][ T525] ? do_raw_spin_unlock+0x59/0x250 [ 60.426915][ T525] alloc_buf.isra.0+0x4b/0x260 [ 60.426920][ T525] put_chars+0x1e1/0x2f0 [ 60.426924][ T525] ? __send_to_port+0x420/0x420 [ 60.426926][ T525] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 60.426932][ T525] ? rcu_read_lock_any_held+0x3c/0x90 [ 60.426936][ T525] ? validate_chain+0x38b/0xc20 [ 60.426943][ T525] hvc_console_print+0x292/0x780 [ 60.426947][ T525] ? __lock_acquire+0x518/0xc20 [ 60.426955][ T525] ? hvc_write+0x3a0/0x3a0 [ 60.426959][ T525] ? rcu_is_watching+0x16/0xd0 [ 60.426967][ T525] console_emit_next_record+0x22f/0x4c0 [ 60.426973][ T525] ? devkmsg_read+0x4b0/0x4b0 [ 60.426976][ T525] ? console_flush_one_record+0x106/0x710 [ 60.426981][ T525] ? rcu_is_watching+0x16/0xd0 [ 60.426984][ T525] ? lock_acquire+0x13c/0x160 [ 60.426991][ T525] console_flush_one_record+0x46f/0x710 [ 60.426998][ T525] ? console_emit_next_record+0x4c0/0x4c0 [ 60.427000][ T525] ? __lock_acquire+0x518/0xc20 [ 60.427009][ T525] console_unlock+0xee/0x1f0 [ 60.427013][ T525] ? console_flush_one_record+0x710/0x710 [ 60.427016][ T525] ? rcu_is_watching+0x16/0xd0 [ 60.427019][ T525] ? lock_acquire+0x60/0x160 [ 60.427025][ T525] ? __down_trylock_console_sem+0x5e/0xa0 [ 60.427027][ T525] ? vprintk_emit+0x320/0x3e0 [ 60.427033][ T525] vprintk_emit+0x37c/0x3e0 [ 60.427040][ T525] ? wake_up_klogd_work_func+0x90/0x90 [ 60.427044][ T525] ? netdev_run_todo+0x2a8/0xfd0 [ 60.427048][ T525] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 60.427052][ T525] ? rcu_is_watching+0x16/0xd0 [ 60.427059][ T525] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 60.427062][ T525] _printk+0xc7/0x100 [ 60.427067][ T525] ? snapshot_read.cold+0x21/0x21 [ 60.427070][ T525] ? __lock_release.isra.0+0x69/0x1a0 [ 60.427074][ T525] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 60.427077][ T525] ? __up_write+0x23d/0x5f0 [ 60.427080][ T525] ? __up_write+0x2e5/0x5f0 [ 60.427086][ T525] ? __up_write+0x2c7/0x5f0 [ 60.427090][ T525] mirred_init_module+0x28/0x1000 [act_mirred] [ 60.427094][ T525] do_one_initcall+0x124/0x4f0 [ 60.427099][ T525] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 60.427107][ T525] ? do_init_module+0xae/0x8a0 [ 60.427111][ T525] ? kasan_unpoison+0x44/0x70 [ 60.427118][ T525] do_init_module+0x2ad/0x8a0 [ 60.427124][ T525] ? lockdep_hardirqs_on+0x91/0x130 [ 60.427129][ T525] ? free_module+0x470/0x470 [ 60.427134][ T525] ? kfree+0x123/0x590 [ 60.427146][ T525] load_module+0x1424/0x1bb0 [ 60.427158][ T525] ? layout_and_allocate.isra.0+0x680/0x680 [ 60.427164][ T525] ? __ia32_sys_fsconfig+0x180/0x180 [ 60.427169][ T525] ? find_held_lock+0x2b/0x80 [ 60.427173][ T525] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 60.427179][ T525] init_module_from_file+0x11f/0x1a0 [ 60.427184][ T525] ? __do_sys_init_module+0x220/0x220 [ 60.427198][ T525] ? __rwlock_init+0x150/0x150 [ 60.427204][ T525] ? do_raw_spin_unlock+0x59/0x250 [ 60.427208][ T525] idempotent_init_module+0x37b/0x7c0 [ 60.427214][ T525] ? init_module_from_file+0x1a0/0x1a0 [ 60.427224][ T525] ? rcu_is_watching+0x16/0xd0 [ 60.427228][ T525] ? cap_capable+0x1d7/0x3d0 [ 60.427236][ T525] __x64_sys_finit_module+0xdf/0x190 [ 60.427239][ T525] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 60.427244][ T525] do_syscall_64+0xff/0x530 [ 60.427247][ T525] ? exc_page_fault+0xee/0x100 [ 60.427251][ T525] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 60.427254][ T525] RIP: 0033:0x7f1b7fcea37d [ 60.427259][ T525] 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 [ 60.427261][ T525] RSP: 002b:00007fff965ae4b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 60.427265][ T525] RAX: ffffffffffffffda RBX: 00005567eeadf810 RCX: 00007f1b7fcea37d [ 60.427267][ T525] RDX: 0000000000000000 RSI: 00005567b6ffdffd RDI: 0000000000000000 [ 60.427268][ T525] RBP: 00007fff965ae550 R08: 0000000000000000 R09: 0000000000000000 [ 60.427270][ T525] R10: 0000000000000000 R11: 0000000000000246 R12: 00005567b6ffdffd [ 60.427271][ T525] R13: 00005567eeadf960 R14: 0000000000040000 R15: 0000000000000000 [ 60.427283][ T525]