aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorVincent Donnefort <[email protected]>2024-09-19 12:05:00 +0100
committerMarc Zyngier <[email protected]>2024-10-01 15:25:23 +0100
commit78fee4198bb4d29cf82c457086d07e009955a682 (patch)
tree6db4341332e1ce02d27043b36824a5d8d3308dbe /scripts/gdb/linux/modules.py
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
KVM: arm64: Fix __pkvm_init_vcpu cptr_el2 error path
On an error, hyp_vcpu will be accessed while this memory has already been relinquished to the host and unmapped from the hypervisor. Protect the CPTR assignment with an early return. Fixes: b5b9955617bc ("KVM: arm64: Eagerly restore host fpsimd/sve state in pKVM") Reviewed-by: Oliver Upton <[email protected]> Signed-off-by: Vincent Donnefort <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions