From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Christian Ehrhardt <christian.ehrhardt@canonical.com>,
Martinx - ????? <thiagocmartinsc@gmail.com>
Cc: "Traynor, Kevin" <kevin.traynor@intel.com>,
"<dev@openvswitch.org>" <dev@openvswitch.org>, dev <dev@dpdk.org>,
"Liu, Yuanhan" <yuanhan.liu@intel.com>
Subject: Re: [dpdk-dev] Crashing OVS+DPDK at the host, from inside of a KVM Guest
Date: Fri, 27 May 2016 11:47:00 +0800 [thread overview]
Message-ID: <20160527034700.GB5641@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <BC0FEEC7D7650749874CEC11314A88F745599E95@IRSMSX104.ger.corp.intel.com>
On Wed, May 25, 2016 at 01:53:07PM +0000, Traynor, Kevin wrote:
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Christian
> > Ehrhardt
> > Sent: Wednesday, May 25, 2016 7:06 AM
> > To: Martinx - ジェームズ <thiagocmartinsc@gmail.com>
> > Cc: <dev@openvswitch.org> <dev@openvswitch.org>; dev <dev@dpdk.org>
> > Subject: Re: [dpdk-dev] Crashing OVS+DPDK at the host, from inside of
> > a KVM Guest
> >
> > Hi,
> > ping ...
> >
> > Later on I want to look at it again once we upgraded to more recent
> > releases of the software components involved, but those have to be
> > made
> > ready to use first :-/
> >
> > But the description is good and I wonder if anybody else could
> > reproduce
> > this and/or would have a hint on where this might come from or already
> > existing related fixes.
> >
> > I mean in general nothing should be able to crash the host right?
>
> Hi, I don't know if they are related to the issue that is being seen,
> but Yuanhan made some fixes in DPDK 16.04 regarding a malicious guest
> affecting the host. rte_vhost_dequeue_burst() is showing in the stack
> trace so it might worth testing with the latest code to see if it's the
> same issue and has been fixed.
Hi,
Try backporting following 3 patches? It might/should fix your issues:
a436f53 vhost: avoid dead loop chain
c687b0b vhost: check for ring descriptors overflow
623bc47 vhost: do sanity check for ring descriptor length
Note that it will not apply cleanly on top of v2.2, but it should
trivial to do backport, as they are simple changes.
--yliu
next prev parent reply other threads:[~2016-05-27 3:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 5:08 Martinx - ジェームズ
2016-05-25 6:05 ` Christian Ehrhardt
2016-05-25 13:53 ` Traynor, Kevin
2016-05-27 3:47 ` Yuanhan Liu [this message]
2016-05-25 15:32 ` Xie, Huawei
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=20160527034700.GB5641@yliu-dev.sh.intel.com \
--to=yuanhan.liu@linux.intel.com \
--cc=christian.ehrhardt@canonical.com \
--cc=dev@dpdk.org \
--cc=dev@openvswitch.org \
--cc=kevin.traynor@intel.com \
--cc=thiagocmartinsc@gmail.com \
--cc=yuanhan.liu@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).