Re: [Xen-devel] [PATCH 4/4] x86/vLAPIC: avoid speculative out of bounds accesses

2019-07-04 Thread Jan Beulich
On 04.07.2019 15:44, Andrew Cooper wrote: > On 31/01/2019 14:27, Jan Beulich wrote: >> Array indexes used in the MMIO and MSR read/write emulation functions >> are derived from guest controlled values. Restrict their ranges to limit >> the side effects of speculative execution. >> >> Remove the unu

Re: [Xen-devel] [PATCH 4/4] x86/vLAPIC: avoid speculative out of bounds accesses

2019-07-04 Thread Andrew Cooper
On 31/01/2019 14:27, Jan Beulich wrote: > Array indexes used in the MMIO and MSR read/write emulation functions > are derived from guest controlled values. Restrict their ranges to limit > the side effects of speculative execution. > > Remove the unused vlapic_lvt_{vector,dm}() instead of adjusting

[Xen-devel] [PATCH 4/4] x86/vLAPIC: avoid speculative out of bounds accesses

2019-01-31 Thread Jan Beulich
Array indexes used in the MMIO and MSR read/write emulation functions are derived from guest controlled values. Restrict their ranges to limit the side effects of speculative execution. Remove the unused vlapic_lvt_{vector,dm}() instead of adjusting them. Signed-off-by: Jan Beulich --- a/xen/ar