Commit c44bb3fc authored by Keir Fraser's avatar Keir Fraser
Browse files

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: default avatarKeir Fraser <keirf@google.com>
parent 3bb9d12a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment