[ 11.277035][ T263] gre: GRE over IPv4 demultiplexer driver [ 11.277056][ T263] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.277058][ T263] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 263, name: modprobe [ 11.277060][ T263] preempt_count: 1, expected: 0 [ 11.277061][ T263] RCU nest depth: 0, expected: 0 [ 11.277062][ T263] locks held by modprobe/263: 4, last CPU#2: [ 11.277064][ T263] #0: ffffffffa5169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.277077][ T263] #1: ffffffffa5169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.277081][ T263] #2: ffffffffa5089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.277085][ T263] #3: ffffffffa5089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.277089][ T263] irq event stamp: 31496 [ 11.277090][ T263] hardirqs last enabled at (31495): [] irqentry_exit+0x21c/0x790 [ 11.277095][ T263] hardirqs last disabled at (31496): [] console_emit_next_record+0x3d4/0x4c0 [ 11.277097][ T263] softirqs last enabled at (30068): [] handle_softirqs+0x67c/0x900 [ 11.277100][ T263] softirqs last disabled at (30059): [] __irq_exit_rcu+0x145/0x1c0 [ 11.277102][ T263] Preemption disabled at: [ 11.277103][ T263] [] vprintk_emit+0x31b/0x3e0 [ 11.277108][ T263] CPU: 2 UID: 0 PID: 263 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.277112][ T263] Tainted: [W]=WARN [ 11.277113][ T263] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.277114][ T263] Call Trace: [ 11.277116][ T263] [ 11.277117][ T263] dump_stack_lvl+0x6f/0xa0 [ 11.277123][ T263] ? vprintk_emit+0x31b/0x3e0 [ 11.277126][ T263] __might_resched.cold+0x1fe/0x2c1 [ 11.277130][ T263] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.277135][ T263] ? __kmalloc_noprof+0xdb/0x760 [ 11.277140][ T263] __kmalloc_noprof+0x443/0x760 [ 11.277142][ T263] ? alloc_buf.isra.0+0x4b/0x260 [ 11.277148][ T263] ? do_raw_spin_unlock+0x59/0x250 [ 11.277151][ T263] alloc_buf.isra.0+0x4b/0x260 [ 11.277154][ T263] put_chars+0x1e1/0x2f0 [ 11.277156][ T263] ? __send_to_port+0x420/0x420 [ 11.277159][ T263] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.277163][ T263] ? validate_chain+0x38b/0xc20 [ 11.277167][ T263] hvc_console_print+0x292/0x780 [ 11.277170][ T263] ? __lock_acquire+0x518/0xc20 [ 11.277171][ T263] ? __lock_acquire+0x518/0xc20 [ 11.277176][ T263] ? hvc_write+0x3a0/0x3a0 [ 11.277177][ T263] ? console_emit_next_record+0x1df/0x4c0 [ 11.277180][ T263] ? rcu_is_watching+0x16/0xd0 [ 11.277183][ T263] ? lock_acquire+0x13c/0x160 [ 11.277187][ T263] console_emit_next_record+0x22f/0x4c0 [ 11.277191][ T263] ? devkmsg_read+0x4b0/0x4b0 [ 11.277193][ T263] ? console_flush_one_record+0x106/0x710 [ 11.277196][ T263] ? rcu_is_watching+0x16/0xd0 [ 11.277198][ T263] ? lock_acquire+0x13c/0x160 [ 11.277202][ T263] console_flush_one_record+0x46f/0x710 [ 11.277209][ T263] ? console_emit_next_record+0x4c0/0x4c0 [ 11.277211][ T263] ? __lock_acquire+0x518/0xc20 [ 11.277218][ T263] console_unlock+0xee/0x1f0 [ 11.277221][ T263] ? console_flush_one_record+0x710/0x710 [ 11.277223][ T263] ? rcu_is_watching+0x16/0xd0 [ 11.277225][ T263] ? lock_acquire+0x60/0x160 [ 11.277229][ T263] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.277231][ T263] ? vprintk_emit+0x320/0x3e0 [ 11.277234][ T263] vprintk_emit+0x37c/0x3e0 [ 11.277238][ T263] ? wake_up_klogd_work_func+0x90/0x90 [ 11.277244][ T263] ? gre_exit+0x3f0/0x3f0 [gre] [ 11.277247][ T263] _printk+0xc7/0x100 [ 11.277250][ T263] ? snapshot_read.cold+0x21/0x21 [ 11.277257][ T263] ? do_one_initcall+0x113/0x4f0 [ 11.277260][ T263] gre_init+0x15/0x1000 [gre] [ 11.277262][ T263] do_one_initcall+0x124/0x4f0 [ 11.277264][ T263] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.277269][ T263] ? do_init_module+0xae/0x8a0 [ 11.277278][ T263] ? kasan_unpoison+0x44/0x70 [ 11.277283][ T263] do_init_module+0x2ad/0x8a0 [ 11.277287][ T263] ? lockdep_hardirqs_on+0x91/0x130 [ 11.277289][ T263] ? free_module+0x470/0x470 [ 11.277293][ T263] ? kfree+0x123/0x590 [ 11.277297][ T263] load_module+0x1424/0x1bb0 [ 11.277304][ T263] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.277309][ T263] ? backing_file_read_iter+0x541/0x790 [ 11.277313][ T263] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.277317][ T263] init_module_from_file+0x11f/0x1a0 [ 11.277320][ T263] ? __do_sys_init_module+0x220/0x220 [ 11.277328][ T263] ? __rwlock_init+0x150/0x150 [ 11.277331][ T263] ? do_raw_spin_unlock+0x59/0x250 [ 11.277334][ T263] idempotent_init_module+0x37b/0x7c0 [ 11.277338][ T263] ? init_module_from_file+0x1a0/0x1a0 [ 11.277344][ T263] ? rcu_is_watching+0x16/0xd0 [ 11.277346][ T263] ? cap_capable+0x1d7/0x3d0 [ 11.277352][ T263] __x64_sys_finit_module+0xdf/0x190 [ 11.277354][ T263] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.277358][ T263] do_syscall_64+0xff/0x530 [ 11.277360][ T263] ? exc_page_fault+0xee/0x100 [ 11.277363][ T263] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.277365][ T263] RIP: 0033:0x7fe0e9e1837d [ 11.277369][ T263] 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 [ 11.277371][ T263] RSP: 002b:00007ffe3091b6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.277373][ T263] RAX: ffffffffffffffda RBX: 000055f09b76aa40 RCX: 00007fe0e9e1837d [ 11.277375][ T263] RDX: 0000000000000000 RSI: 000055f07dc22ffd RDI: 0000000000000001 [ 11.277376][ T263] RBP: 00007ffe3091b750 R08: 0000000000000000 R09: 0000000000000000 [ 11.277376][ T263] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f07dc22ffd [ 11.277377][ T263] R13: 000055f09b76aa00 R14: 0000000000040000 R15: 0000000000000000 [ 11.277384][ T263] [ 11.311044][ T263] ip_gre: GRE over IPv4 tunneling driver [ 11.460886][ T269] ip (269) used greatest stack depth: 24432 bytes left [ 11.881917][ T285] 8021q: 802.1Q VLAN Support v1.8 [ 12.921165][ T323] GACT probability NOT on [ 12.921180][ T323] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.921182][ T323] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 323, name: modprobe [ 12.921184][ T323] preempt_count: 1, expected: 0 [ 12.921185][ T323] RCU nest depth: 0, expected: 0 [ 12.921186][ T323] locks held by modprobe/323: 4, last CPU#3: [ 12.921188][ T323] #0: ffffffffa5169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.921201][ T323] #1: ffffffffa5169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.921207][ T323] #2: ffffffffa5089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.921213][ T323] #3: ffffffffa5089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.921219][ T323] irq event stamp: 16336 [ 12.921219][ T323] hardirqs last enabled at (16335): [] __down_trylock_console_sem+0x86/0xa0 [ 12.921222][ T323] hardirqs last disabled at (16336): [] console_emit_next_record+0x3d4/0x4c0 [ 12.921224][ T323] softirqs last enabled at (14250): [] handle_softirqs+0x67c/0x900 [ 12.921227][ T323] softirqs last disabled at (14239): [] __irq_exit_rcu+0x145/0x1c0 [ 12.921230][ T323] Preemption disabled at: [ 12.921230][ T323] [] vprintk_emit+0x31b/0x3e0 [ 12.921236][ T323] CPU: 3 UID: 0 PID: 323 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.921239][ T323] Tainted: [W]=WARN [ 12.921240][ T323] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.921242][ T323] Call Trace: [ 12.921243][ T323] [ 12.921245][ T323] dump_stack_lvl+0x6f/0xa0 [ 12.921251][ T323] ? vprintk_emit+0x31b/0x3e0 [ 12.921253][ T323] __might_resched.cold+0x1fe/0x2c1 [ 12.921258][ T323] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.921262][ T323] ? __kmalloc_noprof+0xdb/0x760 [ 12.921267][ T323] __kmalloc_noprof+0x443/0x760 [ 12.921269][ T323] ? alloc_buf.isra.0+0x4b/0x260 [ 12.921275][ T323] ? do_raw_spin_unlock+0x59/0x250 [ 12.921278][ T323] alloc_buf.isra.0+0x4b/0x260 [ 12.921286][ T323] put_chars+0x1e1/0x2f0 [ 12.921288][ T323] ? desc_read_finalized_seq+0x79/0x120 [ 12.921291][ T323] ? __send_to_port+0x420/0x420 [ 12.921294][ T323] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.921297][ T323] ? validate_chain+0x38b/0xc20 [ 12.921302][ T323] hvc_console_print+0x292/0x780 [ 12.921304][ T323] ? __lock_acquire+0x518/0xc20 [ 12.921306][ T323] ? __lock_acquire+0x518/0xc20 [ 12.921311][ T323] ? hvc_write+0x3a0/0x3a0 [ 12.921312][ T323] ? console_emit_next_record+0x1df/0x4c0 [ 12.921315][ T323] ? rcu_is_watching+0x16/0xd0 [ 12.921318][ T323] ? lock_acquire+0x13c/0x160 [ 12.921322][ T323] console_emit_next_record+0x22f/0x4c0 [ 12.921326][ T323] ? devkmsg_read+0x4b0/0x4b0 [ 12.921328][ T323] ? console_flush_one_record+0x106/0x710 [ 12.921331][ T323] ? rcu_is_watching+0x16/0xd0 [ 12.921333][ T323] ? lock_acquire+0x13c/0x160 [ 12.921337][ T323] console_flush_one_record+0x46f/0x710 [ 12.921341][ T323] ? console_emit_next_record+0x4c0/0x4c0 [ 12.921343][ T323] ? __lock_acquire+0x518/0xc20 [ 12.921348][ T323] console_unlock+0xee/0x1f0 [ 12.921351][ T323] ? console_flush_one_record+0x710/0x710 [ 12.921353][ T323] ? rcu_is_watching+0x16/0xd0 [ 12.921356][ T323] ? lock_acquire+0x60/0x160 [ 12.921359][ T323] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.921361][ T323] ? vprintk_emit+0x320/0x3e0 [ 12.921364][ T323] vprintk_emit+0x37c/0x3e0 [ 12.921368][ T323] ? wake_up_klogd_work_func+0x90/0x90 [ 12.921374][ T323] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 12.921377][ T323] _printk+0xc7/0x100 [ 12.921381][ T323] ? snapshot_read.cold+0x21/0x21 [ 12.921387][ T323] ? do_one_initcall+0x113/0x4f0 [ 12.921390][ T323] gact_init_module+0x15/0x1000 [act_gact] [ 12.921392][ T323] do_one_initcall+0x124/0x4f0 [ 12.921395][ T323] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.921402][ T323] ? do_init_module+0xae/0x8a0 [ 12.921406][ T323] ? kasan_unpoison+0x44/0x70 [ 12.921411][ T323] do_init_module+0x2ad/0x8a0 [ 12.921415][ T323] ? lockdep_hardirqs_on+0x91/0x130 [ 12.921419][ T323] ? free_module+0x470/0x470 [ 12.921422][ T323] ? kfree+0x123/0x590 [ 12.921427][ T323] load_module+0x1424/0x1bb0 [ 12.921434][ T323] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.921438][ T323] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.921441][ T323] ? ovl_real_file+0x172/0x1e0 [ 12.921445][ T323] ? backing_file_read_iter+0x541/0x790 [ 12.921448][ T323] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.921452][ T323] init_module_from_file+0x11f/0x1a0 [ 12.921455][ T323] ? __do_sys_init_module+0x220/0x220 [ 12.921463][ T323] ? __rwlock_init+0x150/0x150 [ 12.921467][ T323] ? do_raw_spin_unlock+0x59/0x250 [ 12.921470][ T323] idempotent_init_module+0x37b/0x7c0 [ 12.921474][ T323] ? init_module_from_file+0x1a0/0x1a0 [ 12.921480][ T323] ? rcu_is_watching+0x16/0xd0 [ 12.921482][ T323] ? cap_capable+0x1d7/0x3d0 [ 12.921488][ T323] __x64_sys_finit_module+0xdf/0x190 [ 12.921490][ T323] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.921494][ T323] do_syscall_64+0xff/0x530 [ 12.921496][ T323] ? exc_page_fault+0xee/0x100 [ 12.921499][ T323] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.921501][ T323] RIP: 0033:0x7fdd837fe37d [ 12.921504][ T323] 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 [ 12.921506][ T323] RSP: 002b:00007fffc74be398 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.921509][ T323] RAX: ffffffffffffffda RBX: 000056034e070810 RCX: 00007fdd837fe37d [ 12.921510][ T323] RDX: 0000000000000000 RSI: 000056030fb3bffd RDI: 0000000000000000 [ 12.921511][ T323] RBP: 00007fffc74be430 R08: 0000000000000000 R09: 0000000000000000 [ 12.921512][ T323] R10: 0000000000000000 R11: 0000000000000246 R12: 000056030fb3bffd [ 12.921513][ T323] R13: 000056034e070960 R14: 0000000000040000 R15: 0000000000000000 [ 12.921520][ T323]