[ 16.756911][ T245] GACT probability NOT on [ 16.756928][ T245] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.756931][ T245] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 245, name: modprobe [ 16.756933][ T245] preempt_count: 1, expected: 0 [ 16.756933][ T245] RCU nest depth: 0, expected: 0 [ 16.756934][ T245] locks held by modprobe/245: 4, last CPU#1: [ 16.756937][ T245] #0: ffffffff9af69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.756950][ T245] #1: ffffffff9af69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.756954][ T245] #2: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.756958][ T245] #3: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.756962][ T245] irq event stamp: 20526 [ 16.756963][ T245] hardirqs last enabled at (20525): [] __down_trylock_console_sem+0x86/0xa0 [ 16.756966][ T245] hardirqs last disabled at (20526): [] console_emit_next_record+0x3d4/0x4c0 [ 16.756967][ T245] softirqs last enabled at (18734): [] handle_softirqs+0x67c/0x900 [ 16.756971][ T245] softirqs last disabled at (18439): [] __irq_exit_rcu+0x145/0x1c0 [ 16.756973][ T245] Preemption disabled at: [ 16.756974][ T245] [] vprintk_emit+0x31b/0x3e0 [ 16.756979][ T245] CPU: 1 UID: 0 PID: 245 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.756983][ T245] Tainted: [W]=WARN [ 16.756984][ T245] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.756986][ T245] Call Trace: [ 16.756987][ T245] [ 16.756989][ T245] dump_stack_lvl+0x6f/0xa0 [ 16.756995][ T245] ? vprintk_emit+0x31b/0x3e0 [ 16.756997][ T245] __might_resched.cold+0x1fe/0x2c1 [ 16.757001][ T245] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.757006][ T245] ? __kmalloc_noprof+0xdb/0x760 [ 16.757011][ T245] __kmalloc_noprof+0x443/0x760 [ 16.757013][ T245] ? alloc_buf.isra.0+0x4b/0x260 [ 16.757019][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 16.757022][ T245] alloc_buf.isra.0+0x4b/0x260 [ 16.757025][ T245] put_chars+0x1e1/0x2f0 [ 16.757027][ T245] ? desc_read_finalized_seq+0x79/0x120 [ 16.757029][ T245] ? __send_to_port+0x420/0x420 [ 16.757032][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.757035][ T245] ? validate_chain+0x38b/0xc20 [ 16.757039][ T245] hvc_console_print+0x292/0x780 [ 16.757042][ T245] ? __lock_acquire+0x518/0xc20 [ 16.757044][ T245] ? __lock_acquire+0x518/0xc20 [ 16.757048][ T245] ? hvc_write+0x3a0/0x3a0 [ 16.757049][ T245] ? console_emit_next_record+0x1df/0x4c0 [ 16.757052][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.757055][ T245] ? lock_acquire+0x13c/0x160 [ 16.757059][ T245] console_emit_next_record+0x22f/0x4c0 [ 16.757063][ T245] ? devkmsg_read+0x4b0/0x4b0 [ 16.757065][ T245] ? console_flush_one_record+0x106/0x710 [ 16.757068][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.757070][ T245] ? lock_acquire+0x13c/0x160 [ 16.757074][ T245] console_flush_one_record+0x46f/0x710 [ 16.757078][ T245] ? console_emit_next_record+0x4c0/0x4c0 [ 16.757080][ T245] ? __lock_acquire+0x518/0xc20 [ 16.757085][ T245] console_unlock+0xee/0x1f0 [ 16.757087][ T245] ? console_flush_one_record+0x710/0x710 [ 16.757089][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.757092][ T245] ? lock_acquire+0x60/0x160 [ 16.757095][ T245] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.757101][ T245] ? vprintk_emit+0x320/0x3e0 [ 16.757104][ T245] vprintk_emit+0x37c/0x3e0 [ 16.757108][ T245] ? wake_up_klogd_work_func+0x90/0x90 [ 16.757114][ T245] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.757117][ T245] _printk+0xc7/0x100 [ 16.757121][ T245] ? snapshot_read.cold+0x21/0x21 [ 16.757127][ T245] ? do_one_initcall+0x113/0x4f0 [ 16.757130][ T245] gact_init_module+0x15/0x1000 [act_gact] [ 16.757132][ T245] do_one_initcall+0x124/0x4f0 [ 16.757135][ T245] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.757139][ T245] ? do_init_module+0xae/0x8a0 [ 16.757142][ T245] ? kasan_unpoison+0x44/0x70 [ 16.757147][ T245] do_init_module+0x2ad/0x8a0 [ 16.757151][ T245] ? lockdep_hardirqs_on+0x91/0x130 [ 16.757155][ T245] ? free_module+0x470/0x470 [ 16.757158][ T245] ? kfree+0x123/0x590 [ 16.757162][ T245] load_module+0x1424/0x1bb0 [ 16.757169][ T245] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.757173][ T245] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.757176][ T245] ? ovl_real_file+0x172/0x1e0 [ 16.757180][ T245] ? backing_file_read_iter+0x541/0x790 [ 16.757183][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.757187][ T245] init_module_from_file+0x11f/0x1a0 [ 16.757190][ T245] ? __do_sys_init_module+0x220/0x220 [ 16.757198][ T245] ? __rwlock_init+0x150/0x150 [ 16.757202][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 16.757205][ T245] idempotent_init_module+0x37b/0x7c0 [ 16.757208][ T245] ? init_module_from_file+0x1a0/0x1a0 [ 16.757215][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.757217][ T245] ? cap_capable+0x1d7/0x3d0 [ 16.757223][ T245] __x64_sys_finit_module+0xdf/0x190 [ 16.757225][ T245] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.757228][ T245] do_syscall_64+0xff/0x530 [ 16.757230][ T245] ? exc_page_fault+0xee/0x100 [ 16.757233][ T245] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.757235][ T245] RIP: 0033:0x7f1a0666f37d [ 16.757239][ T245] 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 [ 16.757240][ T245] RSP: 002b:00007ffc69696208 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.757243][ T245] RAX: ffffffffffffffda RBX: 000056465ace6810 RCX: 00007f1a0666f37d [ 16.757245][ T245] RDX: 0000000000000000 RSI: 0000564633213ffd RDI: 0000000000000000 [ 16.757245][ T245] RBP: 00007ffc696962a0 R08: 0000000000000000 R09: 0000000000000000 [ 16.757246][ T245] R10: 0000000000000000 R11: 0000000000000246 R12: 0000564633213ffd [ 16.757247][ T245] R13: 000056465ace6960 R14: 0000000000040000 R15: 0000000000000000 [ 16.757254][ T245] [ 19.582656][ T493] ip (493) used greatest stack depth: 23992 bytes left [ 19.582677][ T493] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.582679][ T493] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 493, name: ip [ 19.582680][ T493] preempt_count: 2, expected: 0 [ 19.582681][ T493] RCU nest depth: 0, expected: 0 [ 19.582682][ T493] locks held by ip/493: 5, last CPU#3: [ 19.582685][ T493] #0: ffffffff9ae027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 19.582697][ T493] #1: ffffffff9af69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.582703][ T493] #2: ffffffff9af69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.582707][ T493] #3: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.582711][ T493] #4: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.582715][ T493] irq event stamp: 21100 [ 19.582716][ T493] hardirqs last enabled at (21099): [] __down_trylock_console_sem+0x86/0xa0 [ 19.582718][ T493] hardirqs last disabled at (21100): [] console_emit_next_record+0x3d4/0x4c0 [ 19.582720][ T493] softirqs last enabled at (20190): [] handle_softirqs+0x67c/0x900 [ 19.582722][ T493] softirqs last disabled at (20183): [] __irq_exit_rcu+0x145/0x1c0 [ 19.582725][ T493] Preemption disabled at: [ 19.582725][ T493] [<0000000000000000>] 0x0 [ 19.582732][ T493] CPU: 3 UID: 0 PID: 493 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.582736][ T493] Tainted: [W]=WARN [ 19.582737][ T493] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.582739][ T493] Call Trace: [ 19.582740][ T493] [ 19.582742][ T493] dump_stack_lvl+0x6f/0xa0 [ 19.582748][ T493] __might_resched.cold+0x1fe/0x2c1 [ 19.582753][ T493] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.582757][ T493] ? __kmalloc_noprof+0xdb/0x760 [ 19.582762][ T493] __kmalloc_noprof+0x443/0x760 [ 19.582765][ T493] ? alloc_buf.isra.0+0x4b/0x260 [ 19.582771][ T493] ? do_raw_spin_unlock+0x59/0x250 [ 19.582774][ T493] alloc_buf.isra.0+0x4b/0x260 [ 19.582777][ T493] put_chars+0x1e1/0x2f0 [ 19.582780][ T493] ? __send_to_port+0x420/0x420 [ 19.582781][ T493] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.582786][ T493] ? validate_chain+0x38b/0xc20 [ 19.582791][ T493] hvc_console_print+0x292/0x780 [ 19.582797][ T493] ? hvc_write+0x3a0/0x3a0 [ 19.582799][ T493] ? rcu_is_watching+0x16/0xd0 [ 19.582802][ T493] ? lock_acquire+0x13c/0x160 [ 19.582806][ T493] console_emit_next_record+0x22f/0x4c0 [ 19.582810][ T493] ? devkmsg_read+0x4b0/0x4b0 [ 19.582811][ T493] ? console_flush_one_record+0x106/0x710 [ 19.582815][ T493] ? rcu_is_watching+0x16/0xd0 [ 19.582817][ T493] ? lock_acquire+0x13c/0x160 [ 19.582821][ T493] console_flush_one_record+0x46f/0x710 [ 19.582825][ T493] ? console_emit_next_record+0x4c0/0x4c0 [ 19.582827][ T493] ? __lock_acquire+0x518/0xc20 [ 19.582832][ T493] console_unlock+0xee/0x1f0 [ 19.582835][ T493] ? console_flush_one_record+0x710/0x710 [ 19.582837][ T493] ? rcu_is_watching+0x16/0xd0 [ 19.582840][ T493] ? lock_acquire+0x60/0x160 [ 19.582843][ T493] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.582845][ T493] ? vprintk_emit+0x320/0x3e0 [ 19.582848][ T493] vprintk_emit+0x37c/0x3e0 [ 19.582852][ T493] ? wake_up_klogd_work_func+0x90/0x90 [ 19.582855][ T493] ? __lock_acquire+0x518/0xc20 [ 19.582859][ T493] _printk+0xc7/0x100 [ 19.582863][ T493] ? snapshot_read.cold+0x21/0x21 [ 19.582866][ T493] ? do_raw_spin_lock+0x131/0x280 [ 19.582868][ T493] ? __rwlock_init+0x150/0x150 [ 19.582872][ T493] ? do_raw_spin_lock+0x131/0x280 [ 19.582875][ T493] do_exit.cold+0x82/0x9c [ 19.582879][ T493] ? exit_notify+0x890/0x890 [ 19.582881][ T493] ? __lock_release.isra.0+0x69/0x1a0 [ 19.582883][ T493] ? rcu_is_watching+0x16/0xd0 [ 19.582887][ T493] do_group_exit+0xb8/0x370 [ 19.582890][ T493] __x64_sys_exit_group+0x3c/0x50 [ 19.582892][ T493] x64_sys_call+0x1567/0x1570 [ 19.582894][ T493] do_syscall_64+0xff/0x530 [ 19.582897][ T493] ? exc_page_fault+0xee/0x100 [ 19.582901][ T493] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.582903][ T493] RIP: 0033:0x7fe763c091b8 [ 19.582905][ T493] Code: Unable to access opcode bytes at 0x7fe763c0918e. [ 19.582907][ T493] RSP: 002b:00007ffc1d5d3568 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 19.582909][ T493] RAX: ffffffffffffffda RBX: 00007fe763d39f88 RCX: 00007fe763c091b8 [ 19.582911][ T493] RDX: 00007fe763953fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 19.582912][ T493] RBP: 00007ffc1d5d35c0 R08: 0000000000000000 R09: 0000000000000050 [ 19.582913][ T493] R10: 00007ffc1d5d3380 R11: 0000000000000246 R12: 0000000000000001 [ 19.582913][ T493] R13: 0000000000000000 R14: 00007fe763d38680 R15: 00007fe763d39fa0 [ 19.582920][ T493] [ 19.945650][ T504] ip (504) used greatest stack depth: 23808 bytes left