[ 13.066473][ T276] 8021q: 802.1Q VLAN Support v1.8 [ 13.066493][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.066495][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: modprobe [ 13.066497][ T276] preempt_count: 1, expected: 0 [ 13.066498][ T276] RCU nest depth: 0, expected: 0 [ 13.066499][ T276] locks held by modprobe/276: 4, last CPU#3: [ 13.066501][ T276] #0: ffffffff8b769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.066513][ T276] #1: ffffffff8b769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.066517][ T276] #2: ffffffff8b689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.066521][ T276] #3: ffffffff8b689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.066525][ T276] irq event stamp: 28564 [ 13.066526][ T276] hardirqs last enabled at (28563): [] __down_trylock_console_sem+0x86/0xa0 [ 13.066529][ T276] hardirqs last disabled at (28564): [] console_emit_next_record+0x3d4/0x4c0 [ 13.066531][ T276] softirqs last enabled at (26240): [] handle_softirqs+0x67c/0x900 [ 13.066534][ T276] softirqs last disabled at (25817): [] __irq_exit_rcu+0x145/0x1c0 [ 13.066536][ T276] Preemption disabled at: [ 13.066537][ T276] [] vprintk_emit+0x31b/0x3e0 [ 13.066543][ T276] CPU: 3 UID: 0 PID: 276 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.066546][ T276] Tainted: [W]=WARN [ 13.066547][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.066549][ T276] Call Trace: [ 13.066550][ T276] [ 13.066552][ T276] dump_stack_lvl+0x6f/0xa0 [ 13.066557][ T276] ? vprintk_emit+0x31b/0x3e0 [ 13.066560][ T276] __might_resched.cold+0x1fe/0x2c1 [ 13.066564][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.066568][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 13.066573][ T276] __kmalloc_noprof+0x443/0x760 [ 13.066575][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 13.066581][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 13.066584][ T276] alloc_buf.isra.0+0x4b/0x260 [ 13.066587][ T276] put_chars+0x1e1/0x2f0 [ 13.066590][ T276] ? __send_to_port+0x420/0x420 [ 13.066591][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.066596][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.066598][ T276] ? validate_chain+0x38b/0xc20 [ 13.066602][ T276] hvc_console_print+0x292/0x780 [ 13.066605][ T276] ? __lock_acquire+0x518/0xc20 [ 13.066610][ T276] ? hvc_write+0x3a0/0x3a0 [ 13.066612][ T276] ? rcu_is_watching+0x16/0xd0 [ 13.066617][ T276] console_emit_next_record+0x22f/0x4c0 [ 13.066621][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 13.066623][ T276] ? console_flush_one_record+0x106/0x710 [ 13.066626][ T276] ? rcu_is_watching+0x16/0xd0 [ 13.066628][ T276] ? lock_acquire+0x13c/0x160 [ 13.066632][ T276] console_flush_one_record+0x46f/0x710 [ 13.066636][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 13.066637][ T276] ? __lock_acquire+0x518/0xc20 [ 13.066642][ T276] console_unlock+0xee/0x1f0 [ 13.066645][ T276] ? console_flush_one_record+0x710/0x710 [ 13.066647][ T276] ? rcu_is_watching+0x16/0xd0 [ 13.066649][ T276] ? lock_acquire+0x60/0x160 [ 13.066652][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.066654][ T276] ? vprintk_emit+0x320/0x3e0 [ 13.066657][ T276] vprintk_emit+0x37c/0x3e0 [ 13.066661][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 13.066667][ T276] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 13.066671][ T276] _printk+0xc7/0x100 [ 13.066675][ T276] ? snapshot_read.cold+0x21/0x21 [ 13.066683][ T276] ? do_one_initcall+0x113/0x4f0 [ 13.066686][ T276] vlan_proto_init+0x24/0x90 [8021q] [ 13.066689][ T276] do_one_initcall+0x124/0x4f0 [ 13.066692][ T276] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 13.066696][ T276] ? do_init_module+0xae/0x8a0 [ 13.066699][ T276] ? kasan_unpoison+0x44/0x70 [ 13.066703][ T276] do_init_module+0x2ad/0x8a0 [ 13.066707][ T276] ? lockdep_hardirqs_on+0x91/0x130 [ 13.066711][ T276] ? free_module+0x470/0x470 [ 13.066714][ T276] ? kfree+0x123/0x590 [ 13.066718][ T276] load_module+0x1424/0x1bb0 [ 13.066725][ T276] ? layout_and_allocate.isra.0+0x680/0x680 [ 13.066729][ T276] ? __ia32_sys_fsconfig+0x180/0x180 [ 13.066732][ T276] ? ovl_real_file+0x172/0x1e0 [ 13.066736][ T276] ? backing_file_read_iter+0x541/0x790 [ 13.066739][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.066743][ T276] init_module_from_file+0x11f/0x1a0 [ 13.066746][ T276] ? __do_sys_init_module+0x220/0x220 [ 13.066753][ T276] ? __rwlock_init+0x150/0x150 [ 13.066757][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 13.066760][ T276] idempotent_init_module+0x37b/0x7c0 [ 13.066763][ T276] ? init_module_from_file+0x1a0/0x1a0 [ 13.066769][ T276] ? rcu_is_watching+0x16/0xd0 [ 13.066771][ T276] ? cap_capable+0x1d7/0x3d0 [ 13.066777][ T276] __x64_sys_finit_module+0xdf/0x190 [ 13.066780][ T276] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.066783][ T276] do_syscall_64+0xff/0x530 [ 13.066785][ T276] ? exc_page_fault+0xee/0x100 [ 13.066787][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.066790][ T276] RIP: 0033:0x7fd1fde9737d [ 13.066793][ T276] 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 [ 13.066795][ T276] RSP: 002b:00007fffc09ed498 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 13.066798][ T276] RAX: ffffffffffffffda RBX: 00005641d5aef810 RCX: 00007fd1fde9737d [ 13.066799][ T276] RDX: 0000000000000000 RSI: 00005641cac90ffd RDI: 0000000000000000 [ 13.066800][ T276] RBP: 00007fffc09ed530 R08: 0000000000000000 R09: 0000000000000000 [ 13.066801][ T276] R10: 0000000000000000 R11: 0000000000000246 R12: 00005641cac90ffd [ 13.066801][ T276] R13: 00005641d5aef960 R14: 0000000000040000 R15: 0000000000000000 [ 13.066808][ T276] [ 13.227624][ T281] gre: GRE over IPv4 demultiplexer driver [ 13.275135][ T281] ip6_gre: GRE over IPv6 tunneling driver [ 20.210635][ T366] GACT probability NOT on [ 20.210655][ T366] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.210658][ T366] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 366, name: modprobe [ 20.210660][ T366] preempt_count: 1, expected: 0 [ 20.210660][ T366] RCU nest depth: 0, expected: 0 [ 20.210662][ T366] locks held by modprobe/366: 4, last CPU#3: [ 20.210664][ T366] #0: ffffffff8b769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.210677][ T366] #1: ffffffff8b769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.210683][ T366] #2: ffffffff8b689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.210687][ T366] #3: ffffffff8b689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.210691][ T366] irq event stamp: 17238 [ 20.210692][ T366] hardirqs last enabled at (17237): [] __down_trylock_console_sem+0x86/0xa0 [ 20.210694][ T366] hardirqs last disabled at (17238): [] console_emit_next_record+0x3d4/0x4c0 [ 20.210696][ T366] softirqs last enabled at (16474): [] handle_softirqs+0x67c/0x900 [ 20.210699][ T366] softirqs last disabled at (15281): [] __irq_exit_rcu+0x145/0x1c0 [ 20.210702][ T366] Preemption disabled at: [ 20.210702][ T366] [] vprintk_emit+0x31b/0x3e0 [ 20.210709][ T366] CPU: 3 UID: 0 PID: 366 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.210712][ T366] Tainted: [W]=WARN [ 20.210713][ T366] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.210715][ T366] Call Trace: [ 20.210716][ T366] [ 20.210718][ T366] dump_stack_lvl+0x6f/0xa0 [ 20.210724][ T366] ? vprintk_emit+0x31b/0x3e0 [ 20.210726][ T366] __might_resched.cold+0x1fe/0x2c1 [ 20.210731][ T366] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.210734][ T366] ? __kmalloc_noprof+0xdb/0x760 [ 20.210740][ T366] __kmalloc_noprof+0x443/0x760 [ 20.210742][ T366] ? alloc_buf.isra.0+0x4b/0x260 [ 20.210747][ T366] ? do_raw_spin_unlock+0x59/0x250 [ 20.210750][ T366] alloc_buf.isra.0+0x4b/0x260 [ 20.210754][ T366] put_chars+0x1e1/0x2f0 [ 20.210755][ T366] ? desc_read_finalized_seq+0x79/0x120 [ 20.210757][ T366] ? __send_to_port+0x420/0x420 [ 20.210760][ T366] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.210764][ T366] ? validate_chain+0x38b/0xc20 [ 20.210768][ T366] hvc_console_print+0x292/0x780 [ 20.210770][ T366] ? __lock_acquire+0x518/0xc20 [ 20.210772][ T366] ? __lock_acquire+0x518/0xc20 [ 20.210776][ T366] ? hvc_write+0x3a0/0x3a0 [ 20.210777][ T366] ? console_emit_next_record+0x1df/0x4c0 [ 20.210780][ T366] ? rcu_is_watching+0x16/0xd0 [ 20.210783][ T366] ? lock_acquire+0x13c/0x160 [ 20.210787][ T366] console_emit_next_record+0x22f/0x4c0 [ 20.210791][ T366] ? devkmsg_read+0x4b0/0x4b0 [ 20.210792][ T366] ? console_flush_one_record+0x106/0x710 [ 20.210795][ T366] ? rcu_is_watching+0x16/0xd0 [ 20.210798][ T366] ? lock_acquire+0x13c/0x160 [ 20.210801][ T366] console_flush_one_record+0x46f/0x710 [ 20.210805][ T366] ? console_emit_next_record+0x4c0/0x4c0 [ 20.210807][ T366] ? __lock_acquire+0x518/0xc20 [ 20.210812][ T366] console_unlock+0xee/0x1f0 [ 20.210815][ T366] ? console_flush_one_record+0x710/0x710 [ 20.210816][ T366] ? rcu_is_watching+0x16/0xd0 [ 20.210819][ T366] ? lock_acquire+0x60/0x160 [ 20.210822][ T366] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.210824][ T366] ? vprintk_emit+0x320/0x3e0 [ 20.210827][ T366] vprintk_emit+0x37c/0x3e0 [ 20.210831][ T366] ? wake_up_klogd_work_func+0x90/0x90 [ 20.210837][ T366] ? gre_exit+0x3f0/0x3f0 [gre] [ 20.210840][ T366] _printk+0xc7/0x100 [ 20.210844][ T366] ? snapshot_read.cold+0x21/0x21 [ 20.210850][ T366] ? do_one_initcall+0x113/0x4f0 [ 20.210853][ T366] gact_init_module+0x15/0x1000 [act_gact] [ 20.210856][ T366] do_one_initcall+0x124/0x4f0 [ 20.210859][ T366] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 20.210863][ T366] ? do_init_module+0xae/0x8a0 [ 20.210866][ T366] ? kasan_unpoison+0x44/0x70 [ 20.210871][ T366] do_init_module+0x2ad/0x8a0 [ 20.210874][ T366] ? lockdep_hardirqs_on+0x91/0x130 [ 20.210878][ T366] ? free_module+0x470/0x470 [ 20.210881][ T366] ? kfree+0x123/0x590 [ 20.210885][ T366] load_module+0x1424/0x1bb0 [ 20.210892][ T366] ? layout_and_allocate.isra.0+0x680/0x680 [ 20.210896][ T366] ? __ia32_sys_fsconfig+0x180/0x180 [ 20.210898][ T366] ? ovl_real_file+0x172/0x1e0 [ 20.210903][ T366] ? backing_file_read_iter+0x541/0x790 [ 20.210906][ T366] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.210909][ T366] init_module_from_file+0x11f/0x1a0 [ 20.210912][ T366] ? __do_sys_init_module+0x220/0x220 [ 20.210920][ T366] ? __rwlock_init+0x150/0x150 [ 20.210924][ T366] ? do_raw_spin_unlock+0x59/0x250 [ 20.210926][ T366] idempotent_init_module+0x37b/0x7c0 [ 20.210930][ T366] ? init_module_from_file+0x1a0/0x1a0 [ 20.210936][ T366] ? rcu_is_watching+0x16/0xd0 [ 20.210938][ T366] ? cap_capable+0x1d7/0x3d0 [ 20.210943][ T366] __x64_sys_finit_module+0xdf/0x190 [ 20.210945][ T366] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.210949][ T366] do_syscall_64+0xff/0x530 [ 20.210951][ T366] ? exc_page_fault+0xee/0x100 [ 20.210954][ T366] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.210956][ T366] RIP: 0033:0x7f5befd8d37d [ 20.210959][ T366] 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.210961][ T366] RSP: 002b:00007ffcc1ecc938 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.210964][ T366] RAX: ffffffffffffffda RBX: 000055e9a071c810 RCX: 00007f5befd8d37d [ 20.210965][ T366] RDX: 0000000000000000 RSI: 000055e9784b6ffd RDI: 0000000000000000 [ 20.210966][ T366] RBP: 00007ffcc1ecc9d0 R08: 0000000000000000 R09: 0000000000000000 [ 20.210967][ T366] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e9784b6ffd [ 20.210968][ T366] R13: 000055e9a071c960 R14: 0000000000040000 R15: 0000000000000000 [ 20.210974][ T366]