[ 12.582626][ T268] 8021q: 802.1Q VLAN Support v1.8 [ 12.582647][ T268] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.582649][ T268] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 268, name: modprobe [ 12.582651][ T268] preempt_count: 1, expected: 0 [ 12.582652][ T268] RCU nest depth: 0, expected: 0 [ 12.582653][ T268] locks held by modprobe/268: 4, last CPU#2: [ 12.582656][ T268] #0: ffffffff87169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.582668][ T268] #1: ffffffff87169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.582672][ T268] #2: ffffffff87089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.582676][ T268] #3: ffffffff87089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.582680][ T268] irq event stamp: 27270 [ 12.582681][ T268] hardirqs last enabled at (27269): [] __down_trylock_console_sem+0x86/0xa0 [ 12.582684][ T268] hardirqs last disabled at (27270): [] console_emit_next_record+0x3d4/0x4c0 [ 12.582686][ T268] softirqs last enabled at (23766): [] handle_softirqs+0x67c/0x900 [ 12.582689][ T268] softirqs last disabled at (22631): [] __irq_exit_rcu+0x145/0x1c0 [ 12.582691][ T268] Preemption disabled at: [ 12.582692][ T268] [] vprintk_emit+0x31b/0x3e0 [ 12.582698][ T268] CPU: 2 UID: 0 PID: 268 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.582702][ T268] Tainted: [W]=WARN [ 12.582703][ T268] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.582705][ T268] Call Trace: [ 12.582707][ T268] [ 12.582709][ T268] dump_stack_lvl+0x6f/0xa0 [ 12.582715][ T268] ? vprintk_emit+0x31b/0x3e0 [ 12.582717][ T268] __might_resched.cold+0x1fe/0x2c1 [ 12.582722][ T268] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.582726][ T268] ? __kmalloc_noprof+0xdb/0x760 [ 12.582731][ T268] __kmalloc_noprof+0x443/0x760 [ 12.582734][ T268] ? alloc_buf.isra.0+0x4b/0x260 [ 12.582739][ T268] ? do_raw_spin_unlock+0x59/0x250 [ 12.582742][ T268] alloc_buf.isra.0+0x4b/0x260 [ 12.582745][ T268] put_chars+0x1e1/0x2f0 [ 12.582748][ T268] ? __send_to_port+0x420/0x420 [ 12.582749][ T268] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.582754][ T268] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.582757][ T268] ? validate_chain+0x38b/0xc20 [ 12.582761][ T268] hvc_console_print+0x292/0x780 [ 12.582764][ T268] ? __lock_acquire+0x518/0xc20 [ 12.582769][ T268] ? hvc_write+0x3a0/0x3a0 [ 12.582771][ T268] ? rcu_is_watching+0x16/0xd0 [ 12.582776][ T268] console_emit_next_record+0x22f/0x4c0 [ 12.582780][ T268] ? devkmsg_read+0x4b0/0x4b0 [ 12.582782][ T268] ? console_flush_one_record+0x106/0x710 [ 12.582785][ T268] ? rcu_is_watching+0x16/0xd0 [ 12.582787][ T268] ? lock_acquire+0x13c/0x160 [ 12.582791][ T268] console_flush_one_record+0x46f/0x710 [ 12.582795][ T268] ? console_emit_next_record+0x4c0/0x4c0 [ 12.582797][ T268] ? __lock_acquire+0x518/0xc20 [ 12.582801][ T268] console_unlock+0xee/0x1f0 [ 12.582804][ T268] ? console_flush_one_record+0x710/0x710 [ 12.582806][ T268] ? rcu_is_watching+0x16/0xd0 [ 12.582808][ T268] ? lock_acquire+0x60/0x160 [ 12.582812][ T268] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.582813][ T268] ? vprintk_emit+0x320/0x3e0 [ 12.582817][ T268] vprintk_emit+0x37c/0x3e0 [ 12.582821][ T268] ? wake_up_klogd_work_func+0x90/0x90 [ 12.582826][ T268] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.582830][ T268] _printk+0xc7/0x100 [ 12.582834][ T268] ? snapshot_read.cold+0x21/0x21 [ 12.582840][ T268] ? do_one_initcall+0x113/0x4f0 [ 12.582843][ T268] vlan_proto_init+0x24/0x90 [8021q] [ 12.582846][ T268] do_one_initcall+0x124/0x4f0 [ 12.582849][ T268] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.582854][ T268] ? do_init_module+0xae/0x8a0 [ 12.582857][ T268] ? kasan_unpoison+0x44/0x70 [ 12.582861][ T268] do_init_module+0x2ad/0x8a0 [ 12.582865][ T268] ? lockdep_hardirqs_on+0x91/0x130 [ 12.582870][ T268] ? free_module+0x470/0x470 [ 12.582873][ T268] ? kfree+0x123/0x590 [ 12.582877][ T268] load_module+0x1424/0x1bb0 [ 12.582884][ T268] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.582887][ T268] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.582890][ T268] ? ovl_real_file+0x172/0x1e0 [ 12.582894][ T268] ? backing_file_read_iter+0x541/0x790 [ 12.582897][ T268] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.582901][ T268] init_module_from_file+0x11f/0x1a0 [ 12.582904][ T268] ? __do_sys_init_module+0x220/0x220 [ 12.582912][ T268] ? __rwlock_init+0x150/0x150 [ 12.582915][ T268] ? do_raw_spin_unlock+0x59/0x250 [ 12.582918][ T268] idempotent_init_module+0x37b/0x7c0 [ 12.582922][ T268] ? init_module_from_file+0x1a0/0x1a0 [ 12.582928][ T268] ? rcu_is_watching+0x16/0xd0 [ 12.582930][ T268] ? cap_capable+0x1d7/0x3d0 [ 12.582936][ T268] __x64_sys_finit_module+0xdf/0x190 [ 12.582938][ T268] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.582941][ T268] do_syscall_64+0xff/0x530 [ 12.582943][ T268] ? exc_page_fault+0xee/0x100 [ 12.582946][ T268] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.582948][ T268] RIP: 0033:0x7f812287137d [ 12.582952][ T268] 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.582954][ T268] RSP: 002b:00007ffd8f0a0368 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.582957][ T268] RAX: ffffffffffffffda RBX: 0000558c9adbf810 RCX: 00007f812287137d [ 12.582958][ T268] RDX: 0000000000000000 RSI: 0000558c8f6b8ffd RDI: 0000000000000000 [ 12.582959][ T268] RBP: 00007ffd8f0a0400 R08: 0000000000000000 R09: 0000000000000000 [ 12.582960][ T268] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558c8f6b8ffd [ 12.582960][ T268] R13: 0000558c9adbf960 R14: 0000000000040000 R15: 0000000000000000 [ 12.582967][ T268] [ 12.814464][ T274] gre: GRE over IPv4 demultiplexer driver [ 12.821762][ T274] ip_gre: GRE over IPv4 tunneling driver [ 23.291089][ T384] ip (384) used greatest stack depth: 24240 bytes left [ 23.291108][ T384] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.291111][ T384] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 384, name: ip [ 23.291112][ T384] preempt_count: 2, expected: 0 [ 23.291113][ T384] RCU nest depth: 0, expected: 0 [ 23.291114][ T384] locks held by ip/384: 5, last CPU#3: [ 23.291116][ T384] #0: ffffffff870027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 23.291129][ T384] #1: ffffffff87169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.291134][ T384] #2: ffffffff87169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.291138][ T384] #3: ffffffff87089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.291142][ T384] #4: ffffffff87089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 23.291146][ T384] irq event stamp: 32432 [ 23.291147][ T384] hardirqs last enabled at (32431): [] __down_trylock_console_sem+0x86/0xa0 [ 23.291150][ T384] hardirqs last disabled at (32432): [] console_emit_next_record+0x3d4/0x4c0 [ 23.291152][ T384] softirqs last enabled at (32230): [] handle_softirqs+0x67c/0x900 [ 23.291154][ T384] softirqs last disabled at (31699): [] __irq_exit_rcu+0x145/0x1c0 [ 23.291156][ T384] Preemption disabled at: [ 23.291157][ T384] [<0000000000000000>] 0x0 [ 23.291164][ T384] CPU: 3 UID: 0 PID: 384 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.291167][ T384] Tainted: [W]=WARN [ 23.291168][ T384] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.291170][ T384] Call Trace: [ 23.291172][ T384] [ 23.291173][ T384] dump_stack_lvl+0x6f/0xa0 [ 23.291179][ T384] __might_resched.cold+0x1fe/0x2c1 [ 23.291184][ T384] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.291188][ T384] ? __kmalloc_noprof+0xdb/0x760 [ 23.291193][ T384] __kmalloc_noprof+0x443/0x760 [ 23.291195][ T384] ? alloc_buf.isra.0+0x4b/0x260 [ 23.291201][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 23.291203][ T384] alloc_buf.isra.0+0x4b/0x260 [ 23.291207][ T384] put_chars+0x1e1/0x2f0 [ 23.291210][ T384] ? __send_to_port+0x420/0x420 [ 23.291211][ T384] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.291216][ T384] ? validate_chain+0x38b/0xc20 [ 23.291221][ T384] hvc_console_print+0x292/0x780 [ 23.291227][ T384] ? hvc_write+0x3a0/0x3a0 [ 23.291229][ T384] ? rcu_is_watching+0x16/0xd0 [ 23.291231][ T384] ? lock_acquire+0x13c/0x160 [ 23.291235][ T384] console_emit_next_record+0x22f/0x4c0 [ 23.291239][ T384] ? devkmsg_read+0x4b0/0x4b0 [ 23.291241][ T384] ? console_flush_one_record+0x106/0x710 [ 23.291244][ T384] ? rcu_is_watching+0x16/0xd0 [ 23.291246][ T384] ? lock_acquire+0x13c/0x160 [ 23.291250][ T384] console_flush_one_record+0x46f/0x710 [ 23.291254][ T384] ? console_emit_next_record+0x4c0/0x4c0 [ 23.291256][ T384] ? __lock_acquire+0x518/0xc20 [ 23.291262][ T384] console_unlock+0xee/0x1f0 [ 23.291264][ T384] ? console_flush_one_record+0x710/0x710 [ 23.291266][ T384] ? rcu_is_watching+0x16/0xd0 [ 23.291268][ T384] ? lock_acquire+0x60/0x160 [ 23.291272][ T384] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.291274][ T384] ? vprintk_emit+0x320/0x3e0 [ 23.291277][ T384] vprintk_emit+0x37c/0x3e0 [ 23.291281][ T384] ? wake_up_klogd_work_func+0x90/0x90 [ 23.291284][ T384] ? __lock_acquire+0x518/0xc20 [ 23.291288][ T384] _printk+0xc7/0x100 [ 23.291292][ T384] ? snapshot_read.cold+0x21/0x21 [ 23.291295][ T384] ? do_raw_spin_lock+0x131/0x280 [ 23.291300][ T384] ? __rwlock_init+0x150/0x150 [ 23.291304][ T384] ? do_raw_spin_lock+0x131/0x280 [ 23.291307][ T384] do_exit.cold+0x82/0x9c [ 23.291311][ T384] ? exit_notify+0x890/0x890 [ 23.291313][ T384] ? __lock_release.isra.0+0x69/0x1a0 [ 23.291315][ T384] ? rcu_is_watching+0x16/0xd0 [ 23.291320][ T384] do_group_exit+0xb8/0x370 [ 23.291322][ T384] __x64_sys_exit_group+0x3c/0x50 [ 23.291324][ T384] x64_sys_call+0x1567/0x1570 [ 23.291326][ T384] do_syscall_64+0xff/0x530 [ 23.291329][ T384] ? exc_page_fault+0xee/0x100 [ 23.291333][ T384] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.291335][ T384] RIP: 0033:0x7f848152e1b8 [ 23.291337][ T384] Code: Unable to access opcode bytes at 0x7f848152e18e. [ 23.291338][ T384] RSP: 002b:00007ffe106b1318 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 23.291341][ T384] RAX: ffffffffffffffda RBX: 00007f848165ef88 RCX: 00007f848152e1b8 [ 23.291342][ T384] RDX: 00007f8481278fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 23.291343][ T384] RBP: 00007ffe106b1370 R08: 0000000000000000 R09: 0000000000000060 [ 23.291344][ T384] R10: 00007ffe106b1130 R11: 0000000000000246 R12: 0000000000000001 [ 23.291344][ T384] R13: 0000000000000000 R14: 00007f848165d680 R15: 00007f848165efa0 [ 23.291351][ T384]