[ 10.912660][ T216] GACT probability NOT on [ 10.912677][ T216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.912680][ T216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 216, name: modprobe [ 10.912681][ T216] preempt_count: 1, expected: 0 [ 10.912682][ T216] RCU nest depth: 0, expected: 0 [ 10.912683][ T216] locks held by modprobe/216: 4, last CPU#1: [ 10.912685][ T216] #0: ffffffff8637ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.912697][ T216] #1: ffffffff8637de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.912701][ T216] #2: ffffffff8629d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.912705][ T216] #3: ffffffff8629d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.912709][ T216] irq event stamp: 31884 [ 10.912710][ T216] hardirqs last enabled at (31883): [] __down_trylock_console_sem+0x86/0xa0 [ 10.912713][ T216] hardirqs last disabled at (31884): [] console_emit_next_record+0x3d4/0x4c0 [ 10.912715][ T216] softirqs last enabled at (30830): [] handle_softirqs+0x67c/0x900 [ 10.912719][ T216] softirqs last disabled at (30519): [] __irq_exit_rcu+0x145/0x1c0 [ 10.912721][ T216] Preemption disabled at: [ 10.912722][ T216] [] vprintk_emit+0x31b/0x3e0 [ 10.912726][ T216] CPU: 1 UID: 0 PID: 216 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.912730][ T216] Tainted: [W]=WARN [ 10.912730][ T216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.912732][ T216] Call Trace: [ 10.912733][ T216] [ 10.912735][ T216] dump_stack_lvl+0x6f/0xa0 [ 10.912741][ T216] ? vprintk_emit+0x31b/0x3e0 [ 10.912742][ T216] __might_resched.cold+0x1fe/0x2c1 [ 10.912747][ T216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.912751][ T216] ? __kmalloc_noprof+0xdb/0x760 [ 10.912755][ T216] __kmalloc_noprof+0x443/0x760 [ 10.912757][ T216] ? alloc_buf.isra.0+0x4b/0x260 [ 10.912764][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 10.912766][ T216] alloc_buf.isra.0+0x4b/0x260 [ 10.912770][ T216] put_chars+0x1e1/0x2f0 [ 10.912774][ T216] ? desc_read_finalized_seq+0x79/0x120 [ 10.912777][ T216] ? __send_to_port+0x420/0x420 [ 10.912779][ T216] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.912782][ T216] ? validate_chain+0x38b/0xc20 [ 10.912787][ T216] hvc_console_print+0x292/0x780 [ 10.912791][ T216] ? __lock_acquire+0x518/0xc20 [ 10.912793][ T216] ? __lock_acquire+0x518/0xc20 [ 10.912797][ T216] ? hvc_write+0x3a0/0x3a0 [ 10.912799][ T216] ? console_emit_next_record+0x1df/0x4c0 [ 10.912802][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.912804][ T216] ? lock_acquire+0x13c/0x160 [ 10.912808][ T216] console_emit_next_record+0x22f/0x4c0 [ 10.912812][ T216] ? devkmsg_read+0x4b0/0x4b0 [ 10.912814][ T216] ? console_flush_one_record+0x106/0x710 [ 10.912817][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.912819][ T216] ? lock_acquire+0x13c/0x160 [ 10.912822][ T216] console_flush_one_record+0x46f/0x710 [ 10.912826][ T216] ? console_emit_next_record+0x4c0/0x4c0 [ 10.912828][ T216] ? __lock_acquire+0x518/0xc20 [ 10.912833][ T216] console_unlock+0xee/0x1f0 [ 10.912836][ T216] ? console_flush_one_record+0x710/0x710 [ 10.912838][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.912840][ T216] ? lock_acquire+0xe0/0x160 [ 10.912843][ T216] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.912845][ T216] ? vprintk_emit+0x320/0x3e0 [ 10.912848][ T216] vprintk_emit+0x37c/0x3e0 [ 10.912851][ T216] ? wake_up_klogd_work_func+0x90/0x90 [ 10.912853][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.912855][ T216] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.912860][ T216] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 10.912862][ T216] _printk+0xc7/0x100 [ 10.912866][ T216] ? snapshot_read.cold+0x21/0x21 [ 10.912870][ T216] ? do_one_initcall+0x113/0x4f0 [ 10.912874][ T216] ? do_one_initcall+0x113/0x4f0 [ 10.912877][ T216] gact_init_module+0x15/0x1000 [act_gact] [ 10.912879][ T216] do_one_initcall+0x124/0x4f0 [ 10.912882][ T216] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.912886][ T216] ? do_init_module+0xae/0x8a0 [ 10.912889][ T216] ? kasan_unpoison+0x44/0x70 [ 10.912894][ T216] do_init_module+0x2ad/0x8a0 [ 10.912897][ T216] ? lockdep_hardirqs_on+0x91/0x130 [ 10.912901][ T216] ? free_module+0x470/0x470 [ 10.912904][ T216] ? kfree+0x123/0x590 [ 10.912907][ T216] load_module+0x1424/0x1bb0 [ 10.912912][ T216] ? security_kernel_post_read_file+0x2f/0x60 [ 10.912917][ T216] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.912920][ T216] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.912924][ T216] ? backing_file_read_iter+0x541/0x790 [ 10.912927][ T216] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.912931][ T216] init_module_from_file+0x11f/0x1a0 [ 10.912933][ T216] ? __do_sys_init_module+0x270/0x270 [ 10.912940][ T216] ? __rwlock_init+0x150/0x150 [ 10.912944][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 10.912947][ T216] idempotent_init_module+0x37b/0x7c0 [ 10.912950][ T216] ? init_module_from_file+0x1a0/0x1a0 [ 10.912955][ T216] ? cap_capable+0x1d7/0x3d0 [ 10.912957][ T216] ? __x64_sys_pread64+0x18d/0x250 [ 10.912962][ T216] __x64_sys_finit_module+0xdf/0x190 [ 10.912964][ T216] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.912966][ T216] do_syscall_64+0xff/0x530 [ 10.912969][ T216] ? exc_page_fault+0xee/0x100 [ 10.912972][ T216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.912974][ T216] RIP: 0033:0x7f8ac9f7137d [ 10.912977][ T216] 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 [ 10.912979][ T216] RSP: 002b:00007ffde7d264f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.912981][ T216] RAX: ffffffffffffffda RBX: 000055c676bcd810 RCX: 00007f8ac9f7137d [ 10.912982][ T216] RDX: 0000000000000000 RSI: 000055c65692cffd RDI: 0000000000000000 [ 10.912983][ T216] RBP: 00007ffde7d26590 R08: 0000000000000000 R09: 0000000000000000 [ 10.912984][ T216] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c65692cffd [ 10.912985][ T216] R13: 000055c676bcd960 R14: 0000000000040000 R15: 0000000000000000 [ 10.912992][ T216] [ 10.948283][ T214] tc (214) used greatest stack depth: 24272 bytes left [ 20.472614][ T689] jq (689) used greatest stack depth: 23808 bytes left [ 20.472632][ T689] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.472634][ T689] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 689, name: jq [ 20.472635][ T689] preempt_count: 2, expected: 0 [ 20.472636][ T689] RCU nest depth: 0, expected: 0 [ 20.472637][ T689] locks held by jq/689: 5, last CPU#2: [ 20.472639][ T689] #0: ffffffff862167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 20.472651][ T689] #1: ffffffff8637ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.472661][ T689] #2: ffffffff8637de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.472666][ T689] #3: ffffffff8629d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.472669][ T689] #4: ffffffff8629d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.472674][ T689] irq event stamp: 13018 [ 20.472674][ T689] hardirqs last enabled at (13017): [] __down_trylock_console_sem+0x86/0xa0 [ 20.472678][ T689] hardirqs last disabled at (13018): [] console_emit_next_record+0x3d4/0x4c0 [ 20.472680][ T689] softirqs last enabled at (12470): [] handle_softirqs+0x67c/0x900 [ 20.472682][ T689] softirqs last disabled at (12465): [] __irq_exit_rcu+0x145/0x1c0 [ 20.472684][ T689] Preemption disabled at: [ 20.472685][ T689] [<0000000000000000>] 0x0 [ 20.472691][ T689] CPU: 2 UID: 0 PID: 689 Comm: jq Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.472695][ T689] Tainted: [W]=WARN [ 20.472696][ T689] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.472697][ T689] Call Trace: [ 20.472699][ T689] [ 20.472701][ T689] dump_stack_lvl+0x6f/0xa0 [ 20.472707][ T689] __might_resched.cold+0x1fe/0x2c1 [ 20.472712][ T689] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.472716][ T689] ? __kmalloc_noprof+0xdb/0x760 [ 20.472720][ T689] __kmalloc_noprof+0x443/0x760 [ 20.472722][ T689] ? alloc_buf.isra.0+0x4b/0x260 [ 20.472729][ T689] ? do_raw_spin_unlock+0x59/0x250 [ 20.472732][ T689] alloc_buf.isra.0+0x4b/0x260 [ 20.472735][ T689] put_chars+0x1e1/0x2f0 [ 20.472738][ T689] ? __send_to_port+0x420/0x420 [ 20.472739][ T689] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.472743][ T689] ? validate_chain+0x38b/0xc20 [ 20.472748][ T689] hvc_console_print+0x292/0x780 [ 20.472756][ T689] ? hvc_write+0x3a0/0x3a0 [ 20.472758][ T689] ? rcu_is_watching+0x16/0xd0 [ 20.472761][ T689] ? lock_acquire+0x13c/0x160 [ 20.472765][ T689] console_emit_next_record+0x22f/0x4c0 [ 20.472770][ T689] ? devkmsg_read+0x4b0/0x4b0 [ 20.472771][ T689] ? console_flush_one_record+0x106/0x710 [ 20.472775][ T689] ? rcu_is_watching+0x16/0xd0 [ 20.472776][ T689] ? lock_acquire+0x13c/0x160 [ 20.472781][ T689] console_flush_one_record+0x46f/0x710 [ 20.472785][ T689] ? console_emit_next_record+0x4c0/0x4c0 [ 20.472787][ T689] ? __lock_acquire+0x518/0xc20 [ 20.472792][ T689] console_unlock+0xee/0x1f0 [ 20.472795][ T689] ? console_flush_one_record+0x710/0x710 [ 20.472797][ T689] ? rcu_is_watching+0x16/0xd0 [ 20.472799][ T689] ? lock_acquire+0xe0/0x160 [ 20.472803][ T689] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.472805][ T689] ? vprintk_emit+0x320/0x3e0 [ 20.472807][ T689] vprintk_emit+0x37c/0x3e0 [ 20.472811][ T689] ? wake_up_klogd_work_func+0x90/0x90 [ 20.472814][ T689] ? __lock_acquire+0x518/0xc20 [ 20.472818][ T689] _printk+0xc7/0x100 [ 20.472821][ T689] ? snapshot_read.cold+0x21/0x21 [ 20.472824][ T689] ? do_raw_spin_lock+0x131/0x280 [ 20.472827][ T689] ? __rwlock_init+0x150/0x150 [ 20.472831][ T689] ? do_raw_spin_lock+0x131/0x280 [ 20.472834][ T689] do_exit.cold+0x82/0x9c [ 20.472838][ T689] ? exit_notify+0x890/0x890 [ 20.472839][ T689] ? __lock_release.isra.0+0x69/0x1a0 [ 20.472842][ T689] ? rcu_is_watching+0x16/0xd0 [ 20.472845][ T689] do_group_exit+0xb8/0x370 [ 20.472848][ T689] __x64_sys_exit_group+0x3c/0x50 [ 20.472850][ T689] x64_sys_call+0x1567/0x1570 [ 20.472853][ T689] do_syscall_64+0xff/0x530 [ 20.472857][ T689] ? exc_page_fault+0xee/0x100 [ 20.472860][ T689] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.472862][ T689] RIP: 0033:0x7f21c4dd41b8 [ 20.472864][ T689] Code: Unable to access opcode bytes at 0x7f21c4dd418e. [ 20.472865][ T689] RSP: 002b:00007fff569e3c28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 20.472868][ T689] RAX: ffffffffffffffda RBX: 00007f21c4f04f88 RCX: 00007f21c4dd41b8 [ 20.472869][ T689] RDX: 00007f21c4bf8a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 20.472870][ T689] RBP: 00007fff569e3c80 R08: 00000000ffffffff R09: 0000000000000020 [ 20.472871][ T689] R10: 00007fff569e3aa0 R11: 0000000000000246 R12: 0000000000000004 [ 20.472872][ T689] R13: 0000000000000000 R14: 00007f21c4f03680 R15: 00007f21c4f04fa0 [ 20.472879][ T689]