[ 10.901231][ T216] gre: GRE over IPv4 demultiplexer driver [ 10.901253][ T216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.901256][ T216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 216, name: modprobe [ 10.901259][ T216] preempt_count: 1, expected: 0 [ 10.901260][ T216] RCU nest depth: 0, expected: 0 [ 10.901262][ T216] locks held by modprobe/216: 4, last CPU#1: [ 10.901264][ T216] #0: ffffffffb977ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.901278][ T216] #1: ffffffffb977de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.901286][ T216] #2: ffffffffb969d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.901292][ T216] #3: ffffffffb969d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.901299][ T216] irq event stamp: 27460 [ 10.901300][ T216] hardirqs last enabled at (27459): [] __down_trylock_console_sem+0x86/0xa0 [ 10.901304][ T216] hardirqs last disabled at (27460): [] console_emit_next_record+0x3d4/0x4c0 [ 10.901308][ T216] softirqs last enabled at (26534): [] handle_softirqs+0x67c/0x900 [ 10.901312][ T216] softirqs last disabled at (26453): [] __irq_exit_rcu+0x145/0x1c0 [ 10.901315][ T216] Preemption disabled at: [ 10.901316][ T216] [] vprintk_emit+0x31b/0x3e0 [ 10.901323][ T216] CPU: 1 UID: 0 PID: 216 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.901328][ T216] Tainted: [W]=WARN [ 10.901329][ T216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.901332][ T216] Call Trace: [ 10.901334][ T216] [ 10.901336][ T216] dump_stack_lvl+0x6f/0xa0 [ 10.901343][ T216] ? vprintk_emit+0x31b/0x3e0 [ 10.901346][ T216] __might_resched.cold+0x1fe/0x2c1 [ 10.901352][ T216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.901358][ T216] ? __kmalloc_noprof+0xdb/0x760 [ 10.901365][ T216] __kmalloc_noprof+0x443/0x760 [ 10.901368][ T216] ? alloc_buf.isra.0+0x4b/0x260 [ 10.901378][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 10.901382][ T216] alloc_buf.isra.0+0x4b/0x260 [ 10.901388][ T216] put_chars+0x1e1/0x2f0 [ 10.901390][ T216] ? desc_read_finalized_seq+0x79/0x120 [ 10.901394][ T216] ? __send_to_port+0x420/0x420 [ 10.901399][ T216] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.901404][ T216] ? validate_chain+0x38b/0xc20 [ 10.901412][ T216] hvc_console_print+0x292/0x780 [ 10.901417][ T216] ? __lock_acquire+0x518/0xc20 [ 10.901419][ T216] ? __lock_acquire+0x518/0xc20 [ 10.901428][ T216] ? hvc_write+0x3a0/0x3a0 [ 10.901430][ T216] ? console_emit_next_record+0x1df/0x4c0 [ 10.901436][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.901439][ T216] ? lock_acquire+0x13c/0x160 [ 10.901446][ T216] console_emit_next_record+0x22f/0x4c0 [ 10.901453][ T216] ? devkmsg_read+0x4b0/0x4b0 [ 10.901455][ T216] ? console_flush_one_record+0x106/0x710 [ 10.901461][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.901464][ T216] ? lock_acquire+0x13c/0x160 [ 10.901471][ T216] console_flush_one_record+0x46f/0x710 [ 10.901478][ T216] ? console_emit_next_record+0x4c0/0x4c0 [ 10.901484][ T216] ? __lock_acquire+0x518/0xc20 [ 10.901493][ T216] console_unlock+0xee/0x1f0 [ 10.901498][ T216] ? console_flush_one_record+0x710/0x710 [ 10.901501][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.901504][ T216] ? lock_acquire+0xe0/0x160 [ 10.901510][ T216] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.901513][ T216] ? vprintk_emit+0x320/0x3e0 [ 10.901518][ T216] vprintk_emit+0x37c/0x3e0 [ 10.901524][ T216] ? wake_up_klogd_work_func+0x90/0x90 [ 10.901533][ T216] ? gre_exit+0x3f0/0x3f0 [gre] [ 10.901537][ T216] _printk+0xc7/0x100 [ 10.901542][ T216] ? snapshot_read.cold+0x21/0x21 [ 10.901553][ T216] ? do_one_initcall+0x113/0x4f0 [ 10.901558][ T216] gre_init+0x15/0x1000 [gre] [ 10.901562][ T216] do_one_initcall+0x124/0x4f0 [ 10.901566][ T216] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.901574][ T216] ? do_init_module+0xae/0x8a0 [ 10.901578][ T216] ? kasan_unpoison+0x44/0x70 [ 10.901586][ T216] do_init_module+0x2ad/0x8a0 [ 10.901592][ T216] ? lockdep_hardirqs_on+0x91/0x130 [ 10.901597][ T216] ? free_module+0x470/0x470 [ 10.901601][ T216] ? kfree+0x123/0x590 [ 10.901608][ T216] load_module+0x1424/0x1bb0 [ 10.901617][ T216] ? security_kernel_post_read_file+0x2f/0x60 [ 10.901624][ T216] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.901638][ T216] init_module_from_file+0x11f/0x1a0 [ 10.901643][ T216] ? __do_sys_init_module+0x270/0x270 [ 10.901656][ T216] ? __rwlock_init+0x150/0x150 [ 10.901663][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 10.901668][ T216] idempotent_init_module+0x37b/0x7c0 [ 10.901673][ T216] ? init_module_from_file+0x1a0/0x1a0 [ 10.901683][ T216] ? cap_capable+0x1d7/0x3d0 [ 10.901687][ T216] ? __x64_sys_pread64+0x18d/0x250 [ 10.901695][ T216] __x64_sys_finit_module+0xdf/0x190 [ 10.901698][ T216] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.901704][ T216] do_syscall_64+0xff/0x530 [ 10.901707][ T216] ? exc_page_fault+0xee/0x100 [ 10.901712][ T216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.901715][ T216] RIP: 0033:0x7fbbca48e37d [ 10.901720][ 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.901723][ T216] RSP: 002b:00007fff3029ce28 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.901727][ T216] RAX: ffffffffffffffda RBX: 000055e4af93ea20 RCX: 00007fbbca48e37d [ 10.901728][ T216] RDX: 0000000000000000 RSI: 000055e4762a5ffd RDI: 0000000000000000 [ 10.901730][ T216] RBP: 00007fff3029cec0 R08: 0000000000000000 R09: 0000000000000000 [ 10.901732][ T216] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e4762a5ffd [ 10.901733][ T216] R13: 000055e4af93e9e0 R14: 0000000000040000 R15: 0000000000000000 [ 10.901746][ T216] [ 10.988934][ T216] ip_gre: GRE over IPv4 tunneling driver [ 17.025137][ T253] ip6_gre: GRE over IPv6 tunneling driver [ 17.025158][ T253] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.025160][ T253] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 253, name: modprobe [ 17.025162][ T253] preempt_count: 1, expected: 0 [ 17.025163][ T253] RCU nest depth: 0, expected: 0 [ 17.025164][ T253] locks held by modprobe/253: 4, last CPU#0: [ 17.025166][ T253] #0: ffffffffb977ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.025178][ T253] #1: ffffffffb977de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.025183][ T253] #2: ffffffffb969d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.025187][ T253] #3: ffffffffb969d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.025191][ T253] irq event stamp: 20722 [ 17.025192][ T253] hardirqs last enabled at (20721): [] __down_trylock_console_sem+0x86/0xa0 [ 17.025200][ T253] hardirqs last disabled at (20722): [] console_emit_next_record+0x3d4/0x4c0 [ 17.025202][ T253] softirqs last enabled at (18566): [] handle_softirqs+0x67c/0x900 [ 17.025206][ T253] softirqs last disabled at (18559): [] __irq_exit_rcu+0x145/0x1c0 [ 17.025209][ T253] Preemption disabled at: [ 17.025209][ T253] [] vprintk_emit+0x31b/0x3e0 [ 17.025214][ T253] CPU: 0 UID: 0 PID: 253 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.025217][ T253] Tainted: [W]=WARN [ 17.025218][ T253] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.025220][ T253] Call Trace: [ 17.025222][ T253] [ 17.025223][ T253] dump_stack_lvl+0x6f/0xa0 [ 17.025229][ T253] ? vprintk_emit+0x31b/0x3e0 [ 17.025230][ T253] __might_resched.cold+0x1fe/0x2c1 [ 17.025235][ T253] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.025239][ T253] ? __kmalloc_noprof+0xdb/0x760 [ 17.025244][ T253] __kmalloc_noprof+0x443/0x760 [ 17.025246][ T253] ? alloc_buf.isra.0+0x4b/0x260 [ 17.025253][ T253] ? do_raw_spin_unlock+0x59/0x250 [ 17.025255][ T253] alloc_buf.isra.0+0x4b/0x260 [ 17.025259][ T253] put_chars+0x1e1/0x2f0 [ 17.025262][ T253] ? __send_to_port+0x420/0x420 [ 17.025263][ T253] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.025266][ T253] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.025269][ T253] ? validate_chain+0x38b/0xc20 [ 17.025274][ T253] hvc_console_print+0x292/0x780 [ 17.025278][ T253] ? __lock_acquire+0x518/0xc20 [ 17.025283][ T253] ? hvc_write+0x3a0/0x3a0 [ 17.025286][ T253] ? rcu_is_watching+0x16/0xd0 [ 17.025290][ T253] console_emit_next_record+0x22f/0x4c0 [ 17.025294][ T253] ? devkmsg_read+0x4b0/0x4b0 [ 17.025296][ T253] ? console_flush_one_record+0x106/0x710 [ 17.025300][ T253] ? rcu_is_watching+0x16/0xd0 [ 17.025301][ T253] ? lock_acquire+0x13c/0x160 [ 17.025305][ T253] console_flush_one_record+0x46f/0x710 [ 17.025309][ T253] ? console_emit_next_record+0x4c0/0x4c0 [ 17.025311][ T253] ? __lock_acquire+0x518/0xc20 [ 17.025316][ T253] console_unlock+0xee/0x1f0 [ 17.025319][ T253] ? console_flush_one_record+0x710/0x710 [ 17.025321][ T253] ? rcu_is_watching+0x16/0xd0 [ 17.025323][ T253] ? lock_acquire+0xe0/0x160 [ 17.025326][ T253] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.025328][ T253] ? vprintk_emit+0x320/0x3e0 [ 17.025331][ T253] vprintk_emit+0x37c/0x3e0 [ 17.025334][ T253] ? wake_up_klogd_work_func+0x90/0x90 [ 17.025339][ T253] ? ip6gre_fini+0xfb0/0xfb0 [ip6_gre] [ 17.025343][ T253] _printk+0xc7/0x100 [ 17.025347][ T253] ? snapshot_read.cold+0x21/0x21 [ 17.025353][ T253] ? do_one_initcall+0x113/0x4f0 [ 17.025356][ T253] ip6gre_init+0x16/0x1000 [ip6_gre] [ 17.025359][ T253] do_one_initcall+0x124/0x4f0 [ 17.025362][ T253] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.025366][ T253] ? do_init_module+0xae/0x8a0 [ 17.025369][ T253] ? kasan_unpoison+0x44/0x70 [ 17.025374][ T253] do_init_module+0x2ad/0x8a0 [ 17.025377][ T253] ? lockdep_hardirqs_on+0x91/0x130 [ 17.025381][ T253] ? free_module+0x470/0x470 [ 17.025384][ T253] ? kfree+0x123/0x590 [ 17.025388][ T253] load_module+0x1424/0x1bb0 [ 17.025393][ T253] ? security_kernel_post_read_file+0x2f/0x60 [ 17.025397][ T253] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.025401][ T253] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.025405][ T253] ? backing_file_read_iter+0x541/0x790 [ 17.025408][ T253] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.025411][ T253] init_module_from_file+0x11f/0x1a0 [ 17.025414][ T253] ? __do_sys_init_module+0x270/0x270 [ 17.025421][ T253] ? __rwlock_init+0x150/0x150 [ 17.025425][ T253] ? do_raw_spin_unlock+0x59/0x250 [ 17.025428][ T253] idempotent_init_module+0x37b/0x7c0 [ 17.025431][ T253] ? init_module_from_file+0x1a0/0x1a0 [ 17.025436][ T253] ? cap_capable+0x1d7/0x3d0 [ 17.025438][ T253] ? __x64_sys_pread64+0x18d/0x250 [ 17.025444][ T253] __x64_sys_finit_module+0xdf/0x190 [ 17.025445][ T253] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.025449][ T253] do_syscall_64+0xff/0x530 [ 17.025452][ T253] ? exc_page_fault+0xee/0x100 [ 17.025455][ T253] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.025457][ T253] RIP: 0033:0x7f3b43e6d37d [ 17.025460][ 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.025462][ T253] RSP: 002b:00007ffe530c39c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.025465][ T253] RAX: ffffffffffffffda RBX: 000055e7f7b32810 RCX: 00007f3b43e6d37d [ 17.025466][ T253] RDX: 0000000000000000 RSI: 000055e7d50f9ffd RDI: 0000000000000000 [ 17.025467][ T253] RBP: 00007ffe530c3a60 R08: 0000000000000000 R09: 0000000000000000 [ 17.025468][ T253] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e7d50f9ffd [ 17.025468][ T253] R13: 000055e7f7b329a0 R14: 0000000000040000 R15: 0000000000000000 [ 17.025475][ T253] [ 17.078577][ T252] ip (252) used greatest stack depth: 23808 bytes left