Xen Project 4.9 Series


Xen Project 4.9.0

Release Information

The Xen Project 4.9 release incorporates many new features and improvements to existing features.


For Xen Project 4.9 documentation see

Contribution Acknowledgements

For a breakdown of contributions to Xen 4.9 check out the Xen Project 4.9 Acknowledgements.

Xen Project 4.9.1

We are pleased to announce the release of Xen 4.9.1. This is available immediately from its git repository 

https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4.9 (tag RELEASE-4.9.1) or from this download page

This release contains the following bug-fixes and improvements in the Xen Project hypervisor:

  • ae34ab8c5d: update Xen version to 4.9.1 [Jan Beulich]
  • d6ce860bbd: x86/shadow: correct SH_LINEAR mapping detection in sh_guess_wrmap() [Andrew Cooper]
  • 2098a2d8fe: x86: don't wrongly trigger linear page table assertion [Jan Beulich]
  • ddfca40056: x86/mm: fix race condition in modify_xen_mappings() [Yu Zhang]
  • 80eeaab09a: x86/mm: fix race conditions in map_pages_to_xen() [Min He]
  • a0bc38e063: x86/hvm: do not register hpet mmio during s3 cycle [Eric Chanudet]
  • 2224080ea1: x86/mm: Make PV linear pagetables optional [George Dunlap]
  • 533b9e4fba: x86/vpmu: Remove unnecessary call to do_interrupt() [Boris Ostrovsky]
  • f8732452d2: x86: fix asm() constraint for GS selector update [Jan Beulich]
  • 6453a6a3f2: x86: don't latch wrong (stale) GS base addresses [Jan Beulich]
  • 1588e534c2: x86: also show FS/GS base addresses when dumping registers [Jan Beulich]
  • df07ad1315: x86: fix GS-base-dirty determination [Jan Beulich]
  • 71648cba26: x86/boot: fix early error output [David Esler]
  • 61b6df9d82: VMX: PLATFORM_INFO MSR is r/o [Jan Beulich]
  • e82f167c0f: x86/vvmx: Fix WRMSR interception of VMX MSRs [Andrew Cooper]
  • cfdd991ff3: x86: avoid #GP for PV guest MSR accesses [Jan Beulich]
  • 155e699a42: x86: fix do_update_va_mapping_otherdomain() wrt translated domains [Jan Beulich]
  • 8fbdbce16c: x86: request page table page-in for the correct domain [Jan Beulich]
  • a8377a3821: fuzz/x86_emulate: clear errors after each iteration [George Dunlap]
  • 0fee1b0382: fuzz/x86_emulate: actually use cpu_regs input [George Dunlap]
  • 02188ac44f: x86emul/fuzz: add rudimentary limit checking [Jan Beulich]
  • de76106618: xen/domctl: Fix Xen heap leak via XEN_DOMCTL_getvcpucontext [Andrew Cooper]
  • 0d67373c69: x86/PV: fix/generalize guest nul selector handling [Jan Beulich]
  • 36741c19da: x86/msr: Correct the definition of MSR_IA32_APICBASE_BASE [Andrew Cooper]
  • 53d01aaa64: x86/svm: Fix a livelock when trying to run shadowed unpaged guests [Andrew Cooper]
  • 5237ff8995: x86/hvm/dmop: fix EFAULT condition [Wei Liu]
  • 174a569070: gnttab: fix pin count / page reference race [Jan Beulich]
  • 2040ac14e4: tools/libxc/xc_dom_arm: add missing variable initialization [Bernd Kuhls]
  • de38e28cc2: x86/cpu: Fix IST handling during PCPU bringup [Andrew Cooper]
  • 7fe0a24528: x86/shadow: Don't create self-linear shadow mappings for 4-level translated guests [Andrew Cooper]
  • a2af47d9eb: x86: don't allow page_unlock() to drop the last type reference [Jan Beulich]
  • 61a2d31481: x86: don't store possibly stale TLB flush time stamp [Jan Beulich]
  • c2b0a92d23: x86: limit linear page table use to a single level [Jan Beulich]
  • d8426300db: x86/HVM: prefill partially used variable on emulation paths [Jan Beulich]
  • ef61bcff39: x86/ioreq server: correctly handle bogus XEN_DMOP_{,un}map_io_range_to_ioreq_server arguments [Vitaly Kuznetsov]
  • 44ceb192b5: x86/FLASK: fix unmap-domain-IRQ XSM hook [Jan Beulich]
  • ae45442964: x86/IRQ: conditionally preserve irq pirq mapping on map error paths [Jan Beulich]
  • 784afd92e9: x86/MSI: disallow redundant enabling [Jan Beulich]
  • 22032b2d7e: x86: enforce proper privilege when (un)mapping pIRQ-s [Jan Beulich]
  • 58da67fb92: x86: don't allow MSI pIRQ mapping on unowned device [Jan Beulich]
  • d1b64ccd96: xen/arm: p2m: Read *_mapped_gfn with the p2m lock taken [Julien Grall]
  • 9cde7a833d: xen/arm: Fix the issue in cmp_mmio_handler used in find_mmio_handler [Bhupinder Thakur]
  • 1cdcb36701: xen/arm: Correctly report the memory region in the dummy NUMA helpers [Julien Grall]
  • 84c039eaf7: xen/page_alloc: Cover memory unreserved after boot in first_valid_mfn [Julien Grall]
  • b244ac995c: x86/HVM: correct repeat count update in linear->phys translation [Jan Beulich]
  • 612044a809: x86: introduce and use setup_force_cpu_cap() [Jan Beulich]
  • e8fd372350: x86emul: correct VEX.L handling for VCVT{,T}S{S,D}2SI [Jan Beulich]
  • a568e25a38: x86emul: correct VEX.W handling for non-64-bit VPINSRD [Jan Beulich]
  • 8fef83e60b: x86/emul: Fix the handling of unimplemented Grp7 instructions [Andrew Cooper]
  • 478e40cd64: VT-d: use correct BDF for VF to search VT-d unit [Chao Gao]
  • 22ea7316e5: hvmloader: use base instead of pci_mem_start for find_next_rmrr() [Xiong Zhang]
  • e7703a2e86: x86/efi: don't write relocations in efi_arch_relocate_image() first pass [David Woodhouse]
  • 91ded3b748: x86: check for allocation errors in modify_xen_mappings() [Jan Beulich]
  • 2cc3d32f40: gnttab: also validate PTE permissions upon destroy/replace [Jan Beulich]
  • 79775f57d3: tools/xenstore: dont unlink connection object twice [Juergen Gross]
  • 43cb0c4ee4: grant_table: fix GNTTABOP_cache_flush handling [Andrew Cooper]
  • 4821228a73: xen/mm: make sure node is less than MAX_NUMNODES [George Dunlap]
  • d23bcc5ae7: gnttab: avoid spurious maptrack handle allocation failures [Jan Beulich]
  • 308654c765: cpufreq: only stop ondemand governor if already started [Christopher Clark]
  • 6fd84b3e2b: VT-d PI: disable VT-d PI when CPU-side PI isn't enabled [Chao Gao]
  • 89b36cc68d: VT-d: don't panic/warn on iommu=no-igfx [Rusty Bird]
  • a9ecd604b1: docs: correct paragraph indention in xen-tscmode [Olaf Hering]
  • 798f6c91b7: docs: replace xm with xl in xen-tscmode [Olaf Hering]
  • 6508278f96: x86/hvm: Fixes to hvmemul_insn_fetch() [Andrew Cooper]
  • 5587d9af0d: rombios: prevent building with PIC/PIE [Olaf Hering]
  • 527fc5c31b: stop_machine: fill fn_result only in case of error [Gregory Herrero]
  • 5ff1de3e4f: arm/mm: release grant lock on xenmem_add_to_physmap_one() error paths [Jan Beulich]
  • 692ed826af: travis: install ghostscript [Wei Liu]
  • 9bf14bbf99: gnttab: fix "don't use possibly unbounded tail calls" [Jan Beulich]
  • c57b1f959b: gnttab: fix transitive grant handling [Jan Beulich]
  • 6b147fd3de: gnttab: don't use possibly unbounded tail calls [Jan Beulich]
  • 0e186e33c0: add branch maintainership info [Jan Beulich]
  • afc5ebfb5d: gnttab: correct pin status fixup for copy [Jan Beulich]
  • 266fc0ea45: gnttab: split maptrack lock to make it fulfill its purpose again [Jan Beulich]
  • 46981065bd: x86/grant: disallow misaligned PTEs [Andrew Cooper]
  • f4f02f121f: tools/libxl: Fix a segment fault when mmio_hole is set in hvm.cfg [Xiong Zhang]
  • 0fada059a7: Merge staging-4.9 into 4.9.0 release [Ian Jackson]
  • ab4eb6ced9: xen/Makefile: Bump version to 4.9.1-pre [Ian Jackson]
  • b29ecc7f75: xen/livepatch: Don't crash on encountering STN_UNDEF relocations [Andrew Cooper]
  • a11d14bf26: xen/livepatch: Use zeroed memory allocations for arrays [Andrew Cooper]
  • 107401ece2: xen/livepatch: Clean up arch relocation handling [Andrew Cooper]
  • 1b7834a780: docs: improve ARM passthrough doc [Stefano Stabellini]

This release contains no changes to qemu-traditional.

This release also contains changes to qemu-upstream, whose changelogs we do not list here as it contains many changes that are not directly releated to the Xen Project Hypervisor and thus this release. However, you can check https://xenbits.xenproject.org/gitweb/?p=qemu-xen.git;a=shortlog (between tags qemu-xen-4.9.0 and qemu-xen-4.9.1).

This release, which includes source code for qemu-traditional and qemu-upstream, contains the following security fixes. 

XSA Xen qemu-traditional qemu-upstream 
XSA-226 Applied N/A N/A
XSA-227 Applied N/A N/A
XSA-228 Applied N/A N/A
XSA-229 N/A (Linux only)... ... ...
XSA-230 Applied N/A N/A
XSA-231 Applied N/A N/A
XSA-232 Applied N/A N/A
XSA-233 Applied N/A N/A
XSA-234 Applied N/A N/A
XSA-235 Applied N/A N/A
XSA-236 Applied N/A N/A
XSA-237 Applied N/A N/A
XSA-238 Applied N/A N/A
XSA-239 Applied N/A N/A
XSA-240 Applied N/A N/A
XSA-241 Applied N/A N/A
XSA-242 Applied N/A N/A
XSA-243 Applied N/A N/A
XSA-244 Applied N/A N/A
XSA-245 Applied N/A N/A

See https://xenbits.xenproject.org/xsa/ for details related to Xen Project security advisories.

We recommend all users of the 4.9 stable series to update to this latest point release.

Xen Project 4.9.2

We are pleased to announce the release of Xen 4.9.2. This is available immediately from its git repository 

https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4.9 (tag RELEASE-4.9.2) or from this download page

This release contains the following bug-fixes and improvements in the Xen Project hypervisor:

  • ad4fefdd08: update Xen version to 4.9.2 [Jan Beulich]
  • 6f8eed4d93: x86/vlapic: clear TMR bit upon acceptance of edge-triggered interrupt to IRR [Liran Alon]
  • 3620279d77: cpufreq/ondemand: fix race while offlining CPU [Jan Beulich]
  • 29f68405be: x86: remove CR reads from exit-to-guest path [Jan Beulich]
  • 87b52bf4f1: x86: slightly reduce Meltdown band-aid overhead [Jan Beulich]
  • c8a56c786a: x86/xpti: don't map stack guard pages [Jan Beulich]
  • f7b80d2bcc: x86/xpti: Hide almost all of .text and all .data/.rodata/.bss mappings [Andrew Cooper]
  • 83419d4912: x86: ignore guest microcode loading attempts [Jan Beulich]
  • 6b1a2704e7: libxl/arm: Fix build on arm64 + acpi [Daniel Sabogal]
  • fb7a786c73: x86/PV: fix off-by-one in I/O bitmap limit check [Jan Beulich]
  • 88b67ff65e: x86/HVM: don't give the wrong impression of WRMSR succeeding [Jan Beulich]
  • 7bd09b1c84: grant: Release domain lock on 'map' path in cache_flush [George Dunlap]
  • 8262d30abc: x86/pv: Avoid leaking other guests' MSR_TSC_AUX values into PV context [Andrew Cooper]
  • 56d4eb8ed8: x86/nmi: start NMI watchdog on CPU0 after SMP bootstrap [Igor Druzhinin]
  • 8ea3f05c45: x86/srat: fix end calculation in nodes_cover_memory() [Jan Beulich]
  • e3905b0aeb: x86/hvm/dmop: only copy what is needed to/from the guest [Ross Lagerwall]
  • 1ab9bae78d: x86/entry: Use 32bit xors rater than 64bit xors for clearing GPRs [Andrew Cooper]
  • d4f9c4155c: x86/emul: Fix the decoding of segment overrides in 64bit mode [Andrew Cooper]
  • 072ede467c: x86/srat: fix the end pfn check in valid_numa_range() [Haozhong Zhang]
  • c2525d9c71: x86: reduce Meltdown band-aid IPI overhead [Jan Beulich]
  • 1a8c1180f0: x86/NMI: invert condition in nmi_show_execution_state() [Jan Beulich]
  • be5de7ad42: x86/emul: Fix the emulation of invlpga [Andrew Cooper]
  • ad95c29926: xen/arm: Flush TLBs before turning on the MMU to avoid stale entries [Julien Grall]
  • 0844e62c2f: xen/arm: vgic: Make sure the number of SPIs is a multiple of 32 [Julien Grall]
  • dc3efc2d2b: tools/libxc: Fix restoration of PV MSRs after migrate [Andrew Cooper]
  • 395cb3f9b4: x86/hvm: Disallow the creation of HVM domains without Local APIC emulation [Andrew Cooper]
  • e9bff96bd7: gnttab: don't blindly free status pages upon version change [Jan Beulich]
  • 8f42f0a4f9: gnttab/ARM: don't corrupt shared GFN array [Jan Beulich]
  • aafb8ac8b5: memory: don't implicitly unpin for decrease-reservation [Jan Beulich]
  • 88fbabc491: x86/PV: correctly count MSRs to migrate [Jan Beulich]
  • 3b10e123e9: xen/arm: cpuerrata: Actually check errata on non-boot CPUs [Julien Grall]
  • 7d5f8b36be: x86/idle: Clear SPEC_CTRL while idle [Andrew Cooper]
  • 59999aecda: x86/cpuid: Offer Indirect Branch Controls to guests [Andrew Cooper]
  • 79d5197952: x86/ctxt: Issue a speculation barrier between vcpu contexts [Andrew Cooper]
  • 68c76d71e0: x86/boot: Calculate the most appropriate BTI mitigation to use [Andrew Cooper]
  • bda328363f: x86/entry: Avoid using alternatives in NMI/#MC paths [Andrew Cooper]
  • a24b7553f9: x86/entry: Organise the clobbering of the RSB/RAS on entry to Xen [Andrew Cooper]
  • 13a30ba54c: x86/entry: Organise the use of MSR_SPEC_CTRL at each entry/exit point [Andrew Cooper]
  • 0177bf5d25: x86/hvm: Permit guests direct access to MSR_{SPEC_CTRL,PRED_CMD} [Andrew Cooper]
  • 2fdee60ec1: x86/migrate: Move MSR_SPEC_CTRL on migrate [Andrew Cooper]
  • 186c3c6e94: x86: Avoid corruption on migrate for vcpus using CPUID Faulting [Andrew Cooper]
  • e57d4d043b: x86/msr: Emulation of MSR_{SPEC_CTRL,PRED_CMD} for guests [Andrew Cooper]
  • 1dcfd39519: x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests [Andrew Cooper]
  • f11cf29f27: x86: fix GET_STACK_END [Wei Liu]
  • bd53bc8506: x86/acpi: process softirqs while printing CPU ACPI data [Roger Pau Monné]
  • 764804938c: x86/cmdline: Introduce a command line option to disable IBRS/IBPB, STIBP and IBPB [Andrew Cooper]
  • 602633eb73: x86/feature: Definitions for Indirect Branch Controls [Andrew Cooper]
  • 6fef46d6fb: x86: Introduce alternative indirect thunks [Andrew Cooper]
  • 30b99299d6: x86/amd: Try to set lfence as being Dispatch Serialising [Andrew Cooper]
  • 447dce891f: x86/boot: Report details of speculative mitigations [Andrew Cooper]
  • 29df8a5c4d: x86: Support indirect thunks from assembly code [Andrew Cooper]
  • 6403b5048d: x86: Support compiling with indirect branch thunks [Andrew Cooper]
  • 628b6af24f: common/wait: Clarifications to wait infrastructure [Andrew Cooper]
  • 237a58b1d0: x86/entry: Erase guest GPR state on entry to Xen [Andrew Cooper]
  • f0f7ce5e82: x86/hvm: Use SAVE_ALL to construct the cpu_user_regs frame after VMExit [Andrew Cooper]
  • d6e972508e: x86/entry: Rearrange RESTORE_ALL to restore register in stack order [Andrew Cooper]
  • 9aaa208886: x86: Introduce a common cpuid_policy_updated() [Andrew Cooper]
  • 40f9ae9d05: x86/hvm: Rename update_guest_vendor() callback to cpuid_policy_changed() [Andrew Cooper]
  • ade9554f87: x86/alt: Introduce ALTERNATIVE{,_2} macros [Andrew Cooper]
  • a0ed0349ff: x86/alt: Break out alternative-asm into a separate header file [Andrew Cooper]
  • 4d01dbc713: xen/arm32: entry: Document the purpose of r11 in the traps handler [Julien Grall]
  • 22379b6adc: xen/arm32: Invalidate icache on guest exist for Cortex-A15 [Julien Grall]
  • 6e13ad777d: xen/arm32: Invalidate BTB on guest exit for Cortex A17 and 12 [Julien Grall]
  • 0d32237d5f: xen/arm32: Add skeleton to harden branch predictor aliasing attacks [Julien Grall]
  • 4ba59bdc26: xen/arm32: entry: Add missing trap_reset entry [Julien Grall]
  • 2997c5e628: xen/arm32: Add missing MIDR values for Cortex-A17 and A12 [Julien Grall]
  • 751c8791d0: xen/arm32: entry: Consolidate DEFINE_TRAP_ENTRY_* macros [Julien Grall]
  • a2567d6b54: xen/arm: cpuerrata: Remove percpu.h include [Julien Grall]
  • 9f79e8d846: xen/arm64: Implement branch predictor hardening for affected Cortex-A CPUs [Julien Grall]
  • fba48eff18: xen/arm64: Add skeleton to harden the branch predictor aliasing attacks [Julien Grall]
  • 3790833ef1: xen/arm: cpuerrata: Add MIDR_ALL_VERSIONS [Julien Grall]
  • 50450c1f33: xen/arm64: Add missing MIDR values for Cortex-A72, A73 and A75 [Julien Grall]
  • 2ec7ccbffc: xen/arm: Introduce enable callback to enable a capabilities on each online CPU [Julien Grall]
  • dc7d46580d: x86: allow Meltdown band-aid to be disabled [Jan Beulich]
  • 1e0974638d: x86: Meltdown band-aid against malicious 64-bit PV guests [Jan Beulich]
  • 87ea781624: x86/mm: Always set _PAGE_ACCESSED on L4e updates [Andrew Cooper]
  • 96990e27b0: x86: Don't use potentially incorrect CPUID values for topology information [Jan H. Schönherr]
  • 2213ffe1a2: x86/entry: Remove support for partial cpu_user_regs frames [Andrew Cooper]
  • c3774d13ee: x86/upcall: inject a spurious event after setting upcall vector [Roger Pau Monné]
  • f559d506f3: x86/E820: don't overrun array [Jan Beulich]
  • f877aab480: x86/IRQ: conditionally preserve access permission on map error paths [Jan Beulich]
  • 0c3d524100: xen/arm: vgic: Check for vgic handler to be initialized before dereferencing it [Oleksandr Tyshchenko]
  • 4d190d79b4: xen/arm: p2m: Check for p2m->domain to be initialized before releasing resources [Oleksandr Tyshchenko]
  • a4a4abf8e8: arm: configure interrupts to be in non-secure group1 [Stefano Stabellini]
  • 432f715f22: xen/arm: bootfdt: Use proper default for #address-cells and #size-cells [Julien Grall]
  • 389df4fcf9: xen/arm: gic-v3: Bail out if gicv3_cpu_init fail [Julien Grall]
  • d6fe186028: x86/vmx: Don't use hvm_inject_hw_exception() in long_mode_do_msr_write() [Andrew Cooper]
  • 6a39a56030: xen/efi: Fix build with clang-5.0 [Andrew Cooper]
  • d9ade82b79: x86/microcode: Add support for fam17h microcode loading [Tom Lendacky]
  • c09e166b68: x86/mm: drop bogus paging mode assertion [Jan Beulich]
  • df6db6c7c2: x86/mb2: avoid Xen image when looking for module/crashkernel position [Daniel Kiper]
  • 986fcb8513: gnttab: improve GNTTABOP_cache_flush locking [Jan Beulich]
  • da8c866e20: gnttab: correct GNTTABOP_cache_flush empty batch handling [Jan Beulich]
  • 47a7e3b86e: x86/vvmx: don't enable vmcs shadowing for nested guests [Sergey Dyasli]
  • 57205c489d: xen/pv: Construct d0v0's GDT properly [Andrew Cooper]
  • 09d7c30f03: x86/hvm: fix interaction between internal and external emulation [Paul Durrant]
  • 8edff60551: improve XENMEM_add_to_physmap_batch address checking [Jan Beulich]
  • fe1147d056: x86: check paging mode earlier in xenmem_add_to_physmap_one() [Jan Beulich]
  • 78c61ba506: x86: replace bad ASSERT() in xenmem_add_to_physmap_one() [Jan Beulich]
  • c9afe26e5d: sync CPU state upon final domain destruction [Jan Beulich]
  • 4bd630607d: x86/hvm: Don't corrupt the HVM context stream when writing the MSR record [Andrew Cooper]
  • a20f83846e: x86/hvm: Fix altp2m_vcpu_enable_notify error handling [Adrian Pop]
  • 984bb18c4a: common/gnttab: Correct error handling for gnttab_setup_table() [Andrew Cooper]
  • 1b0029cf6d: x86/vmx: Fix vmentry failure because of invalid LER on Broadwell [Ross Lagerwall]
  • 32e364c4e7: x86/paging: don't unconditionally BUG() on finding SHARED_M2P_ENTRY [Jan Beulich]
  • d3db9e36f3: x86/shadow: fix ref-counting error handling [Jan Beulich]
  • c553285d2d: x86/shadow: fix refcount overflow check [Jan Beulich]
  • 6260c4724d: x86/mm: don't wrongly set page ownership [Jan Beulich]
  • d1cca0780b: x86: don't wrongly trigger linear page table assertion (2) [Jan Beulich]
  • 0a0dcdcd20: p2m: Check return value of p2m_set_entry() when decreasing reservation [George Dunlap]
  • fb51cab5b1: p2m: Always check to see if removing a p2m entry actually worked [George Dunlap]
  • 61c13eddc6: x86/pod: prevent infinite loop when shattering large pages [Julien Grall]
  • 52ad6515a2: update Xen version to 4.9.2-pre [Jan Beulich]

This release contains no fixes to qemu-traditional.

This release also contains changes to qemu-upstream, whose changelogs we do not list here as it contains many changes that are not directly releated to the Xen Project Hypervisor and thus this release. However, you can check https://xenbits.xenproject.org/gitweb/?p=qemu-xen.git;a=shortlog (between tags qemu-xen-4.9.1 and qemu-xen-4.9.2).

This release, which includes source code for qemu-traditional and qemu-upstream, contains the following security fixes. 

XSA Xen qemu-traditional qemu-upstream 
XSA-246 Applied N/A N/A
XSA-247 Applied N/A N/A
XSA-248 Applied N/A N/A
XSA-249 Applied N/A N/A
XSA-250 Applied N/A N/A
XSA-251 Applied N/A N/A
XSA-252 Applied N/A N/A
XSA-253 N/A (Xen 4.9 is not affected) ... ...
XSA-254 Applied (XPTI for Variant 3) N/A N/A
XSA-255 Applied N/A N/A
XSA-256 Applied N/A N/A

See https://xenbits.xenproject.org/xsa/ for details related to Xen Project security advisories.

We recommend all users of the 4.9 stable series to update to this latest point release.

Xen Project 4.9.3

We are pleased to announce the release of Xen 4.9.3. This is available immediately from its git repository 

https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4.9 (tag RELEASE-4.9.3) or from this download page

This release contains the following bug-fixes and improvements in the Xen Project hypervisor:

  • 062052a149: update Xen version to 4.9.3 [Jan Beulich]
  • ca65ce2b52: x86: assorted array_index_nospec() insertions [Jan Beulich]
  • 792130b9d2: VT-d/dmar: iommu mem leak fix [Zhenzhong Duan]
  • a6100f3ede: rangeset: make inquiry functions tolerate NULL inputs [Jan Beulich]
  • 09cdeaeb60: x86/setup: Avoid OoB E820 lookup when calculating the L1TF safe address [Andrew Cooper]
  • e9192cd9ac: x86/hvm/ioreq: MMIO range checking completely ignores direction flag [Paul Durrant]
  • 1f399b907f: x86/vlapic: Bugfixes and improvements to vlapic_{read,write}() [Andrew Cooper]
  • 5bb24b2792: x86/vmx: Avoid hitting BUG_ON() after EPTP-related domain_crash() [Andrew Cooper]
  • 71e51140fd: libxl: start pvqemu when 9pfs is requested [Stefano Stabellini]
  • 6c9d139cdd: x86: write to correct variable in parse_pv_l1tf() [Jan Beulich]
  • 14f90aaef8: xl.conf: Add global affinity masks [Wei Liu]
  • c95088f090: x86: Make "spec-ctrl=no" a global disable of all mitigations [Jan Beulich]
  • cac6aa015c: x86/spec-ctrl: Introduce an option to control L1D_FLUSH for HVM HAP guests [Andrew Cooper]
  • fd86a3c856: x86/msr: Virtualise MSR_FLUSH_CMD for guests [Andrew Cooper]
  • e06752e2d6: x86/spec-ctrl: CPUID/MSR definitions for L1D_FLUSH [Andrew Cooper]
  • f73c777042: x86/pv: Force a guest into shadow mode when it writes an L1TF-vulnerable PTE [Juergen Gross]
  • a5d7667a38: x86/mm: Plumbing to allow any PTE update to fail with -ERESTART [Andrew Cooper]
  • 4704d590fa: x86/shadow: Infrastructure to force a PV guest into shadow mode [Juergen Gross]
  • 3ad78aaa4c: x86/spec-ctrl: Introduce an option to control L1TF mitigation for PV guests [Andrew Cooper]
  • a060b6981a: x86/spec-ctrl: Calculate safe PTE addresses for L1TF mitigations [Andrew Cooper]
  • ac3d572887: tools/oxenstored: Make evaluation order explicit [Christian Lindig]
  • 8231311a84: x86/vtx: Fix the checking for unknown/invalid MSR_DEBUGCTL bits [Andrew Cooper]
  • ab34a43113: ARM: disable grant table v2 [Stefano Stabellini]
  • 023da62e97: common/gnttab: Introduce command line feature controls [Andrew Cooper]
  • 01b624b2ba: VMX: fix vmx_{find,del}_msr() build [Jan Beulich]
  • c4fda1dc82: x86/vmx: Support load-only guest MSR list entries [Andrew Cooper]
  • 946badcb64: x86/vmx: Pass an MSR value into vmx_msr_add() [Andrew Cooper]
  • db356a429b: x86/vmx: Improvements to LBR MSR handling [Andrew Cooper]
  • 0c9baf6f15: x86/vmx: Support remote access to the MSR lists [Andrew Cooper]
  • c847824d73: x86/vmx: Factor locate_msr_entry() out of vmx_find_msr() and vmx_add_msr() [Andrew Cooper]
  • 66a3e680c8: x86/vmx: Internal cleanup for MSR load/save infrastructure [Andrew Cooper]
  • ec321585e4: x86/vmx: API improvements for MSR load/save infrastructure [Andrew Cooper]
  • 6522c1c222: x86/vmx: Defer vmx_vmcs_exit() as long as possible in construct_vmcs() [Andrew Cooper]
  • 284c60132e: x86/vmx: Fix handing of MSR_DEBUGCTL on VMExit [Andrew Cooper]
  • 3d2dc31f05: x86/spec-ctrl: Yet more fixes for xpti= parsing [Andrew Cooper]
  • a1b223b756: x86/spec-ctrl: Fix the parsing of xpti= on fixed Intel hardware [Andrew Cooper]
  • a894c9dcbd: x86/hvm: Disallow unknown MSR_EFER bits [Andrew Cooper]
  • d86688164d: x86/xstate: Make errors in xstate calculations more obvious by crashing the domain [Andrew Cooper]
  • 819e114e39: x86/xstate: Use a guests CPUID policy, rather than allowing all features [Andrew Cooper]
  • c6055c559c: x86/vmx: Don't clobber %dr6 while debugging state is lazy [Andrew Cooper]
  • cc15a7b4f1: x86: command line option to avoid use of secondary hyper-threads [Jan Beulich]
  • 15124d9f00: x86: possibly bring up all CPUs even if not all are supposed to be used [Jan Beulich]
  • 7f4a82d1d6: x86: distinguish CPU offlining from CPU removal [Jan Beulich]
  • e40bfc1095: x86/AMD: distinguish compute units from hyper-threads [Jan Beulich]
  • 53b22ad8bf: cpupools: fix state when downing a CPU failed [Jan Beulich]
  • ec3030fa39: x86/svm Fixes and cleanup to svm_inject_event() [Andrew Cooper]
  • 84dd17473d: allow cpu_down() to be called earlier [Jan Beulich]
  • c4d86c6f5e: xen: oprofile/nmi_int.c: Drop unwanted sexual reference [Ian Jackson]
  • a6ac51a246: x86/spec-ctrl: command line handling adjustments [Jan Beulich]
  • 514785c474: x86: correctly set nonlazy_xstate_used when loading full state [Jan Beulich]
  • f904bddef0: xen: Port the array_index_nospec() infrastructure from Linux [Andrew Cooper]
  • 036006fb22: cmdline: fix parse_boolean() for NULL incoming end pointer [Jan Beulich]
  • f5c692acb8: tools: prepend to PKG_CONFIG_PATH when configuring qemu [Stewart Hildebrand]
  • 612ff3c145: x86/EFI: further correct FPU state handling around runtime calls [Jan Beulich]
  • 555ef37033: x86/HVM: attempts to emulate FPU insns need to set fpu_initialised [Jan Beulich]
  • e76d0f7c65: x86/EFI: fix FPU state handling around runtime calls [Jan Beulich]
  • 19f4f879d2: x86/VT-x: Fix printing of EFER in vmcs_dump_vcpu() [Andrew Cooper]
  • c4cb7d3b0b: x86/traps: Fix error handling of the pv %dr7 shadow state [Andrew Cooper]
  • 8cdaac2d39: x86/CPUID: don't override tool stack decision to hide STIBP [Jan Beulich]
  • 7fbbedd164: x86: correct default_xen_spec_ctrl calculation [Jan Beulich]
  • 46863c67f1: libxc/x86/PV: don't hand through CPUID leaf 0x80000008 as is [Jan Beulich]
  • 041844ba7a: x86: guard against #NM [Jan Beulich]
  • 0a9c2bdc2d: x86/HVM: don't cause #NM to be raised in Xen [Jan Beulich]
  • 5d92007ce6: libxl: restore passing "readonly=" to qemu for SCSI disks [Ian Jackson]
  • c257e35a2e: libxl: qemu_disk_scsi_drive_string: Break out common parts of disk config [Ian Jackson]
  • ad08a1bec4: x86: Refine checks in #DB handler for faulting conditions [Andrew Cooper]
  • c50b1f68ff: x86/mm: don't bypass preemption checks [Jan Beulich]
  • 238007d6fa: x86/HVM: account for fully eager FPU mode in emulation [Jan Beulich]
  • 0b1904c475: x86/spec-ctrl: Mitigations for LazyFPU [Andrew Cooper]
  • 859fc55704: x86: Support fully eager FPU context switching [Andrew Cooper]
  • 1c6b8f23b9: x86: don't enable XPTI on idle domain [Jan Beulich]
  • f51d3681a8: xen/x86: use PCID feature [Juergen Gross]
  • 8689cd1c6a: xen/x86: add some cr3 helpers [Juergen Gross]
  • fc72347820: xen/x86: convert pv_guest_cr4_to_real_cr4() to a function [Juergen Gross]
  • 27b0dcd1f7: xen/x86: use flag byte for decision whether xen_cr3 is valid [Juergen Gross]
  • 8d874a8b57: xen/x86: disable global pages for domains with XPTI active [Juergen Gross]
  • 1284b9082f: xen/x86: use invpcid for flushing the TLB [Juergen Gross]
  • 12259ff59c: xen/x86: support per-domain flag for xpti [Juergen Gross]
  • 516ac8a982: xen/x86: add a function for modifying cr3 [Juergen Gross]
  • ed217c98b0: x86/xpti: avoid copying L4 page table contents when possible [Juergen Gross]
  • 11eb72e820: x86/msr: Virtualise MSR_SPEC_CTRL.SSBD for guests to use [Andrew Cooper]
  • 3f85ebbea0: x86/Intel: Mitigations for GPZ SP4 - Speculative Store Bypass [Andrew Cooper]
  • 1ed34667b1: x86/AMD: Mitigations for GPZ SP4 - Speculative Store Bypass [Andrew Cooper]
  • 37c3cb4e73: x86: invpcid support [Wei Liu]
  • 2aca1d7f00: x86: move invocations of hvm_flush_guest_tlbs() [Jan Beulich]
  • 22a6433be0: x86/XPTI: fix S3 resume (and CPU offlining in general) [Jan Beulich]
  • 8a29d83d42: x86/spec_ctrl: Introduce a new `spec-ctrl=` command line argument to replace `bti=` [Andrew Cooper]
  • 14a2ad68fa: x86/cpuid: Improvements to guest policies for speculative sidechannel features [Andrew Cooper]
  • c6d09b283f: x86/spec_ctrl: Explicitly set Xen's default MSR_SPEC_CTRL value [Andrew Cooper]
  • e5de99368a: x86/spec_ctrl: Split X86_FEATURE_SC_MSR into PV and HVM variants [Andrew Cooper]
  • c2029b462e: x86/spec_ctrl: Elide MSR_SPEC_CTRL handling in idle context when possible [Andrew Cooper]
  • 5633efa934: x86/spec_ctrl: Rename bits of infrastructure to avoid NATIVE and VMEXIT [Andrew Cooper]
  • 13cb0c24ee: x86/spec_ctrl: Fold the XEN_IBRS_{SET,CLEAR} ALTERNATIVES together [Andrew Cooper]
  • da140c640c: x86/spec_ctrl: Merge bti_ist_info and use_shadow_spec_ctrl into spec_ctrl_flags [Andrew Cooper]
  • 39ab89dea9: x86/spec_ctrl: Express Xen's choice of MSR_SPEC_CTRL value as a variable [Andrew Cooper]
  • a29695c888: x86/spec_ctrl: Read MSR_ARCH_CAPABILITIES only once [Andrew Cooper]
  • 74fa9552c1: viridian: fix cpuid leaf 0x40000003 [Paul Durrant]
  • b3277ca638: libacpi: fixes for iasl >= 20180427 [Roger Pau Monné]
  • cf264ebdee: x86/pv: Hide more EFER bits from PV guests [Andrew Cooper]
  • 809d5432ac: xen/schedule: Fix races in vcpu migration [George Dunlap]
  • 002ea4d14a: xen: Introduce vcpu_sleep_nosync_locked() [George Dunlap]
  • 1f183b5abe: x86/cpuidle: don't init stats lock more than once [Jan Beulich]
  • 150cdd9912: x86/SVM: Fix intercepted {RD,WR}MSR for the SYS{CALL,ENTER} MSRs [Andrew Cooper]
  • f7889b33a9: xpti: fix bug in double fault handling [Juergen Gross]
  • 903f2f6418: x86/HVM: never retain emulated insn cache when exiting back to guest [Jan Beulich]
  • 4bbed1cfe0: x86/HPET: fix race triggering ASSERT(cpu < nr_cpu_ids) [David Wang]
  • 2303a9d660: x86/spec_ctrl: Updates to retpoline-safety decision making [Andrew Cooper]
  • d674b6ea01: x86/pv: Introduce and use x86emul_write_dr() [Andrew Cooper]
  • 52fa2f7d62: x86/pv: Introduce and use x86emul_read_dr() [Andrew Cooper]
  • 62bd851a44: x86: suppress BTI mitigations around S3 suspend/resume [Jan Beulich]
  • c06ec81b29: x86: correct ordering of operations during S3 resume [Jan Beulich]
  • dbb06d3bfc: x86/HVM: guard against emulator driving ioreq state in weird ways [Jan Beulich]
  • 24fa3fa310: x86/vpt: add support for IO-APIC routed interrupts [Xen Project Security Team]
  • b9b5a03111: x86/traps: Fix handling of #DB exceptions in hypervisor context [Andrew Cooper]
  • 35a71c61a3: x86/traps: Use an Interrupt Stack Table for #DB [Andrew Cooper]
  • b844573da0: x86/pv: Move exception injection into {,compat_}test_all_events() [Andrew Cooper]
  • 48dd5431f8: x86/traps: Fix %dr6 handing in #DB handler [Andrew Cooper]
  • 7866e115f9: x86: fix slow int80 path after XPTI additions [Jan Beulich]
  • db7accf8d9: libxl: Specify format of inserted cdrom [Anthony PERARD]
  • 921bff4ea7: x86/msr: Correct the emulation behaviour of MSR_PRED_CMD [Andrew Cooper]
  • c147505114: x86/VT-x: Fix determination of EFER.LMA in vmcs_dump_vcpu() [Andrew Cooper]
  • dc527ffb2b: x86/HVM: suppress I/O completion for port output [Jan Beulich]
  • 781e23a4fc: x86/pv: Fix up erroneous segments for 32bit syscall entry [Andrew Cooper]
  • 72ca5804d0: x86/XPTI: reduce .text.entry [Jan Beulich]
  • 47d41f6885: x86: log XPTI enabled status [Jan Beulich]
  • 7a590155c5: x86: disable XPTI when RDCL_NO [Jan Beulich]
  • 259bee90d1: x86/pv: Fix the handing of writes to %dr7 [Andrew Cooper]
  • 6d4c4f0646: x86/spec_ctrl: Fix several bugs in SPEC_CTRL_ENTRY_FROM_INTR_IST [Andrew Cooper]
  • 3e010f5874: update Xen version to 4.9.3-pre [Jan Beulich]

This release also contains changes to qemu-upstream, whose changelogs we do not list here as it contains many changes that are not directly releated to the Xen Project Hypervisor and thus this release. However, you can check https://xenbits.xenproject.org/gitweb/?p=qemu-xen.git;a=shortlog (between tags qemu-xen-4.9.2 and qemu-xen-4.9.3). This release does not contain fixes to qemu-traditional.

XSA Xen qemu-traditional qemu-upstream 
XSA-257 N/A (Unused number) ... ...
XSA-258 Applied N/A N/A
XSA-259 Applied N/A N/A
XSA-260 Applied N/A N/A
XSA-261 Applied N/A N/A
XSA-262 Applied N/A N/A
XSA-263 Applied N/A N/A
XSA-264 Applied N/A N/A
XSA-265 Applied N/A N/A
XSA-266 Applied N/A N/A
XSA-267 Applied N/A N/A
XSA-268 Applied N/A N/A
XSA-269 Applied N/A N/A
XSA-270 N/A (Linux only) ... ...
XSA-271 N/A (XAPI only) ... ...
XSA-272 Applied N/A N/A
XSA-273 Applied N/A N/A
XSA-274 N/A (Linux only) ... ...

See https://xenbits.xenproject.org/xsa/ for details related to Xen Project security advisories.

We recommend all users of the 4.9 stable series to update to this latest point release.