[ 18.098527][ T315] GACT probability NOT on [ 18.098550][ T315] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.098553][ T315] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 315, name: modprobe [ 18.098556][ T315] preempt_count: 1, expected: 0 [ 18.098557][ T315] RCU nest depth: 0, expected: 0 [ 18.098559][ T315] locks held by modprobe/315: 4, last CPU#1: [ 18.098562][ T315] #0: ffffffff84d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.098578][ T315] #1: ffffffff84d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.098584][ T315] #2: ffffffff84c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.098590][ T315] #3: ffffffff84c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.098596][ T315] irq event stamp: 32010 [ 18.098598][ T315] hardirqs last enabled at (32009): [] __down_trylock_console_sem+0x86/0xa0 [ 18.098601][ T315] hardirqs last disabled at (32010): [] console_emit_next_record+0x3d4/0x4c0 [ 18.098604][ T315] softirqs last enabled at (30838): [] handle_softirqs+0x67c/0x900 [ 18.098608][ T315] softirqs last disabled at (30251): [] __irq_exit_rcu+0x145/0x1c0 [ 18.098611][ T315] Preemption disabled at: [ 18.098612][ T315] [] vprintk_emit+0x31b/0x3e0 [ 18.098620][ T315] CPU: 1 UID: 0 PID: 315 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.098625][ T315] Tainted: [W]=WARN [ 18.098626][ T315] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.098628][ T315] Call Trace: [ 18.098630][ T315] [ 18.098632][ T315] dump_stack_lvl+0x6f/0xa0 [ 18.098639][ T315] ? vprintk_emit+0x31b/0x3e0 [ 18.098643][ T315] __might_resched.cold+0x1fe/0x2c1 [ 18.098649][ T315] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.098654][ T315] ? __kmalloc_noprof+0xdb/0x760 [ 18.098662][ T315] __kmalloc_noprof+0x443/0x760 [ 18.098665][ T315] ? alloc_buf.isra.0+0x4b/0x260 [ 18.098674][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 18.098678][ T315] alloc_buf.isra.0+0x4b/0x260 [ 18.098683][ T315] put_chars+0x1e1/0x2f0 [ 18.098686][ T315] ? desc_read_finalized_seq+0x79/0x120 [ 18.098689][ T315] ? __send_to_port+0x420/0x420 [ 18.098694][ T315] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.098698][ T315] ? validate_chain+0x38b/0xc20 [ 18.098705][ T315] hvc_console_print+0x292/0x780 [ 18.098709][ T315] ? __lock_acquire+0x518/0xc20 [ 18.098711][ T315] ? __lock_acquire+0x518/0xc20 [ 18.098719][ T315] ? hvc_write+0x3a0/0x3a0 [ 18.098721][ T315] ? console_emit_next_record+0x1df/0x4c0 [ 18.098726][ T315] ? rcu_is_watching+0x16/0xd0 [ 18.098731][ T315] ? lock_acquire+0x13c/0x160 [ 18.098737][ T315] console_emit_next_record+0x22f/0x4c0 [ 18.098743][ T315] ? devkmsg_read+0x4b0/0x4b0 [ 18.098746][ T315] ? console_flush_one_record+0x106/0x710 [ 18.098751][ T315] ? rcu_is_watching+0x16/0xd0 [ 18.098755][ T315] ? lock_acquire+0x13c/0x160 [ 18.098761][ T315] console_flush_one_record+0x46f/0x710 [ 18.098768][ T315] ? console_emit_next_record+0x4c0/0x4c0 [ 18.098771][ T315] ? __lock_acquire+0x518/0xc20 [ 18.098780][ T315] console_unlock+0xee/0x1f0 [ 18.098784][ T315] ? console_flush_one_record+0x710/0x710 [ 18.098786][ T315] ? rcu_is_watching+0x16/0xd0 [ 18.098790][ T315] ? lock_acquire+0x60/0x160 [ 18.098796][ T315] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.098799][ T315] ? vprintk_emit+0x320/0x3e0 [ 18.098804][ T315] vprintk_emit+0x37c/0x3e0 [ 18.098811][ T315] ? wake_up_klogd_work_func+0x90/0x90 [ 18.098820][ T315] ? udp_tunnel_nic_cleanup_module+0xb40/0xb40 [udp_tunnel] [ 18.098825][ T315] _printk+0xc7/0x100 [ 18.098830][ T315] ? snapshot_read.cold+0x21/0x21 [ 18.098840][ T315] ? do_one_initcall+0x113/0x4f0 [ 18.098845][ T315] gact_init_module+0x15/0x1000 [act_gact] [ 18.098849][ T315] do_one_initcall+0x124/0x4f0 [ 18.098853][ T315] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 18.098861][ T315] ? do_init_module+0xae/0x8a0 [ 18.098865][ T315] ? kasan_unpoison+0x44/0x70 [ 18.098878][ T315] do_init_module+0x2ad/0x8a0 [ 18.098884][ T315] ? lockdep_hardirqs_on+0x91/0x130 [ 18.098890][ T315] ? free_module+0x470/0x470 [ 18.098895][ T315] ? kfree+0x123/0x590 [ 18.098902][ T315] load_module+0x1424/0x1bb0 [ 18.098915][ T315] ? layout_and_allocate.isra.0+0x680/0x680 [ 18.098921][ T315] ? __ia32_sys_fsconfig+0x180/0x180 [ 18.098924][ T315] ? ovl_real_file+0x172/0x1e0 [ 18.098930][ T315] ? backing_file_read_iter+0x541/0x790 [ 18.098935][ T315] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.098941][ T315] init_module_from_file+0x11f/0x1a0 [ 18.098946][ T315] ? __do_sys_init_module+0x220/0x220 [ 18.098960][ T315] ? __rwlock_init+0x150/0x150 [ 18.098966][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 18.098971][ T315] idempotent_init_module+0x37b/0x7c0 [ 18.098976][ T315] ? init_module_from_file+0x1a0/0x1a0 [ 18.098987][ T315] ? rcu_is_watching+0x16/0xd0 [ 18.098991][ T315] ? cap_capable+0x1d7/0x3d0 [ 18.099000][ T315] __x64_sys_finit_module+0xdf/0x190 [ 18.099003][ T315] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.099008][ T315] do_syscall_64+0xff/0x530 [ 18.099011][ T315] ? exc_page_fault+0xee/0x100 [ 18.099015][ T315] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.099018][ T315] RIP: 0033:0x7f5b608f037d [ 18.099023][ T315] 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 [ 18.099026][ T315] RSP: 002b:00007fffb8795cc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 18.099029][ T315] RAX: ffffffffffffffda RBX: 0000562af800d810 RCX: 00007f5b608f037d [ 18.099031][ T315] RDX: 0000000000000000 RSI: 0000562ade7e0ffd RDI: 0000000000000000 [ 18.099033][ T315] RBP: 00007fffb8795d60 R08: 0000000000000000 R09: 0000000000000000 [ 18.099034][ T315] R10: 0000000000000000 R11: 0000000000000246 R12: 0000562ade7e0ffd [ 18.099035][ T315] R13: 0000562af800d960 R14: 0000000000040000 R15: 0000000000000000 [ 18.099048][ T315]