From: "Gustavo F. Padovan" <padovan@profusion.mobi>
To: Dan Rosenberg <drosenberg@vsecurity.com>
Cc: marcel@holtmann.org, davem@davemloft.net,
linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, security@kernel.org
Subject: Re: [PATCH] Bluetooth: Prevent buffer overflow in l2cap config request
Date: Tue, 28 Jun 2011 14:59:37 -0300 [thread overview]
Message-ID: <20110628175937.GA23183@joana> (raw)
In-Reply-To: <1308919085.5295.11.camel@dan>
Hi Dan,
* Dan Rosenberg <drosenberg@vsecurity.com> [2011-06-24 08:38:05 -0400]:
> A remote user can provide a small value for the command size field in
> the command header of an l2cap configuration request, resulting in an
> integer underflow when subtracting the size of the configuration request
> header. This results in copying a very large amount of data via
> memcpy() and destroying the kernel heap. Check for underflow.
>
> Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com>
> Cc: stable <stable@kernel.org>
> ---
> net/bluetooth/l2cap_core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Gustavo
prev parent reply other threads:[~2011-06-28 17:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 12:38 [PATCH] Bluetooth: Prevent buffer overflow in l2cap config request Dan Rosenberg
2011-06-28 17:59 ` Gustavo F. Padovan [this message]
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=20110628175937.GA23183@joana \
--to=padovan@profusion.mobi \
--cc=davem@davemloft.net \
--cc=drosenberg@vsecurity.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=netdev@vger.kernel.org \
--cc=security@kernel.org \
/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).