[ 23.314090][ T362] 8021q: 802.1Q VLAN Support v1.8 [ 23.314116][ T362] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.314120][ T362] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 362, name: modprobe [ 23.314122][ T362] preempt_count: 1, expected: 0 [ 23.314124][ T362] RCU nest depth: 0, expected: 0 [ 23.314125][ T362] locks held by modprobe/362: 4, last CPU#2: [ 23.314128][ T362] #0: ffffffffb9199dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.314143][ T362] #1: ffffffffb9199e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.314150][ T362] #2: ffffffffb9089760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.314156][ T362] #3: ffffffffb9089660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 23.314163][ T362] irq event stamp: 27052 [ 23.314164][ T362] hardirqs last enabled at (27051): [] __down_trylock_console_sem+0x86/0xa0 [ 23.314168][ T362] hardirqs last disabled at (27052): [] console_emit_next_record+0x3f8/0x4f0 [ 23.314171][ T362] softirqs last enabled at (20408): [] handle_softirqs+0x67c/0x900 [ 23.314174][ T362] softirqs last disabled at (20343): [] __irq_exit_rcu+0x145/0x1c0 [ 23.314178][ T362] Preemption disabled at: [ 23.314179][ T362] [] vprintk_emit+0x31b/0x3e0 [ 23.314187][ T362] CPU: 2 UID: 0 PID: 362 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.314191][ T362] Tainted: [W]=WARN [ 23.314193][ T362] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 23.314196][ T362] Call Trace: [ 23.314198][ T362] [ 23.314200][ T362] dump_stack_lvl+0x6f/0xa0 [ 23.314207][ T362] ? vprintk_emit+0x31b/0x3e0 [ 23.314211][ T362] __might_resched.cold+0x1fe/0x2c1 [ 23.314217][ T362] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.314222][ T362] ? __kmalloc_noprof+0xdb/0x760 [ 23.314230][ T362] __kmalloc_noprof+0x443/0x760 [ 23.314234][ T362] ? alloc_buf.isra.0+0x4b/0x260 [ 23.314243][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 23.314247][ T362] alloc_buf.isra.0+0x4b/0x260 [ 23.314253][ T362] put_chars+0x1e1/0x2f0 [ 23.314258][ T362] ? __send_to_port+0x420/0x420 [ 23.314264][ T362] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.314269][ T362] ? rcu_read_lock_any_held+0x3c/0x90 [ 23.314272][ T362] ? validate_chain+0x38b/0xc20 [ 23.314278][ T362] hvc_console_print+0x292/0x780 [ 23.314283][ T362] ? mark_usage+0x61/0x170 [ 23.314289][ T362] ? __lock_acquire+0x518/0xc20 [ 23.314291][ T362] ? __lock_acquire+0x518/0xc20 [ 23.314298][ T362] ? hvc_write+0x3a0/0x3a0 [ 23.314302][ T362] ? console_emit_next_record+0x202/0x4f0 [ 23.314307][ T362] ? rcu_is_watching+0x16/0xd0 [ 23.314311][ T362] ? lock_acquire+0x13c/0x160 [ 23.314318][ T362] console_emit_next_record+0x252/0x4f0 [ 23.314324][ T362] ? devkmsg_read+0x4e0/0x4e0 [ 23.314332][ T362] ? rcu_is_watching+0x16/0xd0 [ 23.314335][ T362] ? lock_acquire+0x13c/0x160 [ 23.314348][ T362] console_flush_one_record+0x46f/0x710 [ 23.314355][ T362] ? console_emit_next_record+0x4f0/0x4f0 [ 23.314358][ T362] ? __lock_acquire+0x518/0xc20 [ 23.314367][ T362] console_unlock+0xee/0x1f0 [ 23.314371][ T362] ? console_flush_one_record+0x710/0x710 [ 23.314374][ T362] ? rcu_is_watching+0x16/0xd0 [ 23.314377][ T362] ? lock_acquire+0xa0/0x160 [ 23.314384][ T362] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.314386][ T362] ? vprintk_emit+0x320/0x3e0 [ 23.314392][ T362] vprintk_emit+0x37c/0x3e0 [ 23.314398][ T362] ? wake_up_klogd_work_func+0x90/0x90 [ 23.314407][ T362] ? vlan_netlink_fini+0xf0/0xf0 [8021q] [ 23.314414][ T362] _printk+0xc7/0x100 [ 23.314419][ T362] ? snapshot_read.cold+0x21/0x21 [ 23.314430][ T362] ? do_one_initcall+0x113/0x4f0 [ 23.314435][ T362] vlan_proto_init+0x24/0x90 [8021q] [ 23.314440][ T362] do_one_initcall+0x124/0x4f0 [ 23.314445][ T362] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 23.314452][ T362] ? do_init_module+0xae/0x8a0 [ 23.314457][ T362] ? kasan_unpoison+0x44/0x70 [ 23.314465][ T362] do_init_module+0x2ad/0x8a0 [ 23.314471][ T362] ? lockdep_hardirqs_on+0x91/0x130 [ 23.314477][ T362] ? free_module+0x470/0x470 [ 23.314482][ T362] ? kfree+0x123/0x590 [ 23.314489][ T362] load_module+0x1424/0x1bb0 [ 23.314501][ T362] ? layout_and_allocate.isra.0+0x680/0x680 [ 23.314508][ T362] ? __ia32_sys_fsconfig+0x180/0x180 [ 23.314511][ T362] ? add_chain_cache+0x12d/0x590 [ 23.314520][ T362] init_module_from_file+0x11f/0x1a0 [ 23.314525][ T362] ? __ia32_sys_init_module+0xc0/0xc0 [ 23.314540][ T362] ? __rwlock_init+0x150/0x150 [ 23.314546][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 23.314550][ T362] idempotent_init_module+0x37b/0x7c0 [ 23.314556][ T362] ? init_module_from_file+0x1a0/0x1a0 [ 23.314567][ T362] ? rcu_is_watching+0x16/0xd0 [ 23.314571][ T362] ? cap_capable+0x1d7/0x3d0 [ 23.314580][ T362] __x64_sys_finit_module+0xdf/0x190 [ 23.314583][ T362] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.314588][ T362] do_syscall_64+0xff/0x530 [ 23.314592][ T362] ? exc_page_fault+0xee/0x100 [ 23.314596][ T362] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.314600][ T362] RIP: 0033:0x7f29804f037d [ 23.314606][ T362] 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 [ 23.314608][ T362] RSP: 002b:00007ffeca89e558 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 23.314612][ T362] RAX: ffffffffffffffda RBX: 0000560ad1cf0810 RCX: 00007f29804f037d [ 23.314614][ T362] RDX: 0000000000000000 RSI: 0000560aa5e31ffd RDI: 0000000000000000 [ 23.314616][ T362] RBP: 00007ffeca89e5f0 R08: 0000000000000000 R09: 0000000000000000 [ 23.314617][ T362] R10: 0000000000000000 R11: 0000000000000246 R12: 0000560aa5e31ffd [ 23.314618][ T362] R13: 0000560ad1cf0940 R14: 0000000000040000 R15: 0000000000000000 [ 23.314631][ T362] [ 23.356200][ T362] 8021q: adding VLAN 0 to HW filter on device enp0s4