[ 12.237171][ T243] 8021q: 802.1Q VLAN Support v1.8 [ 12.237191][ T243] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.237193][ T243] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 243, name: modprobe [ 12.237195][ T243] preempt_count: 1, expected: 0 [ 12.237195][ T243] RCU nest depth: 0, expected: 0 [ 12.237197][ T243] locks held by modprobe/243: 4, last CPU#1: [ 12.237199][ T243] #0: ffffffff8e369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.237212][ T243] #1: ffffffff8e369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.237216][ T243] #2: ffffffff8e289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.237220][ T243] #3: ffffffff8e289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.237224][ T243] irq event stamp: 29124 [ 12.237225][ T243] hardirqs last enabled at (29123): [] __down_trylock_console_sem+0x86/0xa0 [ 12.237228][ T243] hardirqs last disabled at (29124): [] console_emit_next_record+0x3d4/0x4c0 [ 12.237230][ T243] softirqs last enabled at (26674): [] handle_softirqs+0x67c/0x900 [ 12.237233][ T243] softirqs last disabled at (26477): [] __irq_exit_rcu+0x145/0x1c0 [ 12.237235][ T243] Preemption disabled at: [ 12.237236][ T243] [] vprintk_emit+0x31b/0x3e0 [ 12.237241][ T243] CPU: 1 UID: 0 PID: 243 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.237245][ T243] Tainted: [W]=WARN [ 12.237246][ T243] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.237248][ T243] Call Trace: [ 12.237249][ T243] [ 12.237251][ T243] dump_stack_lvl+0x6f/0xa0 [ 12.237256][ T243] ? vprintk_emit+0x31b/0x3e0 [ 12.237259][ T243] __might_resched.cold+0x1fe/0x2c1 [ 12.237263][ T243] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.237270][ T243] ? __kmalloc_noprof+0xdb/0x760 [ 12.237276][ T243] __kmalloc_noprof+0x443/0x760 [ 12.237278][ T243] ? alloc_buf.isra.0+0x4b/0x260 [ 12.237284][ T243] ? do_raw_spin_unlock+0x59/0x250 [ 12.237287][ T243] alloc_buf.isra.0+0x4b/0x260 [ 12.237291][ T243] put_chars+0x1e1/0x2f0 [ 12.237294][ T243] ? __send_to_port+0x420/0x420 [ 12.237296][ T243] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.237301][ T243] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.237303][ T243] ? validate_chain+0x38b/0xc20 [ 12.237308][ T243] hvc_console_print+0x292/0x780 [ 12.237310][ T243] ? __lock_acquire+0x518/0xc20 [ 12.237315][ T243] ? hvc_write+0x3a0/0x3a0 [ 12.237317][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.237322][ T243] console_emit_next_record+0x22f/0x4c0 [ 12.237326][ T243] ? devkmsg_read+0x4b0/0x4b0 [ 12.237328][ T243] ? console_flush_one_record+0x106/0x710 [ 12.237331][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.237333][ T243] ? lock_acquire+0x13c/0x160 [ 12.237337][ T243] console_flush_one_record+0x46f/0x710 [ 12.237341][ T243] ? console_emit_next_record+0x4c0/0x4c0 [ 12.237343][ T243] ? __lock_acquire+0x518/0xc20 [ 12.237348][ T243] console_unlock+0xee/0x1f0 [ 12.237351][ T243] ? console_flush_one_record+0x710/0x710 [ 12.237352][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.237355][ T243] ? lock_acquire+0x60/0x160 [ 12.237358][ T243] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.237360][ T243] ? vprintk_emit+0x320/0x3e0 [ 12.237363][ T243] vprintk_emit+0x37c/0x3e0 [ 12.237367][ T243] ? wake_up_klogd_work_func+0x90/0x90 [ 12.237372][ T243] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.237376][ T243] _printk+0xc7/0x100 [ 12.237380][ T243] ? snapshot_read.cold+0x21/0x21 [ 12.237386][ T243] ? do_one_initcall+0x113/0x4f0 [ 12.237389][ T243] vlan_proto_init+0x24/0x90 [8021q] [ 12.237392][ T243] do_one_initcall+0x124/0x4f0 [ 12.237394][ T243] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.237399][ T243] ? do_init_module+0xae/0x8a0 [ 12.237402][ T243] ? kasan_unpoison+0x44/0x70 [ 12.237406][ T243] do_init_module+0x2ad/0x8a0 [ 12.237410][ T243] ? lockdep_hardirqs_on+0x91/0x130 [ 12.237414][ T243] ? free_module+0x470/0x470 [ 12.237417][ T243] ? kfree+0x123/0x590 [ 12.237421][ T243] load_module+0x1424/0x1bb0 [ 12.237428][ T243] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.237432][ T243] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.237435][ T243] ? find_held_lock+0x2b/0x80 [ 12.237438][ T243] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.237442][ T243] init_module_from_file+0x11f/0x1a0 [ 12.237445][ T243] ? __do_sys_init_module+0x220/0x220 [ 12.237453][ T243] ? __rwlock_init+0x150/0x150 [ 12.237456][ T243] ? do_raw_spin_unlock+0x59/0x250 [ 12.237459][ T243] idempotent_init_module+0x37b/0x7c0 [ 12.237462][ T243] ? init_module_from_file+0x1a0/0x1a0 [ 12.237469][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.237471][ T243] ? cap_capable+0x1d7/0x3d0 [ 12.237477][ T243] __x64_sys_finit_module+0xdf/0x190 [ 12.237479][ T243] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.237483][ T243] do_syscall_64+0xff/0x530 [ 12.237485][ T243] ? exc_page_fault+0xee/0x100 [ 12.237488][ T243] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.237490][ T243] RIP: 0033:0x7fb46720937d [ 12.237493][ T243] 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.237495][ T243] RSP: 002b:00007ffd5e473838 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.237497][ T243] RAX: ffffffffffffffda RBX: 00005586a5bcf810 RCX: 00007fb46720937d [ 12.237499][ T243] RDX: 0000000000000000 RSI: 00005586a5539ffd RDI: 0000000000000000 [ 12.237500][ T243] RBP: 00007ffd5e4738d0 R08: 0000000000000000 R09: 0000000000000000 [ 12.237501][ T243] R10: 0000000000000000 R11: 0000000000000246 R12: 00005586a5539ffd [ 12.237501][ T243] R13: 00005586a5bcf960 R14: 0000000000040000 R15: 0000000000000000 [ 12.237508][ T243] [ 12.578327][ T255] gre: GRE over IPv4 demultiplexer driver [ 12.587477][ T255] ip_gre: GRE over IPv4 tunneling driver [ 14.227452][ T313] GACT probability NOT on [ 14.227469][ T313] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.227471][ T313] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 313, name: modprobe [ 14.227473][ T313] preempt_count: 1, expected: 0 [ 14.227474][ T313] RCU nest depth: 0, expected: 0 [ 14.227475][ T313] locks held by modprobe/313: 4, last CPU#2: [ 14.227477][ T313] #0: ffffffff8e369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.227489][ T313] #1: ffffffff8e369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.227494][ T313] #2: ffffffff8e289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.227498][ T313] #3: ffffffff8e289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.227502][ T313] irq event stamp: 24910 [ 14.227503][ T313] hardirqs last enabled at (24909): [] __down_trylock_console_sem+0x86/0xa0 [ 14.227505][ T313] hardirqs last disabled at (24910): [] console_emit_next_record+0x3d4/0x4c0 [ 14.227507][ T313] softirqs last enabled at (23564): [] handle_softirqs+0x67c/0x900 [ 14.227510][ T313] softirqs last disabled at (22391): [] __irq_exit_rcu+0x145/0x1c0 [ 14.227513][ T313] Preemption disabled at: [ 14.227513][ T313] [] vprintk_emit+0x31b/0x3e0 [ 14.227519][ T313] CPU: 2 UID: 0 PID: 313 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.227523][ T313] Tainted: [W]=WARN [ 14.227524][ T313] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.227525][ T313] Call Trace: [ 14.227527][ T313] [ 14.227528][ T313] dump_stack_lvl+0x6f/0xa0 [ 14.227534][ T313] ? vprintk_emit+0x31b/0x3e0 [ 14.227537][ T313] __might_resched.cold+0x1fe/0x2c1 [ 14.227541][ T313] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.227545][ T313] ? __kmalloc_noprof+0xdb/0x760 [ 14.227550][ T313] __kmalloc_noprof+0x443/0x760 [ 14.227553][ T313] ? alloc_buf.isra.0+0x4b/0x260 [ 14.227558][ T313] ? do_raw_spin_unlock+0x59/0x250 [ 14.227561][ T313] alloc_buf.isra.0+0x4b/0x260 [ 14.227564][ T313] put_chars+0x1e1/0x2f0 [ 14.227566][ T313] ? desc_read_finalized_seq+0x79/0x120 [ 14.227569][ T313] ? __send_to_port+0x420/0x420 [ 14.227571][ T313] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.227575][ T313] ? validate_chain+0x38b/0xc20 [ 14.227579][ T313] hvc_console_print+0x292/0x780 [ 14.227581][ T313] ? __lock_acquire+0x518/0xc20 [ 14.227583][ T313] ? __lock_acquire+0x518/0xc20 [ 14.227587][ T313] ? hvc_write+0x3a0/0x3a0 [ 14.227589][ T313] ? console_emit_next_record+0x1df/0x4c0 [ 14.227592][ T313] ? rcu_is_watching+0x16/0xd0 [ 14.227595][ T313] ? lock_acquire+0x13c/0x160 [ 14.227598][ T313] console_emit_next_record+0x22f/0x4c0 [ 14.227602][ T313] ? devkmsg_read+0x4b0/0x4b0 [ 14.227604][ T313] ? console_flush_one_record+0x106/0x710 [ 14.227607][ T313] ? rcu_is_watching+0x16/0xd0 [ 14.227609][ T313] ? lock_acquire+0x13c/0x160 [ 14.227613][ T313] console_flush_one_record+0x46f/0x710 [ 14.227617][ T313] ? console_emit_next_record+0x4c0/0x4c0 [ 14.227619][ T313] ? __lock_acquire+0x518/0xc20 [ 14.227624][ T313] console_unlock+0xee/0x1f0 [ 14.227626][ T313] ? console_flush_one_record+0x710/0x710 [ 14.227628][ T313] ? rcu_is_watching+0x16/0xd0 [ 14.227630][ T313] ? lock_acquire+0x60/0x160 [ 14.227634][ T313] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.227635][ T313] ? vprintk_emit+0x320/0x3e0 [ 14.227638][ T313] vprintk_emit+0x37c/0x3e0 [ 14.227642][ T313] ? wake_up_klogd_work_func+0x90/0x90 [ 14.227648][ T313] ? gre_exit+0x3f0/0x3f0 [gre] [ 14.227650][ T313] _printk+0xc7/0x100 [ 14.227654][ T313] ? snapshot_read.cold+0x21/0x21 [ 14.227660][ T313] ? do_one_initcall+0x113/0x4f0 [ 14.227663][ T313] gact_init_module+0x15/0x1000 [act_gact] [ 14.227665][ T313] do_one_initcall+0x124/0x4f0 [ 14.227668][ T313] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.227672][ T313] ? do_init_module+0xae/0x8a0 [ 14.227675][ T313] ? kasan_unpoison+0x44/0x70 [ 14.227680][ T313] do_init_module+0x2ad/0x8a0 [ 14.227684][ T313] ? lockdep_hardirqs_on+0x91/0x130 [ 14.227688][ T313] ? free_module+0x470/0x470 [ 14.227691][ T313] ? kfree+0x123/0x590 [ 14.227695][ T313] load_module+0x1424/0x1bb0 [ 14.227702][ T313] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.227706][ T313] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.227708][ T313] ? ovl_real_file+0x172/0x1e0 [ 14.227712][ T313] ? find_held_lock+0x2b/0x80 [ 14.227714][ T313] ? backing_file_read_iter+0x541/0x790 [ 14.227717][ T313] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.227721][ T313] init_module_from_file+0x11f/0x1a0 [ 14.227724][ T313] ? __do_sys_init_module+0x220/0x220 [ 14.227732][ T313] ? __rwlock_init+0x150/0x150 [ 14.227735][ T313] ? do_raw_spin_unlock+0x59/0x250 [ 14.227738][ T313] idempotent_init_module+0x37b/0x7c0 [ 14.227742][ T313] ? init_module_from_file+0x1a0/0x1a0 [ 14.227748][ T313] ? rcu_is_watching+0x16/0xd0 [ 14.227750][ T313] ? cap_capable+0x1d7/0x3d0 [ 14.227756][ T313] __x64_sys_finit_module+0xdf/0x190 [ 14.227758][ T313] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.227762][ T313] do_syscall_64+0xff/0x530 [ 14.227763][ T313] ? exc_page_fault+0xee/0x100 [ 14.227767][ T313] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.227770][ T313] RIP: 0033:0x7f5e707ec37d [ 14.227775][ T313] 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 [ 14.227778][ T313] RSP: 002b:00007ffdc1bb8d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.227781][ T313] RAX: ffffffffffffffda RBX: 00005607d067a810 RCX: 00007f5e707ec37d [ 14.227783][ T313] RDX: 0000000000000000 RSI: 00005607c4320ffd RDI: 0000000000000000 [ 14.227784][ T313] RBP: 00007ffdc1bb8db0 R08: 0000000000000000 R09: 0000000000000000 [ 14.227785][ T313] R10: 0000000000000000 R11: 0000000000000246 R12: 00005607c4320ffd [ 14.227786][ T313] R13: 00005607d067a960 R14: 0000000000040000 R15: 0000000000000000 [ 14.227792][ T313]