[ 17.420669][ T316] GACT probability NOT on [ 17.420688][ T316] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.420690][ T316] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 316, name: modprobe [ 17.420692][ T316] preempt_count: 1, expected: 0 [ 17.420693][ T316] RCU nest depth: 0, expected: 0 [ 17.420694][ T316] locks held by modprobe/316: 4, last CPU#1: [ 17.420697][ T316] #0: ffffffffbc569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.420709][ T316] #1: ffffffffbc569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.420713][ T316] #2: ffffffffbc489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.420718][ T316] #3: ffffffffbc489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.420722][ T316] irq event stamp: 23018 [ 17.420722][ T316] hardirqs last enabled at (23017): [] __down_trylock_console_sem+0x86/0xa0 [ 17.420725][ T316] hardirqs last disabled at (23018): [] console_emit_next_record+0x3d4/0x4c0 [ 17.420727][ T316] softirqs last enabled at (22398): [] handle_softirqs+0x67c/0x900 [ 17.420730][ T316] softirqs last disabled at (22389): [] __irq_exit_rcu+0x145/0x1c0 [ 17.420732][ T316] Preemption disabled at: [ 17.420733][ T316] [] vprintk_emit+0x31b/0x3e0 [ 17.420739][ T316] CPU: 1 UID: 0 PID: 316 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.420743][ T316] Tainted: [W]=WARN [ 17.420744][ T316] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.420745][ T316] Call Trace: [ 17.420747][ T316] [ 17.420749][ T316] dump_stack_lvl+0x6f/0xa0 [ 17.420754][ T316] ? vprintk_emit+0x31b/0x3e0 [ 17.420757][ T316] __might_resched.cold+0x1fe/0x2c1 [ 17.420761][ T316] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.420765][ T316] ? __kmalloc_noprof+0xdb/0x760 [ 17.420770][ T316] __kmalloc_noprof+0x443/0x760 [ 17.420772][ T316] ? alloc_buf.isra.0+0x4b/0x260 [ 17.420778][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 17.420781][ T316] alloc_buf.isra.0+0x4b/0x260 [ 17.420784][ T316] put_chars+0x1e1/0x2f0 [ 17.420786][ T316] ? desc_read_finalized_seq+0x79/0x120 [ 17.420788][ T316] ? __send_to_port+0x420/0x420 [ 17.420791][ T316] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.420794][ T316] ? validate_chain+0x38b/0xc20 [ 17.420802][ T316] hvc_console_print+0x292/0x780 [ 17.420804][ T316] ? __lock_acquire+0x518/0xc20 [ 17.420806][ T316] ? __lock_acquire+0x518/0xc20 [ 17.420811][ T316] ? hvc_write+0x3a0/0x3a0 [ 17.420812][ T316] ? console_emit_next_record+0x1df/0x4c0 [ 17.420816][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.420819][ T316] ? lock_acquire+0x13c/0x160 [ 17.420823][ T316] console_emit_next_record+0x22f/0x4c0 [ 17.420826][ T316] ? devkmsg_read+0x4b0/0x4b0 [ 17.420828][ T316] ? console_flush_one_record+0x106/0x710 [ 17.420831][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.420833][ T316] ? lock_acquire+0x13c/0x160 [ 17.420837][ T316] console_flush_one_record+0x46f/0x710 [ 17.420841][ T316] ? console_emit_next_record+0x4c0/0x4c0 [ 17.420843][ T316] ? __lock_acquire+0x518/0xc20 [ 17.420848][ T316] console_unlock+0xee/0x1f0 [ 17.420851][ T316] ? console_flush_one_record+0x710/0x710 [ 17.420852][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.420855][ T316] ? lock_acquire+0x60/0x160 [ 17.420858][ T316] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.420860][ T316] ? vprintk_emit+0x320/0x3e0 [ 17.420863][ T316] vprintk_emit+0x37c/0x3e0 [ 17.420867][ T316] ? wake_up_klogd_work_func+0x90/0x90 [ 17.420873][ T316] ? udp_tunnel_nic_cleanup_module+0xb40/0xb40 [udp_tunnel] [ 17.420876][ T316] _printk+0xc7/0x100 [ 17.420880][ T316] ? snapshot_read.cold+0x21/0x21 [ 17.420886][ T316] ? do_one_initcall+0x113/0x4f0 [ 17.420889][ T316] gact_init_module+0x15/0x1000 [act_gact] [ 17.420892][ T316] do_one_initcall+0x124/0x4f0 [ 17.420894][ T316] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.420899][ T316] ? do_init_module+0xae/0x8a0 [ 17.420902][ T316] ? kasan_unpoison+0x44/0x70 [ 17.420907][ T316] do_init_module+0x2ad/0x8a0 [ 17.420910][ T316] ? lockdep_hardirqs_on+0x91/0x130 [ 17.420920][ T316] ? free_module+0x470/0x470 [ 17.420923][ T316] ? kfree+0x123/0x590 [ 17.420927][ T316] load_module+0x1424/0x1bb0 [ 17.420934][ T316] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.420938][ T316] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.420940][ T316] ? ovl_real_file+0x172/0x1e0 [ 17.420945][ T316] ? backing_file_read_iter+0x541/0x790 [ 17.420947][ T316] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.420951][ T316] init_module_from_file+0x11f/0x1a0 [ 17.420954][ T316] ? __do_sys_init_module+0x220/0x220 [ 17.420962][ T316] ? __rwlock_init+0x150/0x150 [ 17.420966][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 17.420969][ T316] idempotent_init_module+0x37b/0x7c0 [ 17.420972][ T316] ? init_module_from_file+0x1a0/0x1a0 [ 17.420978][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.420980][ T316] ? cap_capable+0x1d7/0x3d0 [ 17.420986][ T316] __x64_sys_finit_module+0xdf/0x190 [ 17.420988][ T316] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.420992][ T316] do_syscall_64+0xff/0x530 [ 17.420994][ T316] ? exc_page_fault+0xee/0x100 [ 17.420996][ T316] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.420999][ T316] RIP: 0033:0x7f38f70ce37d [ 17.421002][ T316] 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.421004][ T316] RSP: 002b:00007ffe192f6b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.421007][ T316] RAX: ffffffffffffffda RBX: 0000562ebaa6b810 RCX: 00007f38f70ce37d [ 17.421008][ T316] RDX: 0000000000000000 RSI: 0000562e98debffd RDI: 0000000000000000 [ 17.421009][ T316] RBP: 00007ffe192f6bd0 R08: 0000000000000000 R09: 0000000000000000 [ 17.421010][ T316] R10: 0000000000000000 R11: 0000000000000246 R12: 0000562e98debffd [ 17.421010][ T316] R13: 0000562ebaa6b960 R14: 0000000000040000 R15: 0000000000000000 [ 17.421017][ T316] [ 18.632838][ T391] ip (391) used greatest stack depth: 23648 bytes left [ 18.632855][ T391] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.632858][ T391] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 391, name: ip [ 18.632859][ T391] preempt_count: 2, expected: 0 [ 18.632860][ T391] RCU nest depth: 0, expected: 0 [ 18.632861][ T391] locks held by ip/391: 5, last CPU#0: [ 18.632863][ T391] #0: ffffffffbc4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 18.632876][ T391] #1: ffffffffbc569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.632882][ T391] #2: ffffffffbc569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.632886][ T391] #3: ffffffffbc489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.632890][ T391] #4: ffffffffbc489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.632894][ T391] irq event stamp: 19750 [ 18.632894][ T391] hardirqs last enabled at (19749): [] __down_trylock_console_sem+0x86/0xa0 [ 18.632897][ T391] hardirqs last disabled at (19750): [] console_emit_next_record+0x3d4/0x4c0 [ 18.632899][ T391] softirqs last enabled at (19562): [] handle_softirqs+0x67c/0x900 [ 18.632901][ T391] softirqs last disabled at (19555): [] __irq_exit_rcu+0x145/0x1c0 [ 18.632903][ T391] Preemption disabled at: [ 18.632904][ T391] [<0000000000000000>] 0x0 [ 18.632911][ T391] CPU: 0 UID: 0 PID: 391 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.632915][ T391] Tainted: [W]=WARN [ 18.632915][ T391] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.632924][ T391] Call Trace: [ 18.632925][ T391] [ 18.632927][ T391] dump_stack_lvl+0x6f/0xa0 [ 18.632933][ T391] __might_resched.cold+0x1fe/0x2c1 [ 18.632938][ T391] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.632942][ T391] ? __kmalloc_noprof+0xdb/0x760 [ 18.632947][ T391] __kmalloc_noprof+0x443/0x760 [ 18.632950][ T391] ? alloc_buf.isra.0+0x4b/0x260 [ 18.632955][ T391] ? do_raw_spin_unlock+0x59/0x250 [ 18.632958][ T391] alloc_buf.isra.0+0x4b/0x260 [ 18.632961][ T391] put_chars+0x1e1/0x2f0 [ 18.632964][ T391] ? __send_to_port+0x420/0x420 [ 18.632966][ T391] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.632970][ T391] ? validate_chain+0x38b/0xc20 [ 18.632975][ T391] hvc_console_print+0x292/0x780 [ 18.632981][ T391] ? hvc_write+0x3a0/0x3a0 [ 18.632983][ T391] ? rcu_is_watching+0x16/0xd0 [ 18.632986][ T391] ? lock_acquire+0x13c/0x160 [ 18.632990][ T391] console_emit_next_record+0x22f/0x4c0 [ 18.632994][ T391] ? devkmsg_read+0x4b0/0x4b0 [ 18.632995][ T391] ? console_flush_one_record+0x106/0x710 [ 18.632998][ T391] ? rcu_is_watching+0x16/0xd0 [ 18.633001][ T391] ? lock_acquire+0x13c/0x160 [ 18.633005][ T391] console_flush_one_record+0x46f/0x710 [ 18.633009][ T391] ? console_emit_next_record+0x4c0/0x4c0 [ 18.633010][ T391] ? __lock_acquire+0x518/0xc20 [ 18.633015][ T391] console_unlock+0xee/0x1f0 [ 18.633018][ T391] ? console_flush_one_record+0x710/0x710 [ 18.633020][ T391] ? rcu_is_watching+0x16/0xd0 [ 18.633022][ T391] ? lock_acquire+0x60/0x160 [ 18.633026][ T391] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.633027][ T391] ? vprintk_emit+0x320/0x3e0 [ 18.633031][ T391] vprintk_emit+0x37c/0x3e0 [ 18.633034][ T391] ? wake_up_klogd_work_func+0x90/0x90 [ 18.633038][ T391] ? __lock_acquire+0x518/0xc20 [ 18.633041][ T391] _printk+0xc7/0x100 [ 18.633045][ T391] ? snapshot_read.cold+0x21/0x21 [ 18.633048][ T391] ? do_raw_spin_lock+0x131/0x280 [ 18.633050][ T391] ? __rwlock_init+0x150/0x150 [ 18.633054][ T391] ? do_raw_spin_lock+0x131/0x280 [ 18.633057][ T391] do_exit.cold+0x82/0x9c [ 18.633061][ T391] ? exit_notify+0x890/0x890 [ 18.633063][ T391] ? __lock_release.isra.0+0x69/0x1a0 [ 18.633065][ T391] ? rcu_is_watching+0x16/0xd0 [ 18.633069][ T391] do_group_exit+0xb8/0x370 [ 18.633072][ T391] __x64_sys_exit_group+0x3c/0x50 [ 18.633074][ T391] x64_sys_call+0x1567/0x1570 [ 18.633076][ T391] do_syscall_64+0xff/0x530 [ 18.633079][ T391] ? exc_page_fault+0xee/0x100 [ 18.633082][ T391] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.633085][ T391] RIP: 0033:0x7f01c91211b8 [ 18.633087][ T391] Code: Unable to access opcode bytes at 0x7f01c912118e. [ 18.633088][ T391] RSP: 002b:00007ffe77d1b1e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.633090][ T391] RAX: ffffffffffffffda RBX: 00007f01c9251f88 RCX: 00007f01c91211b8 [ 18.633092][ T391] RDX: 00007f01c8e6bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 18.633093][ T391] RBP: 00007ffe77d1b240 R08: 0000000000000000 R09: 0000000000000050 [ 18.633093][ T391] R10: 00007ffe77d1b000 R11: 0000000000000246 R12: 0000000000000001 [ 18.633094][ T391] R13: 0000000000000000 R14: 00007f01c9250680 R15: 00007f01c9251fa0 [ 18.633101][ T391]