summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-10-22 13:30:54 +0100
committerMarc Zyngier <maz@kernel.org>2026-10-22 14:42:27 +0100
commitc4c362949dcaaaabaa5db34acaa6e91b9912094c (patch)
tree5d697c4ef4011b169c8a35f1202b97a5601c77cb /scripts/basic
parent5b34f0b4adbf983174e53721f68b617113376f2f (diff)
downloadlinux-c4c362949dcaaaabaa5db34acaa6e91b9912094c.tar.gz
linux-c4c362949dcaaaabaa5db34acaa6e91b9912094c.zip
KVM: arm64: Return on kvm_gmem_get_pfn() failure in gmem_abort()
The kvm-arm64/mmu-fixes-7.4 merge dropped the return from the kvm_gmem_get_pfn() error path in gmem_abort(). Both parents of the merge keep that return. On a failed kvm_gmem_get_pfn(), gmem_abort() then carries on with a zero pfn, and on a nested stage-2 it uses the mapping it has just freed. Restore the return. Fixes: 65f95b2874a15 ("Merge branch kvm-arm64/mmu-fixes-7.4 into kvmarm-master/next") Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://patch.msgid.link/20261022123054.31729-1-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions