[ 16.961106][ T301] GACT probability NOT on [ 16.961124][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.961127][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: modprobe [ 16.961129][ T301] preempt_count: 1, expected: 0 [ 16.961131][ T301] RCU nest depth: 0, expected: 0 [ 16.961132][ T301] locks held by modprobe/301: 4, last CPU#3: [ 16.961135][ T301] #0: ffffffffa8169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.961150][ T301] #1: ffffffffa8169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.961156][ T301] #2: ffffffffa8089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.961162][ T301] #3: ffffffffa8089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.961167][ T301] irq event stamp: 18892 [ 16.961169][ T301] hardirqs last enabled at (18891): [] __down_trylock_console_sem+0x86/0xa0 [ 16.961172][ T301] hardirqs last disabled at (18892): [] console_emit_next_record+0x3d4/0x4c0 [ 16.961175][ T301] softirqs last enabled at (18748): [] handle_softirqs+0x67c/0x900 [ 16.961179][ T301] softirqs last disabled at (18011): [] __irq_exit_rcu+0x145/0x1c0 [ 16.961182][ T301] Preemption disabled at: [ 16.961183][ T301] [] vprintk_emit+0x31b/0x3e0 [ 16.961190][ T301] CPU: 3 UID: 0 PID: 301 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.961195][ T301] Tainted: [W]=WARN [ 16.961196][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.961198][ T301] Call Trace: [ 16.961200][ T301] [ 16.961202][ T301] dump_stack_lvl+0x6f/0xa0 [ 16.961209][ T301] ? vprintk_emit+0x31b/0x3e0 [ 16.961212][ T301] __might_resched.cold+0x1fe/0x2c1 [ 16.961218][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.961223][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 16.961230][ T301] __kmalloc_noprof+0x443/0x760 [ 16.961234][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 16.961242][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 16.961245][ T301] alloc_buf.isra.0+0x4b/0x260 [ 16.961250][ T301] put_chars+0x1e1/0x2f0 [ 16.961253][ T301] ? desc_read_finalized_seq+0x79/0x120 [ 16.961256][ T301] ? __send_to_port+0x420/0x420 [ 16.961261][ T301] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.961265][ T301] ? validate_chain+0x38b/0xc20 [ 16.961272][ T301] hvc_console_print+0x292/0x780 [ 16.961275][ T301] ? __lock_acquire+0x518/0xc20 [ 16.961278][ T301] ? __lock_acquire+0x518/0xc20 [ 16.961285][ T301] ? hvc_write+0x3a0/0x3a0 [ 16.961287][ T301] ? console_emit_next_record+0x1df/0x4c0 [ 16.961292][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.961296][ T301] ? lock_acquire+0x13c/0x160 [ 16.961303][ T301] console_emit_next_record+0x22f/0x4c0 [ 16.961308][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 16.961311][ T301] ? console_flush_one_record+0x106/0x710 [ 16.961316][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.961319][ T301] ? lock_acquire+0x13c/0x160 [ 16.961325][ T301] console_flush_one_record+0x46f/0x710 [ 16.961332][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 16.961334][ T301] ? __lock_acquire+0x518/0xc20 [ 16.961343][ T301] console_unlock+0xee/0x1f0 [ 16.961347][ T301] ? console_flush_one_record+0x710/0x710 [ 16.961349][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.961353][ T301] ? lock_acquire+0x60/0x160 [ 16.961359][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.961361][ T301] ? vprintk_emit+0x320/0x3e0 [ 16.961366][ T301] vprintk_emit+0x37c/0x3e0 [ 16.961372][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 16.961381][ T301] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.961386][ T301] _printk+0xc7/0x100 [ 16.961390][ T301] ? snapshot_read.cold+0x21/0x21 [ 16.961401][ T301] ? do_one_initcall+0x113/0x4f0 [ 16.961405][ T301] gact_init_module+0x15/0x1000 [act_gact] [ 16.961409][ T301] do_one_initcall+0x124/0x4f0 [ 16.961413][ T301] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.961420][ T301] ? do_init_module+0xae/0x8a0 [ 16.961424][ T301] ? kasan_unpoison+0x44/0x70 [ 16.961431][ T301] do_init_module+0x2ad/0x8a0 [ 16.961442][ T301] ? lockdep_hardirqs_on+0x91/0x130 [ 16.961448][ T301] ? free_module+0x470/0x470 [ 16.961453][ T301] ? kfree+0x123/0x590 [ 16.961459][ T301] load_module+0x1424/0x1bb0 [ 16.961471][ T301] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.961477][ T301] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.961481][ T301] ? ovl_real_file+0x172/0x1e0 [ 16.961486][ T301] ? backing_file_read_iter+0x541/0x790 [ 16.961490][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.961496][ T301] init_module_from_file+0x11f/0x1a0 [ 16.961501][ T301] ? __do_sys_init_module+0x220/0x220 [ 16.961515][ T301] ? __rwlock_init+0x150/0x150 [ 16.961520][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 16.961525][ T301] idempotent_init_module+0x37b/0x7c0 [ 16.961530][ T301] ? init_module_from_file+0x1a0/0x1a0 [ 16.961541][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.961544][ T301] ? cap_capable+0x1d7/0x3d0 [ 16.961553][ T301] __x64_sys_finit_module+0xdf/0x190 [ 16.961556][ T301] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.961561][ T301] do_syscall_64+0xff/0x530 [ 16.961564][ T301] ? exc_page_fault+0xee/0x100 [ 16.961568][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.961573][ T301] RIP: 0033:0x7fea064fe37d [ 16.961577][ T301] 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 [ 16.961579][ T301] RSP: 002b:00007ffc5b254368 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.961583][ T301] RAX: ffffffffffffffda RBX: 00005603e0dd2810 RCX: 00007fea064fe37d [ 16.961585][ T301] RDX: 0000000000000000 RSI: 00005603d2b99ffd RDI: 0000000000000000 [ 16.961586][ T301] RBP: 00007ffc5b254400 R08: 0000000000000000 R09: 0000000000000000 [ 16.961588][ T301] R10: 0000000000000000 R11: 0000000000000246 R12: 00005603d2b99ffd [ 16.961589][ T301] R13: 00005603e0dd2960 R14: 0000000000040000 R15: 0000000000000000 [ 16.961601][ T301] [ 59.144045][ T527] Mirror/redirect action on [ 59.144066][ T527] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 59.144069][ T527] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 527, name: modprobe [ 59.144071][ T527] preempt_count: 1, expected: 0 [ 59.144072][ T527] RCU nest depth: 0, expected: 0 [ 59.144073][ T527] locks held by modprobe/527: 4, last CPU#3: [ 59.144075][ T527] #0: ffffffffa8169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 59.144087][ T527] #1: ffffffffa8169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 59.144091][ T527] #2: ffffffffa8089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 59.144095][ T527] #3: ffffffffa8089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 59.144099][ T527] irq event stamp: 20266 [ 59.144100][ T527] hardirqs last enabled at (20265): [] __down_trylock_console_sem+0x86/0xa0 [ 59.144103][ T527] hardirqs last disabled at (20266): [] console_emit_next_record+0x3d4/0x4c0 [ 59.144104][ T527] softirqs last enabled at (19914): [] handle_softirqs+0x67c/0x900 [ 59.144108][ T527] softirqs last disabled at (19067): [] __irq_exit_rcu+0x145/0x1c0 [ 59.144110][ T527] Preemption disabled at: [ 59.144110][ T527] [] vprintk_emit+0x31b/0x3e0 [ 59.144116][ T527] CPU: 3 UID: 0 PID: 527 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 59.144120][ T527] Tainted: [W]=WARN [ 59.144120][ T527] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.144122][ T527] Call Trace: [ 59.144124][ T527] [ 59.144125][ T527] dump_stack_lvl+0x6f/0xa0 [ 59.144131][ T527] ? vprintk_emit+0x31b/0x3e0 [ 59.144133][ T527] __might_resched.cold+0x1fe/0x2c1 [ 59.144138][ T527] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 59.144142][ T527] ? __kmalloc_noprof+0xdb/0x760 [ 59.144147][ T527] __kmalloc_noprof+0x443/0x760 [ 59.144149][ T527] ? alloc_buf.isra.0+0x4b/0x260 [ 59.144155][ T527] ? do_raw_spin_unlock+0x59/0x250 [ 59.144158][ T527] alloc_buf.isra.0+0x4b/0x260 [ 59.144161][ T527] put_chars+0x1e1/0x2f0 [ 59.144164][ T527] ? __send_to_port+0x420/0x420 [ 59.144165][ T527] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 59.144170][ T527] ? rcu_read_lock_any_held+0x3c/0x90 [ 59.144172][ T527] ? validate_chain+0x38b/0xc20 [ 59.144176][ T527] hvc_console_print+0x292/0x780 [ 59.144179][ T527] ? __lock_acquire+0x518/0xc20 [ 59.144184][ T527] ? hvc_write+0x3a0/0x3a0 [ 59.144186][ T527] ? rcu_is_watching+0x16/0xd0 [ 59.144191][ T527] console_emit_next_record+0x22f/0x4c0 [ 59.144195][ T527] ? devkmsg_read+0x4b0/0x4b0 [ 59.144197][ T527] ? console_flush_one_record+0x106/0x710 [ 59.144200][ T527] ? rcu_is_watching+0x16/0xd0 [ 59.144202][ T527] ? lock_acquire+0x13c/0x160 [ 59.144206][ T527] console_flush_one_record+0x46f/0x710 [ 59.144210][ T527] ? console_emit_next_record+0x4c0/0x4c0 [ 59.144212][ T527] ? __lock_acquire+0x518/0xc20 [ 59.144216][ T527] console_unlock+0xee/0x1f0 [ 59.144219][ T527] ? console_flush_one_record+0x710/0x710 [ 59.144221][ T527] ? rcu_is_watching+0x16/0xd0 [ 59.144223][ T527] ? lock_acquire+0x60/0x160 [ 59.144227][ T527] ? __down_trylock_console_sem+0x5e/0xa0 [ 59.144228][ T527] ? vprintk_emit+0x320/0x3e0 [ 59.144232][ T527] vprintk_emit+0x37c/0x3e0 [ 59.144236][ T527] ? wake_up_klogd_work_func+0x90/0x90 [ 59.144239][ T527] ? netdev_run_todo+0x2a8/0xfd0 [ 59.144243][ T527] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 59.144247][ T527] ? rcu_is_watching+0x16/0xd0 [ 59.144250][ T527] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 59.144253][ T527] _printk+0xc7/0x100 [ 59.144256][ T527] ? snapshot_read.cold+0x21/0x21 [ 59.144258][ T527] ? __lock_release.isra.0+0x69/0x1a0 [ 59.144261][ T527] ? mirred_cleanup_module+0x750/0x750 [act_mirred] [ 59.144263][ T527] ? __up_write+0x23d/0x5f0 [ 59.144264][ T527] ? __up_write+0x2e5/0x5f0 [ 59.144268][ T527] ? __up_write+0x2c7/0x5f0 [ 59.144270][ T527] mirred_init_module+0x28/0x1000 [act_mirred] [ 59.144273][ T527] do_one_initcall+0x124/0x4f0 [ 59.144276][ T527] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 59.144280][ T527] ? do_init_module+0xae/0x8a0 [ 59.144284][ T527] ? kasan_unpoison+0x44/0x70 [ 59.144288][ T527] do_init_module+0x2ad/0x8a0 [ 59.144292][ T527] ? lockdep_hardirqs_on+0x91/0x130 [ 59.144296][ T527] ? free_module+0x470/0x470 [ 59.144299][ T527] ? kfree+0x123/0x590 [ 59.144303][ T527] load_module+0x1424/0x1bb0 [ 59.144310][ T527] ? layout_and_allocate.isra.0+0x680/0x680 [ 59.144314][ T527] ? __ia32_sys_fsconfig+0x180/0x180 [ 59.144317][ T527] ? ovl_real_file+0x172/0x1e0 [ 59.144321][ T527] ? backing_file_read_iter+0x541/0x790 [ 59.144324][ T527] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 59.144327][ T527] init_module_from_file+0x11f/0x1a0 [ 59.144330][ T527] ? __do_sys_init_module+0x220/0x220 [ 59.144338][ T527] ? __rwlock_init+0x150/0x150 [ 59.144342][ T527] ? do_raw_spin_unlock+0x59/0x250 [ 59.144345][ T527] idempotent_init_module+0x37b/0x7c0 [ 59.144348][ T527] ? init_module_from_file+0x1a0/0x1a0 [ 59.144354][ T527] ? rcu_is_watching+0x16/0xd0 [ 59.144356][ T527] ? cap_capable+0x1d7/0x3d0 [ 59.144362][ T527] __x64_sys_finit_module+0xdf/0x190 [ 59.144364][ T527] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 59.144367][ T527] do_syscall_64+0xff/0x530 [ 59.144369][ T527] ? exc_page_fault+0xee/0x100 [ 59.144372][ T527] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 59.144374][ T527] RIP: 0033:0x7faad22f537d [ 59.144378][ T527] 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.144380][ T527] RSP: 002b:00007ffc598a2b78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 59.144383][ T527] RAX: ffffffffffffffda RBX: 0000558f2493c810 RCX: 00007faad22f537d [ 59.144384][ T527] RDX: 0000000000000000 RSI: 0000558ee52e9ffd RDI: 0000000000000000 [ 59.144385][ T527] RBP: 00007ffc598a2c10 R08: 0000000000000000 R09: 0000000000000000 [ 59.144386][ T527] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558ee52e9ffd [ 59.144386][ T527] R13: 0000558f2493c960 R14: 0000000000040000 R15: 0000000000000000 [ 59.144393][ T527]