[ 9.573870][ T205] gre: GRE over IPv4 demultiplexer driver [ 9.573884][ T205] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.573887][ T205] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 205, name: modprobe [ 9.573888][ T205] preempt_count: 1, expected: 0 [ 9.573889][ T205] RCU nest depth: 0, expected: 0 [ 9.573890][ T205] locks held by modprobe/205: 4, last CPU#3: [ 9.573892][ T205] #0: ffffffffacb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.573903][ T205] #1: ffffffffacb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.573908][ T205] #2: ffffffffaca9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.573911][ T205] #3: ffffffffaca9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.573915][ T205] irq event stamp: 25388 [ 9.573916][ T205] hardirqs last enabled at (25387): [] __down_trylock_console_sem+0x86/0xa0 [ 9.573919][ T205] hardirqs last disabled at (25388): [] console_emit_next_record+0x3d4/0x4c0 [ 9.573921][ T205] softirqs last enabled at (22504): [] handle_softirqs+0x67c/0x900 [ 9.573924][ T205] softirqs last disabled at (21511): [] __irq_exit_rcu+0x145/0x1c0 [ 9.573926][ T205] Preemption disabled at: [ 9.573927][ T205] [] vprintk_emit+0x31b/0x3e0 [ 9.573932][ T205] CPU: 3 UID: 0 PID: 205 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.573935][ T205] Tainted: [W]=WARN [ 9.573936][ T205] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.573938][ T205] Call Trace: [ 9.573939][ T205] [ 9.573941][ T205] dump_stack_lvl+0x6f/0xa0 [ 9.573946][ T205] ? vprintk_emit+0x31b/0x3e0 [ 9.573948][ T205] __might_resched.cold+0x1fe/0x2c1 [ 9.573952][ T205] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.573956][ T205] ? __kmalloc_noprof+0xdb/0x760 [ 9.573960][ T205] __kmalloc_noprof+0x443/0x760 [ 9.573962][ T205] ? alloc_buf.isra.0+0x4b/0x260 [ 9.573969][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 9.573971][ T205] alloc_buf.isra.0+0x4b/0x260 [ 9.573975][ T205] put_chars+0x1e1/0x2f0 [ 9.573976][ T205] ? desc_read_finalized_seq+0x79/0x120 [ 9.573979][ T205] ? __send_to_port+0x420/0x420 [ 9.573981][ T205] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.573985][ T205] ? validate_chain+0x38b/0xc20 [ 9.573989][ T205] hvc_console_print+0x292/0x780 [ 9.573993][ T205] ? __lock_acquire+0x518/0xc20 [ 9.573994][ T205] ? __lock_acquire+0x518/0xc20 [ 9.573999][ T205] ? hvc_write+0x3a0/0x3a0 [ 9.574001][ T205] ? console_emit_next_record+0x1df/0x4c0 [ 9.574004][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.574006][ T205] ? lock_acquire+0x13c/0x160 [ 9.574010][ T205] console_emit_next_record+0x22f/0x4c0 [ 9.574013][ T205] ? devkmsg_read+0x4b0/0x4b0 [ 9.574015][ T205] ? console_flush_one_record+0x106/0x710 [ 9.574018][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.574020][ T205] ? lock_acquire+0x13c/0x160 [ 9.574024][ T205] console_flush_one_record+0x46f/0x710 [ 9.574028][ T205] ? console_emit_next_record+0x4c0/0x4c0 [ 9.574030][ T205] ? __lock_acquire+0x518/0xc20 [ 9.574035][ T205] console_unlock+0xee/0x1f0 [ 9.574037][ T205] ? console_flush_one_record+0x710/0x710 [ 9.574039][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.574041][ T205] ? lock_acquire+0xe0/0x160 [ 9.574044][ T205] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.574046][ T205] ? vprintk_emit+0x320/0x3e0 [ 9.574049][ T205] vprintk_emit+0x37c/0x3e0 [ 9.574052][ T205] ? wake_up_klogd_work_func+0x90/0x90 [ 9.574057][ T205] ? gre_exit+0x3f0/0x3f0 [gre] [ 9.574059][ T205] _printk+0xc7/0x100 [ 9.574063][ T205] ? snapshot_read.cold+0x21/0x21 [ 9.574069][ T205] ? do_one_initcall+0x113/0x4f0 [ 9.574072][ T205] gre_init+0x15/0x1000 [gre] [ 9.574074][ T205] do_one_initcall+0x124/0x4f0 [ 9.574077][ T205] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.574081][ T205] ? do_init_module+0xae/0x8a0 [ 9.574084][ T205] ? kasan_unpoison+0x44/0x70 [ 9.574089][ T205] do_init_module+0x2ad/0x8a0 [ 9.574092][ T205] ? lockdep_hardirqs_on+0x91/0x130 [ 9.574096][ T205] ? free_module+0x470/0x470 [ 9.574099][ T205] ? kfree+0x123/0x590 [ 9.574102][ T205] load_module+0x1424/0x1bb0 [ 9.574107][ T205] ? security_kernel_post_read_file+0x2f/0x60 [ 9.574112][ T205] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.574119][ T205] init_module_from_file+0x11f/0x1a0 [ 9.574121][ T205] ? __do_sys_init_module+0x270/0x270 [ 9.574128][ T205] ? __rwlock_init+0x150/0x150 [ 9.574132][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 9.574135][ T205] idempotent_init_module+0x37b/0x7c0 [ 9.574137][ T205] ? init_module_from_file+0x1a0/0x1a0 [ 9.574143][ T205] ? cap_capable+0x1d7/0x3d0 [ 9.574144][ T205] ? exc_page_fault+0x87/0x100 [ 9.574149][ T205] __x64_sys_finit_module+0xdf/0x190 [ 9.574150][ T205] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.574154][ T205] do_syscall_64+0xff/0x530 [ 9.574157][ T205] ? exc_page_fault+0xee/0x100 [ 9.574159][ T205] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.574162][ T205] RIP: 0033:0x7f79b2c3837d [ 9.574165][ T205] 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.574166][ T205] RSP: 002b:00007fffc3200448 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.574169][ T205] RAX: ffffffffffffffda RBX: 00005655402e8a20 RCX: 00007f79b2c3837d [ 9.574170][ T205] RDX: 0000000000000000 RSI: 000056550acd9ffd RDI: 0000000000000000 [ 9.574171][ T205] RBP: 00007fffc32004e0 R08: 0000000000000000 R09: 0000000000000000 [ 9.574172][ T205] R10: 0000000000000000 R11: 0000000000000246 R12: 000056550acd9ffd [ 9.574172][ T205] R13: 00005655402e89e0 R14: 0000000000040000 R15: 0000000000000000 [ 9.574179][ T205] [ 9.628094][ T205] ip_gre: GRE over IPv4 tunneling driver [ 20.430220][ T700] ip6_gre: GRE over IPv6 tunneling driver [ 20.430235][ T700] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.430237][ T700] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 700, name: modprobe [ 20.430238][ T700] preempt_count: 1, expected: 0 [ 20.430239][ T700] RCU nest depth: 0, expected: 0 [ 20.430240][ T700] locks held by modprobe/700: 4, last CPU#2: [ 20.430242][ T700] #0: ffffffffacb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.430252][ T700] #1: ffffffffacb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.430257][ T700] #2: ffffffffaca9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.430261][ T700] #3: ffffffffaca9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.430265][ T700] irq event stamp: 35854 [ 20.430266][ T700] hardirqs last enabled at (35853): [] __down_trylock_console_sem+0x86/0xa0 [ 20.430269][ T700] hardirqs last disabled at (35854): [] console_emit_next_record+0x3d4/0x4c0 [ 20.430271][ T700] softirqs last enabled at (26722): [] handle_softirqs+0x67c/0x900 [ 20.430274][ T700] softirqs last disabled at (25993): [] __irq_exit_rcu+0x145/0x1c0 [ 20.430276][ T700] Preemption disabled at: [ 20.430277][ T700] [] vprintk_emit+0x31b/0x3e0 [ 20.430282][ T700] CPU: 2 UID: 0 PID: 700 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.430285][ T700] Tainted: [W]=WARN [ 20.430286][ T700] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.430287][ T700] Call Trace: [ 20.430289][ T700] [ 20.430290][ T700] dump_stack_lvl+0x6f/0xa0 [ 20.430300][ T700] ? vprintk_emit+0x31b/0x3e0 [ 20.430301][ T700] __might_resched.cold+0x1fe/0x2c1 [ 20.430305][ T700] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.430309][ T700] ? __kmalloc_noprof+0xdb/0x760 [ 20.430314][ T700] __kmalloc_noprof+0x443/0x760 [ 20.430315][ T700] ? alloc_buf.isra.0+0x4b/0x260 [ 20.430322][ T700] ? do_raw_spin_unlock+0x59/0x250 [ 20.430325][ T700] alloc_buf.isra.0+0x4b/0x260 [ 20.430328][ T700] put_chars+0x1e1/0x2f0 [ 20.430330][ T700] ? __send_to_port+0x420/0x420 [ 20.430332][ T700] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.430335][ T700] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.430338][ T700] ? validate_chain+0x38b/0xc20 [ 20.430343][ T700] hvc_console_print+0x292/0x780 [ 20.430347][ T700] ? __lock_acquire+0x518/0xc20 [ 20.430353][ T700] ? hvc_write+0x3a0/0x3a0 [ 20.430356][ T700] ? rcu_is_watching+0x16/0xd0 [ 20.430360][ T700] console_emit_next_record+0x22f/0x4c0 [ 20.430364][ T700] ? devkmsg_read+0x4b0/0x4b0 [ 20.430366][ T700] ? console_flush_one_record+0x106/0x710 [ 20.430369][ T700] ? rcu_is_watching+0x16/0xd0 [ 20.430371][ T700] ? lock_acquire+0x13c/0x160 [ 20.430375][ T700] console_flush_one_record+0x46f/0x710 [ 20.430379][ T700] ? console_emit_next_record+0x4c0/0x4c0 [ 20.430381][ T700] ? __lock_acquire+0x518/0xc20 [ 20.430386][ T700] console_unlock+0xee/0x1f0 [ 20.430388][ T700] ? console_flush_one_record+0x710/0x710 [ 20.430390][ T700] ? rcu_is_watching+0x16/0xd0 [ 20.430392][ T700] ? lock_acquire+0xe0/0x160 [ 20.430395][ T700] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.430397][ T700] ? vprintk_emit+0x320/0x3e0 [ 20.430400][ T700] vprintk_emit+0x37c/0x3e0 [ 20.430403][ T700] ? wake_up_klogd_work_func+0x90/0x90 [ 20.430408][ T700] ? ip6gre_fini+0xf40/0xf40 [ip6_gre] [ 20.430411][ T700] _printk+0xc7/0x100 [ 20.430415][ T700] ? snapshot_read.cold+0x21/0x21 [ 20.430421][ T700] ? do_one_initcall+0x113/0x4f0 [ 20.430424][ T700] ip6gre_init+0x16/0x1000 [ip6_gre] [ 20.430427][ T700] do_one_initcall+0x124/0x4f0 [ 20.430430][ T700] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 20.430434][ T700] ? do_init_module+0xae/0x8a0 [ 20.430437][ T700] ? kasan_unpoison+0x44/0x70 [ 20.430442][ T700] do_init_module+0x2ad/0x8a0 [ 20.430445][ T700] ? lockdep_hardirqs_on+0x91/0x130 [ 20.430449][ T700] ? free_module+0x470/0x470 [ 20.430452][ T700] ? kfree+0x123/0x590 [ 20.430455][ T700] load_module+0x1424/0x1bb0 [ 20.430460][ T700] ? security_kernel_post_read_file+0x2f/0x60 [ 20.430465][ T700] ? layout_and_allocate.isra.0+0x680/0x680 [ 20.430468][ T700] ? __ia32_sys_fsconfig+0x180/0x180 [ 20.430472][ T700] ? backing_file_read_iter+0x541/0x790 [ 20.430476][ T700] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.430479][ T700] init_module_from_file+0x11f/0x1a0 [ 20.430482][ T700] ? __do_sys_init_module+0x270/0x270 [ 20.430489][ T700] ? __rwlock_init+0x150/0x150 [ 20.430492][ T700] ? do_raw_spin_unlock+0x59/0x250 [ 20.430495][ T700] idempotent_init_module+0x37b/0x7c0 [ 20.430498][ T700] ? init_module_from_file+0x1a0/0x1a0 [ 20.430503][ T700] ? cap_capable+0x1d7/0x3d0 [ 20.430506][ T700] ? __x64_sys_pread64+0x18d/0x250 [ 20.430511][ T700] __x64_sys_finit_module+0xdf/0x190 [ 20.430512][ T700] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.430516][ T700] do_syscall_64+0xff/0x530 [ 20.430519][ T700] ? exc_page_fault+0xee/0x100 [ 20.430522][ T700] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.430524][ T700] RIP: 0033:0x7fd0b0ffe37d [ 20.430527][ T700] 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.430529][ T700] RSP: 002b:00007ffd8c9b5728 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.430531][ T700] RAX: ffffffffffffffda RBX: 00005627befb3810 RCX: 00007fd0b0ffe37d [ 20.430533][ T700] RDX: 0000000000000000 RSI: 00005627b524bffd RDI: 0000000000000000 [ 20.430534][ T700] RBP: 00007ffd8c9b57c0 R08: 0000000000000000 R09: 0000000000000000 [ 20.430535][ T700] R10: 0000000000000000 R11: 0000000000000246 R12: 00005627b524bffd [ 20.430535][ T700] R13: 00005627befb39a0 R14: 0000000000040000 R15: 0000000000000000 [ 20.430542][ T700]