[ 20.019734][ T362] 8021q: 802.1Q VLAN Support v1.8 [ 20.019753][ T362] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.019756][ T362] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 362, name: modprobe [ 20.019757][ T362] preempt_count: 1, expected: 0 [ 20.019758][ T362] RCU nest depth: 0, expected: 0 [ 20.019759][ T362] locks held by modprobe/362: 4, last CPU#4: [ 20.019761][ T362] #0: ffffffff8db99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.019773][ T362] #1: ffffffff8db99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.019778][ T362] #2: ffffffff8da89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.019781][ T362] #3: ffffffff8da89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.019785][ T362] irq event stamp: 28982 [ 20.019786][ T362] hardirqs last enabled at (28981): [] __down_trylock_console_sem+0x86/0xa0 [ 20.019789][ T362] hardirqs last disabled at (28982): [] console_emit_next_record+0x3f8/0x4f0 [ 20.019791][ T362] softirqs last enabled at (25446): [] handle_softirqs+0x67c/0x900 [ 20.019794][ T362] softirqs last disabled at (24357): [] __irq_exit_rcu+0x145/0x1c0 [ 20.019796][ T362] Preemption disabled at: [ 20.019797][ T362] [] vprintk_emit+0x31b/0x3e0 [ 20.019803][ T362] CPU: 4 UID: 0 PID: 362 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.019806][ T362] Tainted: [W]=WARN [ 20.019807][ T362] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 20.019808][ T362] Call Trace: [ 20.019810][ T362] [ 20.019811][ T362] dump_stack_lvl+0x6f/0xa0 [ 20.019817][ T362] ? vprintk_emit+0x31b/0x3e0 [ 20.019819][ T362] __might_resched.cold+0x1fe/0x2c1 [ 20.019824][ T362] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.019828][ T362] ? __kmalloc_noprof+0xdb/0x760 [ 20.019833][ T362] __kmalloc_noprof+0x443/0x760 [ 20.019835][ T362] ? alloc_buf.isra.0+0x4b/0x260 [ 20.019842][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 20.019845][ T362] alloc_buf.isra.0+0x4b/0x260 [ 20.019848][ T362] put_chars+0x1e1/0x2f0 [ 20.019852][ T362] ? __send_to_port+0x420/0x420 [ 20.019855][ T362] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.019859][ T362] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.019861][ T362] ? validate_chain+0x38b/0xc20 [ 20.019864][ T362] hvc_console_print+0x292/0x780 [ 20.019868][ T362] ? mark_usage+0x61/0x170 [ 20.019869][ T362] ? __lock_acquire+0x518/0xc20 [ 20.019871][ T362] ? __lock_acquire+0x518/0xc20 [ 20.019875][ T362] ? hvc_write+0x3a0/0x3a0 [ 20.019877][ T362] ? console_emit_next_record+0x202/0x4f0 [ 20.019880][ T362] ? rcu_is_watching+0x16/0xd0 [ 20.019883][ T362] ? lock_acquire+0x13c/0x160 [ 20.019886][ T362] console_emit_next_record+0x252/0x4f0 [ 20.019890][ T362] ? devkmsg_read+0x4e0/0x4e0 [ 20.019894][ T362] ? rcu_is_watching+0x16/0xd0 [ 20.019896][ T362] ? lock_acquire+0x13c/0x160 [ 20.019900][ T362] console_flush_one_record+0x46f/0x710 [ 20.019904][ T362] ? console_emit_next_record+0x4f0/0x4f0 [ 20.019906][ T362] ? __lock_acquire+0x518/0xc20 [ 20.019911][ T362] console_unlock+0xee/0x1f0 [ 20.019913][ T362] ? console_flush_one_record+0x710/0x710 [ 20.019915][ T362] ? rcu_is_watching+0x16/0xd0 [ 20.019917][ T362] ? lock_acquire+0xa0/0x160 [ 20.019921][ T362] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.019922][ T362] ? vprintk_emit+0x320/0x3e0 [ 20.019926][ T362] vprintk_emit+0x37c/0x3e0 [ 20.019930][ T362] ? wake_up_klogd_work_func+0x90/0x90 [ 20.019935][ T362] ? vlan_netlink_fini+0xf0/0xf0 [8021q] [ 20.019942][ T362] _printk+0xc7/0x100 [ 20.019945][ T362] ? snapshot_read.cold+0x21/0x21 [ 20.019951][ T362] ? do_one_initcall+0x113/0x4f0 [ 20.019955][ T362] vlan_proto_init+0x24/0x90 [8021q] [ 20.019958][ T362] do_one_initcall+0x124/0x4f0 [ 20.019960][ T362] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 20.019964][ T362] ? do_init_module+0xae/0x8a0 [ 20.019968][ T362] ? kasan_unpoison+0x44/0x70 [ 20.019973][ T362] do_init_module+0x2ad/0x8a0 [ 20.019976][ T362] ? lockdep_hardirqs_on+0x91/0x130 [ 20.019981][ T362] ? free_module+0x470/0x470 [ 20.019984][ T362] ? kfree+0x123/0x590 [ 20.019988][ T362] load_module+0x1424/0x1bb0 [ 20.019994][ T362] ? layout_and_allocate.isra.0+0x680/0x680 [ 20.019998][ T362] ? __ia32_sys_fsconfig+0x180/0x180 [ 20.020001][ T362] ? add_chain_cache+0x12d/0x590 [ 20.020006][ T362] init_module_from_file+0x11f/0x1a0 [ 20.020009][ T362] ? __ia32_sys_init_module+0xc0/0xc0 [ 20.020016][ T362] ? __rwlock_init+0x150/0x150 [ 20.020020][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 20.020022][ T362] idempotent_init_module+0x37b/0x7c0 [ 20.020026][ T362] ? init_module_from_file+0x1a0/0x1a0 [ 20.020032][ T362] ? rcu_is_watching+0x16/0xd0 [ 20.020034][ T362] ? cap_capable+0x1d7/0x3d0 [ 20.020040][ T362] __x64_sys_finit_module+0xdf/0x190 [ 20.020042][ T362] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.020045][ T362] do_syscall_64+0xff/0x530 [ 20.020047][ T362] ? exc_page_fault+0xee/0x100 [ 20.020050][ T362] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.020052][ T362] RIP: 0033:0x7f427962737d [ 20.020056][ 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 [ 20.020058][ T362] RSP: 002b:00007ffec4a46638 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.020060][ T362] RAX: ffffffffffffffda RBX: 0000562d1c6f2810 RCX: 00007f427962737d [ 20.020062][ T362] RDX: 0000000000000000 RSI: 0000562ce676affd RDI: 0000000000000000 [ 20.020062][ T362] RBP: 00007ffec4a466d0 R08: 0000000000000000 R09: 0000000000000000 [ 20.020063][ T362] R10: 0000000000000000 R11: 0000000000000246 R12: 0000562ce676affd [ 20.020064][ T362] R13: 0000562d1c6f2940 R14: 0000000000040000 R15: 0000000000000000 [ 20.020071][ T362] [ 20.044451][ T362] 8021q: adding VLAN 0 to HW filter on device enp0s4