Re: [PATCH v2 5/7] KVM: s390: ucontrol: Add missing locking around gmap_remove_child()

From: Steffen Eiden

Date: Fri Jul 17 2026 - 09:01:03 EST


On Mon, Jul 13, 2026 at 05:08:55PM +0200, Claudio Imbrenda wrote:
> gmap_remove_child() needs to be called while holding the children_lock
> of the parent gmap. This was not the case in the error handling path of
> kvm_arch_vcpu_create() for UCONTROL guests.
>
> Fix by adding the missing lock.
>
> Fixes: e38c884df921 ("KVM: s390: Switch to new gmap")
> Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>

Reviewed-by: Steffen Eiden <seiden@xxxxxxxxxxxxx>