[ 9.429431][ T205] gre: GRE over IPv4 demultiplexer driver [ 9.429448][ T205] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.429450][ T205] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 205, name: modprobe [ 9.429451][ T205] preempt_count: 1, expected: 0 [ 9.429452][ T205] RCU nest depth: 0, expected: 0 [ 9.429453][ T205] locks held by modprobe/205: 4, last CPU#3: [ 9.429455][ T205] #0: ffffffffab77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.429466][ T205] #1: ffffffffab77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.429472][ T205] #2: ffffffffab69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.429475][ T205] #3: ffffffffab69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.429479][ T205] irq event stamp: 27634 [ 9.429480][ T205] hardirqs last enabled at (27633): [] __down_trylock_console_sem+0x86/0xa0 [ 9.429483][ T205] hardirqs last disabled at (27634): [] console_emit_next_record+0x3d4/0x4c0 [ 9.429485][ T205] softirqs last enabled at (24740): [] handle_softirqs+0x67c/0x900 [ 9.429488][ T205] softirqs last disabled at (24235): [] __irq_exit_rcu+0x145/0x1c0 [ 9.429491][ T205] Preemption disabled at: [ 9.429491][ T205] [] vprintk_emit+0x31b/0x3e0 [ 9.429496][ T205] CPU: 3 UID: 0 PID: 205 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.429500][ T205] Tainted: [W]=WARN [ 9.429501][ T205] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.429503][ T205] Call Trace: [ 9.429504][ T205] [ 9.429506][ T205] dump_stack_lvl+0x6f/0xa0 [ 9.429512][ T205] ? vprintk_emit+0x31b/0x3e0 [ 9.429513][ T205] __might_resched.cold+0x1fe/0x2c1 [ 9.429518][ T205] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.429522][ T205] ? __kmalloc_noprof+0xdb/0x760 [ 9.429526][ T205] __kmalloc_noprof+0x443/0x760 [ 9.429528][ T205] ? alloc_buf.isra.0+0x4b/0x260 [ 9.429535][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 9.429537][ T205] alloc_buf.isra.0+0x4b/0x260 [ 9.429541][ T205] put_chars+0x1e1/0x2f0 [ 9.429543][ T205] ? desc_read_finalized_seq+0x79/0x120 [ 9.429545][ T205] ? __send_to_port+0x420/0x420 [ 9.429548][ T205] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.429551][ T205] ? validate_chain+0x38b/0xc20 [ 9.429555][ T205] hvc_console_print+0x292/0x780 [ 9.429559][ T205] ? __lock_acquire+0x518/0xc20 [ 9.429561][ T205] ? __lock_acquire+0x518/0xc20 [ 9.429565][ T205] ? hvc_write+0x3a0/0x3a0 [ 9.429567][ T205] ? console_emit_next_record+0x1df/0x4c0 [ 9.429570][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.429572][ T205] ? lock_acquire+0x13c/0x160 [ 9.429576][ T205] console_emit_next_record+0x22f/0x4c0 [ 9.429580][ T205] ? devkmsg_read+0x4b0/0x4b0 [ 9.429582][ T205] ? console_flush_one_record+0x106/0x710 [ 9.429585][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.429587][ T205] ? lock_acquire+0x13c/0x160 [ 9.429590][ T205] console_flush_one_record+0x46f/0x710 [ 9.429594][ T205] ? console_emit_next_record+0x4c0/0x4c0 [ 9.429596][ T205] ? __lock_acquire+0x518/0xc20 [ 9.429601][ T205] console_unlock+0xee/0x1f0 [ 9.429604][ T205] ? console_flush_one_record+0x710/0x710 [ 9.429606][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.429608][ T205] ? lock_acquire+0xe0/0x160 [ 9.429611][ T205] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.429613][ T205] ? vprintk_emit+0x320/0x3e0 [ 9.429616][ T205] vprintk_emit+0x37c/0x3e0 [ 9.429619][ T205] ? wake_up_klogd_work_func+0x90/0x90 [ 9.429623][ T205] ? gre_exit+0x3f0/0x3f0 [gre] [ 9.429626][ T205] _printk+0xc7/0x100 [ 9.429630][ T205] ? snapshot_read.cold+0x21/0x21 [ 9.429635][ T205] ? do_one_initcall+0x113/0x4f0 [ 9.429639][ T205] gre_init+0x15/0x1000 [gre] [ 9.429641][ T205] do_one_initcall+0x124/0x4f0 [ 9.429644][ T205] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.429648][ T205] ? do_init_module+0xae/0x8a0 [ 9.429651][ T205] ? kasan_unpoison+0x44/0x70 [ 9.429656][ T205] do_init_module+0x2ad/0x8a0 [ 9.429659][ T205] ? lockdep_hardirqs_on+0x91/0x130 [ 9.429663][ T205] ? free_module+0x470/0x470 [ 9.429665][ T205] ? kfree+0x123/0x590 [ 9.429669][ T205] load_module+0x1424/0x1bb0 [ 9.429674][ T205] ? security_kernel_post_read_file+0x2f/0x60 [ 9.429679][ T205] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.429686][ T205] init_module_from_file+0x11f/0x1a0 [ 9.429688][ T205] ? __do_sys_init_module+0x270/0x270 [ 9.429695][ T205] ? __rwlock_init+0x150/0x150 [ 9.429699][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 9.429702][ T205] idempotent_init_module+0x37b/0x7c0 [ 9.429705][ T205] ? init_module_from_file+0x1a0/0x1a0 [ 9.429713][ T205] ? cap_capable+0x1d7/0x3d0 [ 9.429716][ T205] ? __x64_sys_pread64+0x18d/0x250 [ 9.429721][ T205] __x64_sys_finit_module+0xdf/0x190 [ 9.429722][ T205] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.429726][ T205] do_syscall_64+0xff/0x530 [ 9.429729][ T205] ? exc_page_fault+0xee/0x100 [ 9.429731][ T205] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.429733][ T205] RIP: 0033:0x7f9adefcd37d [ 9.429737][ T205] 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 [ 9.429738][ T205] RSP: 002b:00007ffd85ce1aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.429741][ T205] RAX: ffffffffffffffda RBX: 000055a9e6776a20 RCX: 00007f9adefcd37d [ 9.429742][ T205] RDX: 0000000000000000 RSI: 000055a9d61acffd RDI: 0000000000000000 [ 9.429743][ T205] RBP: 00007ffd85ce1b40 R08: 0000000000000000 R09: 0000000000000000 [ 9.429744][ T205] R10: 0000000000000000 R11: 0000000000000246 R12: 000055a9d61acffd [ 9.429744][ T205] R13: 000055a9e67769e0 R14: 0000000000040000 R15: 0000000000000000 [ 9.429751][ T205] [ 9.489760][ T205] ip_gre: GRE over IPv4 tunneling driver [ 9.609444][ T208] ip (208) used greatest stack depth: 24032 bytes left [ 19.968351][ T699] ip6_gre: GRE over IPv6 tunneling driver [ 19.968366][ T699] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.968369][ T699] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 699, name: modprobe [ 19.968370][ T699] preempt_count: 1, expected: 0 [ 19.968371][ T699] RCU nest depth: 0, expected: 0 [ 19.968372][ T699] locks held by modprobe/699: 4, last CPU#0: [ 19.968374][ T699] #0: ffffffffab77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.968385][ T699] #1: ffffffffab77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.968390][ T699] #2: ffffffffab69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.968394][ T699] #3: ffffffffab69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.968398][ T699] irq event stamp: 45494 [ 19.968399][ T699] hardirqs last enabled at (45493): [] __down_trylock_console_sem+0x86/0xa0 [ 19.968402][ T699] hardirqs last disabled at (45494): [] console_emit_next_record+0x3d4/0x4c0 [ 19.968404][ T699] softirqs last enabled at (44946): [] handle_softirqs+0x67c/0x900 [ 19.968407][ T699] softirqs last disabled at (44937): [] __irq_exit_rcu+0x145/0x1c0 [ 19.968410][ T699] Preemption disabled at: [ 19.968410][ T699] [] vprintk_emit+0x31b/0x3e0 [ 19.968415][ T699] CPU: 0 UID: 0 PID: 699 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.968419][ T699] Tainted: [W]=WARN [ 19.968419][ T699] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.968421][ T699] Call Trace: [ 19.968423][ T699] [ 19.968424][ T699] dump_stack_lvl+0x6f/0xa0 [ 19.968430][ T699] ? vprintk_emit+0x31b/0x3e0 [ 19.968432][ T699] __might_resched.cold+0x1fe/0x2c1 [ 19.968436][ T699] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.968440][ T699] ? __kmalloc_noprof+0xdb/0x760 [ 19.968444][ T699] __kmalloc_noprof+0x443/0x760 [ 19.968446][ T699] ? alloc_buf.isra.0+0x4b/0x260 [ 19.968453][ T699] ? do_raw_spin_unlock+0x59/0x250 [ 19.968455][ T699] alloc_buf.isra.0+0x4b/0x260 [ 19.968459][ T699] put_chars+0x1e1/0x2f0 [ 19.968462][ T699] ? __send_to_port+0x420/0x420 [ 19.968463][ T699] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.968466][ T699] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.968469][ T699] ? validate_chain+0x38b/0xc20 [ 19.968474][ T699] hvc_console_print+0x292/0x780 [ 19.968478][ T699] ? __lock_acquire+0x518/0xc20 [ 19.968483][ T699] ? hvc_write+0x3a0/0x3a0 [ 19.968486][ T699] ? rcu_is_watching+0x16/0xd0 [ 19.968490][ T699] console_emit_next_record+0x22f/0x4c0 [ 19.968494][ T699] ? devkmsg_read+0x4b0/0x4b0 [ 19.968496][ T699] ? console_flush_one_record+0x106/0x710 [ 19.968499][ T699] ? rcu_is_watching+0x16/0xd0 [ 19.968501][ T699] ? lock_acquire+0x13c/0x160 [ 19.968505][ T699] console_flush_one_record+0x46f/0x710 [ 19.968509][ T699] ? console_emit_next_record+0x4c0/0x4c0 [ 19.968511][ T699] ? __lock_acquire+0x518/0xc20 [ 19.968516][ T699] console_unlock+0xee/0x1f0 [ 19.968519][ T699] ? console_flush_one_record+0x710/0x710 [ 19.968521][ T699] ? rcu_is_watching+0x16/0xd0 [ 19.968523][ T699] ? lock_acquire+0xe0/0x160 [ 19.968526][ T699] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.968528][ T699] ? vprintk_emit+0x320/0x3e0 [ 19.968531][ T699] vprintk_emit+0x37c/0x3e0 [ 19.968534][ T699] ? wake_up_klogd_work_func+0x90/0x90 [ 19.968539][ T699] ? ip6gre_fini+0xfb0/0xfb0 [ip6_gre] [ 19.968542][ T699] _printk+0xc7/0x100 [ 19.968545][ T699] ? snapshot_read.cold+0x21/0x21 [ 19.968551][ T699] ? do_one_initcall+0x113/0x4f0 [ 19.968555][ T699] ip6gre_init+0x16/0x1000 [ip6_gre] [ 19.968557][ T699] do_one_initcall+0x124/0x4f0 [ 19.968560][ T699] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.968565][ T699] ? do_init_module+0xae/0x8a0 [ 19.968567][ T699] ? kasan_unpoison+0x44/0x70 [ 19.968573][ T699] do_init_module+0x2ad/0x8a0 [ 19.968576][ T699] ? lockdep_hardirqs_on+0x91/0x130 [ 19.968580][ T699] ? free_module+0x470/0x470 [ 19.968582][ T699] ? kfree+0x123/0x590 [ 19.968586][ T699] load_module+0x1424/0x1bb0 [ 19.968591][ T699] ? security_kernel_post_read_file+0x2f/0x60 [ 19.968595][ T699] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.968599][ T699] ? __ia32_sys_fsconfig+0x180/0x180 [ 19.968603][ T699] ? backing_file_read_iter+0x541/0x790 [ 19.968606][ T699] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.968610][ T699] init_module_from_file+0x11f/0x1a0 [ 19.968612][ T699] ? __do_sys_init_module+0x270/0x270 [ 19.968620][ T699] ? __rwlock_init+0x150/0x150 [ 19.968623][ T699] ? do_raw_spin_unlock+0x59/0x250 [ 19.968626][ T699] idempotent_init_module+0x37b/0x7c0 [ 19.968629][ T699] ? init_module_from_file+0x1a0/0x1a0 [ 19.968634][ T699] ? cap_capable+0x1d7/0x3d0 [ 19.968637][ T699] ? __x64_sys_pread64+0x18d/0x250 [ 19.968642][ T699] __x64_sys_finit_module+0xdf/0x190 [ 19.968644][ T699] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.968647][ T699] do_syscall_64+0xff/0x530 [ 19.968650][ T699] ? exc_page_fault+0xee/0x100 [ 19.968653][ T699] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.968655][ T699] RIP: 0033:0x7f866f0e137d [ 19.968658][ T699] 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 [ 19.968660][ T699] RSP: 002b:00007ffde9dd3aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.968662][ T699] RAX: ffffffffffffffda RBX: 00005649a1ed3810 RCX: 00007f866f0e137d [ 19.968664][ T699] RDX: 0000000000000000 RSI: 000056498959fffd RDI: 0000000000000000 [ 19.968665][ T699] RBP: 00007ffde9dd3b40 R08: 0000000000000000 R09: 0000000000000000 [ 19.968666][ T699] R10: 0000000000000000 R11: 0000000000000246 R12: 000056498959fffd [ 19.968667][ T699] R13: 00005649a1ed39a0 R14: 0000000000040000 R15: 0000000000000000 [ 19.968673][ T699]