[ 14.256722][ T274] 8021q: 802.1Q VLAN Support v1.8 [ 14.256742][ T274] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.256745][ T274] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 274, name: modprobe [ 14.256746][ T274] preempt_count: 1, expected: 0 [ 14.256747][ T274] RCU nest depth: 0, expected: 0 [ 14.256748][ T274] locks held by modprobe/274: 4, last CPU#0: [ 14.256751][ T274] #0: ffffffffa2969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.256764][ T274] #1: ffffffffa2969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.256768][ T274] #2: ffffffffa2889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.256772][ T274] #3: ffffffffa2889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.256776][ T274] irq event stamp: 20412 [ 14.256777][ T274] hardirqs last enabled at (20411): [] __down_trylock_console_sem+0x86/0xa0 [ 14.256780][ T274] hardirqs last disabled at (20412): [] console_emit_next_record+0x3d4/0x4c0 [ 14.256782][ T274] softirqs last enabled at (17674): [] handle_softirqs+0x67c/0x900 [ 14.256785][ T274] softirqs last disabled at (17663): [] __irq_exit_rcu+0x145/0x1c0 [ 14.256787][ T274] Preemption disabled at: [ 14.256788][ T274] [] vprintk_emit+0x31b/0x3e0 [ 14.256794][ T274] CPU: 0 UID: 0 PID: 274 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.256797][ T274] Tainted: [W]=WARN [ 14.256798][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.256800][ T274] Call Trace: [ 14.256802][ T274] [ 14.256803][ T274] dump_stack_lvl+0x6f/0xa0 [ 14.256809][ T274] ? vprintk_emit+0x31b/0x3e0 [ 14.256811][ T274] __might_resched.cold+0x1fe/0x2c1 [ 14.256816][ T274] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.256820][ T274] ? __kmalloc_noprof+0xdb/0x760 [ 14.256825][ T274] __kmalloc_noprof+0x443/0x760 [ 14.256827][ T274] ? alloc_buf.isra.0+0x4b/0x260 [ 14.256833][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 14.256836][ T274] alloc_buf.isra.0+0x4b/0x260 [ 14.256839][ T274] put_chars+0x1e1/0x2f0 [ 14.256842][ T274] ? __send_to_port+0x420/0x420 [ 14.256844][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.256849][ T274] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.256851][ T274] ? validate_chain+0x38b/0xc20 [ 14.256856][ T274] hvc_console_print+0x292/0x780 [ 14.256858][ T274] ? __lock_acquire+0x518/0xc20 [ 14.256863][ T274] ? hvc_write+0x3a0/0x3a0 [ 14.256866][ T274] ? rcu_is_watching+0x16/0xd0 [ 14.256871][ T274] console_emit_next_record+0x22f/0x4c0 [ 14.256875][ T274] ? devkmsg_read+0x4b0/0x4b0 [ 14.256877][ T274] ? console_flush_one_record+0x106/0x710 [ 14.256880][ T274] ? rcu_is_watching+0x16/0xd0 [ 14.256882][ T274] ? lock_acquire+0x13c/0x160 [ 14.256886][ T274] console_flush_one_record+0x46f/0x710 [ 14.256891][ T274] ? console_emit_next_record+0x4c0/0x4c0 [ 14.256892][ T274] ? __lock_acquire+0x518/0xc20 [ 14.256898][ T274] console_unlock+0xee/0x1f0 [ 14.256900][ T274] ? console_flush_one_record+0x710/0x710 [ 14.256902][ T274] ? rcu_is_watching+0x16/0xd0 [ 14.256904][ T274] ? lock_acquire+0x60/0x160 [ 14.256908][ T274] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.256910][ T274] ? vprintk_emit+0x320/0x3e0 [ 14.256913][ T274] vprintk_emit+0x37c/0x3e0 [ 14.256917][ T274] ? wake_up_klogd_work_func+0x90/0x90 [ 14.256923][ T274] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 14.256927][ T274] _printk+0xc7/0x100 [ 14.256931][ T274] ? snapshot_read.cold+0x21/0x21 [ 14.256937][ T274] ? do_one_initcall+0x113/0x4f0 [ 14.256940][ T274] vlan_proto_init+0x24/0x90 [8021q] [ 14.256943][ T274] do_one_initcall+0x124/0x4f0 [ 14.256946][ T274] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.256951][ T274] ? do_init_module+0xae/0x8a0 [ 14.256954][ T274] ? kasan_unpoison+0x44/0x70 [ 14.256959][ T274] do_init_module+0x2ad/0x8a0 [ 14.256962][ T274] ? lockdep_hardirqs_on+0x91/0x130 [ 14.256967][ T274] ? free_module+0x470/0x470 [ 14.256970][ T274] ? kfree+0x123/0x590 [ 14.256974][ T274] load_module+0x1424/0x1bb0 [ 14.256982][ T274] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.256986][ T274] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.256989][ T274] ? find_held_lock+0x2b/0x80 [ 14.256992][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.256996][ T274] init_module_from_file+0x11f/0x1a0 [ 14.256999][ T274] ? __do_sys_init_module+0x220/0x220 [ 14.257007][ T274] ? __rwlock_init+0x150/0x150 [ 14.257011][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 14.257014][ T274] idempotent_init_module+0x37b/0x7c0 [ 14.257017][ T274] ? init_module_from_file+0x1a0/0x1a0 [ 14.257024][ T274] ? rcu_is_watching+0x16/0xd0 [ 14.257026][ T274] ? cap_capable+0x1d7/0x3d0 [ 14.257033][ T274] __x64_sys_finit_module+0xdf/0x190 [ 14.257035][ T274] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.257039][ T274] do_syscall_64+0xff/0x530 [ 14.257041][ T274] ? exc_page_fault+0xee/0x100 [ 14.257043][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.257046][ T274] RIP: 0033:0x7fa686c6937d [ 14.257049][ T274] 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.257051][ T274] RSP: 002b:00007ffc2e7566c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.257054][ T274] RAX: ffffffffffffffda RBX: 00005618756dc810 RCX: 00007fa686c6937d [ 14.257055][ T274] RDX: 0000000000000000 RSI: 000056185002effd RDI: 0000000000000000 [ 14.257056][ T274] RBP: 00007ffc2e756760 R08: 0000000000000000 R09: 0000000000000000 [ 14.257057][ T274] R10: 0000000000000000 R11: 0000000000000246 R12: 000056185002effd [ 14.257058][ T274] R13: 00005618756dc960 R14: 0000000000040000 R15: 0000000000000000 [ 14.257065][ T274] [ 14.456082][ T280] gre: GRE over IPv4 demultiplexer driver [ 14.486525][ T280] ip6_gre: GRE over IPv6 tunneling driver [ 21.288152][ T364] GACT probability NOT on [ 21.288169][ T364] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.288171][ T364] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 364, name: modprobe [ 21.288173][ T364] preempt_count: 1, expected: 0 [ 21.288174][ T364] RCU nest depth: 0, expected: 0 [ 21.288175][ T364] locks held by modprobe/364: 4, last CPU#0: [ 21.288177][ T364] #0: ffffffffa2969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.288191][ T364] #1: ffffffffa2969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.288195][ T364] #2: ffffffffa2889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.288199][ T364] #3: ffffffffa2889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 21.288203][ T364] irq event stamp: 17224 [ 21.288204][ T364] hardirqs last enabled at (17223): [] __down_trylock_console_sem+0x86/0xa0 [ 21.288206][ T364] hardirqs last disabled at (17224): [] console_emit_next_record+0x3d4/0x4c0 [ 21.288208][ T364] softirqs last enabled at (15762): [] handle_softirqs+0x67c/0x900 [ 21.288211][ T364] softirqs last disabled at (15757): [] __irq_exit_rcu+0x145/0x1c0 [ 21.288213][ T364] Preemption disabled at: [ 21.288213][ T364] [] vprintk_emit+0x31b/0x3e0 [ 21.288219][ T364] CPU: 0 UID: 0 PID: 364 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.288223][ T364] Tainted: [W]=WARN [ 21.288223][ T364] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.288225][ T364] Call Trace: [ 21.288226][ T364] [ 21.288228][ T364] dump_stack_lvl+0x6f/0xa0 [ 21.288233][ T364] ? vprintk_emit+0x31b/0x3e0 [ 21.288235][ T364] __might_resched.cold+0x1fe/0x2c1 [ 21.288240][ T364] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.288244][ T364] ? __kmalloc_noprof+0xdb/0x760 [ 21.288249][ T364] __kmalloc_noprof+0x443/0x760 [ 21.288251][ T364] ? alloc_buf.isra.0+0x4b/0x260 [ 21.288257][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 21.288260][ T364] alloc_buf.isra.0+0x4b/0x260 [ 21.288263][ T364] put_chars+0x1e1/0x2f0 [ 21.288265][ T364] ? desc_read_finalized_seq+0x79/0x120 [ 21.288269][ T364] ? __send_to_port+0x420/0x420 [ 21.288272][ T364] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.288276][ T364] ? validate_chain+0x38b/0xc20 [ 21.288280][ T364] hvc_console_print+0x292/0x780 [ 21.288283][ T364] ? __lock_acquire+0x518/0xc20 [ 21.288284][ T364] ? __lock_acquire+0x518/0xc20 [ 21.288289][ T364] ? hvc_write+0x3a0/0x3a0 [ 21.288290][ T364] ? console_emit_next_record+0x1df/0x4c0 [ 21.288294][ T364] ? rcu_is_watching+0x16/0xd0 [ 21.288297][ T364] ? lock_acquire+0x13c/0x160 [ 21.288301][ T364] console_emit_next_record+0x22f/0x4c0 [ 21.288305][ T364] ? devkmsg_read+0x4b0/0x4b0 [ 21.288306][ T364] ? console_flush_one_record+0x106/0x710 [ 21.288309][ T364] ? rcu_is_watching+0x16/0xd0 [ 21.288312][ T364] ? lock_acquire+0x13c/0x160 [ 21.288316][ T364] console_flush_one_record+0x46f/0x710 [ 21.288320][ T364] ? console_emit_next_record+0x4c0/0x4c0 [ 21.288322][ T364] ? __lock_acquire+0x518/0xc20 [ 21.288327][ T364] console_unlock+0xee/0x1f0 [ 21.288330][ T364] ? console_flush_one_record+0x710/0x710 [ 21.288332][ T364] ? rcu_is_watching+0x16/0xd0 [ 21.288334][ T364] ? lock_acquire+0x60/0x160 [ 21.288338][ T364] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.288340][ T364] ? vprintk_emit+0x320/0x3e0 [ 21.288343][ T364] vprintk_emit+0x37c/0x3e0 [ 21.288347][ T364] ? wake_up_klogd_work_func+0x90/0x90 [ 21.288353][ T364] ? gre_exit+0x3f0/0x3f0 [gre] [ 21.288356][ T364] _printk+0xc7/0x100 [ 21.288359][ T364] ? snapshot_read.cold+0x21/0x21 [ 21.288366][ T364] ? do_one_initcall+0x113/0x4f0 [ 21.288369][ T364] gact_init_module+0x15/0x1000 [act_gact] [ 21.288371][ T364] do_one_initcall+0x124/0x4f0 [ 21.288374][ T364] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 21.288379][ T364] ? do_init_module+0xae/0x8a0 [ 21.288382][ T364] ? kasan_unpoison+0x44/0x70 [ 21.288387][ T364] do_init_module+0x2ad/0x8a0 [ 21.288391][ T364] ? lockdep_hardirqs_on+0x91/0x130 [ 21.288395][ T364] ? free_module+0x470/0x470 [ 21.288399][ T364] ? kfree+0x123/0x590 [ 21.288403][ T364] load_module+0x1424/0x1bb0 [ 21.288410][ T364] ? layout_and_allocate.isra.0+0x680/0x680 [ 21.288414][ T364] ? __ia32_sys_fsconfig+0x180/0x180 [ 21.288417][ T364] ? ovl_real_file+0x172/0x1e0 [ 21.288420][ T364] ? find_held_lock+0x2b/0x80 [ 21.288422][ T364] ? backing_file_read_iter+0x541/0x790 [ 21.288425][ T364] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.288429][ T364] init_module_from_file+0x11f/0x1a0 [ 21.288432][ T364] ? __do_sys_init_module+0x220/0x220 [ 21.288441][ T364] ? __rwlock_init+0x150/0x150 [ 21.288444][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 21.288447][ T364] idempotent_init_module+0x37b/0x7c0 [ 21.288451][ T364] ? init_module_from_file+0x1a0/0x1a0 [ 21.288457][ T364] ? rcu_is_watching+0x16/0xd0 [ 21.288460][ T364] ? cap_capable+0x1d7/0x3d0 [ 21.288466][ T364] __x64_sys_finit_module+0xdf/0x190 [ 21.288472][ T364] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.288476][ T364] do_syscall_64+0xff/0x530 [ 21.288478][ T364] ? exc_page_fault+0xee/0x100 [ 21.288481][ T364] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.288483][ T364] RIP: 0033:0x7f91c550b37d [ 21.288486][ T364] 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 [ 21.288488][ T364] RSP: 002b:00007fff586bc558 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 21.288491][ T364] RAX: ffffffffffffffda RBX: 000055fe2b70d810 RCX: 00007f91c550b37d [ 21.288492][ T364] RDX: 0000000000000000 RSI: 000055fdef1c1ffd RDI: 0000000000000000 [ 21.288493][ T364] RBP: 00007fff586bc5f0 R08: 0000000000000000 R09: 0000000000000000 [ 21.288494][ T364] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fdef1c1ffd [ 21.288495][ T364] R13: 000055fe2b70d960 R14: 0000000000040000 R15: 0000000000000000 [ 21.288502][ T364]