netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: venkat venkatsubra <venkat.x.venkatsubra@oracle.com>
To: Cong Wang <amwang@redhat.com>
Cc: netdev@vger.kernel.org, rds-devel@oss.oracle.com,
	Dave Jones <davej@redhat.com>,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [Patch net] rds: limit the size allocated by rds_message_alloc()
Date: Mon, 04 Mar 2013 08:43:03 -0600	[thread overview]
Message-ID: <5134B2F7.3000207@oracle.com> (raw)
In-Reply-To: <1362363491-24501-1-git-send-email-amwang@redhat.com>


On 3/3/2013 8:18 PM, Cong Wang wrote:
> From: Cong Wang <amwang@redhat.com>
>
> Dave Jones reported the following bug:
>
> "When fed mangled socket data, rds will trust what userspace gives it,
> and tries to allocate enormous amounts of memory larger than what
> kmalloc can satisfy."
>
> Reported-by: Dave Jones <davej@redhat.com>
> Cc: Dave Jones <davej@redhat.com>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
> Signed-off-by: Cong Wang <amwang@redhat.com>
>
Acked-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>

  reply	other threads:[~2013-03-04 14:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04  2:18 [Patch net] rds: limit the size allocated by rds_message_alloc() Cong Wang
2013-03-04 14:43 ` venkat venkatsubra [this message]
2013-03-04 19:14 ` David Miller

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=5134B2F7.3000207@oracle.com \
    --to=venkat.x.venkatsubra@oracle.com \
    --cc=amwang@redhat.com \
    --cc=davej@redhat.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=rds-devel@oss.oracle.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).