Re: KVM: Fix stack-out-of-bounds read in write_mmio

2018-01-16 Thread Greg KH
On Tue, Jan 16, 2018 at 10:45:50PM +, Your Real Name wrote: Odd "real name" :( > Commit: e39d200fa5bf5b94a0948db0dae44c1b73b84a56 > Target Stable Tree Branch: 4.9.y Why only this specific branch? Why not all stable branches? You do not want to move from 4.9.y to 4.14.y and have a regressi

KVM: Fix stack-out-of-bounds read in write_mmio

2018-01-16 Thread Your Real Name
Commit: e39d200fa5bf5b94a0948db0dae44c1b73b84a56 Target Stable Tree Branch: 4.9.y Why this patch is needed: Due to a request to handle CVE-2017-17741, we would need to backport this patch to our kernel. The patch is already in mainline:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin

Re: Commit missing in stable kernels: KVM: Fix stack-out-of-bounds read in write_mmio

2018-01-10 Thread Greg Kroah-Hartman
On Tue, Jan 09, 2018 at 08:49:16PM +, Mathieu Desnoyers wrote: > Hi Greg, > > commit e39d200fa "KVM: Fix stack-out-of-bounds read in write_mmio" > is upstream in latest 4.15-rc tags, is also in long term > 3.16.52+ and 3.2.97+ stable kernels, and in latest Fedora

Commit missing in stable kernels: KVM: Fix stack-out-of-bounds read in write_mmio

2018-01-09 Thread Mathieu Desnoyers
Hi Greg, commit e39d200fa "KVM: Fix stack-out-of-bounds read in write_mmio" is upstream in latest 4.15-rc tags, is also in long term 3.16.52+ and 3.2.97+ stable kernels, and in latest Fedora kernels, but is missing from 4.14, 4.9, 4.4, 4.1 stable branches. I think the patch author mis

[PATCH 3.2 91/94] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit e39d200fa5bf5b94a0948db0dae44c1b73b84a56 upstream. Reported by syzkaller: BUG: KASAN: stack-out-of-bounds in write_mmio+0x11e/0x270 [kvm] Read of size 8 at addr 88032

[PATCH 3.16 201/204] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-28 Thread Ben Hutchings
3.16.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit e39d200fa5bf5b94a0948db0dae44c1b73b84a56 upstream. Reported by syzkaller: BUG: KASAN: stack-out-of-bounds in write_mmio+0x11e/0x270 [kvm] Read of size 8 at addr 8803

Re: [PATCH v4] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-18 Thread Wanpeng Li
2017-12-18 19:55 GMT+08:00 Paolo Bonzini : > On 15/12/2017 12:06, Marc Zyngier wrote: >> Assuming you address the above: >> >> Reviewed-by: Marc Zyngier >> Tested-by: Marc Zyngier > > Done as follows: > > diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h > index dfd21708694f..0

Re: [PATCH v4] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-18 Thread Marc Zyngier
On 18/12/17 11:55, Paolo Bonzini wrote: > On 15/12/2017 12:06, Marc Zyngier wrote: >> Assuming you address the above: >> >> Reviewed-by: Marc Zyngier >> Tested-by: Marc Zyngier > > Done as follows: > > diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h > index dfd21708694f..0a

Re: [PATCH v4] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-18 Thread Paolo Bonzini
On 15/12/2017 12:06, Marc Zyngier wrote: > Assuming you address the above: > > Reviewed-by: Marc Zyngier > Tested-by: Marc Zyngier Done as follows: diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h index dfd21708694f..0a016bd14c2d 100644 --- a/include/trace/events/kvm.h +++

Re: [PATCH v4] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-16 Thread Wanpeng Li
2017-12-15 19:06 GMT+08:00 Marc Zyngier : > On 15/12/17 01:40, Wanpeng Li wrote: >> From: Wanpeng Li >> >> Reported by syzkaller: >> >> BUG: KASAN: stack-out-of-bounds in write_mmio+0x11e/0x270 [kvm] >> Read of size 8 at addr 8803259df7f8 by task syz-executor/32298 >> >> CPU: 6 PID: 3229

Re: [PATCH v4] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-15 Thread Marc Zyngier
On 15/12/17 01:40, Wanpeng Li wrote: > From: Wanpeng Li > > Reported by syzkaller: > > BUG: KASAN: stack-out-of-bounds in write_mmio+0x11e/0x270 [kvm] > Read of size 8 at addr 8803259df7f8 by task syz-executor/32298 > > CPU: 6 PID: 32298 Comm: syz-executor Tainted: G OE4

Re: [PATCH v4] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-15 Thread Darren Kenny
Code-wise, that looks good to me now. I also don't have ARM handy to validate though - but it looks correct. Reviewed-by: Darren Kenny Thanks, Darren. On Thu, Dec 14, 2017 at 05:40:50PM -0800, Wanpeng Li wrote: From: Wanpeng Li Reported by syzkaller: BUG: KASAN: stack-out-of-bounds in wr

[PATCH v4] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-14 Thread Wanpeng Li
From: Wanpeng Li Reported by syzkaller: BUG: KASAN: stack-out-of-bounds in write_mmio+0x11e/0x270 [kvm] Read of size 8 at addr 8803259df7f8 by task syz-executor/32298 CPU: 6 PID: 32298 Comm: syz-executor Tainted: G OE4.15.0-rc2+ #18 Hardware name: LENOVO ThinkCentre M