linux/arch/arm64/kvm/hyp
Sebastian Ene 103e17aac0 KVM: arm64: Check the untrusted offset in FF-A memory share
Verify the offset to prevent OOB access in the hypervisor
FF-A buffer in case an untrusted large enough value
[U32_MAX - sizeof(struct ffa_composite_mem_region) + 1, U32_MAX]
is set from the host kernel.

Signed-off-by: Sebastian Ene <sebastianene@google.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20251017075710.2605118-1-sebastianene@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
2025-10-30 16:14:58 +00:00
..
include KVM: arm64: Compute per-vCPU FGTs at vcpu_load() 2025-10-13 14:44:37 +01:00
nvhe KVM: arm64: Check the untrusted offset in FF-A memory share 2025-10-30 16:14:58 +00:00
vhe KVM: arm64: nv: Exclude guest's TWED configuration when TWE isn't set 2025-09-19 14:01:35 +01:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
aarch32.c KVM: arm64: AArch32: Fix spurious trapping of conditional instructions 2024-05-27 17:46:09 +01:00
entry.S KVM: arm64: Eagerly switch ZCR_EL{1,2} 2025-02-13 17:55:06 +00:00
exception.c KVM: arm64: Simplify sysreg access on exception delivery 2025-08-28 11:39:48 -07:00
fpsimd.S KVM: arm64: Reintroduce __sve_save_state 2024-06-04 15:06:32 +01:00
hyp-constants.c KVM: arm64: Instantiate pKVM hypervisor VM and vCPU structures from EL1 2022-11-11 17:16:24 +00:00
hyp-entry.S KVM: arm64: Add missing BTI instructions 2023-07-12 22:15:36 +00:00
pgtable.c Revert "KVM: arm64: Split kvm_pgtable_stage2_destroy()" 2025-09-10 11:11:22 -07:00
vgic-v2-cpuif-proxy.c arm64: vgic-v2: Fix guest endianness check in hVHE mode 2025-08-08 01:29:32 -07:00
vgic-v3-sr.c KVM: arm64: Don't access ICC_SRE_EL2 if GICv3 doesn't support v2 compatibility 2025-09-17 17:40:42 +01:00