[ 17.130098][ T297] GACT probability NOT on [ 17.130116][ T297] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.130119][ T297] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 297, name: modprobe [ 17.130120][ T297] preempt_count: 1, expected: 0 [ 17.130121][ T297] RCU nest depth: 0, expected: 0 [ 17.130122][ T297] locks held by modprobe/297: 4, last CPU#0: [ 17.130125][ T297] #0: ffffffffb4169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.130137][ T297] #1: ffffffffb4169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.130141][ T297] #2: ffffffffb4089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.130146][ T297] #3: ffffffffb4089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.130152][ T297] irq event stamp: 30040 [ 17.130153][ T297] hardirqs last enabled at (30039): [] __down_trylock_console_sem+0x86/0xa0 [ 17.130156][ T297] hardirqs last disabled at (30040): [] console_emit_next_record+0x3d4/0x4c0 [ 17.130159][ T297] softirqs last enabled at (29618): [] handle_softirqs+0x67c/0x900 [ 17.130162][ T297] softirqs last disabled at (29365): [] __irq_exit_rcu+0x145/0x1c0 [ 17.130164][ T297] Preemption disabled at: [ 17.130165][ T297] [] vprintk_emit+0x31b/0x3e0 [ 17.130171][ T297] CPU: 0 UID: 0 PID: 297 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.130175][ T297] Tainted: [W]=WARN [ 17.130175][ T297] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.130177][ T297] Call Trace: [ 17.130179][ T297] [ 17.130180][ T297] dump_stack_lvl+0x6f/0xa0 [ 17.130185][ T297] ? vprintk_emit+0x31b/0x3e0 [ 17.130188][ T297] __might_resched.cold+0x1fe/0x2c1 [ 17.130192][ T297] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.130196][ T297] ? __kmalloc_noprof+0xdb/0x760 [ 17.130201][ T297] __kmalloc_noprof+0x443/0x760 [ 17.130203][ T297] ? alloc_buf.isra.0+0x4b/0x260 [ 17.130209][ T297] ? do_raw_spin_unlock+0x59/0x250 [ 17.130212][ T297] alloc_buf.isra.0+0x4b/0x260 [ 17.130215][ T297] put_chars+0x1e1/0x2f0 [ 17.130217][ T297] ? desc_read_finalized_seq+0x79/0x120 [ 17.130219][ T297] ? __send_to_port+0x420/0x420 [ 17.130222][ T297] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.130225][ T297] ? validate_chain+0x38b/0xc20 [ 17.130229][ T297] hvc_console_print+0x292/0x780 [ 17.130232][ T297] ? __lock_acquire+0x518/0xc20 [ 17.130234][ T297] ? __lock_acquire+0x518/0xc20 [ 17.130239][ T297] ? hvc_write+0x3a0/0x3a0 [ 17.130241][ T297] ? console_emit_next_record+0x1df/0x4c0 [ 17.130246][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.130250][ T297] ? lock_acquire+0x13c/0x160 [ 17.130254][ T297] console_emit_next_record+0x22f/0x4c0 [ 17.130258][ T297] ? devkmsg_read+0x4b0/0x4b0 [ 17.130259][ T297] ? console_flush_one_record+0x106/0x710 [ 17.130263][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.130265][ T297] ? lock_acquire+0x13c/0x160 [ 17.130269][ T297] console_flush_one_record+0x46f/0x710 [ 17.130273][ T297] ? console_emit_next_record+0x4c0/0x4c0 [ 17.130275][ T297] ? __lock_acquire+0x518/0xc20 [ 17.130280][ T297] console_unlock+0xee/0x1f0 [ 17.130283][ T297] ? console_flush_one_record+0x710/0x710 [ 17.130285][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.130287][ T297] ? lock_acquire+0x60/0x160 [ 17.130291][ T297] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.130292][ T297] ? vprintk_emit+0x320/0x3e0 [ 17.130296][ T297] vprintk_emit+0x37c/0x3e0 [ 17.130300][ T297] ? wake_up_klogd_work_func+0x90/0x90 [ 17.130306][ T297] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 17.130309][ T297] _printk+0xc7/0x100 [ 17.130313][ T297] ? snapshot_read.cold+0x21/0x21 [ 17.130319][ T297] ? do_one_initcall+0x113/0x4f0 [ 17.130323][ T297] gact_init_module+0x15/0x1000 [act_gact] [ 17.130326][ T297] do_one_initcall+0x124/0x4f0 [ 17.130330][ T297] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.130336][ T297] ? do_init_module+0xae/0x8a0 [ 17.130339][ T297] ? kasan_unpoison+0x44/0x70 [ 17.130344][ T297] do_init_module+0x2ad/0x8a0 [ 17.130348][ T297] ? lockdep_hardirqs_on+0x91/0x130 [ 17.130352][ T297] ? free_module+0x470/0x470 [ 17.130355][ T297] ? kfree+0x123/0x590 [ 17.130359][ T297] load_module+0x1424/0x1bb0 [ 17.130367][ T297] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.130371][ T297] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.130373][ T297] ? ovl_real_file+0x172/0x1e0 [ 17.130377][ T297] ? backing_file_read_iter+0x541/0x790 [ 17.130380][ T297] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.130384][ T297] init_module_from_file+0x11f/0x1a0 [ 17.130388][ T297] ? __do_sys_init_module+0x220/0x220 [ 17.130396][ T297] ? __rwlock_init+0x150/0x150 [ 17.130399][ T297] ? do_raw_spin_unlock+0x59/0x250 [ 17.130402][ T297] idempotent_init_module+0x37b/0x7c0 [ 17.130406][ T297] ? init_module_from_file+0x1a0/0x1a0 [ 17.130414][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.130418][ T297] ? cap_capable+0x1d7/0x3d0 [ 17.130424][ T297] __x64_sys_finit_module+0xdf/0x190 [ 17.130427][ T297] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.130430][ T297] do_syscall_64+0xff/0x530 [ 17.130432][ T297] ? exc_page_fault+0xee/0x100 [ 17.130435][ T297] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.130437][ T297] RIP: 0033:0x7f586780537d [ 17.130441][ T297] 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 [ 17.130443][ T297] RSP: 002b:00007ffd72e7eee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.130445][ T297] RAX: ffffffffffffffda RBX: 00005603eb017810 RCX: 00007f586780537d [ 17.130447][ T297] RDX: 0000000000000000 RSI: 00005603ced0dffd RDI: 0000000000000000 [ 17.130448][ T297] RBP: 00007ffd72e7ef80 R08: 0000000000000000 R09: 0000000000000000 [ 17.130449][ T297] R10: 0000000000000000 R11: 0000000000000246 R12: 00005603ced0dffd [ 17.130449][ T297] R13: 00005603eb017960 R14: 0000000000040000 R15: 0000000000000000 [ 17.130456][ T297] [ 59.266522][ T523] Mirror/redirect action on [ 59.266539][ T523] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 59.266542][ T523] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 523, name: modprobe [ 59.266544][ T523] preempt_count: 1, expected: 0 [ 59.266545][ T523] RCU nest depth: 0, expected: 0 [ 59.266546][ T523] locks held by modprobe/523: 4, last CPU#2: [ 59.266548][ T523] #0: ffffffffb4169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 59.266560][ T523] #1: ffffffffb4169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 59.266564][ T523] #2: ffffffffb4089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 59.266568][ T523] #3: ffffffffb4089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 59.266572][ T523] irq event stamp: 20000 [ 59.266573][ T523] hardirqs last enabled at (19999): [] __down_trylock_console_sem+0x86/0xa0 [ 59.266576][ T523] hardirqs last disabled at (20000): [] console_emit_next_record+0x3d4/0x4c0 [ 59.266578][ T523] softirqs last enabled at (18450): [] handle_softirqs+0x67c/0x900 [ 59.266581][ T523] softirqs last disabled at (18443): [] __irq_exit_rcu+0x145/0x1c0 [ 59.266583][ T523] Preemption disabled at: [ 59.266584][ T523] [] vprintk_emit+0x31b/0x3e0 [ 59.266590][ T523] CPU: 2 UID: 0 PID: 523 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 59.266593][ T523] Tainted: [W]=WARN [ 59.266594][ T523] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.266595][ T523] Call Trace: [ 59.266597][ T523] [ 59.266598][ T523] dump_stack_lvl+0x6f/0xa0 [ 59.266603][ T523] ? vprintk_emit+0x31b/0x3e0 [ 59.266606][ T523] __might_resched.cold+0x1fe/0x2c1 [ 59.266610][ T523] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 59.266614][ T523] ? __kmalloc_noprof+0xdb/0x760 [ 59.266619][ T523] __kmalloc_noprof+0x443/0x760 [ 59.266622][ T523] ? alloc_buf.isra.0+0x4b/0x260 [ 59.266627][ T523] ? do_raw_spin_unlock+0x59/0x250 [ 59.266630][ T523] alloc_buf.isra.0+0x4b/0x260 [ 59.266633][ T523] put_chars+0x1e1/0x2f0 [ 59.266636][ T523] ? __send_to_port+0x420/0x420 [ 59.266637][ T523] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 59.266642][ T523] ? rcu_read_lock_any_held+0x3c/0x90 [ 59.266644][ T523] ? validate_chain+0x38b/0xc20 [ 59.266649][ T523] hvc_console_print+0x292/0x780 [ 59.266651][ T523] ? __lock_acquire+0x518/0xc20 [ 59.266656][ T523] ? hvc_write+0x3a0/0x3a0 [ 59.266659][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.266663][ T523] console_emit_next_record+0x22f/0x4c0 [ 59.266667][ T523] ? devkmsg_read+0x4b0/0x4b0 [ 59.266669][ T523] ? console_flush_one_record+0x106/0x710 [ 59.266672][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.266674][ T523] ? lock_acquire+0x13c/0x160 [ 59.266678][ T523] console_flush_one_record+0x46f/0x710 [ 59.266682][ T523] ? console_emit_next_record+0x4c0/0x4c0 [ 59.266684][ T523] ? __lock_acquire+0x518/0xc20 [ 59.266689][ T523] console_unlock+0xee/0x1f0 [ 59.266691][ T523] ? console_flush_one_record+0x710/0x710 [ 59.266693][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.266695][ T523] ? lock_acquire+0x60/0x160 [ 59.266699][ T523] ? __down_trylock_console_sem+0x5e/0xa0 [ 59.266701][ T523] ? vprintk_emit+0x320/0x3e0 [ 59.266704][ T523] vprintk_emit+0x37c/0x3e0 [ 59.266708][ T523] ? wake_up_klogd_work_func+0x90/0x90 [ 59.266710][ T523] ? netdev_run_todo+0x2a8/0xfd0 [ 59.266715][ T523] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 59.266717][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.266721][ T523] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 59.266723][ T523] _printk+0xc7/0x100 [ 59.266727][ T523] ? snapshot_read.cold+0x21/0x21 [ 59.266729][ T523] ? __lock_release.isra.0+0x69/0x1a0 [ 59.266731][ T523] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 59.266733][ T523] ? __up_write+0x23d/0x5f0 [ 59.266735][ T523] ? __up_write+0x2e5/0x5f0 [ 59.266738][ T523] ? __up_write+0x2c7/0x5f0 [ 59.266741][ T523] mirred_init_module+0x28/0x1000 [act_mirred] [ 59.266743][ T523] do_one_initcall+0x124/0x4f0 [ 59.266746][ T523] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 59.266751][ T523] ? do_init_module+0xae/0x8a0 [ 59.266754][ T523] ? kasan_unpoison+0x44/0x70 [ 59.266759][ T523] do_init_module+0x2ad/0x8a0 [ 59.266762][ T523] ? lockdep_hardirqs_on+0x91/0x130 [ 59.266766][ T523] ? free_module+0x470/0x470 [ 59.266769][ T523] ? kfree+0x123/0x590 [ 59.266773][ T523] load_module+0x1424/0x1bb0 [ 59.266780][ T523] ? layout_and_allocate.isra.0+0x680/0x680 [ 59.266784][ T523] ? __ia32_sys_fsconfig+0x180/0x180 [ 59.266786][ T523] ? ovl_real_file+0x172/0x1e0 [ 59.266790][ T523] ? backing_file_read_iter+0x541/0x790 [ 59.266793][ T523] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 59.266797][ T523] init_module_from_file+0x11f/0x1a0 [ 59.266800][ T523] ? __do_sys_init_module+0x220/0x220 [ 59.266808][ T523] ? __rwlock_init+0x150/0x150 [ 59.266812][ T523] ? do_raw_spin_unlock+0x59/0x250 [ 59.266815][ T523] idempotent_init_module+0x37b/0x7c0 [ 59.266818][ T523] ? init_module_from_file+0x1a0/0x1a0 [ 59.266824][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.266826][ T523] ? cap_capable+0x1d7/0x3d0 [ 59.266832][ T523] __x64_sys_finit_module+0xdf/0x190 [ 59.266834][ T523] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 59.266838][ T523] do_syscall_64+0xff/0x530 [ 59.266840][ T523] ? exc_page_fault+0xee/0x100 [ 59.266842][ T523] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 59.266844][ T523] RIP: 0033:0x7f6326c4337d [ 59.266848][ T523] 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 [ 59.266849][ T523] RSP: 002b:00007ffecebdbe18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 59.266852][ T523] RAX: ffffffffffffffda RBX: 0000560aaa5b0810 RCX: 00007f6326c4337d [ 59.266854][ T523] RDX: 0000000000000000 RSI: 0000560a8f759ffd RDI: 0000000000000000 [ 59.266854][ T523] RBP: 00007ffecebdbeb0 R08: 0000000000000000 R09: 0000000000000000 [ 59.266855][ T523] R10: 0000000000000000 R11: 0000000000000246 R12: 0000560a8f759ffd [ 59.266856][ T523] R13: 0000560aaa5b0960 R14: 0000000000040000 R15: 0000000000000000 [ 59.266863][ T523]