linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: nslusarek@gmx.net
Cc: jhansen@vmware.com, arnd@arndb.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] misc/vmw_vmci: bail out earlier on too big queue allocation
Date: Wed, 9 Dec 2020 19:41:14 +0100	[thread overview]
Message-ID: <X9EaSums0U4BB9r6@kroah.com> (raw)
In-Reply-To: <X9EaIdgBeU/QBazh@kroah.com>

On Wed, Dec 09, 2020 at 07:40:33PM +0100, Greg KH wrote:
> On Sun, Nov 22, 2020 at 06:40:57PM +0100, nslusarek@gmx.net wrote:
> > From: Norbert Slusarek <nslusarek@gmx.net>
> > Date: Sun, 22 Nov 2020 19:16:41 +0100
> > Subject: [PATCH] misc/vmw_vmci: bail out earlier on too big queue allocation
> > 
> > For the allocation of a queue pair in qp_host_alloc_queue() an arbitrary value can be
> > passed for produce_size, which can lead to miscalculation of memory we'd like to allocate
> > in one take. A warning is triggered at __alloc_pages_nodemask() in mm/page_alloc.c:4737
> > which aborts the false allocation, but it results in a VMware machine freezing
> > for an infinite time.
> > 
> > Signed-off-by: Norbert Slusarek <nslusarek@gmx.net>
> > 
> 
> <snip>
> 
> Can you resend this in a non-html format, so that we can apply it, and
> so it will show up on the public mailing lists?

Oh nevermind, you already did, sorry about that...

  reply	other threads:[~2020-12-09 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <trinity-96cb58f7-02ae-4ae2-b05d-169e1aa82c64-1606066857501@3c-app-gmx-bs01>
2020-12-09 18:40 ` [PATCH] misc/vmw_vmci: bail out earlier on too big queue allocation Greg KH
2020-12-09 18:41   ` Greg KH [this message]
2020-11-22 17:44 nslusarek

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=X9EaSums0U4BB9r6@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=arnd@arndb.de \
    --cc=jhansen@vmware.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nslusarek@gmx.net \
    /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).