[ 10.849498][ T206] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 10.849515][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.849517][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: modprobe [ 10.849519][ T206] preempt_count: 1, expected: 0 [ 10.849520][ T206] RCU nest depth: 0, expected: 0 [ 10.849521][ T206] locks held by modprobe/206: 4, last CPU#0: [ 10.849523][ T206] #0: ffffffffbcb6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.849535][ T206] #1: ffffffffbcb6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.849539][ T206] #2: ffffffffbca89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.849543][ T206] #3: ffffffffbca89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.849546][ T206] irq event stamp: 34826 [ 10.849547][ T206] hardirqs last enabled at (34825): [] __down_trylock_console_sem+0x86/0xa0 [ 10.849551][ T206] hardirqs last disabled at (34826): [] console_emit_next_record+0x3d4/0x4c0 [ 10.849552][ T206] softirqs last enabled at (32990): [] handle_softirqs+0x67c/0x900 [ 10.849556][ T206] softirqs last disabled at (32985): [] __irq_exit_rcu+0x145/0x1c0 [ 10.849558][ T206] Preemption disabled at: [ 10.849559][ T206] [] vprintk_emit+0x31b/0x3e0 [ 10.849564][ T206] CPU: 0 UID: 0 PID: 206 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.849568][ T206] Tainted: [W]=WARN [ 10.849569][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.849570][ T206] Call Trace: [ 10.849572][ T206] [ 10.849573][ T206] dump_stack_lvl+0x6f/0xa0 [ 10.849578][ T206] ? vprintk_emit+0x31b/0x3e0 [ 10.849580][ T206] __might_resched.cold+0x1fe/0x2c1 [ 10.849585][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.849588][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 10.849593][ T206] __kmalloc_noprof+0x443/0x760 [ 10.849596][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 10.849602][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 10.849605][ T206] alloc_buf.isra.0+0x4b/0x260 [ 10.849608][ T206] put_chars+0x1e1/0x2f0 [ 10.849611][ T206] ? __send_to_port+0x420/0x420 [ 10.849615][ T206] ? validate_chain+0x38b/0xc20 [ 10.849620][ T206] hvc_console_print+0x292/0x780 [ 10.849627][ T206] ? hvc_write+0x3a0/0x3a0 [ 10.849630][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.849633][ T206] ? lock_acquire+0x13c/0x160 [ 10.849638][ T206] console_emit_next_record+0x22f/0x4c0 [ 10.849641][ T206] ? devkmsg_read+0x4b0/0x4b0 [ 10.849642][ T206] ? console_flush_one_record+0x106/0x710 [ 10.849645][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.849647][ T206] ? lock_acquire+0x13c/0x160 [ 10.849651][ T206] console_flush_one_record+0x46f/0x710 [ 10.849655][ T206] ? console_emit_next_record+0x4c0/0x4c0 [ 10.849656][ T206] ? __lock_acquire+0x518/0xc20 [ 10.849662][ T206] console_unlock+0xee/0x1f0 [ 10.849664][ T206] ? console_flush_one_record+0x710/0x710 [ 10.849666][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.849668][ T206] ? lock_acquire+0x60/0x160 [ 10.849671][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.849673][ T206] ? vprintk_emit+0x320/0x3e0 [ 10.849676][ T206] vprintk_emit+0x37c/0x3e0 [ 10.849680][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 10.849685][ T206] ? ipip_fini+0xa0/0xa0 [ipip] [ 10.849688][ T206] _printk+0xc7/0x100 [ 10.849692][ T206] ? snapshot_read.cold+0x21/0x21 [ 10.849698][ T206] ? do_one_initcall+0x113/0x4f0 [ 10.849702][ T206] ipip_init+0x16/0x1000 [ipip] [ 10.849704][ T206] do_one_initcall+0x124/0x4f0 [ 10.849707][ T206] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.849712][ T206] ? do_init_module+0xae/0x8a0 [ 10.849715][ T206] ? kasan_unpoison+0x44/0x70 [ 10.849720][ T206] do_init_module+0x2ad/0x8a0 [ 10.849723][ T206] ? lockdep_hardirqs_on+0x91/0x130 [ 10.849728][ T206] ? free_module+0x470/0x470 [ 10.849730][ T206] ? kfree+0x123/0x590 [ 10.849734][ T206] load_module+0x154b/0x1d60 [ 10.849742][ T206] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.849745][ T206] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.849748][ T206] ? ovl_real_file+0x172/0x1e0 [ 10.849752][ T206] ? backing_file_read_iter+0x541/0x790 [ 10.849755][ T206] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.849759][ T206] init_module_from_file+0x11f/0x1a0 [ 10.849762][ T206] ? __ia32_sys_init_module+0xc0/0xc0 [ 10.849770][ T206] ? __rwlock_init+0x150/0x150 [ 10.849774][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 10.849777][ T206] idempotent_init_module+0x37b/0x7c0 [ 10.849780][ T206] ? init_module_from_file+0x1a0/0x1a0 [ 10.849786][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.849788][ T206] ? cap_capable+0x1d7/0x3d0 [ 10.849793][ T206] __x64_sys_finit_module+0xdf/0x190 [ 10.849794][ T206] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.849798][ T206] do_syscall_64+0x10e/0x570 [ 10.849800][ T206] ? exc_page_fault+0xee/0x100 [ 10.849803][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.849805][ T206] RIP: 0033:0x7f6bbbbf137d [ 10.849809][ T206] 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.849811][ T206] RSP: 002b:00007ffcfb3903b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.849813][ T206] RAX: ffffffffffffffda RBX: 000055bc9c6fd810 RCX: 00007f6bbbbf137d [ 10.849814][ T206] RDX: 0000000000000000 RSI: 000055bc7d169ffd RDI: 0000000000000002 [ 10.849815][ T206] RBP: 00007ffcfb390450 R08: 0000000000000000 R09: 0000000000000000 [ 10.849816][ T206] R10: 0000000000000000 R11: 0000000000000246 R12: 000055bc7d169ffd [ 10.849817][ T206] R13: 000055bc9c6fd9b0 R14: 0000000000040000 R15: 0000000000000000 [ 10.849824][ T206]