[ 10.604800][ T215] 8021q: 802.1Q VLAN Support v1.8 [ 10.604819][ T215] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.604821][ T215] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 215, name: modprobe [ 10.604823][ T215] preempt_count: 1, expected: 0 [ 10.604824][ T215] RCU nest depth: 0, expected: 0 [ 10.604825][ T215] locks held by modprobe/215: 4, last CPU#3: [ 10.604828][ T215] #0: ffffffffbcb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.604845][ T215] #1: ffffffffbcb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.604849][ T215] #2: ffffffffbca89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.604853][ T215] #3: ffffffffbca89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.604858][ T215] irq event stamp: 24390 [ 10.604858][ T215] hardirqs last enabled at (24389): [] __down_trylock_console_sem+0x86/0xa0 [ 10.604861][ T215] hardirqs last disabled at (24390): [] console_emit_next_record+0x3d4/0x4c0 [ 10.604863][ T215] softirqs last enabled at (21534): [] handle_softirqs+0x67c/0x900 [ 10.604866][ T215] softirqs last disabled at (21529): [] __irq_exit_rcu+0x145/0x1c0 [ 10.604869][ T215] Preemption disabled at: [ 10.604869][ T215] [] vprintk_emit+0x31b/0x3e0 [ 10.604875][ T215] CPU: 3 UID: 0 PID: 215 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.604878][ T215] Tainted: [W]=WARN [ 10.604879][ T215] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.604881][ T215] Call Trace: [ 10.604883][ T215] [ 10.604884][ T215] dump_stack_lvl+0x6f/0xa0 [ 10.604890][ T215] ? vprintk_emit+0x31b/0x3e0 [ 10.604892][ T215] __might_resched.cold+0x1fe/0x2c1 [ 10.604896][ T215] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.604900][ T215] ? __kmalloc_noprof+0xdb/0x760 [ 10.604905][ T215] __kmalloc_noprof+0x443/0x760 [ 10.604908][ T215] ? alloc_buf.isra.0+0x4b/0x260 [ 10.604913][ T215] ? do_raw_spin_unlock+0x59/0x250 [ 10.604916][ T215] alloc_buf.isra.0+0x4b/0x260 [ 10.604919][ T215] put_chars+0x1e1/0x2f0 [ 10.604922][ T215] ? __send_to_port+0x420/0x420 [ 10.604923][ T215] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.604928][ T215] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.604930][ T215] ? validate_chain+0x38b/0xc20 [ 10.604935][ T215] hvc_console_print+0x292/0x780 [ 10.604938][ T215] ? __lock_acquire+0x518/0xc20 [ 10.604942][ T215] ? hvc_write+0x3a0/0x3a0 [ 10.604945][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.604950][ T215] console_emit_next_record+0x22f/0x4c0 [ 10.604954][ T215] ? devkmsg_read+0x4b0/0x4b0 [ 10.604955][ T215] ? console_flush_one_record+0x106/0x710 [ 10.604959][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.604961][ T215] ? lock_acquire+0x13c/0x160 [ 10.604965][ T215] console_flush_one_record+0x46f/0x710 [ 10.604969][ T215] ? console_emit_next_record+0x4c0/0x4c0 [ 10.604971][ T215] ? __lock_acquire+0x518/0xc20 [ 10.604976][ T215] console_unlock+0xee/0x1f0 [ 10.604978][ T215] ? console_flush_one_record+0x710/0x710 [ 10.604980][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.604982][ T215] ? lock_acquire+0x60/0x160 [ 10.604986][ T215] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.604988][ T215] ? vprintk_emit+0x320/0x3e0 [ 10.604991][ T215] vprintk_emit+0x37c/0x3e0 [ 10.604995][ T215] ? wake_up_klogd_work_func+0x90/0x90 [ 10.605001][ T215] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 10.605005][ T215] _printk+0xc7/0x100 [ 10.605009][ T215] ? snapshot_read.cold+0x21/0x21 [ 10.605015][ T215] ? do_one_initcall+0x113/0x4f0 [ 10.605018][ T215] vlan_proto_init+0x24/0x90 [8021q] [ 10.605021][ T215] do_one_initcall+0x124/0x4f0 [ 10.605024][ T215] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.605028][ T215] ? do_init_module+0xae/0x8a0 [ 10.605032][ T215] ? kasan_unpoison+0x44/0x70 [ 10.605036][ T215] do_init_module+0x2ad/0x8a0 [ 10.605040][ T215] ? lockdep_hardirqs_on+0x91/0x130 [ 10.605044][ T215] ? free_module+0x470/0x470 [ 10.605047][ T215] ? kfree+0x123/0x590 [ 10.605052][ T215] load_module+0x1424/0x1bb0 [ 10.605059][ T215] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.605063][ T215] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.605065][ T215] ? ovl_real_file+0x172/0x1e0 [ 10.605070][ T215] ? backing_file_read_iter+0x541/0x790 [ 10.605073][ T215] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.605076][ T215] init_module_from_file+0x11f/0x1a0 [ 10.605080][ T215] ? __do_sys_init_module+0x220/0x220 [ 10.605088][ T215] ? __rwlock_init+0x150/0x150 [ 10.605091][ T215] ? do_raw_spin_unlock+0x59/0x250 [ 10.605094][ T215] idempotent_init_module+0x37b/0x7c0 [ 10.605100][ T215] ? init_module_from_file+0x1a0/0x1a0 [ 10.605106][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.605108][ T215] ? cap_capable+0x1d7/0x3d0 [ 10.605114][ T215] __x64_sys_finit_module+0xdf/0x190 [ 10.605117][ T215] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.605120][ T215] do_syscall_64+0xff/0x530 [ 10.605122][ T215] ? irq_exit_rcu+0x1a/0x30 [ 10.605125][ T215] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.605127][ T215] RIP: 0033:0x7fe98905437d [ 10.605131][ T215] 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 [ 10.605133][ T215] RSP: 002b:00007ffc890bf198 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.605136][ T215] RAX: ffffffffffffffda RBX: 000055c34074d810 RCX: 00007fe98905437d [ 10.605137][ T215] RDX: 0000000000000000 RSI: 000055c32825dffd RDI: 0000000000000000 [ 10.605138][ T215] RBP: 00007ffc890bf230 R08: 0000000000000000 R09: 0000000000000000 [ 10.605139][ T215] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c32825dffd [ 10.605140][ T215] R13: 000055c34074d960 R14: 0000000000040000 R15: 0000000000000000 [ 10.605147][ T215]