[ 12.765496][ T248] 8021q: 802.1Q VLAN Support v1.8 [ 12.765516][ T248] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.765519][ T248] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 248, name: modprobe [ 12.765521][ T248] preempt_count: 1, expected: 0 [ 12.765522][ T248] RCU nest depth: 0, expected: 0 [ 12.765522][ T248] locks held by modprobe/248: 4, last CPU#2: [ 12.765525][ T248] #0: ffffffff9fb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.765537][ T248] #1: ffffffff9fb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.765541][ T248] #2: ffffffff9fa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.765546][ T248] #3: ffffffff9fa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.765550][ T248] irq event stamp: 31864 [ 12.765551][ T248] hardirqs last enabled at (31863): [] __down_trylock_console_sem+0x86/0xa0 [ 12.765553][ T248] hardirqs last disabled at (31864): [] console_emit_next_record+0x3d4/0x4c0 [ 12.765555][ T248] softirqs last enabled at (28690): [] handle_softirqs+0x67c/0x900 [ 12.765558][ T248] softirqs last disabled at (28683): [] __irq_exit_rcu+0x145/0x1c0 [ 12.765561][ T248] Preemption disabled at: [ 12.765561][ T248] [] vprintk_emit+0x31b/0x3e0 [ 12.765568][ T248] CPU: 2 UID: 0 PID: 248 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.765571][ T248] Tainted: [W]=WARN [ 12.765572][ T248] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.765574][ T248] Call Trace: [ 12.765575][ T248] [ 12.765577][ T248] dump_stack_lvl+0x6f/0xa0 [ 12.765582][ T248] ? vprintk_emit+0x31b/0x3e0 [ 12.765585][ T248] __might_resched.cold+0x1fe/0x2c1 [ 12.765589][ T248] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.765593][ T248] ? __kmalloc_noprof+0xdb/0x760 [ 12.765598][ T248] __kmalloc_noprof+0x443/0x760 [ 12.765601][ T248] ? alloc_buf.isra.0+0x4b/0x260 [ 12.765606][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 12.765609][ T248] alloc_buf.isra.0+0x4b/0x260 [ 12.765612][ T248] put_chars+0x1e1/0x2f0 [ 12.765615][ T248] ? __send_to_port+0x420/0x420 [ 12.765616][ T248] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.765621][ T248] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.765624][ T248] ? validate_chain+0x38b/0xc20 [ 12.765628][ T248] hvc_console_print+0x292/0x780 [ 12.765631][ T248] ? __lock_acquire+0x518/0xc20 [ 12.765635][ T248] ? hvc_write+0x3a0/0x3a0 [ 12.765638][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.765643][ T248] console_emit_next_record+0x22f/0x4c0 [ 12.765646][ T248] ? devkmsg_read+0x4b0/0x4b0 [ 12.765648][ T248] ? console_flush_one_record+0x106/0x710 [ 12.765651][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.765653][ T248] ? lock_acquire+0x13c/0x160 [ 12.765657][ T248] console_flush_one_record+0x46f/0x710 [ 12.765661][ T248] ? console_emit_next_record+0x4c0/0x4c0 [ 12.765663][ T248] ? __lock_acquire+0x518/0xc20 [ 12.765668][ T248] console_unlock+0xee/0x1f0 [ 12.765671][ T248] ? console_flush_one_record+0x710/0x710 [ 12.765672][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.765674][ T248] ? lock_acquire+0x60/0x160 [ 12.765678][ T248] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.765680][ T248] ? vprintk_emit+0x320/0x3e0 [ 12.765683][ T248] vprintk_emit+0x37c/0x3e0 [ 12.765687][ T248] ? wake_up_klogd_work_func+0x90/0x90 [ 12.765692][ T248] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.765696][ T248] _printk+0xc7/0x100 [ 12.765700][ T248] ? snapshot_read.cold+0x21/0x21 [ 12.765706][ T248] ? do_one_initcall+0x113/0x4f0 [ 12.765709][ T248] vlan_proto_init+0x24/0x90 [8021q] [ 12.765712][ T248] do_one_initcall+0x124/0x4f0 [ 12.765714][ T248] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.765719][ T248] ? do_init_module+0xae/0x8a0 [ 12.765722][ T248] ? kasan_unpoison+0x44/0x70 [ 12.765726][ T248] do_init_module+0x2ad/0x8a0 [ 12.765730][ T248] ? lockdep_hardirqs_on+0x91/0x130 [ 12.765734][ T248] ? free_module+0x470/0x470 [ 12.765737][ T248] ? kfree+0x123/0x590 [ 12.765741][ T248] load_module+0x1424/0x1bb0 [ 12.765748][ T248] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.765752][ T248] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.765755][ T248] ? find_held_lock+0x2b/0x80 [ 12.765757][ T248] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.765761][ T248] init_module_from_file+0x11f/0x1a0 [ 12.765764][ T248] ? __do_sys_init_module+0x220/0x220 [ 12.765772][ T248] ? __rwlock_init+0x150/0x150 [ 12.765775][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 12.765778][ T248] idempotent_init_module+0x37b/0x7c0 [ 12.765781][ T248] ? init_module_from_file+0x1a0/0x1a0 [ 12.765787][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.765790][ T248] ? cap_capable+0x1d7/0x3d0 [ 12.765796][ T248] __x64_sys_finit_module+0xdf/0x190 [ 12.765798][ T248] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.765801][ T248] do_syscall_64+0xff/0x530 [ 12.765803][ T248] ? exc_page_fault+0xee/0x100 [ 12.765806][ T248] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.765808][ T248] RIP: 0033:0x7f699711837d [ 12.765812][ T248] 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.765815][ T248] RSP: 002b:00007ffd312075e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.765818][ T248] RAX: ffffffffffffffda RBX: 0000555a874cf810 RCX: 00007f699711837d [ 12.765819][ T248] RDX: 0000000000000000 RSI: 0000555a754f4ffd RDI: 0000000000000000 [ 12.765820][ T248] RBP: 00007ffd31207680 R08: 0000000000000000 R09: 0000000000000000 [ 12.765821][ T248] R10: 0000000000000000 R11: 0000000000000246 R12: 0000555a754f4ffd [ 12.765821][ T248] R13: 0000555a874cf960 R14: 0000000000040000 R15: 0000000000000000 [ 12.765828][ T248] [ 13.142682][ T260] gre: GRE over IPv4 demultiplexer driver [ 13.150291][ T260] ip_gre: GRE over IPv4 tunneling driver [ 15.163967][ T326] GACT probability NOT on [ 15.163986][ T326] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.163988][ T326] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 326, name: modprobe [ 15.163990][ T326] preempt_count: 1, expected: 0 [ 15.163991][ T326] RCU nest depth: 0, expected: 0 [ 15.163992][ T326] locks held by modprobe/326: 4, last CPU#0: [ 15.163994][ T326] #0: ffffffff9fb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.164007][ T326] #1: ffffffff9fb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.164011][ T326] #2: ffffffff9fa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.164015][ T326] #3: ffffffff9fa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.164019][ T326] irq event stamp: 32182 [ 15.164019][ T326] hardirqs last enabled at (32181): [] __down_trylock_console_sem+0x86/0xa0 [ 15.164022][ T326] hardirqs last disabled at (32182): [] console_emit_next_record+0x3d4/0x4c0 [ 15.164024][ T326] softirqs last enabled at (31278): [] handle_softirqs+0x67c/0x900 [ 15.164027][ T326] softirqs last disabled at (30871): [] __irq_exit_rcu+0x145/0x1c0 [ 15.164029][ T326] Preemption disabled at: [ 15.164030][ T326] [] vprintk_emit+0x31b/0x3e0 [ 15.164035][ T326] CPU: 0 UID: 0 PID: 326 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.164039][ T326] Tainted: [W]=WARN [ 15.164040][ T326] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.164041][ T326] Call Trace: [ 15.164043][ T326] [ 15.164044][ T326] dump_stack_lvl+0x6f/0xa0 [ 15.164050][ T326] ? vprintk_emit+0x31b/0x3e0 [ 15.164052][ T326] __might_resched.cold+0x1fe/0x2c1 [ 15.164056][ T326] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.164060][ T326] ? __kmalloc_noprof+0xdb/0x760 [ 15.164065][ T326] __kmalloc_noprof+0x443/0x760 [ 15.164068][ T326] ? alloc_buf.isra.0+0x4b/0x260 [ 15.164073][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 15.164076][ T326] alloc_buf.isra.0+0x4b/0x260 [ 15.164079][ T326] put_chars+0x1e1/0x2f0 [ 15.164081][ T326] ? desc_read_finalized_seq+0x79/0x120 [ 15.164084][ T326] ? __send_to_port+0x420/0x420 [ 15.164086][ T326] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.164090][ T326] ? validate_chain+0x38b/0xc20 [ 15.164094][ T326] hvc_console_print+0x292/0x780 [ 15.164097][ T326] ? __lock_acquire+0x518/0xc20 [ 15.164099][ T326] ? __lock_acquire+0x518/0xc20 [ 15.164103][ T326] ? hvc_write+0x3a0/0x3a0 [ 15.164104][ T326] ? console_emit_next_record+0x1df/0x4c0 [ 15.164107][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.164111][ T326] ? lock_acquire+0x13c/0x160 [ 15.164114][ T326] console_emit_next_record+0x22f/0x4c0 [ 15.164118][ T326] ? devkmsg_read+0x4b0/0x4b0 [ 15.164120][ T326] ? console_flush_one_record+0x106/0x710 [ 15.164123][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.164127][ T326] ? lock_acquire+0x13c/0x160 [ 15.164131][ T326] console_flush_one_record+0x46f/0x710 [ 15.164135][ T326] ? console_emit_next_record+0x4c0/0x4c0 [ 15.164137][ T326] ? __lock_acquire+0x518/0xc20 [ 15.164142][ T326] console_unlock+0xee/0x1f0 [ 15.164145][ T326] ? console_flush_one_record+0x710/0x710 [ 15.164146][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.164149][ T326] ? lock_acquire+0x60/0x160 [ 15.164152][ T326] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.164154][ T326] ? vprintk_emit+0x320/0x3e0 [ 15.164157][ T326] vprintk_emit+0x37c/0x3e0 [ 15.164161][ T326] ? wake_up_klogd_work_func+0x90/0x90 [ 15.164166][ T326] ? gre_exit+0x3f0/0x3f0 [gre] [ 15.164169][ T326] _printk+0xc7/0x100 [ 15.164173][ T326] ? snapshot_read.cold+0x21/0x21 [ 15.164179][ T326] ? do_one_initcall+0x113/0x4f0 [ 15.164182][ T326] gact_init_module+0x15/0x1000 [act_gact] [ 15.164185][ T326] do_one_initcall+0x124/0x4f0 [ 15.164187][ T326] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.164192][ T326] ? do_init_module+0xae/0x8a0 [ 15.164194][ T326] ? kasan_unpoison+0x44/0x70 [ 15.164199][ T326] do_init_module+0x2ad/0x8a0 [ 15.164203][ T326] ? lockdep_hardirqs_on+0x91/0x130 [ 15.164207][ T326] ? free_module+0x470/0x470 [ 15.164210][ T326] ? kfree+0x123/0x590 [ 15.164214][ T326] load_module+0x1424/0x1bb0 [ 15.164221][ T326] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.164224][ T326] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.164227][ T326] ? ovl_real_file+0x172/0x1e0 [ 15.164231][ T326] ? backing_file_read_iter+0x541/0x790 [ 15.164234][ T326] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.164238][ T326] init_module_from_file+0x11f/0x1a0 [ 15.164241][ T326] ? __do_sys_init_module+0x220/0x220 [ 15.164249][ T326] ? __rwlock_init+0x150/0x150 [ 15.164252][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 15.164255][ T326] idempotent_init_module+0x37b/0x7c0 [ 15.164258][ T326] ? init_module_from_file+0x1a0/0x1a0 [ 15.164264][ T326] ? rcu_is_watching+0x16/0xd0 [ 15.164267][ T326] ? cap_capable+0x1d7/0x3d0 [ 15.164272][ T326] __x64_sys_finit_module+0xdf/0x190 [ 15.164274][ T326] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.164278][ T326] do_syscall_64+0xff/0x530 [ 15.164280][ T326] ? exc_page_fault+0xee/0x100 [ 15.164282][ T326] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.164284][ T326] RIP: 0033:0x7f0caa74337d [ 15.164288][ 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.164291][ T326] RSP: 002b:00007ffd2634d108 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.164294][ T326] RAX: ffffffffffffffda RBX: 0000562d73272810 RCX: 00007f0caa74337d [ 15.164295][ T326] RDX: 0000000000000000 RSI: 0000562d5d8a6ffd RDI: 0000000000000000 [ 15.164296][ T326] RBP: 00007ffd2634d1a0 R08: 0000000000000000 R09: 0000000000000000 [ 15.164297][ T326] R10: 0000000000000000 R11: 0000000000000246 R12: 0000562d5d8a6ffd [ 15.164298][ T326] R13: 0000562d73272960 R14: 0000000000040000 R15: 0000000000000000 [ 15.164304][ T326]