All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zubin Mithra <zsm@chromium.org>
To: stable@vger.kernel.org
Cc: gregkh@linuxfoundation.org, groeck@chromium.org,
	pbonzini@redhat.com, rkrcmar@redhat.com, tglx@linutronix.de,
	mingo@redhat.com, hpa@zytor.com
Subject: b21629da120d ("kvm: x86: avoid warning on repeated KVM_SET_TSS_ADDR")
Date: Tue, 16 Jul 2019 10:12:48 -0700	[thread overview]
Message-ID: <20190716171247.GA7816@google.com> (raw)

Hello,

Syzkaller has triggered a kernel WARNING when fuzzing a 4.4 kernel with the following stacktrace.
Call Trace:
 [<ffffffff81989d3d>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81989d3d>] dump_stack+0xbf/0x113 lib/dump_stack.c:51
 [<ffffffff813be4aa>] panic+0x1a6/0x361 kernel/panic.c:116
 [<ffffffff811c2c00>] __warn+0x168/0x1b0 kernel/panic.c:470
 [<ffffffff813be6a1>] warn_slowpath_null+0x3c/0x40 kernel/panic.c:514
 [<ffffffff81030f13>] __x86_set_memory_region+0x1c2/0x3ef arch/x86/kvm/x86.c:7792
 [<ffffffff81031185>] x86_set_memory_region+0x45/0x5c arch/x86/kvm/x86.c:7838
 [<ffffffff810add1e>] vmx_set_tss_addr+0x8c/0x246 arch/x86/kvm/vmx.c:5171
 [<ffffffff8103a798>] kvm_vm_ioctl_set_tss_addr arch/x86/kvm/x86.c:3520 [inline]
 [<ffffffff8103a798>] kvm_arch_vm_ioctl+0x26b/0x17db arch/x86/kvm/x86.c:3788
 [<ffffffff81013cb4>] kvm_vm_ioctl+0xb7d/0xbfa arch/x86/kvm/../../../virt/kvm/kvm_main.c:2959
 [<ffffffff8149d51a>] vfs_ioctl fs/ioctl.c:43 [inline]
 [<ffffffff8149d51a>] do_vfs_ioctl+0xcb0/0xd0f fs/ioctl.c:630
 [<ffffffff8149d5ea>] SYSC_ioctl fs/ioctl.c:645 [inline]
 [<ffffffff8149d5ea>] SyS_ioctl+0x71/0xad fs/ioctl.c:636
 [<ffffffff832bca35>] tracesys_phase2+0xa3/0xa8

Could the following patch be applied to v4.4.y. The patch is present in v4.9.y.
* b21629da120d ("kvm: x86: avoid warning on repeated KVM_SET_TSS_ADDR")

Tests run:
* Syzkaller reproducer
* Chrome OS tryjobs



Thanks,
- Zubin

             reply	other threads:[~2019-07-16 17:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-16 17:12 Zubin Mithra [this message]
2019-07-16 19:03 ` b21629da120d ("kvm: x86: avoid warning on repeated KVM_SET_TSS_ADDR") Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190716171247.GA7816@google.com \
    --to=zsm@chromium.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=groeck@chromium.org \
    --cc=hpa@zytor.com \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.