[ 21.665243][ T362] 8021q: 802.1Q VLAN Support v1.8 [ 21.665262][ T362] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.665264][ T362] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 362, name: modprobe [ 21.665266][ T362] preempt_count: 1, expected: 0 [ 21.665266][ T362] RCU nest depth: 0, expected: 0 [ 21.665267][ T362] locks held by modprobe/362: 4, last CPU#3: [ 21.665270][ T362] #0: ffffffffb1d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.665281][ T362] #1: ffffffffb1d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.665285][ T362] #2: ffffffffb1c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.665289][ T362] #3: ffffffffb1c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.665293][ T362] irq event stamp: 30370 [ 21.665294][ T362] hardirqs last enabled at (30369): [] __down_trylock_console_sem+0x86/0xa0 [ 21.665296][ T362] hardirqs last disabled at (30370): [] console_emit_next_record+0x3f8/0x4f0 [ 21.665298][ T362] softirqs last enabled at (28046): [] handle_softirqs+0x67c/0x900 [ 21.665301][ T362] softirqs last disabled at (27253): [] __irq_exit_rcu+0x145/0x1c0 [ 21.665304][ T362] Preemption disabled at: [ 21.665305][ T362] [] vprintk_emit+0x31b/0x3e0 [ 21.665310][ T362] CPU: 3 UID: 0 PID: 362 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.665314][ T362] Tainted: [W]=WARN [ 21.665315][ T362] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 21.665317][ T362] Call Trace: [ 21.665318][ T362] [ 21.665320][ T362] dump_stack_lvl+0x6f/0xa0 [ 21.665325][ T362] ? vprintk_emit+0x31b/0x3e0 [ 21.665327][ T362] __might_resched.cold+0x1fe/0x2c1 [ 21.665332][ T362] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.665336][ T362] ? __kmalloc_noprof+0xdb/0x760 [ 21.665341][ T362] __kmalloc_noprof+0x443/0x760 [ 21.665343][ T362] ? alloc_buf.isra.0+0x4b/0x260 [ 21.665349][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 21.665352][ T362] alloc_buf.isra.0+0x4b/0x260 [ 21.665356][ T362] put_chars+0x1e1/0x2f0 [ 21.665359][ T362] ? __send_to_port+0x420/0x420 [ 21.665363][ T362] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.665366][ T362] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.665368][ T362] ? validate_chain+0x38b/0xc20 [ 21.665372][ T362] hvc_console_print+0x292/0x780 [ 21.665376][ T362] ? mark_usage+0x61/0x170 [ 21.665378][ T362] ? __lock_acquire+0x518/0xc20 [ 21.665379][ T362] ? __lock_acquire+0x518/0xc20 [ 21.665383][ T362] ? hvc_write+0x3a0/0x3a0 [ 21.665385][ T362] ? console_emit_next_record+0x202/0x4f0 [ 21.665391][ T362] ? rcu_is_watching+0x16/0xd0 [ 21.665393][ T362] ? lock_acquire+0x13c/0x160 [ 21.665397][ T362] console_emit_next_record+0x252/0x4f0 [ 21.665401][ T362] ? devkmsg_read+0x4e0/0x4e0 [ 21.665405][ T362] ? rcu_is_watching+0x16/0xd0 [ 21.665407][ T362] ? lock_acquire+0x13c/0x160 [ 21.665410][ T362] console_flush_one_record+0x46f/0x710 [ 21.665414][ T362] ? console_emit_next_record+0x4f0/0x4f0 [ 21.665416][ T362] ? __lock_acquire+0x518/0xc20 [ 21.665421][ T362] console_unlock+0xee/0x1f0 [ 21.665423][ T362] ? console_flush_one_record+0x710/0x710 [ 21.665425][ T362] ? rcu_is_watching+0x16/0xd0 [ 21.665427][ T362] ? lock_acquire+0xa0/0x160 [ 21.665431][ T362] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.665432][ T362] ? vprintk_emit+0x320/0x3e0 [ 21.665435][ T362] vprintk_emit+0x37c/0x3e0 [ 21.665439][ T362] ? wake_up_klogd_work_func+0x90/0x90 [ 21.665444][ T362] ? vlan_netlink_fini+0xf0/0xf0 [8021q] [ 21.665448][ T362] _printk+0xc7/0x100 [ 21.665452][ T362] ? snapshot_read.cold+0x21/0x21 [ 21.665458][ T362] ? do_one_initcall+0x113/0x4f0 [ 21.665461][ T362] vlan_proto_init+0x24/0x90 [8021q] [ 21.665464][ T362] do_one_initcall+0x124/0x4f0 [ 21.665467][ T362] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 21.665471][ T362] ? do_init_module+0xae/0x8a0 [ 21.665474][ T362] ? kasan_unpoison+0x44/0x70 [ 21.665480][ T362] do_init_module+0x2ad/0x8a0 [ 21.665483][ T362] ? lockdep_hardirqs_on+0x91/0x130 [ 21.665487][ T362] ? free_module+0x470/0x470 [ 21.665490][ T362] ? kfree+0x123/0x590 [ 21.665494][ T362] load_module+0x1424/0x1bb0 [ 21.665501][ T362] ? layout_and_allocate.isra.0+0x680/0x680 [ 21.665510][ T362] ? __ia32_sys_fsconfig+0x180/0x180 [ 21.665513][ T362] ? add_chain_cache+0x12d/0x590 [ 21.665520][ T362] init_module_from_file+0x11f/0x1a0 [ 21.665525][ T362] ? __ia32_sys_init_module+0xc0/0xc0 [ 21.665533][ T362] ? __rwlock_init+0x150/0x150 [ 21.665537][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 21.665540][ T362] idempotent_init_module+0x37b/0x7c0 [ 21.665543][ T362] ? init_module_from_file+0x1a0/0x1a0 [ 21.665549][ T362] ? rcu_is_watching+0x16/0xd0 [ 21.665551][ T362] ? cap_capable+0x1d7/0x3d0 [ 21.665557][ T362] __x64_sys_finit_module+0xdf/0x190 [ 21.665559][ T362] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.665563][ T362] do_syscall_64+0xff/0x530 [ 21.665565][ T362] ? exc_page_fault+0xee/0x100 [ 21.665568][ T362] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.665570][ T362] RIP: 0033:0x7f52e904837d [ 21.665574][ 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 [ 21.665576][ T362] RSP: 002b:00007fff93617308 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 21.665578][ T362] RAX: ffffffffffffffda RBX: 000055cf3fa21810 RCX: 00007f52e904837d [ 21.665580][ T362] RDX: 0000000000000000 RSI: 000055cf1ea96ffd RDI: 0000000000000000 [ 21.665581][ T362] RBP: 00007fff936173a0 R08: 0000000000000000 R09: 0000000000000000 [ 21.665582][ T362] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cf1ea96ffd [ 21.665583][ T362] R13: 000055cf3fa21940 R14: 0000000000040000 R15: 0000000000000000 [ 21.665589][ T362] [ 21.689430][ T362] 8021q: adding VLAN 0 to HW filter on device enp0s4