[ 17.651836][ T297] GACT probability NOT on [ 17.651854][ T297] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.651856][ T297] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 297, name: modprobe [ 17.651858][ T297] preempt_count: 1, expected: 0 [ 17.651859][ T297] RCU nest depth: 0, expected: 0 [ 17.651860][ T297] locks held by modprobe/297: 4, last CPU#0: [ 17.651862][ T297] #0: ffffffff9dd69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.651875][ T297] #1: ffffffff9dd69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.651879][ T297] #2: ffffffff9dc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.651883][ T297] #3: ffffffff9dc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.651887][ T297] irq event stamp: 24168 [ 17.651888][ T297] hardirqs last enabled at (24167): [] __down_trylock_console_sem+0x86/0xa0 [ 17.651890][ T297] hardirqs last disabled at (24168): [] console_emit_next_record+0x3d4/0x4c0 [ 17.651892][ T297] softirqs last enabled at (22684): [] handle_softirqs+0x67c/0x900 [ 17.651895][ T297] softirqs last disabled at (22679): [] __irq_exit_rcu+0x145/0x1c0 [ 17.651897][ T297] Preemption disabled at: [ 17.651898][ T297] [] vprintk_emit+0x31b/0x3e0 [ 17.651903][ T297] CPU: 0 UID: 0 PID: 297 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.651907][ T297] Tainted: [W]=WARN [ 17.651908][ T297] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.651910][ T297] Call Trace: [ 17.651911][ T297] [ 17.651913][ T297] dump_stack_lvl+0x6f/0xa0 [ 17.651919][ T297] ? vprintk_emit+0x31b/0x3e0 [ 17.651921][ T297] __might_resched.cold+0x1fe/0x2c1 [ 17.651926][ T297] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.651930][ T297] ? __kmalloc_noprof+0xdb/0x760 [ 17.651935][ T297] __kmalloc_noprof+0x443/0x760 [ 17.651937][ T297] ? alloc_buf.isra.0+0x4b/0x260 [ 17.651943][ T297] ? do_raw_spin_unlock+0x59/0x250 [ 17.651946][ T297] alloc_buf.isra.0+0x4b/0x260 [ 17.651949][ T297] put_chars+0x1e1/0x2f0 [ 17.651951][ T297] ? desc_read_finalized_seq+0x79/0x120 [ 17.651954][ T297] ? __send_to_port+0x420/0x420 [ 17.651956][ T297] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.651960][ T297] ? validate_chain+0x38b/0xc20 [ 17.651964][ T297] hvc_console_print+0x292/0x780 [ 17.651967][ T297] ? __lock_acquire+0x518/0xc20 [ 17.651968][ T297] ? __lock_acquire+0x518/0xc20 [ 17.651973][ T297] ? hvc_write+0x3a0/0x3a0 [ 17.651974][ T297] ? console_emit_next_record+0x1df/0x4c0 [ 17.651977][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.651980][ T297] ? lock_acquire+0x13c/0x160 [ 17.651984][ T297] console_emit_next_record+0x22f/0x4c0 [ 17.651988][ T297] ? devkmsg_read+0x4b0/0x4b0 [ 17.651990][ T297] ? console_flush_one_record+0x106/0x710 [ 17.651993][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.651995][ T297] ? lock_acquire+0x13c/0x160 [ 17.651999][ T297] console_flush_one_record+0x46f/0x710 [ 17.652003][ T297] ? console_emit_next_record+0x4c0/0x4c0 [ 17.652005][ T297] ? __lock_acquire+0x518/0xc20 [ 17.652014][ T297] console_unlock+0xee/0x1f0 [ 17.652016][ T297] ? console_flush_one_record+0x710/0x710 [ 17.652021][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.652023][ T297] ? lock_acquire+0x60/0x160 [ 17.652026][ T297] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.652028][ T297] ? vprintk_emit+0x320/0x3e0 [ 17.652031][ T297] vprintk_emit+0x37c/0x3e0 [ 17.652035][ T297] ? wake_up_klogd_work_func+0x90/0x90 [ 17.652040][ T297] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 17.652043][ T297] _printk+0xc7/0x100 [ 17.652047][ T297] ? snapshot_read.cold+0x21/0x21 [ 17.652053][ T297] ? do_one_initcall+0x113/0x4f0 [ 17.652056][ T297] gact_init_module+0x15/0x1000 [act_gact] [ 17.652058][ T297] do_one_initcall+0x124/0x4f0 [ 17.652061][ T297] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.652065][ T297] ? do_init_module+0xae/0x8a0 [ 17.652068][ T297] ? kasan_unpoison+0x44/0x70 [ 17.652073][ T297] do_init_module+0x2ad/0x8a0 [ 17.652077][ T297] ? lockdep_hardirqs_on+0x91/0x130 [ 17.652081][ T297] ? free_module+0x470/0x470 [ 17.652084][ T297] ? kfree+0x123/0x590 [ 17.652088][ T297] load_module+0x1424/0x1bb0 [ 17.652095][ T297] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.652099][ T297] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.652102][ T297] ? ovl_real_file+0x172/0x1e0 [ 17.652106][ T297] ? backing_file_read_iter+0x541/0x790 [ 17.652109][ T297] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.652112][ T297] init_module_from_file+0x11f/0x1a0 [ 17.652115][ T297] ? __do_sys_init_module+0x220/0x220 [ 17.652123][ T297] ? __rwlock_init+0x150/0x150 [ 17.652127][ T297] ? do_raw_spin_unlock+0x59/0x250 [ 17.652130][ T297] idempotent_init_module+0x37b/0x7c0 [ 17.652133][ T297] ? init_module_from_file+0x1a0/0x1a0 [ 17.652139][ T297] ? rcu_is_watching+0x16/0xd0 [ 17.652141][ T297] ? cap_capable+0x1d7/0x3d0 [ 17.652147][ T297] __x64_sys_finit_module+0xdf/0x190 [ 17.652149][ T297] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.652153][ T297] do_syscall_64+0xff/0x530 [ 17.652155][ T297] ? exc_page_fault+0xee/0x100 [ 17.652157][ T297] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.652160][ T297] RIP: 0033:0x7f78f529f37d [ 17.652163][ 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.652164][ T297] RSP: 002b:00007ffe59d39708 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.652167][ T297] RAX: ffffffffffffffda RBX: 0000561207da3810 RCX: 00007f78f529f37d [ 17.652169][ T297] RDX: 0000000000000000 RSI: 00005611d84cbffd RDI: 0000000000000000 [ 17.652169][ T297] RBP: 00007ffe59d397a0 R08: 0000000000000000 R09: 0000000000000000 [ 17.652170][ T297] R10: 0000000000000000 R11: 0000000000000246 R12: 00005611d84cbffd [ 17.652171][ T297] R13: 0000561207da3960 R14: 0000000000040000 R15: 0000000000000000 [ 17.652177][ T297] [ 59.968555][ T523] Mirror/redirect action on [ 59.968574][ T523] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 59.968576][ T523] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 523, name: modprobe [ 59.968578][ T523] preempt_count: 1, expected: 0 [ 59.968578][ T523] RCU nest depth: 0, expected: 0 [ 59.968579][ T523] locks held by modprobe/523: 4, last CPU#2: [ 59.968582][ T523] #0: ffffffff9dd69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 59.968595][ T523] #1: ffffffff9dd69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 59.968599][ T523] #2: ffffffff9dc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 59.968603][ T523] #3: ffffffff9dc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 59.968607][ T523] irq event stamp: 27144 [ 59.968608][ T523] hardirqs last enabled at (27143): [] __down_trylock_console_sem+0x86/0xa0 [ 59.968610][ T523] hardirqs last disabled at (27144): [] console_emit_next_record+0x3d4/0x4c0 [ 59.968612][ T523] softirqs last enabled at (25890): [] handle_softirqs+0x67c/0x900 [ 59.968615][ T523] softirqs last disabled at (24719): [] __irq_exit_rcu+0x145/0x1c0 [ 59.968618][ T523] Preemption disabled at: [ 59.968618][ T523] [] vprintk_emit+0x31b/0x3e0 [ 59.968625][ T523] CPU: 2 UID: 0 PID: 523 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 59.968628][ T523] Tainted: [W]=WARN [ 59.968629][ T523] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.968631][ T523] Call Trace: [ 59.968633][ T523] [ 59.968634][ T523] dump_stack_lvl+0x6f/0xa0 [ 59.968640][ T523] ? vprintk_emit+0x31b/0x3e0 [ 59.968642][ T523] __might_resched.cold+0x1fe/0x2c1 [ 59.968646][ T523] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 59.968650][ T523] ? __kmalloc_noprof+0xdb/0x760 [ 59.968655][ T523] __kmalloc_noprof+0x443/0x760 [ 59.968658][ T523] ? alloc_buf.isra.0+0x4b/0x260 [ 59.968664][ T523] ? do_raw_spin_unlock+0x59/0x250 [ 59.968667][ T523] alloc_buf.isra.0+0x4b/0x260 [ 59.968670][ T523] put_chars+0x1e1/0x2f0 [ 59.968673][ T523] ? __send_to_port+0x420/0x420 [ 59.968674][ T523] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 59.968679][ T523] ? rcu_read_lock_any_held+0x3c/0x90 [ 59.968681][ T523] ? validate_chain+0x38b/0xc20 [ 59.968685][ T523] hvc_console_print+0x292/0x780 [ 59.968688][ T523] ? __lock_acquire+0x518/0xc20 [ 59.968693][ T523] ? hvc_write+0x3a0/0x3a0 [ 59.968695][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.968700][ T523] console_emit_next_record+0x22f/0x4c0 [ 59.968703][ T523] ? devkmsg_read+0x4b0/0x4b0 [ 59.968705][ T523] ? console_flush_one_record+0x106/0x710 [ 59.968708][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.968710][ T523] ? lock_acquire+0x13c/0x160 [ 59.968714][ T523] console_flush_one_record+0x46f/0x710 [ 59.968718][ T523] ? console_emit_next_record+0x4c0/0x4c0 [ 59.968720][ T523] ? __lock_acquire+0x518/0xc20 [ 59.968725][ T523] console_unlock+0xee/0x1f0 [ 59.968728][ T523] ? console_flush_one_record+0x710/0x710 [ 59.968730][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.968732][ T523] ? lock_acquire+0x60/0x160 [ 59.968735][ T523] ? __down_trylock_console_sem+0x5e/0xa0 [ 59.968737][ T523] ? vprintk_emit+0x320/0x3e0 [ 59.968740][ T523] vprintk_emit+0x37c/0x3e0 [ 59.968744][ T523] ? wake_up_klogd_work_func+0x90/0x90 [ 59.968747][ T523] ? netdev_run_todo+0x2a8/0xfd0 [ 59.968751][ T523] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 59.968754][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.968758][ T523] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 59.968760][ T523] _printk+0xc7/0x100 [ 59.968764][ T523] ? snapshot_read.cold+0x21/0x21 [ 59.968766][ T523] ? __lock_release.isra.0+0x69/0x1a0 [ 59.968768][ T523] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 59.968770][ T523] ? __up_write+0x23d/0x5f0 [ 59.968772][ T523] ? __up_write+0x2e5/0x5f0 [ 59.968775][ T523] ? __up_write+0x2c7/0x5f0 [ 59.968778][ T523] mirred_init_module+0x28/0x1000 [act_mirred] [ 59.968780][ T523] do_one_initcall+0x124/0x4f0 [ 59.968784][ T523] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 59.968788][ T523] ? do_init_module+0xae/0x8a0 [ 59.968791][ T523] ? kasan_unpoison+0x44/0x70 [ 59.968795][ T523] do_init_module+0x2ad/0x8a0 [ 59.968799][ T523] ? lockdep_hardirqs_on+0x91/0x130 [ 59.968803][ T523] ? free_module+0x470/0x470 [ 59.968806][ T523] ? kfree+0x123/0x590 [ 59.968810][ T523] load_module+0x1424/0x1bb0 [ 59.968817][ T523] ? layout_and_allocate.isra.0+0x680/0x680 [ 59.968821][ T523] ? __ia32_sys_fsconfig+0x180/0x180 [ 59.968824][ T523] ? ovl_real_file+0x172/0x1e0 [ 59.968828][ T523] ? backing_file_read_iter+0x541/0x790 [ 59.968831][ T523] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 59.968835][ T523] init_module_from_file+0x11f/0x1a0 [ 59.968838][ T523] ? __do_sys_init_module+0x220/0x220 [ 59.968845][ T523] ? __rwlock_init+0x150/0x150 [ 59.968849][ T523] ? do_raw_spin_unlock+0x59/0x250 [ 59.968852][ T523] idempotent_init_module+0x37b/0x7c0 [ 59.968855][ T523] ? init_module_from_file+0x1a0/0x1a0 [ 59.968861][ T523] ? rcu_is_watching+0x16/0xd0 [ 59.968863][ T523] ? cap_capable+0x1d7/0x3d0 [ 59.968869][ T523] __x64_sys_finit_module+0xdf/0x190 [ 59.968871][ T523] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 59.968874][ T523] do_syscall_64+0xff/0x530 [ 59.968876][ T523] ? exc_page_fault+0xee/0x100 [ 59.968879][ T523] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 59.968881][ T523] RIP: 0033:0x7ff75f9f137d [ 59.968884][ 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.968886][ T523] RSP: 002b:00007fff7ee58d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 59.968889][ T523] RAX: ffffffffffffffda RBX: 0000563e4d714810 RCX: 00007ff75f9f137d [ 59.968890][ T523] RDX: 0000000000000000 RSI: 0000563e1c501ffd RDI: 0000000000000000 [ 59.968891][ T523] RBP: 00007fff7ee58e30 R08: 0000000000000000 R09: 0000000000000000 [ 59.968892][ T523] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563e1c501ffd [ 59.968893][ T523] R13: 0000563e4d714960 R14: 0000000000040000 R15: 0000000000000000 [ 59.968899][ T523]