[PATCH v2 0/2] KVM: arm64: KVM: arm64: Fix potential leak in hyp_trace_buffer_alloc_bpages_backing
Vincent Donnefort
vdonnefort at google.com
Fri Jul 10 04:48:17 PDT 2026
This series provides two fixes for the nVHE/pKVM hyp trace remote buffer
allocation.
Changelog:
v2:
- Added patch: "KVM: arm64: Fix hyp_trace_desc allocation size in
hyp_trace_load()"
- Collected Reviewed-by and Tested-by tags from Fuad Tabba for the
leak fix
- Do not set bpages_backing_* on __map_hyp() failure (Fuad)
v1: https://lore.kernel.org/all/20260707165029.3410701-1-vdonnefort@google.com/
Vincent Donnefort (2):
KVM: arm64: Fix potential leak in
hyp_trace_buffer_alloc_bpages_backing
KVM: arm64: Fix hyp_trace_desc allocation size in hyp_trace_load()
arch/arm64/kvm/hyp_trace.c | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
--
2.55.0.795.g602f6c329a-goog
More information about the linux-arm-kernel
mailing list