netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Pull request: bluetooth-2.6 2010-03-21
@ 2010-03-21  5:41 Marcel Holtmann
  2010-03-21  5:41 ` [PATCH 1/3] Bluetooth: Fix potential bad memory access with sysfs files Marcel Holtmann
  2010-03-22  1:03 ` Pull request: bluetooth-2.6 2010-03-21 David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Marcel Holtmann @ 2010-03-21  5:41 UTC (permalink / raw)
  To: David Miller, Linus Torvalds; +Cc: netdev

Hi Dave,

these patches fix a potential remote denial of service in the L2CAP
layer and a potential bad memory access with some sysfs files.

As agreed with Linus, I fixed the sysfs issue in two steps. The first
patch just avoids the invalid memory access while accepting that the
content might be truncated. The second patch moves everything over to
debugfs (where these files belong anyway) and switches to seq_file.

This two step approach allows an easy backport to -stable kernel by
only picking the first patch.

Linus, feel free to pull directly since both patches are security
related and should be merged as quickly as possible.

Regards

Marcel


Please pull from

    git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

This will update the following files:

 include/net/bluetooth/bluetooth.h |    2 +-
 net/bluetooth/hci_sysfs.c         |    3 +-
 net/bluetooth/l2cap.c             |   48 +++++++++++++++++++++++++++----------
 net/bluetooth/rfcomm/core.c       |   41 ++++++++++++++++++++++---------
 net/bluetooth/rfcomm/sock.c       |   38 ++++++++++++++++++++--------
 net/bluetooth/sco.c               |   38 ++++++++++++++++++++---------
 6 files changed, 119 insertions(+), 51 deletions(-)

through these ChangeSets:

Andrei Emeltchenko (1):
    Bluetooth: Fix kernel crash on L2CAP stress tests

Marcel Holtmann (2):
    Bluetooth: Fix potential bad memory access with sysfs files
    Bluetooth: Convert debug files to actually use debugfs instead of sysfs


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-22  1:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-21  5:41 Pull request: bluetooth-2.6 2010-03-21 Marcel Holtmann
2010-03-21  5:41 ` [PATCH 1/3] Bluetooth: Fix potential bad memory access with sysfs files Marcel Holtmann
2010-03-21  5:41   ` [PATCH 2/3] Bluetooth: Convert debug files to actually use debugfs instead of sysfs Marcel Holtmann
2010-03-21  5:41     ` [PATCH 3/3] Bluetooth: Fix kernel crash on L2CAP stress tests Marcel Holtmann
2010-03-22  1:03 ` Pull request: bluetooth-2.6 2010-03-21 David Miller

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).