[ 9.644951][ T204] gre: GRE over IPv4 demultiplexer driver [ 9.644969][ T204] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.644971][ T204] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 204, name: modprobe [ 9.644973][ T204] preempt_count: 1, expected: 0 [ 9.644974][ T204] RCU nest depth: 0, expected: 0 [ 9.644975][ T204] locks held by modprobe/204: 4, last CPU#0: [ 9.644977][ T204] #0: ffffffff8717ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.644988][ T204] #1: ffffffff8717de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.644993][ T204] #2: ffffffff8709d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.644997][ T204] #3: ffffffff8709d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.645001][ T204] irq event stamp: 22198 [ 9.645002][ T204] hardirqs last enabled at (22197): [] __down_trylock_console_sem+0x86/0xa0 [ 9.645005][ T204] hardirqs last disabled at (22198): [] console_emit_next_record+0x3d4/0x4c0 [ 9.645008][ T204] softirqs last enabled at (20202): [] handle_softirqs+0x67c/0x900 [ 9.645011][ T204] softirqs last disabled at (19583): [] __irq_exit_rcu+0x145/0x1c0 [ 9.645014][ T204] Preemption disabled at: [ 9.645014][ T204] [] vprintk_emit+0x31b/0x3e0 [ 9.645019][ T204] CPU: 0 UID: 0 PID: 204 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.645023][ T204] Tainted: [W]=WARN [ 9.645024][ T204] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.645026][ T204] Call Trace: [ 9.645027][ T204] [ 9.645028][ T204] dump_stack_lvl+0x6f/0xa0 [ 9.645034][ T204] ? vprintk_emit+0x31b/0x3e0 [ 9.645036][ T204] __might_resched.cold+0x1fe/0x2c1 [ 9.645040][ T204] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.645044][ T204] ? __kmalloc_noprof+0xdb/0x760 [ 9.645048][ T204] __kmalloc_noprof+0x443/0x760 [ 9.645050][ T204] ? alloc_buf.isra.0+0x4b/0x260 [ 9.645057][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 9.645060][ T204] alloc_buf.isra.0+0x4b/0x260 [ 9.645064][ T204] put_chars+0x1e1/0x2f0 [ 9.645065][ T204] ? desc_read_finalized_seq+0x79/0x120 [ 9.645068][ T204] ? __send_to_port+0x420/0x420 [ 9.645071][ T204] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.645074][ T204] ? validate_chain+0x38b/0xc20 [ 9.645079][ T204] hvc_console_print+0x292/0x780 [ 9.645083][ T204] ? __lock_acquire+0x518/0xc20 [ 9.645085][ T204] ? __lock_acquire+0x518/0xc20 [ 9.645089][ T204] ? hvc_write+0x3a0/0x3a0 [ 9.645091][ T204] ? console_emit_next_record+0x1df/0x4c0 [ 9.645094][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.645097][ T204] ? lock_acquire+0x13c/0x160 [ 9.645101][ T204] console_emit_next_record+0x22f/0x4c0 [ 9.645105][ T204] ? devkmsg_read+0x4b0/0x4b0 [ 9.645107][ T204] ? console_flush_one_record+0x106/0x710 [ 9.645110][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.645112][ T204] ? lock_acquire+0x13c/0x160 [ 9.645116][ T204] console_flush_one_record+0x46f/0x710 [ 9.645120][ T204] ? console_emit_next_record+0x4c0/0x4c0 [ 9.645122][ T204] ? __lock_acquire+0x518/0xc20 [ 9.645127][ T204] console_unlock+0xee/0x1f0 [ 9.645130][ T204] ? console_flush_one_record+0x710/0x710 [ 9.645132][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.645134][ T204] ? lock_acquire+0xe0/0x160 [ 9.645138][ T204] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.645140][ T204] ? vprintk_emit+0x320/0x3e0 [ 9.645142][ T204] vprintk_emit+0x37c/0x3e0 [ 9.645146][ T204] ? wake_up_klogd_work_func+0x90/0x90 [ 9.645151][ T204] ? gre_exit+0x3f0/0x3f0 [gre] [ 9.645154][ T204] _printk+0xc7/0x100 [ 9.645157][ T204] ? snapshot_read.cold+0x21/0x21 [ 9.645163][ T204] ? do_one_initcall+0x113/0x4f0 [ 9.645167][ T204] gre_init+0x15/0x1000 [gre] [ 9.645169][ T204] do_one_initcall+0x124/0x4f0 [ 9.645171][ T204] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.645176][ T204] ? do_init_module+0xae/0x8a0 [ 9.645179][ T204] ? kasan_unpoison+0x44/0x70 [ 9.645184][ T204] do_init_module+0x2ad/0x8a0 [ 9.645187][ T204] ? lockdep_hardirqs_on+0x91/0x130 [ 9.645191][ T204] ? free_module+0x470/0x470 [ 9.645194][ T204] ? kfree+0x123/0x590 [ 9.645198][ T204] load_module+0x1424/0x1bb0 [ 9.645203][ T204] ? security_kernel_post_read_file+0x2f/0x60 [ 9.645208][ T204] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.645215][ T204] init_module_from_file+0x11f/0x1a0 [ 9.645218][ T204] ? __do_sys_init_module+0x270/0x270 [ 9.645225][ T204] ? __rwlock_init+0x150/0x150 [ 9.645229][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 9.645232][ T204] idempotent_init_module+0x37b/0x7c0 [ 9.645235][ T204] ? init_module_from_file+0x1a0/0x1a0 [ 9.645240][ T204] ? cap_capable+0x1d7/0x3d0 [ 9.645243][ T204] ? __x64_sys_pread64+0x18d/0x250 [ 9.645248][ T204] __x64_sys_finit_module+0xdf/0x190 [ 9.645249][ T204] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.645253][ T204] do_syscall_64+0xff/0x530 [ 9.645256][ T204] ? exc_page_fault+0xee/0x100 [ 9.645259][ T204] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.645261][ T204] RIP: 0033:0x7f26a428b37d [ 9.645264][ T204] 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.645266][ T204] RSP: 002b:00007ffc64f87d78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.645268][ T204] RAX: ffffffffffffffda RBX: 0000561ce7197a20 RCX: 00007f26a428b37d [ 9.645270][ T204] RDX: 0000000000000000 RSI: 0000561ce08d2ffd RDI: 0000000000000000 [ 9.645270][ T204] RBP: 00007ffc64f87e10 R08: 0000000000000000 R09: 0000000000000000 [ 9.645271][ T204] R10: 0000000000000000 R11: 0000000000000246 R12: 0000561ce08d2ffd [ 9.645272][ T204] R13: 0000561ce71979e0 R14: 0000000000040000 R15: 0000000000000000 [ 9.645279][ T204] [ 9.715970][ T204] ip_gre: GRE over IPv4 tunneling driver [ 20.497349][ T698] ip6_gre: GRE over IPv6 tunneling driver [ 20.497368][ T698] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.497370][ T698] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 698, name: modprobe [ 20.497372][ T698] preempt_count: 1, expected: 0 [ 20.497372][ T698] RCU nest depth: 0, expected: 0 [ 20.497373][ T698] locks held by modprobe/698: 4, last CPU#2: [ 20.497375][ T698] #0: ffffffff8717ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.497386][ T698] #1: ffffffff8717de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.497391][ T698] #2: ffffffff8709d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.497395][ T698] #3: ffffffff8709d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.497399][ T698] irq event stamp: 39778 [ 20.497400][ T698] hardirqs last enabled at (39777): [] __down_trylock_console_sem+0x86/0xa0 [ 20.497403][ T698] hardirqs last disabled at (39778): [] console_emit_next_record+0x3d4/0x4c0 [ 20.497405][ T698] softirqs last enabled at (38066): [] handle_softirqs+0x67c/0x900 [ 20.497408][ T698] softirqs last disabled at (37753): [] __irq_exit_rcu+0x145/0x1c0 [ 20.497411][ T698] Preemption disabled at: [ 20.497411][ T698] [] vprintk_emit+0x31b/0x3e0 [ 20.497416][ T698] CPU: 2 UID: 0 PID: 698 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.497419][ T698] Tainted: [W]=WARN [ 20.497420][ T698] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.497422][ T698] Call Trace: [ 20.497424][ T698] [ 20.497425][ T698] dump_stack_lvl+0x6f/0xa0 [ 20.497433][ T698] ? vprintk_emit+0x31b/0x3e0 [ 20.497434][ T698] __might_resched.cold+0x1fe/0x2c1 [ 20.497439][ T698] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.497443][ T698] ? __kmalloc_noprof+0xdb/0x760 [ 20.497447][ T698] __kmalloc_noprof+0x443/0x760 [ 20.497449][ T698] ? alloc_buf.isra.0+0x4b/0x260 [ 20.497456][ T698] ? do_raw_spin_unlock+0x59/0x250 [ 20.497458][ T698] alloc_buf.isra.0+0x4b/0x260 [ 20.497462][ T698] put_chars+0x1e1/0x2f0 [ 20.497464][ T698] ? __send_to_port+0x420/0x420 [ 20.497466][ T698] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.497469][ T698] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.497472][ T698] ? validate_chain+0x38b/0xc20 [ 20.497476][ T698] hvc_console_print+0x292/0x780 [ 20.497480][ T698] ? __lock_acquire+0x518/0xc20 [ 20.497485][ T698] ? hvc_write+0x3a0/0x3a0 [ 20.497488][ T698] ? rcu_is_watching+0x16/0xd0 [ 20.497493][ T698] console_emit_next_record+0x22f/0x4c0 [ 20.497497][ T698] ? devkmsg_read+0x4b0/0x4b0 [ 20.497499][ T698] ? console_flush_one_record+0x106/0x710 [ 20.497502][ T698] ? rcu_is_watching+0x16/0xd0 [ 20.497503][ T698] ? lock_acquire+0x13c/0x160 [ 20.497507][ T698] console_flush_one_record+0x46f/0x710 [ 20.497511][ T698] ? console_emit_next_record+0x4c0/0x4c0 [ 20.497513][ T698] ? __lock_acquire+0x518/0xc20 [ 20.497518][ T698] console_unlock+0xee/0x1f0 [ 20.497521][ T698] ? console_flush_one_record+0x710/0x710 [ 20.497522][ T698] ? rcu_is_watching+0x16/0xd0 [ 20.497524][ T698] ? lock_acquire+0xe0/0x160 [ 20.497528][ T698] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.497529][ T698] ? vprintk_emit+0x320/0x3e0 [ 20.497532][ T698] vprintk_emit+0x37c/0x3e0 [ 20.497535][ T698] ? wake_up_klogd_work_func+0x90/0x90 [ 20.497540][ T698] ? ip6gre_fini+0xfb0/0xfb0 [ip6_gre] [ 20.497543][ T698] _printk+0xc7/0x100 [ 20.497546][ T698] ? snapshot_read.cold+0x21/0x21 [ 20.497552][ T698] ? do_one_initcall+0x113/0x4f0 [ 20.497555][ T698] ip6gre_init+0x16/0x1000 [ip6_gre] [ 20.497558][ T698] do_one_initcall+0x124/0x4f0 [ 20.497561][ T698] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 20.497565][ T698] ? do_init_module+0xae/0x8a0 [ 20.497568][ T698] ? kasan_unpoison+0x44/0x70 [ 20.497573][ T698] do_init_module+0x2ad/0x8a0 [ 20.497576][ T698] ? lockdep_hardirqs_on+0x91/0x130 [ 20.497580][ T698] ? free_module+0x470/0x470 [ 20.497582][ T698] ? kfree+0x123/0x590 [ 20.497586][ T698] load_module+0x1424/0x1bb0 [ 20.497591][ T698] ? security_kernel_post_read_file+0x2f/0x60 [ 20.497595][ T698] ? layout_and_allocate.isra.0+0x680/0x680 [ 20.497598][ T698] ? __ia32_sys_fsconfig+0x180/0x180 [ 20.497602][ T698] ? backing_file_read_iter+0x541/0x790 [ 20.497606][ T698] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.497609][ T698] init_module_from_file+0x11f/0x1a0 [ 20.497611][ T698] ? __do_sys_init_module+0x270/0x270 [ 20.497619][ T698] ? __rwlock_init+0x150/0x150 [ 20.497622][ T698] ? do_raw_spin_unlock+0x59/0x250 [ 20.497625][ T698] idempotent_init_module+0x37b/0x7c0 [ 20.497628][ T698] ? init_module_from_file+0x1a0/0x1a0 [ 20.497633][ T698] ? cap_capable+0x1d7/0x3d0 [ 20.497635][ T698] ? __x64_sys_pread64+0x18d/0x250 [ 20.497640][ T698] __x64_sys_finit_module+0xdf/0x190 [ 20.497642][ T698] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.497646][ T698] do_syscall_64+0xff/0x530 [ 20.497648][ T698] ? exc_page_fault+0xee/0x100 [ 20.497651][ T698] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.497653][ T698] RIP: 0033:0x7f1a44a4e37d [ 20.497656][ T698] 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 [ 20.497658][ T698] RSP: 002b:00007ffeb0f3ee58 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.497660][ T698] RAX: ffffffffffffffda RBX: 00005599b1a21810 RCX: 00007f1a44a4e37d [ 20.497661][ T698] RDX: 0000000000000000 RSI: 0000559998a80ffd RDI: 0000000000000000 [ 20.497662][ T698] RBP: 00007ffeb0f3eef0 R08: 0000000000000000 R09: 0000000000000000 [ 20.497663][ T698] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559998a80ffd [ 20.497664][ T698] R13: 00005599b1a219a0 R14: 0000000000040000 R15: 0000000000000000 [ 20.497670][ T698]