[ 9.910401][ T216] gre: GRE over IPv4 demultiplexer driver [ 9.910420][ T216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.910422][ T216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 216, name: modprobe [ 9.910424][ T216] preempt_count: 1, expected: 0 [ 9.910425][ T216] RCU nest depth: 0, expected: 0 [ 9.910426][ T216] locks held by modprobe/216: 4, last CPU#0: [ 9.910428][ T216] #0: ffffffff8577ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.910439][ T216] #1: ffffffff8577de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.910444][ T216] #2: ffffffff8569d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.910448][ T216] #3: ffffffff8569d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.910452][ T216] irq event stamp: 28310 [ 9.910453][ T216] hardirqs last enabled at (28309): [] __down_trylock_console_sem+0x86/0xa0 [ 9.910456][ T216] hardirqs last disabled at (28310): [] console_emit_next_record+0x3d4/0x4c0 [ 9.910458][ T216] softirqs last enabled at (24608): [] handle_softirqs+0x67c/0x900 [ 9.910461][ T216] softirqs last disabled at (24199): [] __irq_exit_rcu+0x145/0x1c0 [ 9.910464][ T216] Preemption disabled at: [ 9.910465][ T216] [] vprintk_emit+0x31b/0x3e0 [ 9.910470][ T216] CPU: 0 UID: 0 PID: 216 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.910473][ T216] Tainted: [W]=WARN [ 9.910474][ T216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.910476][ T216] Call Trace: [ 9.910477][ T216] [ 9.910479][ T216] dump_stack_lvl+0x6f/0xa0 [ 9.910484][ T216] ? vprintk_emit+0x31b/0x3e0 [ 9.910486][ T216] __might_resched.cold+0x1fe/0x2c1 [ 9.910491][ T216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.910494][ T216] ? __kmalloc_noprof+0xdb/0x760 [ 9.910499][ T216] __kmalloc_noprof+0x443/0x760 [ 9.910501][ T216] ? alloc_buf.isra.0+0x4b/0x260 [ 9.910508][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 9.910511][ T216] alloc_buf.isra.0+0x4b/0x260 [ 9.910515][ T216] put_chars+0x1e1/0x2f0 [ 9.910516][ T216] ? desc_read_finalized_seq+0x79/0x120 [ 9.910519][ T216] ? __send_to_port+0x420/0x420 [ 9.910521][ T216] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.910525][ T216] ? validate_chain+0x38b/0xc20 [ 9.910529][ T216] hvc_console_print+0x292/0x780 [ 9.910533][ T216] ? __lock_acquire+0x518/0xc20 [ 9.910535][ T216] ? __lock_acquire+0x518/0xc20 [ 9.910539][ T216] ? hvc_write+0x3a0/0x3a0 [ 9.910541][ T216] ? console_emit_next_record+0x1df/0x4c0 [ 9.910544][ T216] ? rcu_is_watching+0x16/0xd0 [ 9.910547][ T216] ? lock_acquire+0x13c/0x160 [ 9.910551][ T216] console_emit_next_record+0x22f/0x4c0 [ 9.910555][ T216] ? devkmsg_read+0x4b0/0x4b0 [ 9.910557][ T216] ? console_flush_one_record+0x106/0x710 [ 9.910560][ T216] ? rcu_is_watching+0x16/0xd0 [ 9.910561][ T216] ? lock_acquire+0x13c/0x160 [ 9.910565][ T216] console_flush_one_record+0x46f/0x710 [ 9.910570][ T216] ? console_emit_next_record+0x4c0/0x4c0 [ 9.910572][ T216] ? __lock_acquire+0x518/0xc20 [ 9.910577][ T216] console_unlock+0xee/0x1f0 [ 9.910580][ T216] ? console_flush_one_record+0x710/0x710 [ 9.910582][ T216] ? rcu_is_watching+0x16/0xd0 [ 9.910584][ T216] ? lock_acquire+0xe0/0x160 [ 9.910588][ T216] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.910590][ T216] ? vprintk_emit+0x320/0x3e0 [ 9.910592][ T216] vprintk_emit+0x37c/0x3e0 [ 9.910596][ T216] ? wake_up_klogd_work_func+0x90/0x90 [ 9.910601][ T216] ? gre_exit+0x3f0/0x3f0 [gre] [ 9.910603][ T216] _printk+0xc7/0x100 [ 9.910607][ T216] ? snapshot_read.cold+0x21/0x21 [ 9.910613][ T216] ? do_one_initcall+0x113/0x4f0 [ 9.910616][ T216] gre_init+0x15/0x1000 [gre] [ 9.910619][ T216] do_one_initcall+0x124/0x4f0 [ 9.910622][ T216] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.910626][ T216] ? do_init_module+0xae/0x8a0 [ 9.910629][ T216] ? kasan_unpoison+0x44/0x70 [ 9.910636][ T216] do_init_module+0x2ad/0x8a0 [ 9.910639][ T216] ? lockdep_hardirqs_on+0x91/0x130 [ 9.910643][ T216] ? free_module+0x470/0x470 [ 9.910646][ T216] ? kfree+0x123/0x590 [ 9.910649][ T216] load_module+0x1424/0x1bb0 [ 9.910654][ T216] ? security_kernel_post_read_file+0x2f/0x60 [ 9.910659][ T216] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.910666][ T216] init_module_from_file+0x11f/0x1a0 [ 9.910668][ T216] ? __do_sys_init_module+0x270/0x270 [ 9.910675][ T216] ? __rwlock_init+0x150/0x150 [ 9.910679][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 9.910682][ T216] idempotent_init_module+0x37b/0x7c0 [ 9.910684][ T216] ? init_module_from_file+0x1a0/0x1a0 [ 9.910690][ T216] ? cap_capable+0x1d7/0x3d0 [ 9.910692][ T216] ? __x64_sys_pread64+0x18d/0x250 [ 9.910697][ T216] __x64_sys_finit_module+0xdf/0x190 [ 9.910699][ T216] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.910703][ T216] do_syscall_64+0xff/0x530 [ 9.910706][ T216] ? exc_page_fault+0xee/0x100 [ 9.910708][ T216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.910710][ T216] RIP: 0033:0x7f9cfa5d337d [ 9.910714][ T216] 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.910715][ T216] RSP: 002b:00007ffdf8870ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.910718][ T216] RAX: ffffffffffffffda RBX: 0000555a7a1c1a20 RCX: 00007f9cfa5d337d [ 9.910719][ T216] RDX: 0000000000000000 RSI: 0000555a54ad6ffd RDI: 0000000000000000 [ 9.910720][ T216] RBP: 00007ffdf8870b70 R08: 0000000000000000 R09: 0000000000000000 [ 9.910721][ T216] R10: 0000000000000000 R11: 0000000000000246 R12: 0000555a54ad6ffd [ 9.910722][ T216] R13: 0000555a7a1c19e0 R14: 0000000000040000 R15: 0000000000000000 [ 9.910728][ T216] [ 9.977765][ T216] ip_gre: GRE over IPv4 tunneling driver [ 10.268575][ T228] ip (228) used greatest stack depth: 23768 bytes left [ 15.964369][ T252] ip6_gre: GRE over IPv6 tunneling driver [ 15.964385][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.964387][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: modprobe [ 15.964389][ T252] preempt_count: 1, expected: 0 [ 15.964390][ T252] RCU nest depth: 0, expected: 0 [ 15.964391][ T252] locks held by modprobe/252: 4, last CPU#3: [ 15.964393][ T252] #0: ffffffff8577ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.964404][ T252] #1: ffffffff8577de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.964409][ T252] #2: ffffffff8569d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.964413][ T252] #3: ffffffff8569d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.964417][ T252] irq event stamp: 27342 [ 15.964418][ T252] hardirqs last enabled at (27341): [] __down_trylock_console_sem+0x86/0xa0 [ 15.964421][ T252] hardirqs last disabled at (27342): [] console_emit_next_record+0x3d4/0x4c0 [ 15.964423][ T252] softirqs last enabled at (25184): [] handle_softirqs+0x67c/0x900 [ 15.964426][ T252] softirqs last disabled at (24891): [] __irq_exit_rcu+0x145/0x1c0 [ 15.964428][ T252] Preemption disabled at: [ 15.964429][ T252] [] vprintk_emit+0x31b/0x3e0 [ 15.964433][ T252] CPU: 3 UID: 0 PID: 252 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.964437][ T252] Tainted: [W]=WARN [ 15.964438][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.964439][ T252] Call Trace: [ 15.964441][ T252] [ 15.964442][ T252] dump_stack_lvl+0x6f/0xa0 [ 15.964448][ T252] ? vprintk_emit+0x31b/0x3e0 [ 15.964449][ T252] __might_resched.cold+0x1fe/0x2c1 [ 15.964454][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.964458][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 15.964463][ T252] __kmalloc_noprof+0x443/0x760 [ 15.964465][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 15.964471][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 15.964474][ T252] alloc_buf.isra.0+0x4b/0x260 [ 15.964478][ T252] put_chars+0x1e1/0x2f0 [ 15.964480][ T252] ? __send_to_port+0x420/0x420 [ 15.964481][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.964485][ T252] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.964488][ T252] ? validate_chain+0x38b/0xc20 [ 15.964493][ T252] hvc_console_print+0x292/0x780 [ 15.964496][ T252] ? __lock_acquire+0x518/0xc20 [ 15.964501][ T252] ? hvc_write+0x3a0/0x3a0 [ 15.964504][ T252] ? rcu_is_watching+0x16/0xd0 [ 15.964509][ T252] console_emit_next_record+0x22f/0x4c0 [ 15.964513][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 15.964515][ T252] ? console_flush_one_record+0x106/0x710 [ 15.964518][ T252] ? rcu_is_watching+0x16/0xd0 [ 15.964520][ T252] ? lock_acquire+0x13c/0x160 [ 15.964524][ T252] console_flush_one_record+0x46f/0x710 [ 15.964528][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 15.964529][ T252] ? __lock_acquire+0x518/0xc20 [ 15.964535][ T252] console_unlock+0xee/0x1f0 [ 15.964537][ T252] ? console_flush_one_record+0x710/0x710 [ 15.964539][ T252] ? rcu_is_watching+0x16/0xd0 [ 15.964541][ T252] ? lock_acquire+0xe0/0x160 [ 15.964544][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.964546][ T252] ? vprintk_emit+0x320/0x3e0 [ 15.964549][ T252] vprintk_emit+0x37c/0x3e0 [ 15.964552][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 15.964557][ T252] ? ip6gre_fini+0xfb0/0xfb0 [ip6_gre] [ 15.964561][ T252] _printk+0xc7/0x100 [ 15.964564][ T252] ? snapshot_read.cold+0x21/0x21 [ 15.964570][ T252] ? do_one_initcall+0x113/0x4f0 [ 15.964573][ T252] ip6gre_init+0x16/0x1000 [ip6_gre] [ 15.964577][ T252] do_one_initcall+0x124/0x4f0 [ 15.964579][ T252] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.964584][ T252] ? do_init_module+0xae/0x8a0 [ 15.964587][ T252] ? kasan_unpoison+0x44/0x70 [ 15.964592][ T252] do_init_module+0x2ad/0x8a0 [ 15.964595][ T252] ? lockdep_hardirqs_on+0x91/0x130 [ 15.964599][ T252] ? free_module+0x470/0x470 [ 15.964602][ T252] ? kfree+0x123/0x590 [ 15.964605][ T252] load_module+0x1424/0x1bb0 [ 15.964610][ T252] ? security_kernel_post_read_file+0x2f/0x60 [ 15.964615][ T252] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.964618][ T252] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.964622][ T252] ? backing_file_read_iter+0x541/0x790 [ 15.964626][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.964629][ T252] init_module_from_file+0x11f/0x1a0 [ 15.964633][ T252] ? __do_sys_init_module+0x270/0x270 [ 15.964640][ T252] ? __rwlock_init+0x150/0x150 [ 15.964644][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 15.964647][ T252] idempotent_init_module+0x37b/0x7c0 [ 15.964650][ T252] ? init_module_from_file+0x1a0/0x1a0 [ 15.964655][ T252] ? cap_capable+0x1d7/0x3d0 [ 15.964657][ T252] ? __x64_sys_pread64+0x18d/0x250 [ 15.964662][ T252] __x64_sys_finit_module+0xdf/0x190 [ 15.964664][ T252] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.964668][ T252] do_syscall_64+0xff/0x530 [ 15.964671][ T252] ? exc_page_fault+0xee/0x100 [ 15.964674][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.964676][ T252] RIP: 0033:0x7f6d8a2f437d [ 15.964679][ T252] 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 [ 15.964681][ T252] RSP: 002b:00007fff2243ba28 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.964684][ T252] RAX: ffffffffffffffda RBX: 000055e9131df810 RCX: 00007f6d8a2f437d [ 15.964685][ T252] RDX: 0000000000000000 RSI: 000055e8d7a33ffd RDI: 0000000000000000 [ 15.964686][ T252] RBP: 00007fff2243bac0 R08: 0000000000000000 R09: 0000000000000000 [ 15.964687][ T252] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e8d7a33ffd [ 15.964688][ T252] R13: 000055e9131df9a0 R14: 0000000000040000 R15: 0000000000000000 [ 15.964695][ T252]