[PATCH v2 0/3] Fixes for hyp_trace.c
Vincent Donnefort
vdonnefort at google.com
Thu May 21 05:46:10 PDT 2026
While reviewing my v1, Sashiko found a couple of issues with the error path and
more annoyingly a memory leak which I originally missed as the allocated
decriptor isn't tracked by kmemleak.
Changes since v2:
- Fix rollback in hyp_trace_buffer_share_hyp()
- Fix memory leak in hyp_trace_unload()
v1 (https://lore.kernel.org/all/20260521090939.735108-1-vdonnefort@google.com/)
Vincent Donnefort (3):
KVM: arm64: Fix meta-page unsharing in pKVM hyp tracing
KVM: arm64: Fix rollback in hyp_trace_buffer_share_hyp()
KVM: arm64: Fix memory leak in hyp_trace_unload()
arch/arm64/kvm/hyp_trace.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
base-commit: 5200f5f493f79f14bbdc349e402a40dfb32f23c8
--
2.54.0.746.g67dd491aae-goog
More information about the linux-arm-kernel
mailing list