Commit 83aa7ef8 authored by Will Deacon's avatar Will Deacon
Browse files

ANDROID: KVM: arm64: Fix size calculation of FFA memory range



Ensure that the FFA memory range to be checked and annotated in the host
stage-2 page-table is page-aligned and that its size is calculated using
64-bit arithmetic to avoid the host triggering overflow and subsequent
truncation.

Bug: 228889679
Reported-by: default avatarGulshan Singh <gsgx@google.com>
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Change-Id: Ifc51ee9598905cf2926d19c53159804f89d74040
parent 2d2e0ad1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment