[ 11.668952][ T267] 8021q: 802.1Q VLAN Support v1.8 [ 11.668973][ T267] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.668976][ T267] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 267, name: modprobe [ 11.668978][ T267] preempt_count: 1, expected: 0 [ 11.668979][ T267] RCU nest depth: 0, expected: 0 [ 11.668980][ T267] locks held by modprobe/267: 4, last CPU#2: [ 11.668982][ T267] #0: ffffffff92169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.668996][ T267] #1: ffffffff92169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.669000][ T267] #2: ffffffff92089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.669004][ T267] #3: ffffffff92089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.669008][ T267] irq event stamp: 28752 [ 11.669009][ T267] hardirqs last enabled at (28751): [] __down_trylock_console_sem+0x86/0xa0 [ 11.669012][ T267] hardirqs last disabled at (28752): [] console_emit_next_record+0x3d4/0x4c0 [ 11.669014][ T267] softirqs last enabled at (26478): [] handle_softirqs+0x67c/0x900 [ 11.669017][ T267] softirqs last disabled at (26469): [] __irq_exit_rcu+0x145/0x1c0 [ 11.669019][ T267] Preemption disabled at: [ 11.669020][ T267] [] vprintk_emit+0x31b/0x3e0 [ 11.669026][ T267] CPU: 2 UID: 0 PID: 267 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.669030][ T267] Tainted: [W]=WARN [ 11.669030][ T267] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.669032][ T267] Call Trace: [ 11.669034][ T267] [ 11.669035][ T267] dump_stack_lvl+0x6f/0xa0 [ 11.669041][ T267] ? vprintk_emit+0x31b/0x3e0 [ 11.669043][ T267] __might_resched.cold+0x1fe/0x2c1 [ 11.669048][ T267] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.669052][ T267] ? __kmalloc_noprof+0xdb/0x760 [ 11.669057][ T267] __kmalloc_noprof+0x443/0x760 [ 11.669060][ T267] ? alloc_buf.isra.0+0x4b/0x260 [ 11.669066][ T267] ? do_raw_spin_unlock+0x59/0x250 [ 11.669069][ T267] alloc_buf.isra.0+0x4b/0x260 [ 11.669072][ T267] put_chars+0x1e1/0x2f0 [ 11.669074][ T267] ? __send_to_port+0x420/0x420 [ 11.669076][ T267] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.669081][ T267] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.669083][ T267] ? validate_chain+0x38b/0xc20 [ 11.669088][ T267] hvc_console_print+0x292/0x780 [ 11.669090][ T267] ? __lock_acquire+0x518/0xc20 [ 11.669096][ T267] ? hvc_write+0x3a0/0x3a0 [ 11.669098][ T267] ? rcu_is_watching+0x16/0xd0 [ 11.669103][ T267] console_emit_next_record+0x22f/0x4c0 [ 11.669107][ T267] ? devkmsg_read+0x4b0/0x4b0 [ 11.669109][ T267] ? console_flush_one_record+0x106/0x710 [ 11.669112][ T267] ? rcu_is_watching+0x16/0xd0 [ 11.669115][ T267] ? lock_acquire+0x13c/0x160 [ 11.669119][ T267] console_flush_one_record+0x46f/0x710 [ 11.669123][ T267] ? console_emit_next_record+0x4c0/0x4c0 [ 11.669125][ T267] ? __lock_acquire+0x518/0xc20 [ 11.669130][ T267] console_unlock+0xee/0x1f0 [ 11.669133][ T267] ? console_flush_one_record+0x710/0x710 [ 11.669135][ T267] ? rcu_is_watching+0x16/0xd0 [ 11.669137][ T267] ? lock_acquire+0x60/0x160 [ 11.669141][ T267] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.669142][ T267] ? vprintk_emit+0x320/0x3e0 [ 11.669146][ T267] vprintk_emit+0x37c/0x3e0 [ 11.669150][ T267] ? wake_up_klogd_work_func+0x90/0x90 [ 11.669156][ T267] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 11.669160][ T267] _printk+0xc7/0x100 [ 11.669164][ T267] ? snapshot_read.cold+0x21/0x21 [ 11.669171][ T267] ? do_one_initcall+0x113/0x4f0 [ 11.669174][ T267] vlan_proto_init+0x24/0x90 [8021q] [ 11.669177][ T267] do_one_initcall+0x124/0x4f0 [ 11.669180][ T267] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.669184][ T267] ? do_init_module+0xae/0x8a0 [ 11.669188][ T267] ? kasan_unpoison+0x44/0x70 [ 11.669192][ T267] do_init_module+0x2ad/0x8a0 [ 11.669196][ T267] ? lockdep_hardirqs_on+0x91/0x130 [ 11.669200][ T267] ? free_module+0x470/0x470 [ 11.669204][ T267] ? kfree+0x123/0x590 [ 11.669208][ T267] load_module+0x1424/0x1bb0 [ 11.669215][ T267] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.669219][ T267] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.669222][ T267] ? ovl_real_file+0x172/0x1e0 [ 11.669226][ T267] ? backing_file_read_iter+0x541/0x790 [ 11.669229][ T267] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.669233][ T267] init_module_from_file+0x11f/0x1a0 [ 11.669236][ T267] ? __do_sys_init_module+0x220/0x220 [ 11.669245][ T267] ? __rwlock_init+0x150/0x150 [ 11.669248][ T267] ? do_raw_spin_unlock+0x59/0x250 [ 11.669251][ T267] idempotent_init_module+0x37b/0x7c0 [ 11.669255][ T267] ? init_module_from_file+0x1a0/0x1a0 [ 11.669261][ T267] ? rcu_is_watching+0x16/0xd0 [ 11.669264][ T267] ? cap_capable+0x1d7/0x3d0 [ 11.669269][ T267] __x64_sys_finit_module+0xdf/0x190 [ 11.669272][ T267] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.669275][ T267] do_syscall_64+0xff/0x530 [ 11.669277][ T267] ? exc_page_fault+0xee/0x100 [ 11.669280][ T267] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.669282][ T267] RIP: 0033:0x7f10a339637d [ 11.669286][ 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 [ 11.669288][ T267] RSP: 002b:00007ffc23ea1258 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.669291][ T267] RAX: ffffffffffffffda RBX: 000055884bd6e810 RCX: 00007f10a339637d [ 11.669292][ T267] RDX: 0000000000000000 RSI: 000055883bedbffd RDI: 0000000000000000 [ 11.669293][ T267] RBP: 00007ffc23ea12f0 R08: 0000000000000000 R09: 0000000000000000 [ 11.669294][ T267] R10: 0000000000000000 R11: 0000000000000246 R12: 000055883bedbffd [ 11.669295][ T267] R13: 000055884bd6e960 R14: 0000000000040000 R15: 0000000000000000 [ 11.669302][ T267] [ 11.917785][ T274] gre: GRE over IPv4 demultiplexer driver [ 11.925255][ T274] ip_gre: GRE over IPv4 tunneling driver