[ 12.572182][ T267] 8021q: 802.1Q VLAN Support v1.8 [ 12.572200][ T267] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.572202][ T267] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 267, name: modprobe [ 12.572204][ T267] preempt_count: 1, expected: 0 [ 12.572205][ T267] RCU nest depth: 0, expected: 0 [ 12.572206][ T267] locks held by modprobe/267: 4, last CPU#0: [ 12.572208][ T267] #0: ffffffffa7f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.572220][ T267] #1: ffffffffa7f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.572224][ T267] #2: ffffffffa7e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.572228][ T267] #3: ffffffffa7e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.572231][ T267] irq event stamp: 27730 [ 12.572232][ T267] hardirqs last enabled at (27729): [] __down_trylock_console_sem+0x86/0xa0 [ 12.572235][ T267] hardirqs last disabled at (27730): [] console_emit_next_record+0x3d4/0x4c0 [ 12.572237][ T267] softirqs last enabled at (24552): [] handle_softirqs+0x67c/0x900 [ 12.572240][ T267] softirqs last disabled at (24071): [] __irq_exit_rcu+0x145/0x1c0 [ 12.572242][ T267] Preemption disabled at: [ 12.572243][ T267] [] vprintk_emit+0x31b/0x3e0 [ 12.572248][ T267] CPU: 0 UID: 0 PID: 267 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.572252][ T267] Tainted: [W]=WARN [ 12.572253][ T267] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.572255][ T267] Call Trace: [ 12.572256][ T267] [ 12.572258][ T267] dump_stack_lvl+0x6f/0xa0 [ 12.572263][ T267] ? vprintk_emit+0x31b/0x3e0 [ 12.572265][ T267] __might_resched.cold+0x1fe/0x2c1 [ 12.572270][ T267] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.572273][ T267] ? __kmalloc_noprof+0xdb/0x760 [ 12.572279][ T267] __kmalloc_noprof+0x443/0x760 [ 12.572281][ T267] ? alloc_buf.isra.0+0x4b/0x260 [ 12.572286][ T267] ? do_raw_spin_unlock+0x59/0x250 [ 12.572289][ T267] alloc_buf.isra.0+0x4b/0x260 [ 12.572292][ T267] put_chars+0x1e1/0x2f0 [ 12.572295][ T267] ? __send_to_port+0x420/0x420 [ 12.572296][ T267] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.572301][ T267] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.572303][ T267] ? validate_chain+0x38b/0xc20 [ 12.572308][ T267] hvc_console_print+0x292/0x780 [ 12.572311][ T267] ? __lock_acquire+0x518/0xc20 [ 12.572316][ T267] ? hvc_write+0x3a0/0x3a0 [ 12.572318][ T267] ? rcu_is_watching+0x16/0xd0 [ 12.572323][ T267] console_emit_next_record+0x22f/0x4c0 [ 12.572327][ T267] ? devkmsg_read+0x4b0/0x4b0 [ 12.572329][ T267] ? console_flush_one_record+0x106/0x710 [ 12.572332][ T267] ? rcu_is_watching+0x16/0xd0 [ 12.572334][ T267] ? lock_acquire+0x13c/0x160 [ 12.572338][ T267] console_flush_one_record+0x46f/0x710 [ 12.572342][ T267] ? console_emit_next_record+0x4c0/0x4c0 [ 12.572344][ T267] ? __lock_acquire+0x518/0xc20 [ 12.572349][ T267] console_unlock+0xee/0x1f0 [ 12.572351][ T267] ? console_flush_one_record+0x710/0x710 [ 12.572353][ T267] ? rcu_is_watching+0x16/0xd0 [ 12.572355][ T267] ? lock_acquire+0x60/0x160 [ 12.572359][ T267] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.572361][ T267] ? vprintk_emit+0x320/0x3e0 [ 12.572364][ T267] vprintk_emit+0x37c/0x3e0 [ 12.572368][ T267] ? wake_up_klogd_work_func+0x90/0x90 [ 12.572374][ T267] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.572378][ T267] _printk+0xc7/0x100 [ 12.572381][ T267] ? snapshot_read.cold+0x21/0x21 [ 12.572388][ T267] ? do_one_initcall+0x113/0x4f0 [ 12.572391][ T267] vlan_proto_init+0x24/0x90 [8021q] [ 12.572394][ T267] do_one_initcall+0x124/0x4f0 [ 12.572396][ T267] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.572401][ T267] ? do_init_module+0xae/0x8a0 [ 12.572404][ T267] ? kasan_unpoison+0x44/0x70 [ 12.572409][ T267] do_init_module+0x2ad/0x8a0 [ 12.572412][ T267] ? lockdep_hardirqs_on+0x91/0x130 [ 12.572416][ T267] ? free_module+0x470/0x470 [ 12.572420][ T267] ? kfree+0x123/0x590 [ 12.572423][ T267] load_module+0x1424/0x1bb0 [ 12.572431][ T267] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.572435][ T267] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.572437][ T267] ? ovl_real_file+0x172/0x1e0 [ 12.572441][ T267] ? backing_file_read_iter+0x541/0x790 [ 12.572444][ T267] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.572448][ T267] init_module_from_file+0x11f/0x1a0 [ 12.572451][ T267] ? __do_sys_init_module+0x220/0x220 [ 12.572459][ T267] ? __rwlock_init+0x150/0x150 [ 12.572463][ T267] ? do_raw_spin_unlock+0x59/0x250 [ 12.572466][ T267] idempotent_init_module+0x37b/0x7c0 [ 12.572469][ T267] ? init_module_from_file+0x1a0/0x1a0 [ 12.572475][ T267] ? rcu_is_watching+0x16/0xd0 [ 12.572478][ T267] ? cap_capable+0x1d7/0x3d0 [ 12.572484][ T267] __x64_sys_finit_module+0xdf/0x190 [ 12.572492][ T267] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.572495][ T267] do_syscall_64+0xff/0x530 [ 12.572497][ T267] ? exc_page_fault+0xee/0x100 [ 12.572500][ T267] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.572502][ T267] RIP: 0033:0x7fbb9878637d [ 12.572505][ T267] 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.572507][ T267] RSP: 002b:00007ffe87b30dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.572510][ T267] RAX: ffffffffffffffda RBX: 000056180132e810 RCX: 00007fbb9878637d [ 12.572511][ T267] RDX: 0000000000000000 RSI: 00005617fb296ffd RDI: 0000000000000000 [ 12.572512][ T267] RBP: 00007ffe87b30e70 R08: 0000000000000000 R09: 0000000000000000 [ 12.572513][ T267] R10: 0000000000000000 R11: 0000000000000246 R12: 00005617fb296ffd [ 12.572514][ T267] R13: 000056180132e960 R14: 0000000000040000 R15: 0000000000000000 [ 12.572520][ T267] [ 12.782743][ T273] gre: GRE over IPv4 demultiplexer driver [ 12.791365][ T273] ip_gre: GRE over IPv4 tunneling driver