In the context switch logic Xen attempts to skip an IBPB in the case of a vCPU returning to a CPU on which it was the previous vCPU to run. While safe for Xen's isolation between vCPUs, this prevents the guest kernel correctly isolating between tasks. Consider:
Now, task 2 is running on CPU A with task 1's training still in the BTB.
| Software | From | Fixed in |
|---|---|---|
| xen / xen | 4.6.0 | 4.6.0.x |