[ 10.654929][ T204] gre: GRE over IPv4 demultiplexer driver [ 10.654949][ T204] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.654952][ T204] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 204, name: modprobe [ 10.654954][ T204] preempt_count: 1, expected: 0 [ 10.654954][ T204] RCU nest depth: 0, expected: 0 [ 10.654955][ T204] locks held by modprobe/204: 4, last CPU#3: [ 10.654958][ T204] #0: ffffffffb297ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.654969][ T204] #1: ffffffffb297de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.654974][ T204] #2: ffffffffb289d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.654978][ T204] #3: ffffffffb289d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.654983][ T204] irq event stamp: 22546 [ 10.654983][ T204] hardirqs last enabled at (22545): [] __down_trylock_console_sem+0x86/0xa0 [ 10.654986][ T204] hardirqs last disabled at (22546): [] console_emit_next_record+0x3d4/0x4c0 [ 10.654988][ T204] softirqs last enabled at (21740): [] handle_softirqs+0x67c/0x900 [ 10.654992][ T204] softirqs last disabled at (21733): [] __irq_exit_rcu+0x145/0x1c0 [ 10.655000][ T204] Preemption disabled at: [ 10.655001][ T204] [] vprintk_emit+0x31b/0x3e0 [ 10.655006][ T204] CPU: 3 UID: 0 PID: 204 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.655010][ T204] Tainted: [W]=WARN [ 10.655010][ T204] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.655012][ T204] Call Trace: [ 10.655014][ T204] [ 10.655015][ T204] dump_stack_lvl+0x6f/0xa0 [ 10.655021][ T204] ? vprintk_emit+0x31b/0x3e0 [ 10.655023][ T204] __might_resched.cold+0x1fe/0x2c1 [ 10.655027][ T204] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.655031][ T204] ? __kmalloc_noprof+0xdb/0x760 [ 10.655036][ T204] __kmalloc_noprof+0x443/0x760 [ 10.655038][ T204] ? alloc_buf.isra.0+0x4b/0x260 [ 10.655044][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 10.655047][ T204] alloc_buf.isra.0+0x4b/0x260 [ 10.655051][ T204] put_chars+0x1e1/0x2f0 [ 10.655053][ T204] ? desc_read_finalized_seq+0x79/0x120 [ 10.655055][ T204] ? __send_to_port+0x420/0x420 [ 10.655058][ T204] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.655061][ T204] ? validate_chain+0x38b/0xc20 [ 10.655066][ T204] hvc_console_print+0x292/0x780 [ 10.655070][ T204] ? __lock_acquire+0x518/0xc20 [ 10.655071][ T204] ? __lock_acquire+0x518/0xc20 [ 10.655076][ T204] ? hvc_write+0x3a0/0x3a0 [ 10.655078][ T204] ? console_emit_next_record+0x1df/0x4c0 [ 10.655081][ T204] ? rcu_is_watching+0x16/0xd0 [ 10.655083][ T204] ? lock_acquire+0x13c/0x160 [ 10.655087][ T204] console_emit_next_record+0x22f/0x4c0 [ 10.655091][ T204] ? devkmsg_read+0x4b0/0x4b0 [ 10.655093][ T204] ? console_flush_one_record+0x106/0x710 [ 10.655096][ T204] ? rcu_is_watching+0x16/0xd0 [ 10.655097][ T204] ? lock_acquire+0x13c/0x160 [ 10.655101][ T204] console_flush_one_record+0x46f/0x710 [ 10.655105][ T204] ? console_emit_next_record+0x4c0/0x4c0 [ 10.655107][ T204] ? __lock_acquire+0x518/0xc20 [ 10.655112][ T204] console_unlock+0xee/0x1f0 [ 10.655115][ T204] ? console_flush_one_record+0x710/0x710 [ 10.655117][ T204] ? rcu_is_watching+0x16/0xd0 [ 10.655119][ T204] ? lock_acquire+0xe0/0x160 [ 10.655122][ T204] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.655124][ T204] ? vprintk_emit+0x320/0x3e0 [ 10.655127][ T204] vprintk_emit+0x37c/0x3e0 [ 10.655130][ T204] ? wake_up_klogd_work_func+0x90/0x90 [ 10.655135][ T204] ? gre_exit+0x3f0/0x3f0 [gre] [ 10.655138][ T204] _printk+0xc7/0x100 [ 10.655142][ T204] ? snapshot_read.cold+0x21/0x21 [ 10.655148][ T204] ? do_one_initcall+0x113/0x4f0 [ 10.655151][ T204] gre_init+0x15/0x1000 [gre] [ 10.655153][ T204] do_one_initcall+0x124/0x4f0 [ 10.655156][ T204] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.655161][ T204] ? do_init_module+0xae/0x8a0 [ 10.655163][ T204] ? kasan_unpoison+0x44/0x70 [ 10.655169][ T204] do_init_module+0x2ad/0x8a0 [ 10.655172][ T204] ? lockdep_hardirqs_on+0x91/0x130 [ 10.655176][ T204] ? free_module+0x470/0x470 [ 10.655179][ T204] ? kfree+0x123/0x590 [ 10.655182][ T204] load_module+0x1424/0x1bb0 [ 10.655187][ T204] ? security_kernel_post_read_file+0x2f/0x60 [ 10.655192][ T204] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.655199][ T204] init_module_from_file+0x11f/0x1a0 [ 10.655202][ T204] ? __do_sys_init_module+0x270/0x270 [ 10.655209][ T204] ? __rwlock_init+0x150/0x150 [ 10.655213][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 10.655216][ T204] idempotent_init_module+0x37b/0x7c0 [ 10.655219][ T204] ? init_module_from_file+0x1a0/0x1a0 [ 10.655224][ T204] ? cap_capable+0x1d7/0x3d0 [ 10.655226][ T204] ? __x64_sys_pread64+0x18d/0x250 [ 10.655231][ T204] __x64_sys_finit_module+0xdf/0x190 [ 10.655233][ T204] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.655237][ T204] do_syscall_64+0xff/0x530 [ 10.655240][ T204] ? exc_page_fault+0xee/0x100 [ 10.655242][ T204] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.655245][ T204] RIP: 0033:0x7f36e24d737d [ 10.655248][ 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 [ 10.655250][ T204] RSP: 002b:00007fff086b9238 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.655252][ T204] RAX: ffffffffffffffda RBX: 0000563cbb34da20 RCX: 00007f36e24d737d [ 10.655254][ T204] RDX: 0000000000000000 RSI: 0000563cb4b7affd RDI: 0000000000000000 [ 10.655254][ T204] RBP: 00007fff086b92d0 R08: 0000000000000000 R09: 0000000000000000 [ 10.655255][ T204] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563cb4b7affd [ 10.655256][ T204] R13: 0000563cbb34d9e0 R14: 0000000000040000 R15: 0000000000000000 [ 10.655263][ T204] [ 10.717305][ T204] ip_gre: GRE over IPv4 tunneling driver [ 22.390016][ T698] ip6_gre: GRE over IPv6 tunneling driver [ 22.390033][ T698] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.390035][ T698] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 698, name: modprobe [ 22.390037][ T698] preempt_count: 1, expected: 0 [ 22.390038][ T698] RCU nest depth: 0, expected: 0 [ 22.390039][ T698] locks held by modprobe/698: 4, last CPU#2: [ 22.390041][ T698] #0: ffffffffb297ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.390056][ T698] #1: ffffffffb297de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.390061][ T698] #2: ffffffffb289d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.390065][ T698] #3: ffffffffb289d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 22.390069][ T698] irq event stamp: 38830 [ 22.390070][ T698] hardirqs last enabled at (38829): [] __down_trylock_console_sem+0x86/0xa0 [ 22.390074][ T698] hardirqs last disabled at (38830): [] console_emit_next_record+0x3d4/0x4c0 [ 22.390076][ T698] softirqs last enabled at (35328): [] handle_softirqs+0x67c/0x900 [ 22.390079][ T698] softirqs last disabled at (35001): [] __irq_exit_rcu+0x145/0x1c0 [ 22.390081][ T698] Preemption disabled at: [ 22.390082][ T698] [] vprintk_emit+0x31b/0x3e0 [ 22.390087][ T698] CPU: 2 UID: 0 PID: 698 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.390091][ T698] Tainted: [W]=WARN [ 22.390091][ T698] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.390093][ T698] Call Trace: [ 22.390095][ T698] [ 22.390096][ T698] dump_stack_lvl+0x6f/0xa0 [ 22.390102][ T698] ? vprintk_emit+0x31b/0x3e0 [ 22.390104][ T698] __might_resched.cold+0x1fe/0x2c1 [ 22.390108][ T698] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.390112][ T698] ? __kmalloc_noprof+0xdb/0x760 [ 22.390117][ T698] __kmalloc_noprof+0x443/0x760 [ 22.390119][ T698] ? alloc_buf.isra.0+0x4b/0x260 [ 22.390126][ T698] ? do_raw_spin_unlock+0x59/0x250 [ 22.390128][ T698] alloc_buf.isra.0+0x4b/0x260 [ 22.390132][ T698] put_chars+0x1e1/0x2f0 [ 22.390135][ T698] ? __send_to_port+0x420/0x420 [ 22.390136][ T698] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.390139][ T698] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.390142][ T698] ? validate_chain+0x38b/0xc20 [ 22.390147][ T698] hvc_console_print+0x292/0x780 [ 22.390151][ T698] ? __lock_acquire+0x518/0xc20 [ 22.390156][ T698] ? hvc_write+0x3a0/0x3a0 [ 22.390159][ T698] ? rcu_is_watching+0x16/0xd0 [ 22.390163][ T698] console_emit_next_record+0x22f/0x4c0 [ 22.390167][ T698] ? devkmsg_read+0x4b0/0x4b0 [ 22.390169][ T698] ? console_flush_one_record+0x106/0x710 [ 22.390173][ T698] ? rcu_is_watching+0x16/0xd0 [ 22.390174][ T698] ? lock_acquire+0x13c/0x160 [ 22.390178][ T698] console_flush_one_record+0x46f/0x710 [ 22.390183][ T698] ? console_emit_next_record+0x4c0/0x4c0 [ 22.390184][ T698] ? __lock_acquire+0x518/0xc20 [ 22.390190][ T698] console_unlock+0xee/0x1f0 [ 22.390193][ T698] ? console_flush_one_record+0x710/0x710 [ 22.390195][ T698] ? rcu_is_watching+0x16/0xd0 [ 22.390196][ T698] ? lock_acquire+0xe0/0x160 [ 22.390200][ T698] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.390202][ T698] ? vprintk_emit+0x320/0x3e0 [ 22.390204][ T698] vprintk_emit+0x37c/0x3e0 [ 22.390208][ T698] ? wake_up_klogd_work_func+0x90/0x90 [ 22.390213][ T698] ? ip6gre_fini+0xf40/0xf40 [ip6_gre] [ 22.390216][ T698] _printk+0xc7/0x100 [ 22.390220][ T698] ? snapshot_read.cold+0x21/0x21 [ 22.390226][ T698] ? do_one_initcall+0x113/0x4f0 [ 22.390230][ T698] ip6gre_init+0x16/0x1000 [ip6_gre] [ 22.390233][ T698] do_one_initcall+0x124/0x4f0 [ 22.390236][ T698] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 22.390241][ T698] ? do_init_module+0xae/0x8a0 [ 22.390243][ T698] ? kasan_unpoison+0x44/0x70 [ 22.390249][ T698] do_init_module+0x2ad/0x8a0 [ 22.390252][ T698] ? lockdep_hardirqs_on+0x91/0x130 [ 22.390256][ T698] ? free_module+0x470/0x470 [ 22.390259][ T698] ? kfree+0x123/0x590 [ 22.390262][ T698] load_module+0x1424/0x1bb0 [ 22.390268][ T698] ? security_kernel_post_read_file+0x2f/0x60 [ 22.390273][ T698] ? layout_and_allocate.isra.0+0x680/0x680 [ 22.390276][ T698] ? __ia32_sys_fsconfig+0x180/0x180 [ 22.390280][ T698] ? backing_file_read_iter+0x541/0x790 [ 22.390284][ T698] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.390287][ T698] init_module_from_file+0x11f/0x1a0 [ 22.390289][ T698] ? __do_sys_init_module+0x270/0x270 [ 22.390297][ T698] ? __rwlock_init+0x150/0x150 [ 22.390301][ T698] ? do_raw_spin_unlock+0x59/0x250 [ 22.390304][ T698] idempotent_init_module+0x37b/0x7c0 [ 22.390307][ T698] ? init_module_from_file+0x1a0/0x1a0 [ 22.390312][ T698] ? cap_capable+0x1d7/0x3d0 [ 22.390315][ T698] ? __x64_sys_pread64+0x18d/0x250 [ 22.390320][ T698] __x64_sys_finit_module+0xdf/0x190 [ 22.390322][ T698] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.390326][ T698] do_syscall_64+0xff/0x530 [ 22.390328][ T698] ? exc_page_fault+0xee/0x100 [ 22.390331][ T698] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.390333][ T698] RIP: 0033:0x7f1c3197d37d [ 22.390336][ 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 [ 22.390338][ T698] RSP: 002b:00007ffea9549fc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 22.390341][ T698] RAX: ffffffffffffffda RBX: 000055867316b810 RCX: 00007f1c3197d37d [ 22.390342][ T698] RDX: 0000000000000000 RSI: 000055863e1edffd RDI: 0000000000000000 [ 22.390343][ T698] RBP: 00007ffea954a060 R08: 0000000000000000 R09: 0000000000000000 [ 22.390344][ T698] R10: 0000000000000000 R11: 0000000000000246 R12: 000055863e1edffd [ 22.390345][ T698] R13: 000055867316b9a0 R14: 0000000000040000 R15: 0000000000000000 [ 22.390352][ T698]