[ 10.593121][ T205] gre: GRE over IPv4 demultiplexer driver [ 10.593141][ T205] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.593143][ T205] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 205, name: modprobe [ 10.593145][ T205] preempt_count: 1, expected: 0 [ 10.593145][ T205] RCU nest depth: 0, expected: 0 [ 10.593146][ T205] locks held by modprobe/205: 4, last CPU#3: [ 10.593148][ T205] #0: ffffffffa2f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.593160][ T205] #1: ffffffffa2f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.593165][ T205] #2: ffffffffa2e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.593169][ T205] #3: ffffffffa2e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.593173][ T205] irq event stamp: 31292 [ 10.593174][ T205] hardirqs last enabled at (31291): [] __down_trylock_console_sem+0x86/0xa0 [ 10.593177][ T205] hardirqs last disabled at (31292): [] console_emit_next_record+0x3d4/0x4c0 [ 10.593179][ T205] softirqs last enabled at (30236): [] handle_softirqs+0x67c/0x900 [ 10.593183][ T205] softirqs last disabled at (30231): [] __irq_exit_rcu+0x145/0x1c0 [ 10.593185][ T205] Preemption disabled at: [ 10.593186][ T205] [] vprintk_emit+0x31b/0x3e0 [ 10.593191][ T205] CPU: 3 UID: 0 PID: 205 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.593195][ T205] Tainted: [W]=WARN [ 10.593196][ T205] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.593197][ T205] Call Trace: [ 10.593199][ T205] [ 10.593200][ T205] dump_stack_lvl+0x6f/0xa0 [ 10.593207][ T205] ? vprintk_emit+0x31b/0x3e0 [ 10.593208][ T205] __might_resched.cold+0x1fe/0x2c1 [ 10.593213][ T205] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.593217][ T205] ? __kmalloc_noprof+0xdb/0x760 [ 10.593221][ T205] __kmalloc_noprof+0x443/0x760 [ 10.593223][ T205] ? alloc_buf.isra.0+0x4b/0x260 [ 10.593230][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 10.593232][ T205] alloc_buf.isra.0+0x4b/0x260 [ 10.593236][ T205] put_chars+0x1e1/0x2f0 [ 10.593238][ T205] ? desc_read_finalized_seq+0x79/0x120 [ 10.593240][ T205] ? __send_to_port+0x420/0x420 [ 10.593243][ T205] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.593246][ T205] ? validate_chain+0x38b/0xc20 [ 10.593251][ T205] hvc_console_print+0x292/0x780 [ 10.593255][ T205] ? __lock_acquire+0x518/0xc20 [ 10.593256][ T205] ? __lock_acquire+0x518/0xc20 [ 10.593261][ T205] ? hvc_write+0x3a0/0x3a0 [ 10.593263][ T205] ? console_emit_next_record+0x1df/0x4c0 [ 10.593266][ T205] ? rcu_is_watching+0x16/0xd0 [ 10.593268][ T205] ? lock_acquire+0x13c/0x160 [ 10.593272][ T205] console_emit_next_record+0x22f/0x4c0 [ 10.593276][ T205] ? devkmsg_read+0x4b0/0x4b0 [ 10.593278][ T205] ? console_flush_one_record+0x106/0x710 [ 10.593281][ T205] ? rcu_is_watching+0x16/0xd0 [ 10.593283][ T205] ? lock_acquire+0x13c/0x160 [ 10.593288][ T205] console_flush_one_record+0x46f/0x710 [ 10.593292][ T205] ? console_emit_next_record+0x4c0/0x4c0 [ 10.593294][ T205] ? __lock_acquire+0x518/0xc20 [ 10.593299][ T205] console_unlock+0xee/0x1f0 [ 10.593302][ T205] ? console_flush_one_record+0x710/0x710 [ 10.593304][ T205] ? rcu_is_watching+0x16/0xd0 [ 10.593305][ T205] ? lock_acquire+0xe0/0x160 [ 10.593309][ T205] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.593311][ T205] ? vprintk_emit+0x320/0x3e0 [ 10.593313][ T205] vprintk_emit+0x37c/0x3e0 [ 10.593317][ T205] ? wake_up_klogd_work_func+0x90/0x90 [ 10.593321][ T205] ? gre_exit+0x3f0/0x3f0 [gre] [ 10.593324][ T205] _printk+0xc7/0x100 [ 10.593328][ T205] ? snapshot_read.cold+0x21/0x21 [ 10.593334][ T205] ? do_one_initcall+0x113/0x4f0 [ 10.593337][ T205] gre_init+0x15/0x1000 [gre] [ 10.593346][ T205] do_one_initcall+0x124/0x4f0 [ 10.593349][ T205] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.593353][ T205] ? do_init_module+0xae/0x8a0 [ 10.593356][ T205] ? kasan_unpoison+0x44/0x70 [ 10.593361][ T205] do_init_module+0x2ad/0x8a0 [ 10.593364][ T205] ? lockdep_hardirqs_on+0x91/0x130 [ 10.593369][ T205] ? free_module+0x470/0x470 [ 10.593371][ T205] ? kfree+0x123/0x590 [ 10.593374][ T205] load_module+0x1424/0x1bb0 [ 10.593380][ T205] ? security_kernel_post_read_file+0x2f/0x60 [ 10.593384][ T205] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.593391][ T205] init_module_from_file+0x11f/0x1a0 [ 10.593394][ T205] ? __do_sys_init_module+0x270/0x270 [ 10.593401][ T205] ? __rwlock_init+0x150/0x150 [ 10.593405][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 10.593408][ T205] idempotent_init_module+0x37b/0x7c0 [ 10.593411][ T205] ? init_module_from_file+0x1a0/0x1a0 [ 10.593416][ T205] ? cap_capable+0x1d7/0x3d0 [ 10.593418][ T205] ? exc_page_fault+0x87/0x100 [ 10.593423][ T205] __x64_sys_finit_module+0xdf/0x190 [ 10.593424][ T205] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.593428][ T205] do_syscall_64+0xff/0x530 [ 10.593431][ T205] ? exc_page_fault+0xee/0x100 [ 10.593435][ T205] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.593438][ T205] RIP: 0033:0x7fe7412aa37d [ 10.593441][ 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 [ 10.593443][ T205] RSP: 002b:00007ffc8fc90eb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.593446][ T205] RAX: ffffffffffffffda RBX: 0000558bea70ca20 RCX: 00007fe7412aa37d [ 10.593447][ T205] RDX: 0000000000000000 RSI: 0000558be0198ffd RDI: 0000000000000000 [ 10.593448][ T205] RBP: 00007ffc8fc90f50 R08: 0000000000000000 R09: 0000000000000000 [ 10.593449][ T205] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558be0198ffd [ 10.593450][ T205] R13: 0000558bea70c9e0 R14: 0000000000040000 R15: 0000000000000000 [ 10.593456][ T205] [ 10.634328][ T205] ip_gre: GRE over IPv4 tunneling driver [ 23.214484][ T700] ip6_gre: GRE over IPv6 tunneling driver [ 23.214502][ T700] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.214505][ T700] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 700, name: modprobe [ 23.214506][ T700] preempt_count: 1, expected: 0 [ 23.214507][ T700] RCU nest depth: 0, expected: 0 [ 23.214508][ T700] locks held by modprobe/700: 4, last CPU#2: [ 23.214510][ T700] #0: ffffffffa2f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.214522][ T700] #1: ffffffffa2f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.214527][ T700] #2: ffffffffa2e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.214531][ T700] #3: ffffffffa2e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 23.214535][ T700] irq event stamp: 39202 [ 23.214536][ T700] hardirqs last enabled at (39201): [] __down_trylock_console_sem+0x86/0xa0 [ 23.214539][ T700] hardirqs last disabled at (39202): [] console_emit_next_record+0x3d4/0x4c0 [ 23.214541][ T700] softirqs last enabled at (32864): [] handle_softirqs+0x67c/0x900 [ 23.214545][ T700] softirqs last disabled at (32089): [] __irq_exit_rcu+0x145/0x1c0 [ 23.214547][ T700] Preemption disabled at: [ 23.214548][ T700] [] vprintk_emit+0x31b/0x3e0 [ 23.214553][ T700] CPU: 2 UID: 0 PID: 700 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.214556][ T700] Tainted: [W]=WARN [ 23.214557][ T700] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.214559][ T700] Call Trace: [ 23.214561][ T700] [ 23.214562][ T700] dump_stack_lvl+0x6f/0xa0 [ 23.214568][ T700] ? vprintk_emit+0x31b/0x3e0 [ 23.214570][ T700] __might_resched.cold+0x1fe/0x2c1 [ 23.214574][ T700] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.214579][ T700] ? __kmalloc_noprof+0xdb/0x760 [ 23.214583][ T700] __kmalloc_noprof+0x443/0x760 [ 23.214585][ T700] ? alloc_buf.isra.0+0x4b/0x260 [ 23.214592][ T700] ? do_raw_spin_unlock+0x59/0x250 [ 23.214594][ T700] alloc_buf.isra.0+0x4b/0x260 [ 23.214598][ T700] put_chars+0x1e1/0x2f0 [ 23.214601][ T700] ? __send_to_port+0x420/0x420 [ 23.214602][ T700] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.214605][ T700] ? rcu_read_lock_any_held+0x3c/0x90 [ 23.214608][ T700] ? validate_chain+0x38b/0xc20 [ 23.214613][ T700] hvc_console_print+0x292/0x780 [ 23.214617][ T700] ? __lock_acquire+0x518/0xc20 [ 23.214622][ T700] ? hvc_write+0x3a0/0x3a0 [ 23.214625][ T700] ? rcu_is_watching+0x16/0xd0 [ 23.214630][ T700] console_emit_next_record+0x22f/0x4c0 [ 23.214634][ T700] ? devkmsg_read+0x4b0/0x4b0 [ 23.214636][ T700] ? console_flush_one_record+0x106/0x710 [ 23.214639][ T700] ? rcu_is_watching+0x16/0xd0 [ 23.214640][ T700] ? lock_acquire+0x13c/0x160 [ 23.214644][ T700] console_flush_one_record+0x46f/0x710 [ 23.214648][ T700] ? console_emit_next_record+0x4c0/0x4c0 [ 23.214650][ T700] ? __lock_acquire+0x518/0xc20 [ 23.214656][ T700] console_unlock+0xee/0x1f0 [ 23.214658][ T700] ? console_flush_one_record+0x710/0x710 [ 23.214660][ T700] ? rcu_is_watching+0x16/0xd0 [ 23.214662][ T700] ? lock_acquire+0xe0/0x160 [ 23.214665][ T700] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.214667][ T700] ? vprintk_emit+0x320/0x3e0 [ 23.214670][ T700] vprintk_emit+0x37c/0x3e0 [ 23.214673][ T700] ? wake_up_klogd_work_func+0x90/0x90 [ 23.214678][ T700] ? gre_exit+0x3f0/0x3f0 [gre] [ 23.214681][ T700] _printk+0xc7/0x100 [ 23.214685][ T700] ? snapshot_read.cold+0x21/0x21 [ 23.214691][ T700] ? do_one_initcall+0x113/0x4f0 [ 23.214694][ T700] ip6gre_init+0x16/0x1000 [ip6_gre] [ 23.214697][ T700] do_one_initcall+0x124/0x4f0 [ 23.214700][ T700] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 23.214705][ T700] ? do_init_module+0xae/0x8a0 [ 23.214707][ T700] ? kasan_unpoison+0x44/0x70 [ 23.214713][ T700] do_init_module+0x2ad/0x8a0 [ 23.214716][ T700] ? lockdep_hardirqs_on+0x91/0x130 [ 23.214720][ T700] ? free_module+0x470/0x470 [ 23.214722][ T700] ? kfree+0x123/0x590 [ 23.214726][ T700] load_module+0x1424/0x1bb0 [ 23.214731][ T700] ? security_kernel_post_read_file+0x2f/0x60 [ 23.214736][ T700] ? layout_and_allocate.isra.0+0x680/0x680 [ 23.214739][ T700] ? __ia32_sys_fsconfig+0x180/0x180 [ 23.214743][ T700] ? backing_file_read_iter+0x541/0x790 [ 23.214747][ T700] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.214750][ T700] init_module_from_file+0x11f/0x1a0 [ 23.214752][ T700] ? __do_sys_init_module+0x270/0x270 [ 23.214759][ T700] ? __rwlock_init+0x150/0x150 [ 23.214763][ T700] ? do_raw_spin_unlock+0x59/0x250 [ 23.214766][ T700] idempotent_init_module+0x37b/0x7c0 [ 23.214769][ T700] ? init_module_from_file+0x1a0/0x1a0 [ 23.214774][ T700] ? cap_capable+0x1d7/0x3d0 [ 23.214776][ T700] ? __x64_sys_pread64+0x18d/0x250 [ 23.214782][ T700] __x64_sys_finit_module+0xdf/0x190 [ 23.214783][ T700] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.214787][ T700] do_syscall_64+0xff/0x530 [ 23.214790][ T700] ? exc_page_fault+0xee/0x100 [ 23.214793][ T700] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.214795][ T700] RIP: 0033:0x7f6ce638f37d [ 23.214799][ 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 [ 23.214800][ T700] RSP: 002b:00007fffff7d9528 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 23.214803][ T700] RAX: ffffffffffffffda RBX: 0000559a4cbb2810 RCX: 00007f6ce638f37d [ 23.214804][ T700] RDX: 0000000000000000 RSI: 0000559a1f020ffd RDI: 0000000000000000 [ 23.214805][ T700] RBP: 00007fffff7d95c0 R08: 0000000000000000 R09: 0000000000000000 [ 23.214806][ T700] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559a1f020ffd [ 23.214807][ T700] R13: 0000559a4cbb29a0 R14: 0000000000040000 R15: 0000000000000000 [ 23.214813][ T700]