ANDROID: KVM: arm64: poison/account relinquished pages after unmap
If the page is poisoned and accounted before the unmap:
1. The guest has a window to access and dirty the page after the
poison and related CMOs
2. If the unmap fails, the hypercall has visible side effect
(poisoning) and leaves an incorrect PSCI MEM_PROTECT count.
Bug: 357781595
Bug: 433953177
Change-Id: Id67f2dda632bca686e2509f1c64d08743deef199
Signed-off-by:
Keir Fraser <keirf@google.com>
Loading
Please sign in to comment