lkml.org 
[lkml]   [2022]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 2/2] KVM: x86/xen: Stop Xen timer before changing IRQ
    On Mon, Aug 08, 2022, Coleman Dietsch wrote:
    > Stop Xen timer (if it's running) prior to changing the IRQ vector and
    > potentially (re)starting the timer. Changing the IRQ vector while the
    > timer is still running can result in KVM injecting a garbage event, e.g.
    > vm_xen_inject_timer_irqs() could see a non-zero xen.timer_pending from
    > a previous timer but inject the new xen.timer_virq.
    >
    > Fixes: 536395260582 ("KVM: x86/xen: handle PV timers oneshot mode")
    > Cc: stable@vger.kernel.org
    > Link: https://syzkaller.appspot.com/bug?id=8234a9dfd3aafbf092cc5a7cd9842e3ebc45fc42
    > Reported-by: syzbot+e54f930ed78eb0f85281@syzkaller.appspotmail.com
    > Signed-off-by: Coleman Dietsch <dietschc@csp.edu>
    > ---

    Reviewed-by: Sean Christopherson <seanjc@google.com>

    \
     
     \ /
      Last update: 2022-08-09 02:35    [W:3.872 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site