[ 10.975656][ T247] 8021q: 802.1Q VLAN Support v1.8 [ 10.975683][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.975686][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: modprobe [ 10.975687][ T247] preempt_count: 1, expected: 0 [ 10.975688][ T247] RCU nest depth: 0, expected: 0 [ 10.975689][ T247] locks held by modprobe/247: 4, last CPU#2: [ 10.975692][ T247] #0: ffffffff8fb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.975705][ T247] #1: ffffffff8fb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.975709][ T247] #2: ffffffff8fa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.975713][ T247] #3: ffffffff8fa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.975717][ T247] irq event stamp: 30298 [ 10.975718][ T247] hardirqs last enabled at (30297): [] __down_trylock_console_sem+0x86/0xa0 [ 10.975721][ T247] hardirqs last disabled at (30298): [] console_emit_next_record+0x3d4/0x4c0 [ 10.975723][ T247] softirqs last enabled at (27270): [] handle_softirqs+0x67c/0x900 [ 10.975726][ T247] softirqs last disabled at (27261): [] __irq_exit_rcu+0x145/0x1c0 [ 10.975728][ T247] Preemption disabled at: [ 10.975729][ T247] [] vprintk_emit+0x31b/0x3e0 [ 10.975735][ T247] CPU: 2 UID: 0 PID: 247 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.975738][ T247] Tainted: [W]=WARN [ 10.975739][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.975741][ T247] Call Trace: [ 10.975743][ T247] [ 10.975744][ T247] dump_stack_lvl+0x6f/0xa0 [ 10.975750][ T247] ? vprintk_emit+0x31b/0x3e0 [ 10.975752][ T247] __might_resched.cold+0x1fe/0x2c1 [ 10.975757][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.975761][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 10.975766][ T247] __kmalloc_noprof+0x443/0x760 [ 10.975768][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 10.975774][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 10.975777][ T247] alloc_buf.isra.0+0x4b/0x260 [ 10.975781][ T247] put_chars+0x1e1/0x2f0 [ 10.975784][ T247] ? __send_to_port+0x420/0x420 [ 10.975785][ T247] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.975790][ T247] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.975792][ T247] ? validate_chain+0x38b/0xc20 [ 10.975797][ T247] hvc_console_print+0x292/0x780 [ 10.975799][ T247] ? __lock_acquire+0x518/0xc20 [ 10.975804][ T247] ? hvc_write+0x3a0/0x3a0 [ 10.975807][ T247] ? rcu_is_watching+0x16/0xd0 [ 10.975812][ T247] console_emit_next_record+0x22f/0x4c0 [ 10.975816][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 10.975818][ T247] ? console_flush_one_record+0x106/0x710 [ 10.975821][ T247] ? rcu_is_watching+0x16/0xd0 [ 10.975823][ T247] ? lock_acquire+0x13c/0x160 [ 10.975827][ T247] console_flush_one_record+0x46f/0x710 [ 10.975831][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 10.975833][ T247] ? __lock_acquire+0x518/0xc20 [ 10.975838][ T247] console_unlock+0xee/0x1f0 [ 10.975841][ T247] ? console_flush_one_record+0x710/0x710 [ 10.975843][ T247] ? rcu_is_watching+0x16/0xd0 [ 10.975845][ T247] ? lock_acquire+0x60/0x160 [ 10.975849][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.975851][ T247] ? vprintk_emit+0x320/0x3e0 [ 10.975854][ T247] vprintk_emit+0x37c/0x3e0 [ 10.975858][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 10.975863][ T247] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 10.975867][ T247] _printk+0xc7/0x100 [ 10.975871][ T247] ? snapshot_read.cold+0x21/0x21 [ 10.975877][ T247] ? do_one_initcall+0x113/0x4f0 [ 10.975881][ T247] vlan_proto_init+0x24/0x90 [8021q] [ 10.975884][ T247] do_one_initcall+0x124/0x4f0 [ 10.975886][ T247] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.975891][ T247] ? do_init_module+0xae/0x8a0 [ 10.975894][ T247] ? kasan_unpoison+0x44/0x70 [ 10.975899][ T247] do_init_module+0x2ad/0x8a0 [ 10.975902][ T247] ? lockdep_hardirqs_on+0x91/0x130 [ 10.975907][ T247] ? free_module+0x470/0x470 [ 10.975910][ T247] ? kfree+0x123/0x590 [ 10.975914][ T247] load_module+0x1424/0x1bb0 [ 10.975921][ T247] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.975925][ T247] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.975928][ T247] ? ovl_real_file+0x172/0x1e0 [ 10.975932][ T247] ? backing_file_read_iter+0x541/0x790 [ 10.975935][ T247] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.975939][ T247] init_module_from_file+0x11f/0x1a0 [ 10.975942][ T247] ? __do_sys_init_module+0x220/0x220 [ 10.975950][ T247] ? __rwlock_init+0x150/0x150 [ 10.975953][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 10.975956][ T247] idempotent_init_module+0x37b/0x7c0 [ 10.975960][ T247] ? init_module_from_file+0x1a0/0x1a0 [ 10.975966][ T247] ? rcu_is_watching+0x16/0xd0 [ 10.975968][ T247] ? cap_capable+0x1d7/0x3d0 [ 10.975974][ T247] __x64_sys_finit_module+0xdf/0x190 [ 10.975977][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.975980][ T247] do_syscall_64+0xff/0x530 [ 10.975982][ T247] ? exc_page_fault+0xee/0x100 [ 10.975985][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.975987][ T247] RIP: 0033:0x7f62e863237d [ 10.975990][ T247] 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.975992][ T247] RSP: 002b:00007fffcaaec438 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.975995][ T247] RAX: ffffffffffffffda RBX: 000055a3f0ad5810 RCX: 00007f62e863237d [ 10.975996][ T247] RDX: 0000000000000000 RSI: 000055a3bbc3affd RDI: 0000000000000000 [ 10.975997][ T247] RBP: 00007fffcaaec4d0 R08: 0000000000000000 R09: 0000000000000000 [ 10.975998][ T247] R10: 0000000000000000 R11: 0000000000000246 R12: 000055a3bbc3affd [ 10.975999][ T247] R13: 000055a3f0ad5960 R14: 0000000000040000 R15: 0000000000000000 [ 10.976006][ T247] [ 11.294522][ T258] gre: GRE over IPv4 demultiplexer driver [ 11.301922][ T258] ip_gre: GRE over IPv4 tunneling driver [ 11.467397][ T265] ip (265) used greatest stack depth: 23936 bytes left [ 11.634214][ T272] ip (272) used greatest stack depth: 23872 bytes left [ 13.076345][ T325] GACT probability NOT on [ 13.076362][ T325] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.076365][ T325] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 325, name: modprobe [ 13.076368][ T325] preempt_count: 1, expected: 0 [ 13.076369][ T325] RCU nest depth: 0, expected: 0 [ 13.076371][ T325] locks held by modprobe/325: 4, last CPU#0: [ 13.076374][ T325] #0: ffffffff8fb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.076388][ T325] #1: ffffffff8fb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.076392][ T325] #2: ffffffff8fa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.076397][ T325] #3: ffffffff8fa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.076401][ T325] irq event stamp: 23748 [ 13.076402][ T325] hardirqs last enabled at (23747): [] __down_trylock_console_sem+0x86/0xa0 [ 13.076404][ T325] hardirqs last disabled at (23748): [] console_emit_next_record+0x3d4/0x4c0 [ 13.076406][ T325] softirqs last enabled at (22798): [] handle_softirqs+0x67c/0x900 [ 13.076409][ T325] softirqs last disabled at (22789): [] __irq_exit_rcu+0x145/0x1c0 [ 13.076412][ T325] Preemption disabled at: [ 13.076412][ T325] [] vprintk_emit+0x31b/0x3e0 [ 13.076418][ T325] CPU: 0 UID: 0 PID: 325 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.076421][ T325] Tainted: [W]=WARN [ 13.076422][ T325] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.076424][ T325] Call Trace: [ 13.076425][ T325] [ 13.076427][ T325] dump_stack_lvl+0x6f/0xa0 [ 13.076433][ T325] ? vprintk_emit+0x31b/0x3e0 [ 13.076435][ T325] __might_resched.cold+0x1fe/0x2c1 [ 13.076440][ T325] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.076444][ T325] ? __kmalloc_noprof+0xdb/0x760 [ 13.076449][ T325] __kmalloc_noprof+0x443/0x760 [ 13.076451][ T325] ? alloc_buf.isra.0+0x4b/0x260 [ 13.076457][ T325] ? do_raw_spin_unlock+0x59/0x250 [ 13.076460][ T325] alloc_buf.isra.0+0x4b/0x260 [ 13.076464][ T325] put_chars+0x1e1/0x2f0 [ 13.076466][ T325] ? desc_read_finalized_seq+0x79/0x120 [ 13.076468][ T325] ? __send_to_port+0x420/0x420 [ 13.076471][ T325] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.076474][ T325] ? validate_chain+0x38b/0xc20 [ 13.076478][ T325] hvc_console_print+0x292/0x780 [ 13.076481][ T325] ? __lock_acquire+0x518/0xc20 [ 13.076482][ T325] ? __lock_acquire+0x518/0xc20 [ 13.076487][ T325] ? hvc_write+0x3a0/0x3a0 [ 13.076488][ T325] ? console_emit_next_record+0x1df/0x4c0 [ 13.076491][ T325] ? rcu_is_watching+0x16/0xd0 [ 13.076494][ T325] ? lock_acquire+0x13c/0x160 [ 13.076498][ T325] console_emit_next_record+0x22f/0x4c0 [ 13.076502][ T325] ? devkmsg_read+0x4b0/0x4b0 [ 13.076504][ T325] ? console_flush_one_record+0x106/0x710 [ 13.076507][ T325] ? rcu_is_watching+0x16/0xd0 [ 13.076509][ T325] ? lock_acquire+0x13c/0x160 [ 13.076513][ T325] console_flush_one_record+0x46f/0x710 [ 13.076517][ T325] ? console_emit_next_record+0x4c0/0x4c0 [ 13.076519][ T325] ? __lock_acquire+0x518/0xc20 [ 13.076524][ T325] console_unlock+0xee/0x1f0 [ 13.076527][ T325] ? console_flush_one_record+0x710/0x710 [ 13.076529][ T325] ? rcu_is_watching+0x16/0xd0 [ 13.076531][ T325] ? lock_acquire+0x60/0x160 [ 13.076535][ T325] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.076537][ T325] ? vprintk_emit+0x320/0x3e0 [ 13.076540][ T325] vprintk_emit+0x37c/0x3e0 [ 13.076544][ T325] ? wake_up_klogd_work_func+0x90/0x90 [ 13.076550][ T325] ? gre_exit+0x3f0/0x3f0 [gre] [ 13.076552][ T325] _printk+0xc7/0x100 [ 13.076556][ T325] ? snapshot_read.cold+0x21/0x21 [ 13.076562][ T325] ? do_one_initcall+0x113/0x4f0 [ 13.076565][ T325] gact_init_module+0x15/0x1000 [act_gact] [ 13.076568][ T325] do_one_initcall+0x124/0x4f0 [ 13.076571][ T325] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 13.076575][ T325] ? do_init_module+0xae/0x8a0 [ 13.076579][ T325] ? kasan_unpoison+0x44/0x70 [ 13.076583][ T325] do_init_module+0x2ad/0x8a0 [ 13.076587][ T325] ? lockdep_hardirqs_on+0x91/0x130 [ 13.076591][ T325] ? free_module+0x470/0x470 [ 13.076594][ T325] ? kfree+0x123/0x590 [ 13.076599][ T325] load_module+0x1424/0x1bb0 [ 13.076606][ T325] ? layout_and_allocate.isra.0+0x680/0x680 [ 13.076610][ T325] ? __ia32_sys_fsconfig+0x180/0x180 [ 13.076613][ T325] ? find_held_lock+0x2b/0x80 [ 13.076615][ T325] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.076619][ T325] init_module_from_file+0x11f/0x1a0 [ 13.076623][ T325] ? __do_sys_init_module+0x220/0x220 [ 13.076631][ T325] ? __rwlock_init+0x150/0x150 [ 13.076634][ T325] ? do_raw_spin_unlock+0x59/0x250 [ 13.076637][ T325] idempotent_init_module+0x37b/0x7c0 [ 13.076641][ T325] ? init_module_from_file+0x1a0/0x1a0 [ 13.076647][ T325] ? rcu_is_watching+0x16/0xd0 [ 13.076649][ T325] ? cap_capable+0x1d7/0x3d0 [ 13.076656][ T325] __x64_sys_finit_module+0xdf/0x190 [ 13.076658][ T325] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.076664][ T325] do_syscall_64+0xff/0x530 [ 13.076666][ T325] ? exc_page_fault+0xee/0x100 [ 13.076668][ T325] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.076671][ T325] RIP: 0033:0x7f5ddbb9837d [ 13.076674][ T325] 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 [ 13.076676][ T325] RSP: 002b:00007fffde612418 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 13.076679][ T325] RAX: ffffffffffffffda RBX: 000056132a3ac810 RCX: 00007f5ddbb9837d [ 13.076680][ T325] RDX: 0000000000000000 RSI: 00005613189d6ffd RDI: 0000000000000000 [ 13.076681][ T325] RBP: 00007fffde6124b0 R08: 0000000000000000 R09: 0000000000000000 [ 13.076682][ T325] R10: 0000000000000000 R11: 0000000000000246 R12: 00005613189d6ffd [ 13.076683][ T325] R13: 000056132a3ac960 R14: 0000000000040000 R15: 0000000000000000 [ 13.076690][ T325]