[ 12.012125][ T248] 8021q: 802.1Q VLAN Support v1.8 [ 12.012146][ T248] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.012149][ T248] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 248, name: modprobe [ 12.012151][ T248] preempt_count: 1, expected: 0 [ 12.012151][ T248] RCU nest depth: 0, expected: 0 [ 12.012152][ T248] locks held by modprobe/248: 4, last CPU#2: [ 12.012155][ T248] #0: ffffffffb6769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.012168][ T248] #1: ffffffffb6769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.012172][ T248] #2: ffffffffb6689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.012176][ T248] #3: ffffffffb6689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.012180][ T248] irq event stamp: 23022 [ 12.012181][ T248] hardirqs last enabled at (23021): [] __down_trylock_console_sem+0x86/0xa0 [ 12.012184][ T248] hardirqs last disabled at (23022): [] console_emit_next_record+0x3d4/0x4c0 [ 12.012186][ T248] softirqs last enabled at (20524): [] handle_softirqs+0x67c/0x900 [ 12.012189][ T248] softirqs last disabled at (19623): [] __irq_exit_rcu+0x145/0x1c0 [ 12.012192][ T248] Preemption disabled at: [ 12.012192][ T248] [] vprintk_emit+0x31b/0x3e0 [ 12.012198][ T248] CPU: 2 UID: 0 PID: 248 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.012202][ T248] Tainted: [W]=WARN [ 12.012203][ T248] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.012204][ T248] Call Trace: [ 12.012206][ T248] [ 12.012207][ T248] dump_stack_lvl+0x6f/0xa0 [ 12.012213][ T248] ? vprintk_emit+0x31b/0x3e0 [ 12.012215][ T248] __might_resched.cold+0x1fe/0x2c1 [ 12.012220][ T248] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.012224][ T248] ? __kmalloc_noprof+0xdb/0x760 [ 12.012229][ T248] __kmalloc_noprof+0x443/0x760 [ 12.012231][ T248] ? alloc_buf.isra.0+0x4b/0x260 [ 12.012237][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 12.012239][ T248] alloc_buf.isra.0+0x4b/0x260 [ 12.012243][ T248] put_chars+0x1e1/0x2f0 [ 12.012245][ T248] ? __send_to_port+0x420/0x420 [ 12.012247][ T248] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.012252][ T248] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.012254][ T248] ? validate_chain+0x38b/0xc20 [ 12.012259][ T248] hvc_console_print+0x292/0x780 [ 12.012262][ T248] ? __lock_acquire+0x518/0xc20 [ 12.012266][ T248] ? hvc_write+0x3a0/0x3a0 [ 12.012269][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.012274][ T248] console_emit_next_record+0x22f/0x4c0 [ 12.012278][ T248] ? devkmsg_read+0x4b0/0x4b0 [ 12.012279][ T248] ? console_flush_one_record+0x106/0x710 [ 12.012282][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.012285][ T248] ? lock_acquire+0x13c/0x160 [ 12.012288][ T248] console_flush_one_record+0x46f/0x710 [ 12.012293][ T248] ? console_emit_next_record+0x4c0/0x4c0 [ 12.012295][ T248] ? __lock_acquire+0x518/0xc20 [ 12.012300][ T248] console_unlock+0xee/0x1f0 [ 12.012302][ T248] ? console_flush_one_record+0x710/0x710 [ 12.012304][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.012306][ T248] ? lock_acquire+0x60/0x160 [ 12.012310][ T248] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.012312][ T248] ? vprintk_emit+0x320/0x3e0 [ 12.012315][ T248] vprintk_emit+0x37c/0x3e0 [ 12.012319][ T248] ? wake_up_klogd_work_func+0x90/0x90 [ 12.012324][ T248] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.012329][ T248] _printk+0xc7/0x100 [ 12.012332][ T248] ? snapshot_read.cold+0x21/0x21 [ 12.012339][ T248] ? do_one_initcall+0x113/0x4f0 [ 12.012342][ T248] vlan_proto_init+0x24/0x90 [8021q] [ 12.012345][ T248] do_one_initcall+0x124/0x4f0 [ 12.012348][ T248] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.012352][ T248] ? do_init_module+0xae/0x8a0 [ 12.012355][ T248] ? kasan_unpoison+0x44/0x70 [ 12.012360][ T248] do_init_module+0x2ad/0x8a0 [ 12.012363][ T248] ? lockdep_hardirqs_on+0x91/0x130 [ 12.012368][ T248] ? free_module+0x470/0x470 [ 12.012371][ T248] ? kfree+0x123/0x590 [ 12.012375][ T248] load_module+0x1424/0x1bb0 [ 12.012382][ T248] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.012386][ T248] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.012389][ T248] ? ovl_real_file+0x172/0x1e0 [ 12.012393][ T248] ? backing_file_read_iter+0x541/0x790 [ 12.012396][ T248] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.012400][ T248] init_module_from_file+0x11f/0x1a0 [ 12.012403][ T248] ? __do_sys_init_module+0x220/0x220 [ 12.012411][ T248] ? __rwlock_init+0x150/0x150 [ 12.012414][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 12.012417][ T248] idempotent_init_module+0x37b/0x7c0 [ 12.012421][ T248] ? init_module_from_file+0x1a0/0x1a0 [ 12.012427][ T248] ? rcu_is_watching+0x16/0xd0 [ 12.012429][ T248] ? cap_capable+0x1d7/0x3d0 [ 12.012435][ T248] __x64_sys_finit_module+0xdf/0x190 [ 12.012437][ T248] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.012441][ T248] do_syscall_64+0xff/0x530 [ 12.012443][ T248] ? exc_page_fault+0xee/0x100 [ 12.012445][ T248] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.012448][ T248] RIP: 0033:0x7f5912d8f37d [ 12.012451][ T248] 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 [ 12.012453][ T248] RSP: 002b:00007ffda85bb3d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.012456][ T248] RAX: ffffffffffffffda RBX: 0000557ca804c810 RCX: 00007f5912d8f37d [ 12.012457][ T248] RDX: 0000000000000000 RSI: 0000557c926b8ffd RDI: 0000000000000000 [ 12.012458][ T248] RBP: 00007ffda85bb470 R08: 0000000000000000 R09: 0000000000000000 [ 12.012459][ T248] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557c926b8ffd [ 12.012460][ T248] R13: 0000557ca804c960 R14: 0000000000040000 R15: 0000000000000000 [ 12.012467][ T248] [ 12.413151][ T260] gre: GRE over IPv4 demultiplexer driver [ 12.423188][ T260] ip_gre: GRE over IPv4 tunneling driver [ 14.671119][ T326] GACT probability NOT on [ 14.671139][ T326] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.671142][ T326] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 326, name: modprobe [ 14.671143][ T326] preempt_count: 1, expected: 0 [ 14.671144][ T326] RCU nest depth: 0, expected: 0 [ 14.671145][ T326] locks held by modprobe/326: 4, last CPU#3: [ 14.671148][ T326] #0: ffffffffb6769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.671161][ T326] #1: ffffffffb6769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.671165][ T326] #2: ffffffffb6689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.671169][ T326] #3: ffffffffb6689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.671174][ T326] irq event stamp: 26764 [ 14.671174][ T326] hardirqs last enabled at (26763): [] __down_trylock_console_sem+0x86/0xa0 [ 14.671177][ T326] hardirqs last disabled at (26764): [] console_emit_next_record+0x3d4/0x4c0 [ 14.671179][ T326] softirqs last enabled at (26008): [] handle_softirqs+0x67c/0x900 [ 14.671183][ T326] softirqs last disabled at (25717): [] __irq_exit_rcu+0x145/0x1c0 [ 14.671185][ T326] Preemption disabled at: [ 14.671186][ T326] [] vprintk_emit+0x31b/0x3e0 [ 14.671191][ T326] CPU: 3 UID: 0 PID: 326 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.671195][ T326] Tainted: [W]=WARN [ 14.671196][ T326] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.671198][ T326] Call Trace: [ 14.671199][ T326] [ 14.671201][ T326] dump_stack_lvl+0x6f/0xa0 [ 14.671206][ T326] ? vprintk_emit+0x31b/0x3e0 [ 14.671208][ T326] __might_resched.cold+0x1fe/0x2c1 [ 14.671213][ T326] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.671217][ T326] ? __kmalloc_noprof+0xdb/0x760 [ 14.671222][ T326] __kmalloc_noprof+0x443/0x760 [ 14.671224][ T326] ? alloc_buf.isra.0+0x4b/0x260 [ 14.671230][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 14.671233][ T326] alloc_buf.isra.0+0x4b/0x260 [ 14.671236][ T326] put_chars+0x1e1/0x2f0 [ 14.671238][ T326] ? desc_read_finalized_seq+0x79/0x120 [ 14.671240][ T326] ? __send_to_port+0x420/0x420 [ 14.671243][ T326] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.671247][ T326] ? validate_chain+0x38b/0xc20 [ 14.671251][ T326] hvc_console_print+0x292/0x780 [ 14.671254][ T326] ? __lock_acquire+0x518/0xc20 [ 14.671255][ T326] ? __lock_acquire+0x518/0xc20 [ 14.671260][ T326] ? hvc_write+0x3a0/0x3a0 [ 14.671261][ T326] ? console_emit_next_record+0x1df/0x4c0 [ 14.671265][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.671268][ T326] ? lock_acquire+0x13c/0x160 [ 14.671271][ T326] console_emit_next_record+0x22f/0x4c0 [ 14.671275][ T326] ? devkmsg_read+0x4b0/0x4b0 [ 14.671277][ T326] ? console_flush_one_record+0x106/0x710 [ 14.671280][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.671283][ T326] ? lock_acquire+0x13c/0x160 [ 14.671286][ T326] console_flush_one_record+0x46f/0x710 [ 14.671291][ T326] ? console_emit_next_record+0x4c0/0x4c0 [ 14.671292][ T326] ? __lock_acquire+0x518/0xc20 [ 14.671297][ T326] console_unlock+0xee/0x1f0 [ 14.671301][ T326] ? console_flush_one_record+0x710/0x710 [ 14.671302][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.671305][ T326] ? lock_acquire+0x60/0x160 [ 14.671309][ T326] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.671310][ T326] ? vprintk_emit+0x320/0x3e0 [ 14.671314][ T326] vprintk_emit+0x37c/0x3e0 [ 14.671318][ T326] ? wake_up_klogd_work_func+0x90/0x90 [ 14.671324][ T326] ? gre_exit+0x3f0/0x3f0 [gre] [ 14.671327][ T326] _printk+0xc7/0x100 [ 14.671330][ T326] ? snapshot_read.cold+0x21/0x21 [ 14.671337][ T326] ? do_one_initcall+0x113/0x4f0 [ 14.671340][ T326] gact_init_module+0x15/0x1000 [act_gact] [ 14.671342][ T326] do_one_initcall+0x124/0x4f0 [ 14.671345][ T326] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.671349][ T326] ? do_init_module+0xae/0x8a0 [ 14.671353][ T326] ? kasan_unpoison+0x44/0x70 [ 14.671357][ T326] do_init_module+0x2ad/0x8a0 [ 14.671361][ T326] ? lockdep_hardirqs_on+0x91/0x130 [ 14.671365][ T326] ? free_module+0x470/0x470 [ 14.671369][ T326] ? kfree+0x123/0x590 [ 14.671373][ T326] load_module+0x1424/0x1bb0 [ 14.671380][ T326] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.671384][ T326] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.671387][ T326] ? find_held_lock+0x2b/0x80 [ 14.671389][ T326] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.671393][ T326] init_module_from_file+0x11f/0x1a0 [ 14.671397][ T326] ? __do_sys_init_module+0x220/0x220 [ 14.671405][ T326] ? __rwlock_init+0x150/0x150 [ 14.671408][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 14.671411][ T326] idempotent_init_module+0x37b/0x7c0 [ 14.671415][ T326] ? init_module_from_file+0x1a0/0x1a0 [ 14.671421][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.671423][ T326] ? cap_capable+0x1d7/0x3d0 [ 14.671430][ T326] __x64_sys_finit_module+0xdf/0x190 [ 14.671432][ T326] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.671435][ T326] do_syscall_64+0xff/0x530 [ 14.671437][ T326] ? exc_page_fault+0xee/0x100 [ 14.671440][ T326] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.671442][ T326] RIP: 0033:0x7f2ca5faa37d [ 14.671446][ T326] 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 [ 14.671448][ T326] RSP: 002b:00007ffcfe857738 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.671450][ T326] RAX: ffffffffffffffda RBX: 0000561139cc9810 RCX: 00007f2ca5faa37d [ 14.671452][ T326] RDX: 0000000000000000 RSI: 0000561106046ffd RDI: 0000000000000000 [ 14.671453][ T326] RBP: 00007ffcfe8577d0 R08: 0000000000000000 R09: 0000000000000000 [ 14.671454][ T326] R10: 0000000000000000 R11: 0000000000000246 R12: 0000561106046ffd [ 14.671454][ T326] R13: 0000561139cc9960 R14: 0000000000040000 R15: 0000000000000000 [ 14.671461][ T326]