[ 17.726082][ T360] 8021q: 802.1Q VLAN Support v1.8 [ 17.726099][ T360] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.726102][ T360] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 360, name: modprobe [ 17.726104][ T360] preempt_count: 1, expected: 0 [ 17.726104][ T360] RCU nest depth: 0, expected: 0 [ 17.726105][ T360] INFO: lockdep is turned off. [ 17.726106][ T360] irq event stamp: 0 [ 17.726107][ T360] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 17.726111][ T360] hardirqs last disabled at (0): [] copy_process+0x1d3b/0x62d0 [ 17.726118][ T360] softirqs last enabled at (0): [] copy_process+0x1d8f/0x62d0 [ 17.726120][ T360] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 17.726122][ T360] Preemption disabled at: [ 17.726123][ T360] [] vprintk_emit+0x31b/0x3e0 [ 17.726130][ T360] CPU: 4 UID: 0 PID: 360 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.726134][ T360] Tainted: [W]=WARN [ 17.726135][ T360] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 17.726136][ T360] Call Trace: [ 17.726138][ T360] [ 17.726139][ T360] dump_stack_lvl+0x6f/0xa0 [ 17.726144][ T360] ? vprintk_emit+0x31b/0x3e0 [ 17.726146][ T360] __might_resched.cold+0x1fe/0x2c1 [ 17.726149][ T360] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.726153][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726156][ T360] __kmalloc_noprof+0x443/0x760 [ 17.726159][ T360] ? __rwlock_init+0x150/0x150 [ 17.726162][ T360] ? alloc_buf.isra.0+0x4b/0x260 [ 17.726167][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 17.726168][ T360] alloc_buf.isra.0+0x4b/0x260 [ 17.726171][ T360] put_chars+0x1e1/0x2f0 [ 17.726173][ T360] ? __send_to_port+0x420/0x420 [ 17.726175][ T360] ? desc_read+0x2f0/0x2f0 [ 17.726178][ T360] ? console_prepend_replay+0x20/0x20 [ 17.726180][ T360] ? desc_read+0x219/0x2f0 [ 17.726182][ T360] hvc_console_print+0x292/0x780 [ 17.726185][ T360] ? _prb_read_valid+0x450/0x6e0 [ 17.726187][ T360] ? hvc_write+0x3a0/0x3a0 [ 17.726194][ T360] ? do_raw_spin_lock+0x131/0x280 [ 17.726196][ T360] ? __asan_memcpy+0x3c/0x60 [ 17.726199][ T360] ? __rwlock_init+0x150/0x150 [ 17.726200][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726202][ T360] ? lock_acquire+0x13c/0x160 [ 17.726204][ T360] console_emit_next_record+0x252/0x4f0 [ 17.726207][ T360] ? devkmsg_read+0x4e0/0x4e0 [ 17.726208][ T360] ? _prb_read_valid+0x6e0/0x6e0 [ 17.726210][ T360] ? __asan_memmove+0x3c/0x60 [ 17.726211][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726213][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726214][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726216][ T360] ? lock_acquire+0x13c/0x160 [ 17.726218][ T360] ? console_flush_one_record+0x111/0x710 [ 17.726219][ T360] console_flush_one_record+0x46f/0x710 [ 17.726221][ T360] ? console_emit_next_record+0x4f0/0x4f0 [ 17.726224][ T360] console_unlock+0xee/0x1f0 [ 17.726226][ T360] ? lock_acquire+0x13c/0x160 [ 17.726227][ T360] ? console_flush_one_record+0x710/0x710 [ 17.726229][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726230][ T360] ? lock_release+0x184/0x1f0 [ 17.726232][ T360] ? lock_acquire+0xa0/0x160 [ 17.726233][ T360] ? sync_exp_reset_tree_hotplug+0x3e0/0x3f0 [ 17.726235][ T360] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.726237][ T360] ? vprintk_emit+0x320/0x3e0 [ 17.726239][ T360] vprintk_emit+0x37c/0x3e0 [ 17.726241][ T360] ? wake_up_klogd_work_func+0x90/0x90 [ 17.726244][ T360] ? vlan_netlink_fini+0xf0/0xf0 [8021q] [ 17.726247][ T360] _printk+0xc7/0x100 [ 17.726250][ T360] ? snapshot_read.cold+0x21/0x21 [ 17.726252][ T360] ? do_one_initcall+0x113/0x4f0 [ 17.726255][ T360] vlan_proto_init+0x24/0x90 [8021q] [ 17.726258][ T360] do_one_initcall+0x124/0x4f0 [ 17.726259][ T360] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.726262][ T360] ? do_init_module+0xae/0x8a0 [ 17.726265][ T360] ? kasan_unpoison+0x44/0x70 [ 17.726267][ T360] do_init_module+0x2ad/0x8a0 [ 17.726269][ T360] ? free_module+0x470/0x470 [ 17.726271][ T360] ? kfree+0x123/0x590 [ 17.726273][ T360] load_module+0x1424/0x1bb0 [ 17.726276][ T360] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.726279][ T360] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.726282][ T360] ? ovl_real_file+0x172/0x1e0 [ 17.726285][ T360] ? backing_file_read_iter+0x541/0x790 [ 17.726288][ T360] init_module_from_file+0x11f/0x1a0 [ 17.726290][ T360] ? __ia32_sys_init_module+0xc0/0xc0 [ 17.726292][ T360] ? ovl_mmap+0x270/0x270 [ 17.726294][ T360] ? __rwlock_init+0x150/0x150 [ 17.726296][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726298][ T360] ? lock_release+0x184/0x1f0 [ 17.726299][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 17.726301][ T360] idempotent_init_module+0x37b/0x7c0 [ 17.726303][ T360] ? init_module_from_file+0x1a0/0x1a0 [ 17.726306][ T360] ? rcu_is_watching+0x16/0xd0 [ 17.726307][ T360] ? cap_capable+0x1d7/0x3d0 [ 17.726311][ T360] __x64_sys_finit_module+0xdf/0x190 [ 17.726313][ T360] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.726316][ T360] do_syscall_64+0xff/0x530 [ 17.726319][ T360] ? exc_page_fault+0xee/0x100 [ 17.726322][ T360] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.726324][ T360] RIP: 0033:0x7f2118dc137d [ 17.726326][ T360] 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 [ 17.726328][ T360] RSP: 002b:00007fffd8a32c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.726331][ T360] RAX: ffffffffffffffda RBX: 0000564a8a1f9810 RCX: 00007f2118dc137d [ 17.726333][ T360] RDX: 0000000000000000 RSI: 0000564a87929ffd RDI: 0000000000000000 [ 17.726333][ T360] RBP: 00007fffd8a32d00 R08: 0000000000000000 R09: 0000000000000000 [ 17.726334][ T360] R10: 0000000000000000 R11: 0000000000000246 R12: 0000564a87929ffd [ 17.726335][ T360] R13: 0000564a8a1f9940 R14: 0000000000040000 R15: 0000000000000000 [ 17.726337][ T360] [ 17.741406][ T360] 8021q: adding VLAN 0 to HW filter on device enp0s4