+1
−1
Loading
Using "(u64 __user *)hva + offset" to get the virtual addresses of S1/S2 descriptors looks really wrong, if offset is not zero. What we want to get for swapping is hva + offset, not hva + offset*8. ;-) Fix it. Fixes: f6927b41 ("KVM: arm64: Add helper for swapping guest descriptor") Signed-off-by:Zenghui Yu (Huawei) <zenghui.yu@linux.dev> Link: https://patch.msgid.link/20260317115748.47332-1-zenghui.yu@linux.dev Signed-off-by:
Marc Zyngier <maz@kernel.org> Cc: stable@vger.kernel.org