Activity log for bug #1729412

Date Who What changed Old value New value Message
2017-11-01 19:05:11 David Coronel bug added bug
2017-11-01 19:07:27 David Coronel bug added subscriber Leann Ogasawara
2017-11-01 19:09:46 Leann Ogasawara bug added subscriber Marcelo Cerri
2017-11-01 19:10:37 Leann Ogasawara bug added subscriber Canonical Kernel Distro Team
2017-11-01 20:10:09 Leann Ogasawara bug added subscriber Joshua R. Poulson
2017-11-02 16:19:49 Joshua R. Poulson description <Description to be filled in by Microsoft> This request is based on a patch series from linux-next: commit ab7ff471aa5db670197070760f022622793da7e5 Author: Marcelo Henrique Cerri <marcelo.cerri@canonical.com> Date: Thu Oct 5 10:34:29 2017 -0300 x86/hyperv: Fix hypercalls with extended CPU ranges for TLB flushing Do not consider the fixed size of hv_vp_set when passing the variable header size to hv_do_rep_hypercall(). The Hyper-V hypervisor specification states that for a hypercall with a variable header only the size of the variable portion should be supplied via the input control. For HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX/LIST_EX calls that means the fixed portion of hv_vp_set should not be considered. That fixes random failures of some applications that are unexpectedly killed with SIGBUS or SIGSEGV. commit 60d73a7c96601434dfdb56d5b9167ff3b850d8d7 Author: Vitaly Kuznetsov <vkuznets@redhat.com> Date: Thu Oct 5 13:39:24 2017 +0200 x86/hyperv: Don't use percpu areas for pcpu_flush/pcpu_flush_ex structures hv_do_hypercall() does virt_to_phys() translation and with some configs (CONFIG_SLAB) this doesn't work for percpu areas, we pass wrong memory to hypervisor and get #GP. We could use working slow_virt_to_phys() instead but doing so kills the performance. Move pcpu_flush/pcpu_flush_ex structures out of percpu areas and allocate memory on first call. The additional level of indirection gives us a small performance penalty, in future we may consider introducing hypercall functions which avoid virt_to_phys() conversion and cache physical addresses of pcpu_flush/pcpu_flush_ex structures somewhere. commit a3b7424392924e778b608e30ee321f7b10cc94b8 Author: Vitaly Kuznetsov <vkuznets@redhat.com> Date: Fri Oct 6 17:48:54 2017 +0200 x86/hyperv: Clear vCPU banks between calls to avoid flushing unneeded vCPUs hv_flush_pcpu_ex structures are not cleared between calls for performance reasons (they're variable size up to PAGE_SIZE each) but we must clear hv_vp_set.bank_contents part of it to avoid flushing unneeded vCPUs. The rest of the structure is formed correctly. To do the clearing in an efficient way stash the maximum possible vCPU number (this may differ from Linux CPU id).
2017-11-02 16:20:21 Launchpad Janitor linux-azure (Ubuntu): status New Confirmed
2017-11-18 01:42:04 Marcelo Cerri linux-azure (Ubuntu): status Confirmed In Progress
2017-11-18 01:42:06 Marcelo Cerri linux-azure (Ubuntu): assignee Marcelo Cerri (mhcerri)
2017-11-18 01:42:12 Marcelo Cerri nominated for series Ubuntu Xenial
2017-11-20 20:21:11 Marcelo Cerri information type Private Public
2017-11-21 13:57:52 Stefan Bader bug task added linux-azure (Ubuntu Xenial)
2017-11-22 12:03:57 Marcelo Cerri linux-azure (Ubuntu Xenial): status New In Progress
2017-11-22 12:03:59 Marcelo Cerri linux-azure (Ubuntu Xenial): assignee Marcelo Cerri (mhcerri)
2017-11-22 12:12:01 Marcelo Cerri linux-azure (Ubuntu): status In Progress Fix Committed
2017-11-22 12:12:03 Marcelo Cerri linux-azure (Ubuntu Xenial): status In Progress Fix Committed
2018-01-09 19:07:33 Launchpad Janitor linux-azure (Ubuntu Xenial): status Fix Committed Fix Released
2018-01-09 19:07:33 Launchpad Janitor cve linked 2014-9900
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-1000251
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-1000252
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-1000405
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-16995
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-17862
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-17863
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-17864
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-5123
2018-01-09 19:07:33 Launchpad Janitor cve linked 2017-5754