[ 17.368396][ T292] GACT probability NOT on [ 17.368417][ T292] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.368420][ T292] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 292, name: modprobe [ 17.368422][ T292] preempt_count: 1, expected: 0 [ 17.368422][ T292] RCU nest depth: 0, expected: 0 [ 17.368423][ T292] locks held by modprobe/292: 4, last CPU#2: [ 17.368426][ T292] #0: ffffffff9ed69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.368438][ T292] #1: ffffffff9ed69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.368443][ T292] #2: ffffffff9ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.368447][ T292] #3: ffffffff9ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.368451][ T292] irq event stamp: 20192 [ 17.368452][ T292] hardirqs last enabled at (20191): [] __down_trylock_console_sem+0x86/0xa0 [ 17.368455][ T292] hardirqs last disabled at (20192): [] console_emit_next_record+0x3d4/0x4c0 [ 17.368456][ T292] softirqs last enabled at (19216): [] handle_softirqs+0x67c/0x900 [ 17.368460][ T292] softirqs last disabled at (19211): [] __irq_exit_rcu+0x145/0x1c0 [ 17.368462][ T292] Preemption disabled at: [ 17.368463][ T292] [] vprintk_emit+0x31b/0x3e0 [ 17.368469][ T292] CPU: 2 UID: 0 PID: 292 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.368472][ T292] Tainted: [W]=WARN [ 17.368473][ T292] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.368475][ T292] Call Trace: [ 17.368477][ T292] [ 17.368478][ T292] dump_stack_lvl+0x6f/0xa0 [ 17.368484][ T292] ? vprintk_emit+0x31b/0x3e0 [ 17.368486][ T292] __might_resched.cold+0x1fe/0x2c1 [ 17.368491][ T292] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.368495][ T292] ? __kmalloc_noprof+0xdb/0x760 [ 17.368501][ T292] __kmalloc_noprof+0x443/0x760 [ 17.368503][ T292] ? alloc_buf.isra.0+0x4b/0x260 [ 17.368509][ T292] ? do_raw_spin_unlock+0x59/0x250 [ 17.368512][ T292] alloc_buf.isra.0+0x4b/0x260 [ 17.368515][ T292] put_chars+0x1e1/0x2f0 [ 17.368517][ T292] ? desc_read_finalized_seq+0x79/0x120 [ 17.368519][ T292] ? __send_to_port+0x420/0x420 [ 17.368522][ T292] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.368526][ T292] ? validate_chain+0x38b/0xc20 [ 17.368535][ T292] hvc_console_print+0x292/0x780 [ 17.368538][ T292] ? __lock_acquire+0x518/0xc20 [ 17.368539][ T292] ? __lock_acquire+0x518/0xc20 [ 17.368544][ T292] ? hvc_write+0x3a0/0x3a0 [ 17.368545][ T292] ? console_emit_next_record+0x1df/0x4c0 [ 17.368548][ T292] ? rcu_is_watching+0x16/0xd0 [ 17.368551][ T292] ? lock_acquire+0x13c/0x160 [ 17.368555][ T292] console_emit_next_record+0x22f/0x4c0 [ 17.368559][ T292] ? devkmsg_read+0x4b0/0x4b0 [ 17.368561][ T292] ? console_flush_one_record+0x106/0x710 [ 17.368564][ T292] ? rcu_is_watching+0x16/0xd0 [ 17.368567][ T292] ? lock_acquire+0x13c/0x160 [ 17.368571][ T292] console_flush_one_record+0x46f/0x710 [ 17.368575][ T292] ? console_emit_next_record+0x4c0/0x4c0 [ 17.368577][ T292] ? __lock_acquire+0x518/0xc20 [ 17.368582][ T292] console_unlock+0xee/0x1f0 [ 17.368584][ T292] ? console_flush_one_record+0x710/0x710 [ 17.368586][ T292] ? rcu_is_watching+0x16/0xd0 [ 17.368588][ T292] ? lock_acquire+0x60/0x160 [ 17.368592][ T292] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.368594][ T292] ? vprintk_emit+0x320/0x3e0 [ 17.368597][ T292] vprintk_emit+0x37c/0x3e0 [ 17.368601][ T292] ? wake_up_klogd_work_func+0x90/0x90 [ 17.368607][ T292] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 17.368610][ T292] _printk+0xc7/0x100 [ 17.368616][ T292] ? snapshot_read.cold+0x21/0x21 [ 17.368622][ T292] ? do_one_initcall+0x113/0x4f0 [ 17.368625][ T292] gact_init_module+0x15/0x1000 [act_gact] [ 17.368627][ T292] do_one_initcall+0x124/0x4f0 [ 17.368630][ T292] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.368635][ T292] ? do_init_module+0xae/0x8a0 [ 17.368638][ T292] ? kasan_unpoison+0x44/0x70 [ 17.368642][ T292] do_init_module+0x2ad/0x8a0 [ 17.368646][ T292] ? lockdep_hardirqs_on+0x91/0x130 [ 17.368650][ T292] ? free_module+0x470/0x470 [ 17.368654][ T292] ? kfree+0x123/0x590 [ 17.368658][ T292] load_module+0x1424/0x1bb0 [ 17.368665][ T292] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.368668][ T292] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.368672][ T292] ? find_held_lock+0x2b/0x80 [ 17.368674][ T292] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.368678][ T292] init_module_from_file+0x11f/0x1a0 [ 17.368682][ T292] ? __do_sys_init_module+0x220/0x220 [ 17.368690][ T292] ? __rwlock_init+0x150/0x150 [ 17.368693][ T292] ? do_raw_spin_unlock+0x59/0x250 [ 17.368696][ T292] idempotent_init_module+0x37b/0x7c0 [ 17.368700][ T292] ? init_module_from_file+0x1a0/0x1a0 [ 17.368706][ T292] ? rcu_is_watching+0x16/0xd0 [ 17.368708][ T292] ? cap_capable+0x1d7/0x3d0 [ 17.368715][ T292] __x64_sys_finit_module+0xdf/0x190 [ 17.368717][ T292] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.368720][ T292] do_syscall_64+0xff/0x530 [ 17.368722][ T292] ? exc_page_fault+0xee/0x100 [ 17.368725][ T292] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.368727][ T292] RIP: 0033:0x7f2297ef937d [ 17.368731][ T292] 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.368732][ T292] RSP: 002b:00007ffc31d6c428 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.368735][ T292] RAX: ffffffffffffffda RBX: 000055f14ce2e810 RCX: 00007f2297ef937d [ 17.368737][ T292] RDX: 0000000000000000 RSI: 000055f11061cffd RDI: 0000000000000000 [ 17.368738][ T292] RBP: 00007ffc31d6c4c0 R08: 0000000000000000 R09: 0000000000000000 [ 17.368738][ T292] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f11061cffd [ 17.368739][ T292] R13: 000055f14ce2e960 R14: 0000000000040000 R15: 0000000000000000 [ 17.368746][ T292] [ 20.111801][ T521] Mirror/redirect action on [ 20.111819][ T521] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.111822][ T521] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 521, name: modprobe [ 20.111823][ T521] preempt_count: 1, expected: 0 [ 20.111824][ T521] RCU nest depth: 0, expected: 0 [ 20.111825][ T521] locks held by modprobe/521: 4, last CPU#2: [ 20.111828][ T521] #0: ffffffff9ed69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.111841][ T521] #1: ffffffff9ed69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.111845][ T521] #2: ffffffff9ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.111849][ T521] #3: ffffffff9ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.111853][ T521] irq event stamp: 19144 [ 20.111853][ T521] hardirqs last enabled at (19143): [] __down_trylock_console_sem+0x86/0xa0 [ 20.111856][ T521] hardirqs last disabled at (19144): [] console_emit_next_record+0x3d4/0x4c0 [ 20.111858][ T521] softirqs last enabled at (18076): [] handle_softirqs+0x67c/0x900 [ 20.111861][ T521] softirqs last disabled at (17041): [] __irq_exit_rcu+0x145/0x1c0 [ 20.111863][ T521] Preemption disabled at: [ 20.111863][ T521] [] vprintk_emit+0x31b/0x3e0 [ 20.111869][ T521] CPU: 2 UID: 0 PID: 521 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.111873][ T521] Tainted: [W]=WARN [ 20.111874][ T521] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.111876][ T521] Call Trace: [ 20.111877][ T521] [ 20.111878][ T521] dump_stack_lvl+0x6f/0xa0 [ 20.111884][ T521] ? vprintk_emit+0x31b/0x3e0 [ 20.111886][ T521] __might_resched.cold+0x1fe/0x2c1 [ 20.111891][ T521] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.111895][ T521] ? __kmalloc_noprof+0xdb/0x760 [ 20.111900][ T521] __kmalloc_noprof+0x443/0x760 [ 20.111902][ T521] ? alloc_buf.isra.0+0x4b/0x260 [ 20.111909][ T521] ? do_raw_spin_unlock+0x59/0x250 [ 20.111911][ T521] alloc_buf.isra.0+0x4b/0x260 [ 20.111914][ T521] put_chars+0x1e1/0x2f0 [ 20.111917][ T521] ? __send_to_port+0x420/0x420 [ 20.111919][ T521] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.111923][ T521] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.111926][ T521] ? validate_chain+0x38b/0xc20 [ 20.111930][ T521] hvc_console_print+0x292/0x780 [ 20.111933][ T521] ? __lock_acquire+0x518/0xc20 [ 20.111938][ T521] ? hvc_write+0x3a0/0x3a0 [ 20.111940][ T521] ? rcu_is_watching+0x16/0xd0 [ 20.111945][ T521] console_emit_next_record+0x22f/0x4c0 [ 20.111949][ T521] ? devkmsg_read+0x4b0/0x4b0 [ 20.111951][ T521] ? console_flush_one_record+0x106/0x710 [ 20.111954][ T521] ? rcu_is_watching+0x16/0xd0 [ 20.111956][ T521] ? lock_acquire+0x13c/0x160 [ 20.111960][ T521] console_flush_one_record+0x46f/0x710 [ 20.111964][ T521] ? console_emit_next_record+0x4c0/0x4c0 [ 20.111965][ T521] ? __lock_acquire+0x518/0xc20 [ 20.111970][ T521] console_unlock+0xee/0x1f0 [ 20.111973][ T521] ? console_flush_one_record+0x710/0x710 [ 20.111975][ T521] ? rcu_is_watching+0x16/0xd0 [ 20.111977][ T521] ? lock_acquire+0x60/0x160 [ 20.111980][ T521] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.111982][ T521] ? vprintk_emit+0x320/0x3e0 [ 20.111985][ T521] vprintk_emit+0x37c/0x3e0 [ 20.111989][ T521] ? wake_up_klogd_work_func+0x90/0x90 [ 20.111992][ T521] ? netdev_run_todo+0x2a8/0xfd0 [ 20.111996][ T521] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 20.112000][ T521] ? rcu_is_watching+0x16/0xd0 [ 20.112003][ T521] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 20.112006][ T521] _printk+0xc7/0x100 [ 20.112010][ T521] ? snapshot_read.cold+0x21/0x21 [ 20.112011][ T521] ? __lock_release.isra.0+0x69/0x1a0 [ 20.112014][ T521] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 20.112016][ T521] ? __up_write+0x23d/0x5f0 [ 20.112018][ T521] ? __up_write+0x2e5/0x5f0 [ 20.112021][ T521] ? __up_write+0x2c7/0x5f0 [ 20.112023][ T521] mirred_init_module+0x28/0x1000 [act_mirred] [ 20.112026][ T521] do_one_initcall+0x124/0x4f0 [ 20.112029][ T521] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 20.112033][ T521] ? do_init_module+0xae/0x8a0 [ 20.112036][ T521] ? kasan_unpoison+0x44/0x70 [ 20.112041][ T521] do_init_module+0x2ad/0x8a0 [ 20.112045][ T521] ? lockdep_hardirqs_on+0x91/0x130 [ 20.112049][ T521] ? free_module+0x470/0x470 [ 20.112052][ T521] ? kfree+0x123/0x590 [ 20.112056][ T521] load_module+0x1424/0x1bb0 [ 20.112063][ T521] ? layout_and_allocate.isra.0+0x680/0x680 [ 20.112066][ T521] ? __ia32_sys_fsconfig+0x180/0x180 [ 20.112069][ T521] ? ovl_real_file+0x172/0x1e0 [ 20.112073][ T521] ? backing_file_read_iter+0x541/0x790 [ 20.112076][ T521] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.112080][ T521] init_module_from_file+0x11f/0x1a0 [ 20.112083][ T521] ? __do_sys_init_module+0x220/0x220 [ 20.112091][ T521] ? __rwlock_init+0x150/0x150 [ 20.112094][ T521] ? do_raw_spin_unlock+0x59/0x250 [ 20.112097][ T521] idempotent_init_module+0x37b/0x7c0 [ 20.112100][ T521] ? init_module_from_file+0x1a0/0x1a0 [ 20.112107][ T521] ? rcu_is_watching+0x16/0xd0 [ 20.112109][ T521] ? cap_capable+0x1d7/0x3d0 [ 20.112115][ T521] __x64_sys_finit_module+0xdf/0x190 [ 20.112117][ T521] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.112120][ T521] do_syscall_64+0xff/0x530 [ 20.112122][ T521] ? exc_page_fault+0xee/0x100 [ 20.112124][ T521] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.112127][ T521] RIP: 0033:0x7f2b0815637d [ 20.112130][ T521] 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.112132][ T521] RSP: 002b:00007fffaa077ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.112135][ T521] RAX: ffffffffffffffda RBX: 000055b288f24810 RCX: 00007f2b0815637d [ 20.112136][ T521] RDX: 0000000000000000 RSI: 000055b25b509ffd RDI: 0000000000000000 [ 20.112137][ T521] RBP: 00007fffaa077b60 R08: 0000000000000000 R09: 0000000000000000 [ 20.112138][ T521] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b25b509ffd [ 20.112138][ T521] R13: 000055b288f24960 R14: 0000000000040000 R15: 0000000000000000 [ 20.112145][ T521]