[ 12.235867][ T262] gre: GRE over IPv4 demultiplexer driver [ 12.235881][ T262] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.235884][ T262] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 262, name: modprobe [ 12.235885][ T262] preempt_count: 1, expected: 0 [ 12.235886][ T262] RCU nest depth: 0, expected: 0 [ 12.235887][ T262] locks held by modprobe/262: 4, last CPU#1: [ 12.235890][ T262] #0: ffffffff8cf69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.235902][ T262] #1: ffffffff8cf69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.235906][ T262] #2: ffffffff8ce89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.235910][ T262] #3: ffffffff8ce89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.235914][ T262] irq event stamp: 36458 [ 12.235915][ T262] hardirqs last enabled at (36457): [] __down_trylock_console_sem+0x86/0xa0 [ 12.235917][ T262] hardirqs last disabled at (36458): [] console_emit_next_record+0x3d4/0x4c0 [ 12.235920][ T262] softirqs last enabled at (35706): [] handle_softirqs+0x67c/0x900 [ 12.235923][ T262] softirqs last disabled at (35109): [] __irq_exit_rcu+0x145/0x1c0 [ 12.235925][ T262] Preemption disabled at: [ 12.235925][ T262] [] vprintk_emit+0x31b/0x3e0 [ 12.235930][ T262] CPU: 1 UID: 0 PID: 262 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.235934][ T262] Tainted: [W]=WARN [ 12.235935][ T262] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.235936][ T262] Call Trace: [ 12.235937][ T262] [ 12.235939][ T262] dump_stack_lvl+0x6f/0xa0 [ 12.235944][ T262] ? vprintk_emit+0x31b/0x3e0 [ 12.235947][ T262] __might_resched.cold+0x1fe/0x2c1 [ 12.235951][ T262] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.235955][ T262] ? __kmalloc_noprof+0xdb/0x760 [ 12.235960][ T262] __kmalloc_noprof+0x443/0x760 [ 12.235962][ T262] ? alloc_buf.isra.0+0x4b/0x260 [ 12.235967][ T262] ? do_raw_spin_unlock+0x59/0x250 [ 12.235970][ T262] alloc_buf.isra.0+0x4b/0x260 [ 12.235973][ T262] put_chars+0x1e1/0x2f0 [ 12.235975][ T262] ? desc_read_finalized_seq+0x79/0x120 [ 12.235977][ T262] ? __send_to_port+0x420/0x420 [ 12.235979][ T262] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.235983][ T262] ? validate_chain+0x38b/0xc20 [ 12.235987][ T262] hvc_console_print+0x292/0x780 [ 12.235989][ T262] ? __lock_acquire+0x518/0xc20 [ 12.235990][ T262] ? __lock_acquire+0x518/0xc20 [ 12.235995][ T262] ? hvc_write+0x3a0/0x3a0 [ 12.235996][ T262] ? console_emit_next_record+0x1df/0x4c0 [ 12.236005][ T262] ? rcu_is_watching+0x16/0xd0 [ 12.236008][ T262] ? lock_acquire+0x13c/0x160 [ 12.236012][ T262] console_emit_next_record+0x22f/0x4c0 [ 12.236015][ T262] ? devkmsg_read+0x4b0/0x4b0 [ 12.236017][ T262] ? console_flush_one_record+0x106/0x710 [ 12.236020][ T262] ? rcu_is_watching+0x16/0xd0 [ 12.236022][ T262] ? lock_acquire+0x13c/0x160 [ 12.236026][ T262] console_flush_one_record+0x46f/0x710 [ 12.236030][ T262] ? console_emit_next_record+0x4c0/0x4c0 [ 12.236032][ T262] ? __lock_acquire+0x518/0xc20 [ 12.236036][ T262] console_unlock+0xee/0x1f0 [ 12.236039][ T262] ? console_flush_one_record+0x710/0x710 [ 12.236041][ T262] ? rcu_is_watching+0x16/0xd0 [ 12.236043][ T262] ? lock_acquire+0x60/0x160 [ 12.236046][ T262] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.236048][ T262] ? vprintk_emit+0x320/0x3e0 [ 12.236051][ T262] vprintk_emit+0x37c/0x3e0 [ 12.236055][ T262] ? wake_up_klogd_work_func+0x90/0x90 [ 12.236060][ T262] ? gre_exit+0x3f0/0x3f0 [gre] [ 12.236063][ T262] _printk+0xc7/0x100 [ 12.236067][ T262] ? snapshot_read.cold+0x21/0x21 [ 12.236073][ T262] ? do_one_initcall+0x113/0x4f0 [ 12.236076][ T262] gre_init+0x15/0x1000 [gre] [ 12.236078][ T262] do_one_initcall+0x124/0x4f0 [ 12.236080][ T262] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.236085][ T262] ? do_init_module+0xae/0x8a0 [ 12.236088][ T262] ? kasan_unpoison+0x44/0x70 [ 12.236093][ T262] do_init_module+0x2ad/0x8a0 [ 12.236096][ T262] ? lockdep_hardirqs_on+0x91/0x130 [ 12.236101][ T262] ? free_module+0x470/0x470 [ 12.236104][ T262] ? kfree+0x123/0x590 [ 12.236107][ T262] load_module+0x1424/0x1bb0 [ 12.236114][ T262] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.236119][ T262] ? backing_file_read_iter+0x541/0x790 [ 12.236123][ T262] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.236126][ T262] init_module_from_file+0x11f/0x1a0 [ 12.236129][ T262] ? __do_sys_init_module+0x220/0x220 [ 12.236137][ T262] ? __rwlock_init+0x150/0x150 [ 12.236140][ T262] ? do_raw_spin_unlock+0x59/0x250 [ 12.236143][ T262] idempotent_init_module+0x37b/0x7c0 [ 12.236147][ T262] ? init_module_from_file+0x1a0/0x1a0 [ 12.236152][ T262] ? rcu_is_watching+0x16/0xd0 [ 12.236155][ T262] ? cap_capable+0x1d7/0x3d0 [ 12.236161][ T262] __x64_sys_finit_module+0xdf/0x190 [ 12.236163][ T262] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.236166][ T262] do_syscall_64+0xff/0x530 [ 12.236168][ T262] ? exc_page_fault+0xee/0x100 [ 12.236171][ T262] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.236173][ T262] RIP: 0033:0x7f2f154ce37d [ 12.236176][ T262] 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 [ 12.236178][ T262] RSP: 002b:00007ffd1205bf38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.236180][ T262] RAX: ffffffffffffffda RBX: 0000563cba557a40 RCX: 00007f2f154ce37d [ 12.236182][ T262] RDX: 0000000000000000 RSI: 0000563ca2905ffd RDI: 0000000000000001 [ 12.236183][ T262] RBP: 00007ffd1205bfd0 R08: 0000000000000000 R09: 0000000000000000 [ 12.236183][ T262] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563ca2905ffd [ 12.236184][ T262] R13: 0000563cba557a00 R14: 0000000000040000 R15: 0000000000000000 [ 12.236191][ T262] [ 12.263653][ T262] ip_gre: GRE over IPv4 tunneling driver [ 12.850013][ T285] 8021q: 802.1Q VLAN Support v1.8 [ 13.991975][ T323] GACT probability NOT on [ 13.991993][ T323] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.991995][ T323] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 323, name: modprobe [ 13.991997][ T323] preempt_count: 1, expected: 0 [ 13.991998][ T323] RCU nest depth: 0, expected: 0 [ 13.991999][ T323] locks held by modprobe/323: 4, last CPU#3: [ 13.992007][ T323] #0: ffffffff8cf69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.992019][ T323] #1: ffffffff8cf69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.992023][ T323] #2: ffffffff8ce89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.992027][ T323] #3: ffffffff8ce89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.992031][ T323] irq event stamp: 17340 [ 13.992032][ T323] hardirqs last enabled at (17339): [] __down_trylock_console_sem+0x86/0xa0 [ 13.992035][ T323] hardirqs last disabled at (17340): [] console_emit_next_record+0x3d4/0x4c0 [ 13.992036][ T323] softirqs last enabled at (16442): [] handle_softirqs+0x67c/0x900 [ 13.992039][ T323] softirqs last disabled at (16435): [] __irq_exit_rcu+0x145/0x1c0 [ 13.992042][ T323] Preemption disabled at: [ 13.992042][ T323] [] vprintk_emit+0x31b/0x3e0 [ 13.992048][ T323] CPU: 3 UID: 0 PID: 323 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.992051][ T323] Tainted: [W]=WARN [ 13.992052][ T323] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.992054][ T323] Call Trace: [ 13.992055][ T323] [ 13.992057][ T323] dump_stack_lvl+0x6f/0xa0 [ 13.992062][ T323] ? vprintk_emit+0x31b/0x3e0 [ 13.992064][ T323] __might_resched.cold+0x1fe/0x2c1 [ 13.992069][ T323] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.992073][ T323] ? __kmalloc_noprof+0xdb/0x760 [ 13.992078][ T323] __kmalloc_noprof+0x443/0x760 [ 13.992080][ T323] ? alloc_buf.isra.0+0x4b/0x260 [ 13.992086][ T323] ? do_raw_spin_unlock+0x59/0x250 [ 13.992088][ T323] alloc_buf.isra.0+0x4b/0x260 [ 13.992091][ T323] put_chars+0x1e1/0x2f0 [ 13.992093][ T323] ? desc_read_finalized_seq+0x79/0x120 [ 13.992095][ T323] ? __send_to_port+0x420/0x420 [ 13.992098][ T323] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.992101][ T323] ? validate_chain+0x38b/0xc20 [ 13.992106][ T323] hvc_console_print+0x292/0x780 [ 13.992108][ T323] ? __lock_acquire+0x518/0xc20 [ 13.992110][ T323] ? __lock_acquire+0x518/0xc20 [ 13.992114][ T323] ? hvc_write+0x3a0/0x3a0 [ 13.992115][ T323] ? console_emit_next_record+0x1df/0x4c0 [ 13.992118][ T323] ? rcu_is_watching+0x16/0xd0 [ 13.992121][ T323] ? lock_acquire+0x13c/0x160 [ 13.992125][ T323] console_emit_next_record+0x22f/0x4c0 [ 13.992129][ T323] ? devkmsg_read+0x4b0/0x4b0 [ 13.992131][ T323] ? console_flush_one_record+0x106/0x710 [ 13.992134][ T323] ? rcu_is_watching+0x16/0xd0 [ 13.992136][ T323] ? lock_acquire+0x13c/0x160 [ 13.992140][ T323] console_flush_one_record+0x46f/0x710 [ 13.992144][ T323] ? console_emit_next_record+0x4c0/0x4c0 [ 13.992145][ T323] ? __lock_acquire+0x518/0xc20 [ 13.992150][ T323] console_unlock+0xee/0x1f0 [ 13.992153][ T323] ? console_flush_one_record+0x710/0x710 [ 13.992155][ T323] ? rcu_is_watching+0x16/0xd0 [ 13.992157][ T323] ? lock_acquire+0x60/0x160 [ 13.992160][ T323] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.992162][ T323] ? vprintk_emit+0x320/0x3e0 [ 13.992165][ T323] vprintk_emit+0x37c/0x3e0 [ 13.992170][ T323] ? wake_up_klogd_work_func+0x90/0x90 [ 13.992175][ T323] ? gre_exit+0x3f0/0x3f0 [gre] [ 13.992178][ T323] _printk+0xc7/0x100 [ 13.992181][ T323] ? snapshot_read.cold+0x21/0x21 [ 13.992187][ T323] ? do_one_initcall+0x113/0x4f0 [ 13.992190][ T323] gact_init_module+0x15/0x1000 [act_gact] [ 13.992193][ T323] do_one_initcall+0x124/0x4f0 [ 13.992196][ T323] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 13.992200][ T323] ? do_init_module+0xae/0x8a0 [ 13.992203][ T323] ? kasan_unpoison+0x44/0x70 [ 13.992208][ T323] do_init_module+0x2ad/0x8a0 [ 13.992212][ T323] ? lockdep_hardirqs_on+0x91/0x130 [ 13.992216][ T323] ? free_module+0x470/0x470 [ 13.992219][ T323] ? kfree+0x123/0x590 [ 13.992223][ T323] load_module+0x1424/0x1bb0 [ 13.992230][ T323] ? layout_and_allocate.isra.0+0x680/0x680 [ 13.992234][ T323] ? __ia32_sys_fsconfig+0x180/0x180 [ 13.992236][ T323] ? ovl_real_file+0x172/0x1e0 [ 13.992241][ T323] ? backing_file_read_iter+0x541/0x790 [ 13.992244][ T323] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.992247][ T323] init_module_from_file+0x11f/0x1a0 [ 13.992250][ T323] ? __do_sys_init_module+0x220/0x220 [ 13.992258][ T323] ? __rwlock_init+0x150/0x150 [ 13.992262][ T323] ? do_raw_spin_unlock+0x59/0x250 [ 13.992265][ T323] idempotent_init_module+0x37b/0x7c0 [ 13.992268][ T323] ? init_module_from_file+0x1a0/0x1a0 [ 13.992274][ T323] ? rcu_is_watching+0x16/0xd0 [ 13.992276][ T323] ? cap_capable+0x1d7/0x3d0 [ 13.992282][ T323] __x64_sys_finit_module+0xdf/0x190 [ 13.992284][ T323] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.992287][ T323] do_syscall_64+0xff/0x530 [ 13.992289][ T323] ? exc_page_fault+0xee/0x100 [ 13.992292][ T323] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.992294][ T323] RIP: 0033:0x7fdfd47ad37d [ 13.992298][ T323] 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 [ 13.992299][ T323] RSP: 002b:00007ffe76fbe538 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 13.992302][ T323] RAX: ffffffffffffffda RBX: 0000560184a52810 RCX: 00007fdfd47ad37d [ 13.992304][ T323] RDX: 0000000000000000 RSI: 0000560149991ffd RDI: 0000000000000000 [ 13.992304][ T323] RBP: 00007ffe76fbe5d0 R08: 0000000000000000 R09: 0000000000000000 [ 13.992305][ T323] R10: 0000000000000000 R11: 0000000000000246 R12: 0000560149991ffd [ 13.992306][ T323] R13: 0000560184a52960 R14: 0000000000040000 R15: 0000000000000000 [ 13.992312][ T323]