[ 11.055150][ T217] GACT probability NOT on [ 11.055166][ T217] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.055168][ T217] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 217, name: modprobe [ 11.055169][ T217] preempt_count: 1, expected: 0 [ 11.055170][ T217] RCU nest depth: 0, expected: 0 [ 11.055171][ T217] locks held by modprobe/217: 4, last CPU#3: [ 11.055173][ T217] #0: ffffffffb277ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.055184][ T217] #1: ffffffffb277de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.055190][ T217] #2: ffffffffb269d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.055193][ T217] #3: ffffffffb269d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.055198][ T217] irq event stamp: 20962 [ 11.055199][ T217] hardirqs last enabled at (20961): [] __down_trylock_console_sem+0x86/0xa0 [ 11.055202][ T217] hardirqs last disabled at (20962): [] console_emit_next_record+0x3d4/0x4c0 [ 11.055204][ T217] softirqs last enabled at (19536): [] handle_softirqs+0x67c/0x900 [ 11.055207][ T217] softirqs last disabled at (18753): [] __irq_exit_rcu+0x145/0x1c0 [ 11.055209][ T217] Preemption disabled at: [ 11.055210][ T217] [] vprintk_emit+0x31b/0x3e0 [ 11.055215][ T217] CPU: 3 UID: 0 PID: 217 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.055219][ T217] Tainted: [W]=WARN [ 11.055220][ T217] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.055222][ T217] Call Trace: [ 11.055223][ T217] [ 11.055224][ T217] dump_stack_lvl+0x6f/0xa0 [ 11.055230][ T217] ? vprintk_emit+0x31b/0x3e0 [ 11.055232][ T217] __might_resched.cold+0x1fe/0x2c1 [ 11.055236][ T217] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.055241][ T217] ? __kmalloc_noprof+0xdb/0x760 [ 11.055245][ T217] __kmalloc_noprof+0x443/0x760 [ 11.055247][ T217] ? alloc_buf.isra.0+0x4b/0x260 [ 11.055254][ T217] ? do_raw_spin_unlock+0x59/0x250 [ 11.055257][ T217] alloc_buf.isra.0+0x4b/0x260 [ 11.055260][ T217] put_chars+0x1e1/0x2f0 [ 11.055262][ T217] ? desc_read_finalized_seq+0x79/0x120 [ 11.055264][ T217] ? __send_to_port+0x420/0x420 [ 11.055267][ T217] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.055270][ T217] ? validate_chain+0x38b/0xc20 [ 11.055274][ T217] hvc_console_print+0x292/0x780 [ 11.055278][ T217] ? __lock_acquire+0x518/0xc20 [ 11.055279][ T217] ? __lock_acquire+0x518/0xc20 [ 11.055284][ T217] ? hvc_write+0x3a0/0x3a0 [ 11.055286][ T217] ? console_emit_next_record+0x1df/0x4c0 [ 11.055289][ T217] ? rcu_is_watching+0x16/0xd0 [ 11.055291][ T217] ? lock_acquire+0x13c/0x160 [ 11.055295][ T217] console_emit_next_record+0x22f/0x4c0 [ 11.055299][ T217] ? devkmsg_read+0x4b0/0x4b0 [ 11.055301][ T217] ? console_flush_one_record+0x106/0x710 [ 11.055304][ T217] ? rcu_is_watching+0x16/0xd0 [ 11.055305][ T217] ? lock_acquire+0x13c/0x160 [ 11.055309][ T217] console_flush_one_record+0x46f/0x710 [ 11.055313][ T217] ? console_emit_next_record+0x4c0/0x4c0 [ 11.055315][ T217] ? __lock_acquire+0x518/0xc20 [ 11.055320][ T217] console_unlock+0xee/0x1f0 [ 11.055323][ T217] ? console_flush_one_record+0x710/0x710 [ 11.055325][ T217] ? rcu_is_watching+0x16/0xd0 [ 11.055327][ T217] ? lock_acquire+0xe0/0x160 [ 11.055330][ T217] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.055332][ T217] ? vprintk_emit+0x320/0x3e0 [ 11.055335][ T217] vprintk_emit+0x37c/0x3e0 [ 11.055338][ T217] ? wake_up_klogd_work_func+0x90/0x90 [ 11.055343][ T217] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 11.055346][ T217] _printk+0xc7/0x100 [ 11.055349][ T217] ? snapshot_read.cold+0x21/0x21 [ 11.055355][ T217] ? do_one_initcall+0x113/0x4f0 [ 11.055359][ T217] gact_init_module+0x15/0x1000 [act_gact] [ 11.055361][ T217] do_one_initcall+0x124/0x4f0 [ 11.055364][ T217] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.055368][ T217] ? do_init_module+0xae/0x8a0 [ 11.055371][ T217] ? kasan_unpoison+0x44/0x70 [ 11.055376][ T217] do_init_module+0x2ad/0x8a0 [ 11.055379][ T217] ? lockdep_hardirqs_on+0x91/0x130 [ 11.055383][ T217] ? free_module+0x470/0x470 [ 11.055386][ T217] ? kfree+0x123/0x590 [ 11.055389][ T217] load_module+0x1424/0x1bb0 [ 11.055394][ T217] ? security_kernel_post_read_file+0x2f/0x60 [ 11.055399][ T217] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.055402][ T217] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.055406][ T217] ? backing_file_read_iter+0x541/0x790 [ 11.055410][ T217] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.055413][ T217] init_module_from_file+0x11f/0x1a0 [ 11.055416][ T217] ? __do_sys_init_module+0x270/0x270 [ 11.055423][ T217] ? __rwlock_init+0x150/0x150 [ 11.055427][ T217] ? do_raw_spin_unlock+0x59/0x250 [ 11.055430][ T217] idempotent_init_module+0x37b/0x7c0 [ 11.055432][ T217] ? init_module_from_file+0x1a0/0x1a0 [ 11.055438][ T217] ? cap_capable+0x1d7/0x3d0 [ 11.055440][ T217] ? __x64_sys_pread64+0x18d/0x250 [ 11.055445][ T217] __x64_sys_finit_module+0xdf/0x190 [ 11.055447][ T217] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.055451][ T217] do_syscall_64+0xff/0x530 [ 11.055454][ T217] ? exc_page_fault+0xee/0x100 [ 11.055457][ T217] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.055459][ T217] RIP: 0033:0x7f169a2e037d [ 11.055462][ 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 [ 11.055465][ T217] RSP: 002b:00007ffe8af83878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.055467][ T217] RAX: ffffffffffffffda RBX: 00005638714d6810 RCX: 00007f169a2e037d [ 11.055468][ T217] RDX: 0000000000000000 RSI: 000056383f9cdffd RDI: 0000000000000000 [ 11.055469][ T217] RBP: 00007ffe8af83910 R08: 0000000000000000 R09: 0000000000000000 [ 11.055470][ T217] R10: 0000000000000000 R11: 0000000000000246 R12: 000056383f9cdffd [ 11.055471][ T217] R13: 00005638714d6960 R14: 0000000000040000 R15: 0000000000000000 [ 11.055477][ T217] [ 12.228947][ T280] ip (280) used greatest stack depth: 23872 bytes left [ 12.228965][ T280] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.228967][ T280] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 280, name: ip [ 12.228968][ T280] preempt_count: 2, expected: 0 [ 12.228969][ T280] RCU nest depth: 0, expected: 0 [ 12.228970][ T280] locks held by ip/280: 5, last CPU#0: [ 12.228972][ T280] #0: ffffffffb26167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.228984][ T280] #1: ffffffffb277ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.228989][ T280] #2: ffffffffb277de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.228993][ T280] #3: ffffffffb269d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.228997][ T280] #4: ffffffffb269d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.229001][ T280] irq event stamp: 22440 [ 12.229002][ T280] hardirqs last enabled at (22439): [] __down_trylock_console_sem+0x86/0xa0 [ 12.229005][ T280] hardirqs last disabled at (22440): [] console_emit_next_record+0x3d4/0x4c0 [ 12.229007][ T280] softirqs last enabled at (20878): [] netlink_release+0x17b/0xcf0 [ 12.229011][ T280] softirqs last disabled at (20876): [] netlink_release+0xd2/0xcf0 [ 12.229014][ T280] Preemption disabled at: [ 12.229015][ T280] [<0000000000000000>] 0x0 [ 12.229022][ T280] CPU: 0 UID: 0 PID: 280 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.229026][ T280] Tainted: [W]=WARN [ 12.229027][ T280] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.229028][ T280] Call Trace: [ 12.229030][ T280] [ 12.229031][ T280] dump_stack_lvl+0x6f/0xa0 [ 12.229038][ T280] __might_resched.cold+0x1fe/0x2c1 [ 12.229042][ T280] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.229047][ T280] ? __kmalloc_noprof+0xdb/0x760 [ 12.229051][ T280] __kmalloc_noprof+0x443/0x760 [ 12.229053][ T280] ? alloc_buf.isra.0+0x4b/0x260 [ 12.229060][ T280] ? do_raw_spin_unlock+0x59/0x250 [ 12.229063][ T280] alloc_buf.isra.0+0x4b/0x260 [ 12.229066][ T280] put_chars+0x1e1/0x2f0 [ 12.229069][ T280] ? __send_to_port+0x420/0x420 [ 12.229070][ T280] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.229074][ T280] ? validate_chain+0x38b/0xc20 [ 12.229079][ T280] hvc_console_print+0x292/0x780 [ 12.229087][ T280] ? hvc_write+0x3a0/0x3a0 [ 12.229089][ T280] ? rcu_is_watching+0x16/0xd0 [ 12.229091][ T280] ? lock_acquire+0x13c/0x160 [ 12.229097][ T280] console_emit_next_record+0x22f/0x4c0 [ 12.229101][ T280] ? devkmsg_read+0x4b0/0x4b0 [ 12.229103][ T280] ? console_flush_one_record+0x106/0x710 [ 12.229106][ T280] ? rcu_is_watching+0x16/0xd0 [ 12.229108][ T280] ? lock_acquire+0x13c/0x160 [ 12.229112][ T280] console_flush_one_record+0x46f/0x710 [ 12.229116][ T280] ? console_emit_next_record+0x4c0/0x4c0 [ 12.229118][ T280] ? __lock_acquire+0x518/0xc20 [ 12.229123][ T280] console_unlock+0xee/0x1f0 [ 12.229126][ T280] ? console_flush_one_record+0x710/0x710 [ 12.229128][ T280] ? rcu_is_watching+0x16/0xd0 [ 12.229130][ T280] ? lock_acquire+0xe0/0x160 [ 12.229134][ T280] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.229136][ T280] ? vprintk_emit+0x320/0x3e0 [ 12.229138][ T280] vprintk_emit+0x37c/0x3e0 [ 12.229142][ T280] ? wake_up_klogd_work_func+0x90/0x90 [ 12.229144][ T280] ? __lock_acquire+0x518/0xc20 [ 12.229148][ T280] _printk+0xc7/0x100 [ 12.229151][ T280] ? snapshot_read.cold+0x21/0x21 [ 12.229154][ T280] ? do_raw_spin_lock+0x131/0x280 [ 12.229157][ T280] ? __rwlock_init+0x150/0x150 [ 12.229161][ T280] ? do_raw_spin_lock+0x131/0x280 [ 12.229163][ T280] do_exit.cold+0x82/0x9c [ 12.229167][ T280] ? exit_notify+0x890/0x890 [ 12.229168][ T280] ? __lock_release.isra.0+0x69/0x1a0 [ 12.229171][ T280] ? rcu_is_watching+0x16/0xd0 [ 12.229175][ T280] do_group_exit+0xb8/0x370 [ 12.229178][ T280] __x64_sys_exit_group+0x3c/0x50 [ 12.229180][ T280] x64_sys_call+0x1567/0x1570 [ 12.229182][ T280] do_syscall_64+0xff/0x530 [ 12.229186][ T280] ? exc_page_fault+0xee/0x100 [ 12.229189][ T280] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.229191][ T280] RIP: 0033:0x7f9680e261b8 [ 12.229193][ T280] Code: Unable to access opcode bytes at 0x7f9680e2618e. [ 12.229194][ T280] RSP: 002b:00007ffe4a0653f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.229197][ T280] RAX: ffffffffffffffda RBX: 00007f9680f56f88 RCX: 00007f9680e261b8 [ 12.229198][ T280] RDX: 00007f9680b70fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.229199][ T280] RBP: 00007ffe4a065450 R08: 0000000000000000 R09: 0000000000000050 [ 12.229200][ T280] R10: 00007ffe4a065210 R11: 0000000000000246 R12: 0000000000000001 [ 12.229201][ T280] R13: 0000000000000000 R14: 00007f9680f55680 R15: 00007f9680f56fa0 [ 12.229207][ T280]