[ 9.952681][ T217] GACT probability NOT on [ 9.952696][ T217] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.952698][ T217] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 217, name: modprobe [ 9.952700][ T217] preempt_count: 1, expected: 0 [ 9.952701][ T217] RCU nest depth: 0, expected: 0 [ 9.952702][ T217] locks held by modprobe/217: 4, last CPU#2: [ 9.952704][ T217] #0: ffffffff9797ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.952715][ T217] #1: ffffffff9797de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.952720][ T217] #2: ffffffff9789d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.952723][ T217] #3: ffffffff9789d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.952727][ T217] irq event stamp: 17008 [ 9.952728][ T217] hardirqs last enabled at (17007): [] __down_trylock_console_sem+0x86/0xa0 [ 9.952731][ T217] hardirqs last disabled at (17008): [] console_emit_next_record+0x3d4/0x4c0 [ 9.952733][ T217] softirqs last enabled at (16496): [] handle_softirqs+0x67c/0x900 [ 9.952737][ T217] softirqs last disabled at (16491): [] __irq_exit_rcu+0x145/0x1c0 [ 9.952739][ T217] Preemption disabled at: [ 9.952739][ T217] [] vprintk_emit+0x31b/0x3e0 [ 9.952744][ T217] CPU: 2 UID: 0 PID: 217 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.952747][ T217] Tainted: [W]=WARN [ 9.952748][ T217] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.952750][ T217] Call Trace: [ 9.952751][ T217] [ 9.952753][ T217] dump_stack_lvl+0x6f/0xa0 [ 9.952758][ T217] ? vprintk_emit+0x31b/0x3e0 [ 9.952760][ T217] __might_resched.cold+0x1fe/0x2c1 [ 9.952764][ T217] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.952768][ T217] ? __kmalloc_noprof+0xdb/0x760 [ 9.952772][ T217] __kmalloc_noprof+0x443/0x760 [ 9.952774][ T217] ? alloc_buf.isra.0+0x4b/0x260 [ 9.952781][ T217] ? do_raw_spin_unlock+0x59/0x250 [ 9.952783][ T217] alloc_buf.isra.0+0x4b/0x260 [ 9.952787][ T217] put_chars+0x1e1/0x2f0 [ 9.952788][ T217] ? desc_read_finalized_seq+0x79/0x120 [ 9.952791][ T217] ? __send_to_port+0x420/0x420 [ 9.952793][ T217] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.952796][ T217] ? validate_chain+0x38b/0xc20 [ 9.952801][ T217] hvc_console_print+0x292/0x780 [ 9.952805][ T217] ? __lock_acquire+0x518/0xc20 [ 9.952806][ T217] ? __lock_acquire+0x518/0xc20 [ 9.952811][ T217] ? hvc_write+0x3a0/0x3a0 [ 9.952812][ T217] ? console_emit_next_record+0x1df/0x4c0 [ 9.952816][ T217] ? rcu_is_watching+0x16/0xd0 [ 9.952818][ T217] ? lock_acquire+0x13c/0x160 [ 9.952821][ T217] console_emit_next_record+0x22f/0x4c0 [ 9.952825][ T217] ? devkmsg_read+0x4b0/0x4b0 [ 9.952827][ T217] ? console_flush_one_record+0x106/0x710 [ 9.952830][ T217] ? rcu_is_watching+0x16/0xd0 [ 9.952832][ T217] ? lock_acquire+0x13c/0x160 [ 9.952835][ T217] console_flush_one_record+0x46f/0x710 [ 9.952839][ T217] ? console_emit_next_record+0x4c0/0x4c0 [ 9.952841][ T217] ? __lock_acquire+0x518/0xc20 [ 9.952846][ T217] console_unlock+0xee/0x1f0 [ 9.952849][ T217] ? console_flush_one_record+0x710/0x710 [ 9.952851][ T217] ? rcu_is_watching+0x16/0xd0 [ 9.952852][ T217] ? lock_acquire+0xe0/0x160 [ 9.952856][ T217] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.952857][ T217] ? vprintk_emit+0x320/0x3e0 [ 9.952860][ T217] vprintk_emit+0x37c/0x3e0 [ 9.952863][ T217] ? wake_up_klogd_work_func+0x90/0x90 [ 9.952868][ T217] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 9.952871][ T217] _printk+0xc7/0x100 [ 9.952874][ T217] ? snapshot_read.cold+0x21/0x21 [ 9.952880][ T217] ? do_one_initcall+0x113/0x4f0 [ 9.952883][ T217] gact_init_module+0x15/0x1000 [act_gact] [ 9.952885][ T217] do_one_initcall+0x124/0x4f0 [ 9.952888][ T217] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.952893][ T217] ? do_init_module+0xae/0x8a0 [ 9.952895][ T217] ? kasan_unpoison+0x44/0x70 [ 9.952901][ T217] do_init_module+0x2ad/0x8a0 [ 9.952903][ T217] ? lockdep_hardirqs_on+0x91/0x130 [ 9.952907][ T217] ? free_module+0x470/0x470 [ 9.952910][ T217] ? kfree+0x123/0x590 [ 9.952913][ T217] load_module+0x1424/0x1bb0 [ 9.952918][ T217] ? security_kernel_post_read_file+0x2f/0x60 [ 9.952923][ T217] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.952926][ T217] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.952930][ T217] ? backing_file_read_iter+0x541/0x790 [ 9.952934][ T217] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.952937][ T217] init_module_from_file+0x11f/0x1a0 [ 9.952939][ T217] ? __do_sys_init_module+0x270/0x270 [ 9.952947][ T217] ? __rwlock_init+0x150/0x150 [ 9.952950][ T217] ? do_raw_spin_unlock+0x59/0x250 [ 9.952953][ T217] idempotent_init_module+0x37b/0x7c0 [ 9.952956][ T217] ? init_module_from_file+0x1a0/0x1a0 [ 9.952961][ T217] ? cap_capable+0x1d7/0x3d0 [ 9.952963][ T217] ? __x64_sys_pread64+0x18d/0x250 [ 9.952968][ T217] __x64_sys_finit_module+0xdf/0x190 [ 9.952970][ T217] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.952973][ T217] do_syscall_64+0xff/0x530 [ 9.952976][ T217] ? exc_page_fault+0xee/0x100 [ 9.952978][ T217] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.952980][ T217] RIP: 0033:0x7feaaffa737d [ 9.952983][ T217] 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 [ 9.952985][ T217] RSP: 002b:00007ffd26d86f78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.952988][ T217] RAX: ffffffffffffffda RBX: 000055fc2467b810 RCX: 00007feaaffa737d [ 9.952989][ T217] RDX: 0000000000000000 RSI: 000055fc122d0ffd RDI: 0000000000000000 [ 9.952990][ T217] RBP: 00007ffd26d87010 R08: 0000000000000000 R09: 0000000000000000 [ 9.952991][ T217] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fc122d0ffd [ 9.952991][ T217] R13: 000055fc2467b960 R14: 0000000000040000 R15: 0000000000000000 [ 9.952998][ T217] [ 11.882732][ T322] jq (322) used greatest stack depth: 23952 bytes left [ 11.882750][ T322] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.882752][ T322] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 322, name: jq [ 11.882754][ T322] preempt_count: 2, expected: 0 [ 11.882755][ T322] RCU nest depth: 0, expected: 0 [ 11.882756][ T322] locks held by jq/322: 5, last CPU#2: [ 11.882758][ T322] #0: ffffffff978167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.882769][ T322] #1: ffffffff9797ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.882774][ T322] #2: ffffffff9797de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.882778][ T322] #3: ffffffff9789d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.882782][ T322] #4: ffffffff9789d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.882786][ T322] irq event stamp: 12272 [ 11.882787][ T322] hardirqs last enabled at (12271): [] __down_trylock_console_sem+0x86/0xa0 [ 11.882790][ T322] hardirqs last disabled at (12272): [] console_emit_next_record+0x3d4/0x4c0 [ 11.882792][ T322] softirqs last enabled at (12154): [] handle_softirqs+0x67c/0x900 [ 11.882794][ T322] softirqs last disabled at (12145): [] __irq_exit_rcu+0x145/0x1c0 [ 11.882796][ T322] Preemption disabled at: [ 11.882797][ T322] [<0000000000000000>] 0x0 [ 11.882803][ T322] CPU: 2 UID: 0 PID: 322 Comm: jq Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.882806][ T322] Tainted: [W]=WARN [ 11.882807][ T322] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.882809][ T322] Call Trace: [ 11.882811][ T322] [ 11.882812][ T322] dump_stack_lvl+0x6f/0xa0 [ 11.882818][ T322] __might_resched.cold+0x1fe/0x2c1 [ 11.882823][ T322] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.882827][ T322] ? __kmalloc_noprof+0xdb/0x760 [ 11.882831][ T322] __kmalloc_noprof+0x443/0x760 [ 11.882833][ T322] ? alloc_buf.isra.0+0x4b/0x260 [ 11.882840][ T322] ? do_raw_spin_unlock+0x59/0x250 [ 11.882843][ T322] alloc_buf.isra.0+0x4b/0x260 [ 11.882846][ T322] put_chars+0x1e1/0x2f0 [ 11.882849][ T322] ? __send_to_port+0x420/0x420 [ 11.882850][ T322] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.882853][ T322] ? validate_chain+0x38b/0xc20 [ 11.882859][ T322] hvc_console_print+0x292/0x780 [ 11.882866][ T322] ? hvc_write+0x3a0/0x3a0 [ 11.882869][ T322] ? rcu_is_watching+0x16/0xd0 [ 11.882871][ T322] ? lock_acquire+0x13c/0x160 [ 11.882875][ T322] console_emit_next_record+0x22f/0x4c0 [ 11.882879][ T322] ? devkmsg_read+0x4b0/0x4b0 [ 11.882881][ T322] ? console_flush_one_record+0x106/0x710 [ 11.882884][ T322] ? rcu_is_watching+0x16/0xd0 [ 11.882885][ T322] ? lock_acquire+0x13c/0x160 [ 11.882889][ T322] console_flush_one_record+0x46f/0x710 [ 11.882893][ T322] ? console_emit_next_record+0x4c0/0x4c0 [ 11.882895][ T322] ? __lock_acquire+0x518/0xc20 [ 11.882900][ T322] console_unlock+0xee/0x1f0 [ 11.882903][ T322] ? console_flush_one_record+0x710/0x710 [ 11.882905][ T322] ? rcu_is_watching+0x16/0xd0 [ 11.882907][ T322] ? lock_acquire+0xe0/0x160 [ 11.882910][ T322] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.882912][ T322] ? vprintk_emit+0x320/0x3e0 [ 11.882915][ T322] vprintk_emit+0x37c/0x3e0 [ 11.882918][ T322] ? wake_up_klogd_work_func+0x90/0x90 [ 11.882920][ T322] ? __lock_acquire+0x518/0xc20 [ 11.882924][ T322] _printk+0xc7/0x100 [ 11.882928][ T322] ? snapshot_read.cold+0x21/0x21 [ 11.882930][ T322] ? do_raw_spin_lock+0x131/0x280 [ 11.882933][ T322] ? __rwlock_init+0x150/0x150 [ 11.882937][ T322] ? do_raw_spin_lock+0x131/0x280 [ 11.882940][ T322] do_exit.cold+0x82/0x9c [ 11.882943][ T322] ? exit_notify+0x890/0x890 [ 11.882945][ T322] ? __lock_release.isra.0+0x69/0x1a0 [ 11.882947][ T322] ? rcu_is_watching+0x16/0xd0 [ 11.882951][ T322] do_group_exit+0xb8/0x370 [ 11.882953][ T322] __x64_sys_exit_group+0x3c/0x50 [ 11.882955][ T322] x64_sys_call+0x1567/0x1570 [ 11.882958][ T322] do_syscall_64+0xff/0x530 [ 11.882962][ T322] ? exc_page_fault+0xee/0x100 [ 11.882965][ T322] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.882967][ T322] RIP: 0033:0x7f8c4bda01b8 [ 11.882970][ T322] Code: Unable to access opcode bytes at 0x7f8c4bda018e. [ 11.882971][ T322] RSP: 002b:00007ffc2bc1acd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.882973][ T322] RAX: ffffffffffffffda RBX: 00007f8c4bed0f88 RCX: 00007f8c4bda01b8 [ 11.882974][ T322] RDX: 00007f8c4bbc4a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 11.882975][ T322] RBP: 00007ffc2bc1ad30 R08: 00000000ffffffff R09: 0000000000000020 [ 11.882976][ T322] R10: 00007ffc2bc1ab50 R11: 0000000000000246 R12: 0000000000000004 [ 11.882976][ T322] R13: 0000000000000000 R14: 00007f8c4becf680 R15: 00007f8c4bed0fa0 [ 11.882983][ T322]