[ 17.223054][ T294] GACT probability NOT on [ 17.223075][ T294] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.223078][ T294] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 294, name: modprobe [ 17.223081][ T294] preempt_count: 1, expected: 0 [ 17.223082][ T294] RCU nest depth: 0, expected: 0 [ 17.223083][ T294] locks held by modprobe/294: 4, last CPU#1: [ 17.223086][ T294] #0: ffffffff96169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.223101][ T294] #1: ffffffff96169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.223107][ T294] #2: ffffffff96089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.223114][ T294] #3: ffffffff96089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.223120][ T294] irq event stamp: 27946 [ 17.223121][ T294] hardirqs last enabled at (27945): [] __down_trylock_console_sem+0x86/0xa0 [ 17.223124][ T294] hardirqs last disabled at (27946): [] console_emit_next_record+0x3d4/0x4c0 [ 17.223127][ T294] softirqs last enabled at (26594): [] handle_softirqs+0x67c/0x900 [ 17.223131][ T294] softirqs last disabled at (26585): [] __irq_exit_rcu+0x145/0x1c0 [ 17.223135][ T294] Preemption disabled at: [ 17.223136][ T294] [] vprintk_emit+0x31b/0x3e0 [ 17.223143][ T294] CPU: 1 UID: 0 PID: 294 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.223148][ T294] Tainted: [W]=WARN [ 17.223149][ T294] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.223151][ T294] Call Trace: [ 17.223153][ T294] [ 17.223155][ T294] dump_stack_lvl+0x6f/0xa0 [ 17.223162][ T294] ? vprintk_emit+0x31b/0x3e0 [ 17.223165][ T294] __might_resched.cold+0x1fe/0x2c1 [ 17.223172][ T294] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.223177][ T294] ? __kmalloc_noprof+0xdb/0x760 [ 17.223185][ T294] __kmalloc_noprof+0x443/0x760 [ 17.223188][ T294] ? alloc_buf.isra.0+0x4b/0x260 [ 17.223197][ T294] ? do_raw_spin_unlock+0x59/0x250 [ 17.223200][ T294] alloc_buf.isra.0+0x4b/0x260 [ 17.223205][ T294] put_chars+0x1e1/0x2f0 [ 17.223208][ T294] ? desc_read_finalized_seq+0x79/0x120 [ 17.223211][ T294] ? __send_to_port+0x420/0x420 [ 17.223216][ T294] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.223221][ T294] ? validate_chain+0x38b/0xc20 [ 17.223228][ T294] hvc_console_print+0x292/0x780 [ 17.223231][ T294] ? __lock_acquire+0x518/0xc20 [ 17.223234][ T294] ? __lock_acquire+0x518/0xc20 [ 17.223242][ T294] ? hvc_write+0x3a0/0x3a0 [ 17.223244][ T294] ? console_emit_next_record+0x1df/0x4c0 [ 17.223249][ T294] ? rcu_is_watching+0x16/0xd0 [ 17.223253][ T294] ? lock_acquire+0x13c/0x160 [ 17.223260][ T294] console_emit_next_record+0x22f/0x4c0 [ 17.223266][ T294] ? devkmsg_read+0x4b0/0x4b0 [ 17.223268][ T294] ? console_flush_one_record+0x106/0x710 [ 17.223273][ T294] ? rcu_is_watching+0x16/0xd0 [ 17.223277][ T294] ? lock_acquire+0x13c/0x160 [ 17.223283][ T294] console_flush_one_record+0x46f/0x710 [ 17.223290][ T294] ? console_emit_next_record+0x4c0/0x4c0 [ 17.223293][ T294] ? __lock_acquire+0x518/0xc20 [ 17.223301][ T294] console_unlock+0xee/0x1f0 [ 17.223306][ T294] ? console_flush_one_record+0x710/0x710 [ 17.223308][ T294] ? rcu_is_watching+0x16/0xd0 [ 17.223312][ T294] ? lock_acquire+0x60/0x160 [ 17.223317][ T294] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.223320][ T294] ? vprintk_emit+0x320/0x3e0 [ 17.223325][ T294] vprintk_emit+0x37c/0x3e0 [ 17.223332][ T294] ? wake_up_klogd_work_func+0x90/0x90 [ 17.223345][ T294] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 17.223349][ T294] _printk+0xc7/0x100 [ 17.223354][ T294] ? snapshot_read.cold+0x21/0x21 [ 17.223365][ T294] ? do_one_initcall+0x113/0x4f0 [ 17.223369][ T294] gact_init_module+0x15/0x1000 [act_gact] [ 17.223373][ T294] do_one_initcall+0x124/0x4f0 [ 17.223377][ T294] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.223385][ T294] ? do_init_module+0xae/0x8a0 [ 17.223389][ T294] ? kasan_unpoison+0x44/0x70 [ 17.223396][ T294] do_init_module+0x2ad/0x8a0 [ 17.223402][ T294] ? lockdep_hardirqs_on+0x91/0x130 [ 17.223408][ T294] ? free_module+0x470/0x470 [ 17.223413][ T294] ? kfree+0x123/0x590 [ 17.223420][ T294] load_module+0x1424/0x1bb0 [ 17.223432][ T294] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.223439][ T294] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.223442][ T294] ? ovl_real_file+0x172/0x1e0 [ 17.223448][ T294] ? backing_file_read_iter+0x541/0x790 [ 17.223452][ T294] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.223459][ T294] init_module_from_file+0x11f/0x1a0 [ 17.223463][ T294] ? __do_sys_init_module+0x220/0x220 [ 17.223478][ T294] ? __rwlock_init+0x150/0x150 [ 17.223484][ T294] ? do_raw_spin_unlock+0x59/0x250 [ 17.223489][ T294] idempotent_init_module+0x37b/0x7c0 [ 17.223494][ T294] ? init_module_from_file+0x1a0/0x1a0 [ 17.223505][ T294] ? rcu_is_watching+0x16/0xd0 [ 17.223509][ T294] ? cap_capable+0x1d7/0x3d0 [ 17.223517][ T294] __x64_sys_finit_module+0xdf/0x190 [ 17.223520][ T294] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.223526][ T294] do_syscall_64+0xff/0x530 [ 17.223528][ T294] ? exc_page_fault+0xee/0x100 [ 17.223533][ T294] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.223536][ T294] RIP: 0033:0x7f1609b4037d [ 17.223540][ T294] 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.223543][ T294] RSP: 002b:00007ffe5e9d31b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.223546][ T294] RAX: ffffffffffffffda RBX: 0000559b95295810 RCX: 00007f1609b4037d [ 17.223548][ T294] RDX: 0000000000000000 RSI: 0000559b629b3ffd RDI: 0000000000000000 [ 17.223550][ T294] RBP: 00007ffe5e9d3250 R08: 0000000000000000 R09: 0000000000000000 [ 17.223551][ T294] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559b629b3ffd [ 17.223553][ T294] R13: 0000559b95295960 R14: 0000000000040000 R15: 0000000000000000 [ 17.223565][ T294] [ 20.008483][ T505] Mirror/redirect action on [ 20.008503][ T505] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.008507][ T505] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 505, name: modprobe [ 20.008509][ T505] preempt_count: 1, expected: 0 [ 20.008511][ T505] RCU nest depth: 0, expected: 0 [ 20.008512][ T505] locks held by modprobe/505: 4, last CPU#0: [ 20.008515][ T505] #0: ffffffff96169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.008530][ T505] #1: ffffffff96169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.008536][ T505] #2: ffffffff96089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.008543][ T505] #3: ffffffff96089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.008549][ T505] irq event stamp: 20972 [ 20.008550][ T505] hardirqs last enabled at (20971): [] __down_trylock_console_sem+0x86/0xa0 [ 20.008553][ T505] hardirqs last disabled at (20972): [] console_emit_next_record+0x3d4/0x4c0 [ 20.008556][ T505] softirqs last enabled at (19890): [] handle_softirqs+0x67c/0x900 [ 20.008560][ T505] softirqs last disabled at (19883): [] __irq_exit_rcu+0x145/0x1c0 [ 20.008563][ T505] Preemption disabled at: [ 20.008564][ T505] [] vprintk_emit+0x31b/0x3e0 [ 20.008572][ T505] CPU: 0 UID: 0 PID: 505 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.008576][ T505] Tainted: [W]=WARN [ 20.008578][ T505] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.008580][ T505] Call Trace: [ 20.008582][ T505] [ 20.008584][ T505] dump_stack_lvl+0x6f/0xa0 [ 20.008591][ T505] ? vprintk_emit+0x31b/0x3e0 [ 20.008594][ T505] __might_resched.cold+0x1fe/0x2c1 [ 20.008600][ T505] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.008606][ T505] ? __kmalloc_noprof+0xdb/0x760 [ 20.008613][ T505] __kmalloc_noprof+0x443/0x760 [ 20.008616][ T505] ? alloc_buf.isra.0+0x4b/0x260 [ 20.008625][ T505] ? do_raw_spin_unlock+0x59/0x250 [ 20.008628][ T505] alloc_buf.isra.0+0x4b/0x260 [ 20.008633][ T505] put_chars+0x1e1/0x2f0 [ 20.008638][ T505] ? __send_to_port+0x420/0x420 [ 20.008640][ T505] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.008646][ T505] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.008650][ T505] ? validate_chain+0x38b/0xc20 [ 20.008658][ T505] hvc_console_print+0x292/0x780 [ 20.008661][ T505] ? __lock_acquire+0x518/0xc20 [ 20.008670][ T505] ? hvc_write+0x3a0/0x3a0 [ 20.008674][ T505] ? rcu_is_watching+0x16/0xd0 [ 20.008683][ T505] console_emit_next_record+0x22f/0x4c0 [ 20.008689][ T505] ? devkmsg_read+0x4b0/0x4b0 [ 20.008692][ T505] ? console_flush_one_record+0x106/0x710 [ 20.008698][ T505] ? rcu_is_watching+0x16/0xd0 [ 20.008703][ T505] ? lock_acquire+0x13c/0x160 [ 20.008711][ T505] console_flush_one_record+0x46f/0x710 [ 20.008717][ T505] ? console_emit_next_record+0x4c0/0x4c0 [ 20.008720][ T505] ? __lock_acquire+0x518/0xc20 [ 20.008729][ T505] console_unlock+0xee/0x1f0 [ 20.008733][ T505] ? console_flush_one_record+0x710/0x710 [ 20.008736][ T505] ? rcu_is_watching+0x16/0xd0 [ 20.008739][ T505] ? lock_acquire+0x60/0x160 [ 20.008746][ T505] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.008748][ T505] ? vprintk_emit+0x320/0x3e0 [ 20.008753][ T505] vprintk_emit+0x37c/0x3e0 [ 20.008760][ T505] ? wake_up_klogd_work_func+0x90/0x90 [ 20.008764][ T505] ? netdev_run_todo+0x2a8/0xfd0 [ 20.008769][ T505] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 20.008774][ T505] ? rcu_is_watching+0x16/0xd0 [ 20.008780][ T505] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 20.008784][ T505] _printk+0xc7/0x100 [ 20.008789][ T505] ? snapshot_read.cold+0x21/0x21 [ 20.008792][ T505] ? __lock_release.isra.0+0x69/0x1a0 [ 20.008796][ T505] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 20.008800][ T505] ? __up_write+0x23d/0x5f0 [ 20.008802][ T505] ? __up_write+0x2e5/0x5f0 [ 20.008808][ T505] ? __up_write+0x2c7/0x5f0 [ 20.008812][ T505] mirred_init_module+0x28/0x1000 [act_mirred] [ 20.008816][ T505] do_one_initcall+0x124/0x4f0 [ 20.008821][ T505] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 20.008829][ T505] ? do_init_module+0xae/0x8a0 [ 20.008832][ T505] ? kasan_unpoison+0x44/0x70 [ 20.008840][ T505] do_init_module+0x2ad/0x8a0 [ 20.008846][ T505] ? lockdep_hardirqs_on+0x91/0x130 [ 20.008851][ T505] ? free_module+0x470/0x470 [ 20.008856][ T505] ? kfree+0x123/0x590 [ 20.008863][ T505] load_module+0x1424/0x1bb0 [ 20.008876][ T505] ? layout_and_allocate.isra.0+0x680/0x680 [ 20.008882][ T505] ? __ia32_sys_fsconfig+0x180/0x180 [ 20.008888][ T505] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.008890][ T505] ? find_held_lock+0x2b/0x80 [ 20.008893][ T505] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.008899][ T505] init_module_from_file+0x11f/0x1a0 [ 20.008904][ T505] ? __do_sys_init_module+0x220/0x220 [ 20.008918][ T505] ? __rwlock_init+0x150/0x150 [ 20.008924][ T505] ? do_raw_spin_unlock+0x59/0x250 [ 20.008929][ T505] idempotent_init_module+0x37b/0x7c0 [ 20.008935][ T505] ? init_module_from_file+0x1a0/0x1a0 [ 20.008945][ T505] ? rcu_is_watching+0x16/0xd0 [ 20.008949][ T505] ? cap_capable+0x1d7/0x3d0 [ 20.008953][ T505] ? __lock_release.isra.0+0x69/0x1a0 [ 20.008960][ T505] __x64_sys_finit_module+0xdf/0x190 [ 20.008963][ T505] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.008968][ T505] do_syscall_64+0xff/0x530 [ 20.008970][ T505] ? irq_exit_rcu+0x1a/0x30 [ 20.008975][ T505] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.008978][ T505] RIP: 0033:0x7f8f1528c37d [ 20.008983][ T505] 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 [ 20.008986][ T505] RSP: 002b:00007ffeae9c6dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.008989][ T505] RAX: ffffffffffffffda RBX: 0000555b8051b810 RCX: 00007f8f1528c37d [ 20.008991][ T505] RDX: 0000000000000000 RSI: 0000555b575f4ffd RDI: 0000000000000000 [ 20.008993][ T505] RBP: 00007ffeae9c6e70 R08: 0000000000000000 R09: 0000000000000000 [ 20.008994][ T505] R10: 0000000000000000 R11: 0000000000000246 R12: 0000555b575f4ffd [ 20.008995][ T505] R13: 0000555b8051b960 R14: 0000000000040000 R15: 0000000000000000 [ 20.009008][ T505]