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

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

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

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

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

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

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:

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

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 OE

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

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

[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

[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