[3.19.y-ckt stable] Patch "[3.19-stable-only] fix backport "KVM: s390: avoid memory overwrites on emergency signal injection"" has been added to the 3.19.y-ckt tree
Kamal Mostafa
kamal at canonical.com
Tue May 3 19:06:03 UTC 2016
This is a note to let you know that I have just added a patch titled
[3.19-stable-only] fix backport "KVM: s390: avoid memory overwrites on emergency signal injection"
to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree
which can be found at:
https://git.launchpad.net/~canonical-kernel/linux/+git/linux-stable-ckt/log/?h=linux-3.19.y-queue
This patch is scheduled to be released in version 3.19.8-ckt21.
If you, or anyone else, feels it should not be added to this tree, please
reply to this email.
For more information about the 3.19.y-ckt tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable
Thanks.
-Kamal
---8<------------------------------------------------------------
>From 1bb6d144413c87276d87a51fdb1662abff7d175e Mon Sep 17 00:00:00 2001
From: Kamal Mostafa <kamal at canonical.com>
Date: Tue, 3 May 2016 11:28:51 -0700
Subject: [3.19-stable-only] fix backport "KVM: s390: avoid memory overwrites
on emergency signal injection"
Fix bad 3.19-stable backport of mainline commit:
b85de33 KVM: s390: avoid memory overwrites on emergency signal injection
(3.19-stable: 2912b8f)
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
arch/s390/kvm/interrupt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index befe999..4d490e9 100644
--- a/arch/s390/kvm/interrupt.c
+++ b/arch/s390/kvm/interrupt.c
@@ -1061,7 +1061,7 @@ static int __inject_sigp_emergency(struct kvm_vcpu *vcpu,
emerg->code, 0, 2);
/* sending vcpu invalid */
- if (kvm_get_vcpu_by_id(vcpu->kvm, emerg.code) == NULL)
+ if (kvm_get_vcpu_by_id(vcpu->kvm, emerg->code) == NULL)
return -EINVAL;
set_bit(emerg->code, li->sigp_emerg_pending);
--
2.7.4
More information about the kernel-team
mailing list