Re: [PATCH v4] KVM: arm64: nv: Keep the shadow S2 MMUs at fixed addresses
Karl Mehltretter <[email protected]> Sat, 8 Aug 2026 02:06:12 +0200
| Newsgroups | dev.linux.lists.kvmarm,dev.linux.lists.sashiko-reviews |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 07, 2026 at 08:17:08PM +0100, [email protected] wrote: > Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: > > New issues: > - [Medium] The `kvm->arch.nested_mmus` array is leaked if VM creation fails after `kvm_arch_init_vm()` completes successfully. > This issue is valid. generic VM-creation failures after that point can call kvm_arch_destroy_vm() without freeing it. I’ll add the missing kvfree(kvm->arch.nested_mmus) there in v5. Thanks, Karl