[ 18.022522][ T300] GACT probability NOT on [ 18.022540][ T300] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.022542][ T300] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 300, name: modprobe [ 18.022544][ T300] preempt_count: 1, expected: 0 [ 18.022545][ T300] RCU nest depth: 0, expected: 0 [ 18.022546][ T300] locks held by modprobe/300: 4, last CPU#2: [ 18.022548][ T300] #0: ffffffff87769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.022560][ T300] #1: ffffffff87769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.022565][ T300] #2: ffffffff87689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.022569][ T300] #3: ffffffff87689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.022573][ T300] irq event stamp: 19050 [ 18.022574][ T300] hardirqs last enabled at (19049): [] __down_trylock_console_sem+0x86/0xa0 [ 18.022576][ T300] hardirqs last disabled at (19050): [] console_emit_next_record+0x3d4/0x4c0 [ 18.022578][ T300] softirqs last enabled at (18320): [] handle_softirqs+0x67c/0x900 [ 18.022581][ T300] softirqs last disabled at (17265): [] __irq_exit_rcu+0x145/0x1c0 [ 18.022584][ T300] Preemption disabled at: [ 18.022584][ T300] [] vprintk_emit+0x31b/0x3e0 [ 18.022590][ T300] CPU: 2 UID: 0 PID: 300 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.022593][ T300] Tainted: [W]=WARN [ 18.022594][ T300] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.022596][ T300] Call Trace: [ 18.022598][ T300] [ 18.022599][ T300] dump_stack_lvl+0x6f/0xa0 [ 18.022605][ T300] ? vprintk_emit+0x31b/0x3e0 [ 18.022607][ T300] __might_resched.cold+0x1fe/0x2c1 [ 18.022611][ T300] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.022615][ T300] ? __kmalloc_noprof+0xdb/0x760 [ 18.022620][ T300] __kmalloc_noprof+0x443/0x760 [ 18.022623][ T300] ? alloc_buf.isra.0+0x4b/0x260 [ 18.022628][ T300] ? do_raw_spin_unlock+0x59/0x250 [ 18.022631][ T300] alloc_buf.isra.0+0x4b/0x260 [ 18.022634][ T300] put_chars+0x1e1/0x2f0 [ 18.022636][ T300] ? desc_read_finalized_seq+0x79/0x120 [ 18.022639][ T300] ? __send_to_port+0x420/0x420 [ 18.022642][ T300] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.022645][ T300] ? validate_chain+0x38b/0xc20 [ 18.022649][ T300] hvc_console_print+0x292/0x780 [ 18.022652][ T300] ? __lock_acquire+0x518/0xc20 [ 18.022653][ T300] ? __lock_acquire+0x518/0xc20 [ 18.022658][ T300] ? hvc_write+0x3a0/0x3a0 [ 18.022659][ T300] ? console_emit_next_record+0x1df/0x4c0 [ 18.022662][ T300] ? rcu_is_watching+0x16/0xd0 [ 18.022665][ T300] ? lock_acquire+0x13c/0x160 [ 18.022669][ T300] console_emit_next_record+0x22f/0x4c0 [ 18.022673][ T300] ? devkmsg_read+0x4b0/0x4b0 [ 18.022675][ T300] ? console_flush_one_record+0x106/0x710 [ 18.022678][ T300] ? rcu_is_watching+0x16/0xd0 [ 18.022681][ T300] ? lock_acquire+0x13c/0x160 [ 18.022684][ T300] console_flush_one_record+0x46f/0x710 [ 18.022689][ T300] ? console_emit_next_record+0x4c0/0x4c0 [ 18.022690][ T300] ? __lock_acquire+0x518/0xc20 [ 18.022695][ T300] console_unlock+0xee/0x1f0 [ 18.022698][ T300] ? console_flush_one_record+0x710/0x710 [ 18.022700][ T300] ? rcu_is_watching+0x16/0xd0 [ 18.022702][ T300] ? lock_acquire+0x60/0x160 [ 18.022706][ T300] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.022708][ T300] ? vprintk_emit+0x320/0x3e0 [ 18.022711][ T300] vprintk_emit+0x37c/0x3e0 [ 18.022715][ T300] ? wake_up_klogd_work_func+0x90/0x90 [ 18.022721][ T300] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 18.022724][ T300] _printk+0xc7/0x100 [ 18.022728][ T300] ? snapshot_read.cold+0x21/0x21 [ 18.022734][ T300] ? do_one_initcall+0x113/0x4f0 [ 18.022737][ T300] gact_init_module+0x15/0x1000 [act_gact] [ 18.022739][ T300] do_one_initcall+0x124/0x4f0 [ 18.022742][ T300] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 18.022746][ T300] ? do_init_module+0xae/0x8a0 [ 18.022750][ T300] ? kasan_unpoison+0x44/0x70 [ 18.022754][ T300] do_init_module+0x2ad/0x8a0 [ 18.022758][ T300] ? lockdep_hardirqs_on+0x91/0x130 [ 18.022762][ T300] ? free_module+0x470/0x470 [ 18.022766][ T300] ? kfree+0x123/0x590 [ 18.022770][ T300] load_module+0x1424/0x1bb0 [ 18.022780][ T300] ? layout_and_allocate.isra.0+0x680/0x680 [ 18.022784][ T300] ? __ia32_sys_fsconfig+0x180/0x180 [ 18.022787][ T300] ? ovl_real_file+0x172/0x1e0 [ 18.022791][ T300] ? backing_file_read_iter+0x541/0x790 [ 18.022794][ T300] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.022798][ T300] init_module_from_file+0x11f/0x1a0 [ 18.022801][ T300] ? __do_sys_init_module+0x220/0x220 [ 18.022810][ T300] ? __rwlock_init+0x150/0x150 [ 18.022813][ T300] ? do_raw_spin_unlock+0x59/0x250 [ 18.022816][ T300] idempotent_init_module+0x37b/0x7c0 [ 18.022820][ T300] ? init_module_from_file+0x1a0/0x1a0 [ 18.022826][ T300] ? rcu_is_watching+0x16/0xd0 [ 18.022828][ T300] ? cap_capable+0x1d7/0x3d0 [ 18.022834][ T300] __x64_sys_finit_module+0xdf/0x190 [ 18.022836][ T300] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.022840][ T300] do_syscall_64+0xff/0x530 [ 18.022842][ T300] ? exc_page_fault+0xee/0x100 [ 18.022845][ T300] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.022847][ T300] RIP: 0033:0x7f25a517d37d [ 18.022850][ T300] 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.022852][ T300] RSP: 002b:00007ffe8fc8f868 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 18.022855][ T300] RAX: ffffffffffffffda RBX: 0000556493308810 RCX: 00007f25a517d37d [ 18.022856][ T300] RDX: 0000000000000000 RSI: 000055646985affd RDI: 0000000000000000 [ 18.022857][ T300] RBP: 00007ffe8fc8f900 R08: 0000000000000000 R09: 0000000000000000 [ 18.022858][ T300] R10: 0000000000000000 R11: 0000000000000246 R12: 000055646985affd [ 18.022859][ T300] R13: 0000556493308960 R14: 0000000000040000 R15: 0000000000000000 [ 18.022867][ T300] [ 60.600357][ T524] Mirror/redirect action on [ 60.600375][ T524] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 60.600378][ T524] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 524, name: modprobe [ 60.600380][ T524] preempt_count: 1, expected: 0 [ 60.600381][ T524] RCU nest depth: 0, expected: 0 [ 60.600382][ T524] locks held by modprobe/524: 4, last CPU#0: [ 60.600384][ T524] #0: ffffffff87769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 60.600397][ T524] #1: ffffffff87769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 60.600401][ T524] #2: ffffffff87689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 60.600405][ T524] #3: ffffffff87689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 60.600409][ T524] irq event stamp: 18292 [ 60.600410][ T524] hardirqs last enabled at (18291): [] __down_trylock_console_sem+0x86/0xa0 [ 60.600413][ T524] hardirqs last disabled at (18292): [] console_emit_next_record+0x3d4/0x4c0 [ 60.600420][ T524] softirqs last enabled at (16834): [] handle_softirqs+0x67c/0x900 [ 60.600423][ T524] softirqs last disabled at (16827): [] __irq_exit_rcu+0x145/0x1c0 [ 60.600425][ T524] Preemption disabled at: [ 60.600426][ T524] [] vprintk_emit+0x31b/0x3e0 [ 60.600432][ T524] CPU: 0 UID: 0 PID: 524 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 60.600435][ T524] Tainted: [W]=WARN [ 60.600436][ T524] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 60.600438][ T524] Call Trace: [ 60.600440][ T524] [ 60.600441][ T524] dump_stack_lvl+0x6f/0xa0 [ 60.600447][ T524] ? vprintk_emit+0x31b/0x3e0 [ 60.600449][ T524] __might_resched.cold+0x1fe/0x2c1 [ 60.600454][ T524] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 60.600458][ T524] ? __kmalloc_noprof+0xdb/0x760 [ 60.600463][ T524] __kmalloc_noprof+0x443/0x760 [ 60.600466][ T524] ? alloc_buf.isra.0+0x4b/0x260 [ 60.600472][ T524] ? do_raw_spin_unlock+0x59/0x250 [ 60.600474][ T524] alloc_buf.isra.0+0x4b/0x260 [ 60.600478][ T524] put_chars+0x1e1/0x2f0 [ 60.600481][ T524] ? __send_to_port+0x420/0x420 [ 60.600482][ T524] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 60.600487][ T524] ? rcu_read_lock_any_held+0x3c/0x90 [ 60.600489][ T524] ? validate_chain+0x38b/0xc20 [ 60.600494][ T524] hvc_console_print+0x292/0x780 [ 60.600496][ T524] ? __lock_acquire+0x518/0xc20 [ 60.600501][ T524] ? hvc_write+0x3a0/0x3a0 [ 60.600504][ T524] ? rcu_is_watching+0x16/0xd0 [ 60.600509][ T524] console_emit_next_record+0x22f/0x4c0 [ 60.600513][ T524] ? devkmsg_read+0x4b0/0x4b0 [ 60.600514][ T524] ? console_flush_one_record+0x106/0x710 [ 60.600517][ T524] ? rcu_is_watching+0x16/0xd0 [ 60.600520][ T524] ? lock_acquire+0x13c/0x160 [ 60.600524][ T524] console_flush_one_record+0x46f/0x710 [ 60.600528][ T524] ? console_emit_next_record+0x4c0/0x4c0 [ 60.600530][ T524] ? __lock_acquire+0x518/0xc20 [ 60.600535][ T524] console_unlock+0xee/0x1f0 [ 60.600537][ T524] ? console_flush_one_record+0x710/0x710 [ 60.600539][ T524] ? rcu_is_watching+0x16/0xd0 [ 60.600542][ T524] ? lock_acquire+0x60/0x160 [ 60.600545][ T524] ? __down_trylock_console_sem+0x5e/0xa0 [ 60.600547][ T524] ? vprintk_emit+0x320/0x3e0 [ 60.600550][ T524] vprintk_emit+0x37c/0x3e0 [ 60.600554][ T524] ? wake_up_klogd_work_func+0x90/0x90 [ 60.600557][ T524] ? netdev_run_todo+0x2a8/0xfd0 [ 60.600561][ T524] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 60.600564][ T524] ? rcu_is_watching+0x16/0xd0 [ 60.600568][ T524] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 60.600571][ T524] _printk+0xc7/0x100 [ 60.600574][ T524] ? snapshot_read.cold+0x21/0x21 [ 60.600576][ T524] ? __lock_release.isra.0+0x69/0x1a0 [ 60.600579][ T524] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 60.600581][ T524] ? __up_write+0x23d/0x5f0 [ 60.600582][ T524] ? __up_write+0x2e5/0x5f0 [ 60.600586][ T524] ? __up_write+0x2c7/0x5f0 [ 60.600588][ T524] mirred_init_module+0x28/0x1000 [act_mirred] [ 60.600591][ T524] do_one_initcall+0x124/0x4f0 [ 60.600594][ T524] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 60.600599][ T524] ? do_init_module+0xae/0x8a0 [ 60.600602][ T524] ? kasan_unpoison+0x44/0x70 [ 60.600607][ T524] do_init_module+0x2ad/0x8a0 [ 60.600610][ T524] ? lockdep_hardirqs_on+0x91/0x130 [ 60.600614][ T524] ? free_module+0x470/0x470 [ 60.600618][ T524] ? kfree+0x123/0x590 [ 60.600622][ T524] load_module+0x1424/0x1bb0 [ 60.600629][ T524] ? layout_and_allocate.isra.0+0x680/0x680 [ 60.600633][ T524] ? __ia32_sys_fsconfig+0x180/0x180 [ 60.600635][ T524] ? ovl_real_file+0x172/0x1e0 [ 60.600639][ T524] ? backing_file_read_iter+0x541/0x790 [ 60.600642][ T524] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 60.600646][ T524] init_module_from_file+0x11f/0x1a0 [ 60.600649][ T524] ? __do_sys_init_module+0x220/0x220 [ 60.600657][ T524] ? __rwlock_init+0x150/0x150 [ 60.600661][ T524] ? do_raw_spin_unlock+0x59/0x250 [ 60.600664][ T524] idempotent_init_module+0x37b/0x7c0 [ 60.600667][ T524] ? init_module_from_file+0x1a0/0x1a0 [ 60.600674][ T524] ? rcu_is_watching+0x16/0xd0 [ 60.600676][ T524] ? cap_capable+0x1d7/0x3d0 [ 60.600682][ T524] __x64_sys_finit_module+0xdf/0x190 [ 60.600684][ T524] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 60.600688][ T524] do_syscall_64+0xff/0x530 [ 60.600690][ T524] ? exc_page_fault+0xee/0x100 [ 60.600692][ T524] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 60.600695][ T524] RIP: 0033:0x7fba3299737d [ 60.600698][ T524] 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.600700][ T524] RSP: 002b:00007fffd8869d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 60.600703][ T524] RAX: ffffffffffffffda RBX: 000055aa82a7d810 RCX: 00007fba3299737d [ 60.600704][ T524] RDX: 0000000000000000 RSI: 000055aa82816ffd RDI: 0000000000000000 [ 60.600705][ T524] RBP: 00007fffd8869db0 R08: 0000000000000000 R09: 0000000000000000 [ 60.600706][ T524] R10: 0000000000000000 R11: 0000000000000246 R12: 000055aa82816ffd [ 60.600707][ T524] R13: 000055aa82a7d960 R14: 0000000000040000 R15: 0000000000000000 [ 60.600714][ T524]