[ 12.951875][ T247] 8021q: 802.1Q VLAN Support v1.8 [ 12.951892][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.951894][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: modprobe [ 12.951896][ T247] preempt_count: 1, expected: 0 [ 12.951897][ T247] RCU nest depth: 0, expected: 0 [ 12.951898][ T247] locks held by modprobe/247: 4, last CPU#2: [ 12.951900][ T247] #0: ffffffff87769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.951913][ T247] #1: ffffffff87769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.951917][ T247] #2: ffffffff87689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.951920][ T247] #3: ffffffff87689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.951924][ T247] irq event stamp: 29390 [ 12.951925][ T247] hardirqs last enabled at (29389): [] __down_trylock_console_sem+0x86/0xa0 [ 12.951927][ T247] hardirqs last disabled at (29390): [] console_emit_next_record+0x3d4/0x4c0 [ 12.951929][ T247] softirqs last enabled at (26934): [] handle_softirqs+0x67c/0x900 [ 12.951932][ T247] softirqs last disabled at (26929): [] __irq_exit_rcu+0x145/0x1c0 [ 12.951935][ T247] Preemption disabled at: [ 12.951935][ T247] [] vprintk_emit+0x31b/0x3e0 [ 12.951941][ T247] CPU: 2 UID: 0 PID: 247 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.951945][ T247] Tainted: [W]=WARN [ 12.951945][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.951947][ T247] Call Trace: [ 12.951949][ T247] [ 12.951950][ T247] dump_stack_lvl+0x6f/0xa0 [ 12.951956][ T247] ? vprintk_emit+0x31b/0x3e0 [ 12.951958][ T247] __might_resched.cold+0x1fe/0x2c1 [ 12.951963][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.951967][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 12.951972][ T247] __kmalloc_noprof+0x443/0x760 [ 12.951974][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 12.951980][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 12.951982][ T247] alloc_buf.isra.0+0x4b/0x260 [ 12.951985][ T247] put_chars+0x1e1/0x2f0 [ 12.951988][ T247] ? __send_to_port+0x420/0x420 [ 12.951989][ T247] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.951994][ T247] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.951996][ T247] ? validate_chain+0x38b/0xc20 [ 12.952001][ T247] hvc_console_print+0x292/0x780 [ 12.952003][ T247] ? __lock_acquire+0x518/0xc20 [ 12.952008][ T247] ? hvc_write+0x3a0/0x3a0 [ 12.952010][ T247] ? rcu_is_watching+0x16/0xd0 [ 12.952015][ T247] console_emit_next_record+0x22f/0x4c0 [ 12.952019][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 12.952020][ T247] ? console_flush_one_record+0x106/0x710 [ 12.952023][ T247] ? rcu_is_watching+0x16/0xd0 [ 12.952026][ T247] ? lock_acquire+0x13c/0x160 [ 12.952029][ T247] console_flush_one_record+0x46f/0x710 [ 12.952033][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 12.952035][ T247] ? __lock_acquire+0x518/0xc20 [ 12.952040][ T247] console_unlock+0xee/0x1f0 [ 12.952042][ T247] ? console_flush_one_record+0x710/0x710 [ 12.952044][ T247] ? rcu_is_watching+0x16/0xd0 [ 12.952046][ T247] ? lock_acquire+0x60/0x160 [ 12.952050][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.952051][ T247] ? vprintk_emit+0x320/0x3e0 [ 12.952055][ T247] vprintk_emit+0x37c/0x3e0 [ 12.952058][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 12.952064][ T247] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.952067][ T247] _printk+0xc7/0x100 [ 12.952071][ T247] ? snapshot_read.cold+0x21/0x21 [ 12.952077][ T247] ? do_one_initcall+0x113/0x4f0 [ 12.952080][ T247] vlan_proto_init+0x24/0x90 [8021q] [ 12.952083][ T247] do_one_initcall+0x124/0x4f0 [ 12.952085][ T247] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.952090][ T247] ? do_init_module+0xae/0x8a0 [ 12.952093][ T247] ? kasan_unpoison+0x44/0x70 [ 12.952097][ T247] do_init_module+0x2ad/0x8a0 [ 12.952101][ T247] ? lockdep_hardirqs_on+0x91/0x130 [ 12.952105][ T247] ? free_module+0x470/0x470 [ 12.952108][ T247] ? kfree+0x123/0x590 [ 12.952111][ T247] load_module+0x1424/0x1bb0 [ 12.952118][ T247] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.952122][ T247] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.952125][ T247] ? ovl_real_file+0x172/0x1e0 [ 12.952129][ T247] ? backing_file_read_iter+0x541/0x790 [ 12.952131][ T247] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.952135][ T247] init_module_from_file+0x11f/0x1a0 [ 12.952138][ T247] ? __do_sys_init_module+0x220/0x220 [ 12.952146][ T247] ? __rwlock_init+0x150/0x150 [ 12.952149][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 12.952154][ T247] idempotent_init_module+0x37b/0x7c0 [ 12.952158][ T247] ? init_module_from_file+0x1a0/0x1a0 [ 12.952168][ T247] ? rcu_is_watching+0x16/0xd0 [ 12.952171][ T247] ? cap_capable+0x1d7/0x3d0 [ 12.952177][ T247] __x64_sys_finit_module+0xdf/0x190 [ 12.952179][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.952182][ T247] do_syscall_64+0xff/0x530 [ 12.952184][ T247] ? exc_page_fault+0xee/0x100 [ 12.952187][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.952189][ T247] RIP: 0033:0x7fd0fb6d237d [ 12.952192][ 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 [ 12.952194][ T247] RSP: 002b:00007ffd4ac6b978 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.952197][ T247] RAX: ffffffffffffffda RBX: 0000557b9b87d810 RCX: 00007fd0fb6d237d [ 12.952198][ T247] RDX: 0000000000000000 RSI: 0000557b8e908ffd RDI: 0000000000000000 [ 12.952199][ T247] RBP: 00007ffd4ac6ba10 R08: 0000000000000000 R09: 0000000000000000 [ 12.952206][ T247] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557b8e908ffd [ 12.952207][ T247] R13: 0000557b9b87d960 R14: 0000000000040000 R15: 0000000000000000 [ 12.952213][ T247] [ 13.276527][ T259] gre: GRE over IPv4 demultiplexer driver [ 13.284722][ T259] ip_gre: GRE over IPv4 tunneling driver [ 15.007890][ T326] GACT probability NOT on [ 15.007905][ T326] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.007908][ T326] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 326, name: modprobe [ 15.007910][ T326] preempt_count: 1, expected: 0 [ 15.007910][ T326] RCU nest depth: 0, expected: 0 [ 15.007911][ T326] locks held by modprobe/326: 4, last CPU#2: [ 15.007914][ T326] #0: ffffffff87769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.007927][ T326] #1: ffffffff87769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.007930][ T326] #2: ffffffff87689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.007934][ T326] #3: ffffffff87689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.007939][ T326] irq event stamp: 32152 [ 15.007939][ T326] hardirqs last enabled at (32151): [] __down_trylock_console_sem+0x86/0xa0 [ 15.007942][ T326] hardirqs last disabled at (32152): [] console_emit_next_record+0x3d4/0x4c0 [ 15.007944][ T326] softirqs last enabled at (30890): [] handle_softirqs+0x67c/0x900 [ 15.007947][ T326] softirqs last disabled at (29769): [] __irq_exit_rcu+0x145/0x1c0 [ 15.007949][ T326] Preemption disabled at: [ 15.007950][ T326] [] vprintk_emit+0x31b/0x3e0 [ 15.007955][ T326] CPU: 2 UID: 0 PID: 326 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.007959][ T326] Tainted: [W]=WARN [ 15.007960][ T326] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.007961][ T326] Call Trace: [ 15.007963][ T326] [ 15.007965][ T326] dump_stack_lvl+0x6f/0xa0 [ 15.007970][ T326] ? vprintk_emit+0x31b/0x3e0 [ 15.007972][ T326] __might_resched.cold+0x1fe/0x2c1 [ 15.007977][ T326] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.007981][ T326] ? __kmalloc_noprof+0xdb/0x760 [ 15.007985][ T326] __kmalloc_noprof+0x443/0x760 [ 15.007988][ T326] ? alloc_buf.isra.0+0x4b/0x260 [ 15.007993][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 15.007996][ T326] alloc_buf.isra.0+0x4b/0x260 [ 15.007998][ T326] put_chars+0x1e1/0x2f0 [ 15.008000][ T326] ? desc_read_finalized_seq+0x79/0x120 [ 15.008002][ T326] ? __send_to_port+0x420/0x420 [ 15.008005][ T326] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.008008][ T326] ? validate_chain+0x38b/0xc20 [ 15.008012][ T326] hvc_console_print+0x292/0x780 [ 15.008015][ T326] ? __lock_acquire+0x518/0xc20 [ 15.008016][ T326] ? __lock_acquire+0x518/0xc20 [ 15.008021][ T326] ? hvc_write+0x3a0/0x3a0 [ 15.008022][ T326] ? console_emit_next_record+0x1df/0x4c0 [ 15.008025][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.008028][ T326] ? lock_acquire+0x13c/0x160 [ 15.008032][ T326] console_emit_next_record+0x22f/0x4c0 [ 15.008035][ T326] ? devkmsg_read+0x4b0/0x4b0 [ 15.008037][ T326] ? console_flush_one_record+0x106/0x710 [ 15.008040][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.008042][ T326] ? lock_acquire+0x13c/0x160 [ 15.008046][ T326] console_flush_one_record+0x46f/0x710 [ 15.008050][ T326] ? console_emit_next_record+0x4c0/0x4c0 [ 15.008052][ T326] ? __lock_acquire+0x518/0xc20 [ 15.008056][ T326] console_unlock+0xee/0x1f0 [ 15.008059][ T326] ? console_flush_one_record+0x710/0x710 [ 15.008061][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.008063][ T326] ? lock_acquire+0x60/0x160 [ 15.008066][ T326] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.008068][ T326] ? vprintk_emit+0x320/0x3e0 [ 15.008071][ T326] vprintk_emit+0x37c/0x3e0 [ 15.008075][ T326] ? wake_up_klogd_work_func+0x90/0x90 [ 15.008080][ T326] ? gre_exit+0x3f0/0x3f0 [gre] [ 15.008083][ T326] _printk+0xc7/0x100 [ 15.008087][ T326] ? snapshot_read.cold+0x21/0x21 [ 15.008093][ T326] ? do_one_initcall+0x113/0x4f0 [ 15.008096][ T326] gact_init_module+0x15/0x1000 [act_gact] [ 15.008099][ T326] do_one_initcall+0x124/0x4f0 [ 15.008101][ T326] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.008106][ T326] ? do_init_module+0xae/0x8a0 [ 15.008109][ T326] ? kasan_unpoison+0x44/0x70 [ 15.008113][ T326] do_init_module+0x2ad/0x8a0 [ 15.008117][ T326] ? lockdep_hardirqs_on+0x91/0x130 [ 15.008121][ T326] ? free_module+0x470/0x470 [ 15.008124][ T326] ? kfree+0x123/0x590 [ 15.008128][ T326] load_module+0x1424/0x1bb0 [ 15.008135][ T326] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.008138][ T326] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.008141][ T326] ? ovl_real_file+0x172/0x1e0 [ 15.008144][ T326] ? find_held_lock+0x2b/0x80 [ 15.008146][ T326] ? backing_file_read_iter+0x541/0x790 [ 15.008149][ T326] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.008155][ T326] init_module_from_file+0x11f/0x1a0 [ 15.008159][ T326] ? __do_sys_init_module+0x220/0x220 [ 15.008171][ T326] ? __rwlock_init+0x150/0x150 [ 15.008175][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 15.008178][ T326] idempotent_init_module+0x37b/0x7c0 [ 15.008181][ T326] ? init_module_from_file+0x1a0/0x1a0 [ 15.008187][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.008189][ T326] ? cap_capable+0x1d7/0x3d0 [ 15.008195][ T326] __x64_sys_finit_module+0xdf/0x190 [ 15.008197][ T326] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.008206][ T326] do_syscall_64+0xff/0x530 [ 15.008208][ T326] ? exc_page_fault+0xee/0x100 [ 15.008211][ T326] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.008213][ T326] RIP: 0033:0x7f787ddec37d [ 15.008216][ T326] 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 [ 15.008218][ T326] RSP: 002b:00007ffcd191d5d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.008221][ T326] RAX: ffffffffffffffda RBX: 00005616e8e43810 RCX: 00007f787ddec37d [ 15.008222][ T326] RDX: 0000000000000000 RSI: 00005616ad913ffd RDI: 0000000000000000 [ 15.008223][ T326] RBP: 00007ffcd191d670 R08: 0000000000000000 R09: 0000000000000000 [ 15.008224][ T326] R10: 0000000000000000 R11: 0000000000000246 R12: 00005616ad913ffd [ 15.008224][ T326] R13: 00005616e8e43960 R14: 0000000000040000 R15: 0000000000000000 [ 15.008231][ T326]