[ 10.975404][ T216] gre: GRE over IPv4 demultiplexer driver [ 10.975423][ T216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.975426][ T216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 216, name: modprobe [ 10.975427][ T216] preempt_count: 1, expected: 0 [ 10.975428][ T216] RCU nest depth: 0, expected: 0 [ 10.975429][ T216] locks held by modprobe/216: 4, last CPU#2: [ 10.975431][ T216] #0: ffffffffb657ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.975443][ T216] #1: ffffffffb657de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.975448][ T216] #2: ffffffffb649d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.975452][ T216] #3: ffffffffb649d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.975456][ T216] irq event stamp: 30170 [ 10.975457][ T216] hardirqs last enabled at (30169): [] __down_trylock_console_sem+0x86/0xa0 [ 10.975461][ T216] hardirqs last disabled at (30170): [] console_emit_next_record+0x3d4/0x4c0 [ 10.975463][ T216] softirqs last enabled at (27190): [] handle_softirqs+0x67c/0x900 [ 10.975466][ T216] softirqs last disabled at (26713): [] __irq_exit_rcu+0x145/0x1c0 [ 10.975468][ T216] Preemption disabled at: [ 10.975469][ T216] [] vprintk_emit+0x31b/0x3e0 [ 10.975474][ T216] CPU: 2 UID: 0 PID: 216 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.975478][ T216] Tainted: [W]=WARN [ 10.975479][ T216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.975481][ T216] Call Trace: [ 10.975482][ T216] [ 10.975484][ T216] dump_stack_lvl+0x6f/0xa0 [ 10.975490][ T216] ? vprintk_emit+0x31b/0x3e0 [ 10.975492][ T216] __might_resched.cold+0x1fe/0x2c1 [ 10.975496][ T216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.975500][ T216] ? __kmalloc_noprof+0xdb/0x760 [ 10.975505][ T216] __kmalloc_noprof+0x443/0x760 [ 10.975507][ T216] ? alloc_buf.isra.0+0x4b/0x260 [ 10.975514][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 10.975517][ T216] alloc_buf.isra.0+0x4b/0x260 [ 10.975520][ T216] put_chars+0x1e1/0x2f0 [ 10.975522][ T216] ? desc_read_finalized_seq+0x79/0x120 [ 10.975524][ T216] ? __send_to_port+0x420/0x420 [ 10.975527][ T216] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.975530][ T216] ? validate_chain+0x38b/0xc20 [ 10.975535][ T216] hvc_console_print+0x292/0x780 [ 10.975539][ T216] ? __lock_acquire+0x518/0xc20 [ 10.975541][ T216] ? __lock_acquire+0x518/0xc20 [ 10.975545][ T216] ? hvc_write+0x3a0/0x3a0 [ 10.975547][ T216] ? console_emit_next_record+0x1df/0x4c0 [ 10.975550][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.975552][ T216] ? lock_acquire+0x13c/0x160 [ 10.975556][ T216] console_emit_next_record+0x22f/0x4c0 [ 10.975560][ T216] ? devkmsg_read+0x4b0/0x4b0 [ 10.975562][ T216] ? console_flush_one_record+0x106/0x710 [ 10.975565][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.975567][ T216] ? lock_acquire+0x13c/0x160 [ 10.975571][ T216] console_flush_one_record+0x46f/0x710 [ 10.975575][ T216] ? console_emit_next_record+0x4c0/0x4c0 [ 10.975577][ T216] ? __lock_acquire+0x518/0xc20 [ 10.975582][ T216] console_unlock+0xee/0x1f0 [ 10.975585][ T216] ? console_flush_one_record+0x710/0x710 [ 10.975587][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.975588][ T216] ? lock_acquire+0xe0/0x160 [ 10.975592][ T216] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.975594][ T216] ? vprintk_emit+0x320/0x3e0 [ 10.975596][ T216] vprintk_emit+0x37c/0x3e0 [ 10.975600][ T216] ? wake_up_klogd_work_func+0x90/0x90 [ 10.975604][ T216] ? gre_exit+0x3f0/0x3f0 [gre] [ 10.975607][ T216] _printk+0xc7/0x100 [ 10.975611][ T216] ? snapshot_read.cold+0x21/0x21 [ 10.975617][ T216] ? do_one_initcall+0x113/0x4f0 [ 10.975621][ T216] gre_init+0x15/0x1000 [gre] [ 10.975623][ T216] do_one_initcall+0x124/0x4f0 [ 10.975626][ T216] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.975631][ T216] ? do_init_module+0xae/0x8a0 [ 10.975633][ T216] ? kasan_unpoison+0x44/0x70 [ 10.975639][ T216] do_init_module+0x2ad/0x8a0 [ 10.975642][ T216] ? lockdep_hardirqs_on+0x91/0x130 [ 10.975646][ T216] ? free_module+0x470/0x470 [ 10.975648][ T216] ? kfree+0x123/0x590 [ 10.975652][ T216] load_module+0x1424/0x1bb0 [ 10.975657][ T216] ? security_kernel_post_read_file+0x2f/0x60 [ 10.975662][ T216] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.975669][ T216] init_module_from_file+0x11f/0x1a0 [ 10.975672][ T216] ? __do_sys_init_module+0x270/0x270 [ 10.975679][ T216] ? __rwlock_init+0x150/0x150 [ 10.975683][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 10.975686][ T216] idempotent_init_module+0x37b/0x7c0 [ 10.975689][ T216] ? init_module_from_file+0x1a0/0x1a0 [ 10.975694][ T216] ? cap_capable+0x1d7/0x3d0 [ 10.975697][ T216] ? __x64_sys_pread64+0x18d/0x250 [ 10.975702][ T216] __x64_sys_finit_module+0xdf/0x190 [ 10.975703][ T216] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.975707][ T216] do_syscall_64+0xff/0x530 [ 10.975710][ T216] ? exc_page_fault+0xee/0x100 [ 10.975713][ T216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.975715][ T216] RIP: 0033:0x7f805bb8737d [ 10.975718][ 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 [ 10.975720][ T216] RSP: 002b:00007fffec6cf3b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.975722][ T216] RAX: ffffffffffffffda RBX: 000055d6ee0b3a20 RCX: 00007f805bb8737d [ 10.975724][ T216] RDX: 0000000000000000 RSI: 000055d6e49c4ffd RDI: 0000000000000000 [ 10.975725][ T216] RBP: 00007fffec6cf450 R08: 0000000000000000 R09: 0000000000000000 [ 10.975725][ T216] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d6e49c4ffd [ 10.975726][ T216] R13: 000055d6ee0b39e0 R14: 0000000000040000 R15: 0000000000000000 [ 10.975733][ T216] [ 11.019626][ T216] ip_gre: GRE over IPv4 tunneling driver [ 17.056308][ T253] ip6_gre: GRE over IPv6 tunneling driver [ 17.056326][ T253] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.056328][ T253] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 253, name: modprobe [ 17.056330][ T253] preempt_count: 1, expected: 0 [ 17.056331][ T253] RCU nest depth: 0, expected: 0 [ 17.056332][ T253] locks held by modprobe/253: 4, last CPU#2: [ 17.056334][ T253] #0: ffffffffb657ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.056345][ T253] #1: ffffffffb657de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.056350][ T253] #2: ffffffffb649d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.056355][ T253] #3: ffffffffb649d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.056359][ T253] irq event stamp: 19284 [ 17.056360][ T253] hardirqs last enabled at (19283): [] __down_trylock_console_sem+0x86/0xa0 [ 17.056363][ T253] hardirqs last disabled at (19284): [] console_emit_next_record+0x3d4/0x4c0 [ 17.056365][ T253] softirqs last enabled at (17082): [] handle_softirqs+0x67c/0x900 [ 17.056369][ T253] softirqs last disabled at (17075): [] __irq_exit_rcu+0x145/0x1c0 [ 17.056371][ T253] Preemption disabled at: [ 17.056372][ T253] [] vprintk_emit+0x31b/0x3e0 [ 17.056377][ T253] CPU: 2 UID: 0 PID: 253 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.056380][ T253] Tainted: [W]=WARN [ 17.056381][ T253] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.056382][ T253] Call Trace: [ 17.056384][ T253] [ 17.056388][ T253] dump_stack_lvl+0x6f/0xa0 [ 17.056394][ T253] ? vprintk_emit+0x31b/0x3e0 [ 17.056395][ T253] __might_resched.cold+0x1fe/0x2c1 [ 17.056400][ T253] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.056404][ T253] ? __kmalloc_noprof+0xdb/0x760 [ 17.056408][ T253] __kmalloc_noprof+0x443/0x760 [ 17.056410][ T253] ? alloc_buf.isra.0+0x4b/0x260 [ 17.056417][ T253] ? do_raw_spin_unlock+0x59/0x250 [ 17.056420][ T253] alloc_buf.isra.0+0x4b/0x260 [ 17.056424][ T253] put_chars+0x1e1/0x2f0 [ 17.056426][ T253] ? __send_to_port+0x420/0x420 [ 17.056427][ T253] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.056431][ T253] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.056434][ T253] ? validate_chain+0x38b/0xc20 [ 17.056439][ T253] hvc_console_print+0x292/0x780 [ 17.056443][ T253] ? __lock_acquire+0x518/0xc20 [ 17.056448][ T253] ? hvc_write+0x3a0/0x3a0 [ 17.056451][ T253] ? rcu_is_watching+0x16/0xd0 [ 17.056456][ T253] console_emit_next_record+0x22f/0x4c0 [ 17.056460][ T253] ? devkmsg_read+0x4b0/0x4b0 [ 17.056462][ T253] ? console_flush_one_record+0x106/0x710 [ 17.056465][ T253] ? rcu_is_watching+0x16/0xd0 [ 17.056467][ T253] ? lock_acquire+0x13c/0x160 [ 17.056471][ T253] console_flush_one_record+0x46f/0x710 [ 17.056475][ T253] ? console_emit_next_record+0x4c0/0x4c0 [ 17.056477][ T253] ? __lock_acquire+0x518/0xc20 [ 17.056482][ T253] console_unlock+0xee/0x1f0 [ 17.056485][ T253] ? console_flush_one_record+0x710/0x710 [ 17.056487][ T253] ? rcu_is_watching+0x16/0xd0 [ 17.056489][ T253] ? lock_acquire+0xe0/0x160 [ 17.056492][ T253] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.056494][ T253] ? vprintk_emit+0x320/0x3e0 [ 17.056497][ T253] vprintk_emit+0x37c/0x3e0 [ 17.056501][ T253] ? wake_up_klogd_work_func+0x90/0x90 [ 17.056506][ T253] ? ip6gre_fini+0xf40/0xf40 [ip6_gre] [ 17.056509][ T253] _printk+0xc7/0x100 [ 17.056513][ T253] ? snapshot_read.cold+0x21/0x21 [ 17.056519][ T253] ? do_one_initcall+0x113/0x4f0 [ 17.056522][ T253] ip6gre_init+0x16/0x1000 [ip6_gre] [ 17.056525][ T253] do_one_initcall+0x124/0x4f0 [ 17.056528][ T253] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.056533][ T253] ? do_init_module+0xae/0x8a0 [ 17.056536][ T253] ? kasan_unpoison+0x44/0x70 [ 17.056541][ T253] do_init_module+0x2ad/0x8a0 [ 17.056544][ T253] ? lockdep_hardirqs_on+0x91/0x130 [ 17.056548][ T253] ? free_module+0x470/0x470 [ 17.056551][ T253] ? kfree+0x123/0x590 [ 17.056554][ T253] load_module+0x1424/0x1bb0 [ 17.056560][ T253] ? security_kernel_post_read_file+0x2f/0x60 [ 17.056564][ T253] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.056568][ T253] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.056572][ T253] ? backing_file_read_iter+0x541/0x790 [ 17.056576][ T253] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.056579][ T253] init_module_from_file+0x11f/0x1a0 [ 17.056582][ T253] ? __do_sys_init_module+0x270/0x270 [ 17.056589][ T253] ? __rwlock_init+0x150/0x150 [ 17.056593][ T253] ? do_raw_spin_unlock+0x59/0x250 [ 17.056596][ T253] idempotent_init_module+0x37b/0x7c0 [ 17.056599][ T253] ? init_module_from_file+0x1a0/0x1a0 [ 17.056604][ T253] ? cap_capable+0x1d7/0x3d0 [ 17.056607][ T253] ? __x64_sys_pread64+0x18d/0x250 [ 17.056612][ T253] __x64_sys_finit_module+0xdf/0x190 [ 17.056614][ T253] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.056618][ T253] do_syscall_64+0xff/0x530 [ 17.056620][ T253] ? exc_page_fault+0xee/0x100 [ 17.056623][ T253] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.056625][ T253] RIP: 0033:0x7ff83c38637d [ 17.056629][ T253] 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 [ 17.056631][ T253] RSP: 002b:00007ffe30ff4318 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.056634][ T253] RAX: ffffffffffffffda RBX: 00005555d0b32810 RCX: 00007ff83c38637d [ 17.056635][ T253] RDX: 0000000000000000 RSI: 00005555c3117ffd RDI: 0000000000000000 [ 17.056636][ T253] RBP: 00007ffe30ff43b0 R08: 0000000000000000 R09: 0000000000000000 [ 17.056637][ T253] R10: 0000000000000000 R11: 0000000000000246 R12: 00005555c3117ffd [ 17.056638][ T253] R13: 00005555d0b329a0 R14: 0000000000040000 R15: 0000000000000000 [ 17.056645][ T253]