diff options
| author | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-08-11 17:37:38 +0200 |
|---|---|---|
| committer | Claudio Imbrenda <imbrenda@linux.ibm.com> | 2026-08-12 13:38:58 +0200 |
| commit | c44d36d8e6501c4934412d9014e5e02da9efdb8f (patch) | |
| tree | 4a4caaff92780124a54db92962b209df463eeabb /scripts/atomic | |
| parent | 1e3c8e7b3465fb8a49d3623d2d0f449c0b5b48f3 (diff) | |
| download | linux-c44d36d8e6501c4934412d9014e5e02da9efdb8f.tar.gz linux-c44d36d8e6501c4934412d9014e5e02da9efdb8f.zip | |
KVM: s390: Restore sigset on error path
kvm_sigset_activate() installs vcpu->sigset via sigprocmask() and
stashes the caller's mask in current->real_blocked; only
kvm_sigset_deactivate() restores it.
For KVM_RUN on a STOPPED vcpu the error path will not restore the
userspace mask. Re-arrange the error handling to also restore the
signal mask.
Fixes: 6352e4d2dd9a3 ("KVM: s390: implement KVM_(S|G)ET_MP_STATE for user space state control")
Cc: stable@vger.kernel.org
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260811153738.206885-5-borntraeger@linux.ibm.com>
Diffstat (limited to 'scripts/atomic')
0 files changed, 0 insertions, 0 deletions
