You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
ANDROID: KVM: iommu: Fix hyp share check in __pkvm_host_use_dma_page
The hypervisor keeps track of mapped pages in the IOMMU page tables,
and checks the ownership of the host overthese pages.
There is also a hardening check to prevent mapping a page in the
IOMMU that is shared with the hyp, this mainly an extra hardening
as there shouldn't be such use case.
However, there is a bug in this path where the address passed to the
function was the physical address instead of virtual address. As this
is a hardening check it should lead to security problems, but only
failed IOMMU map pages which should have passed.
Bug: 277989609
Bug: 278749606
Change-Id: Ib571e90c358b2ffd9545c83674c407d0ddc11cb2
Signed-off-by: Mostafa Saleh <[email protected]>
0 commit comments