linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: steve@purestorage.com
To: linux-scsi@vger.kernel.org, linux-driver@qlogic.com,
	Andrew Vasquez <andrew.vasquez@qlogic.com>,
	"James E.J. Bottomley" <JBottomley@parallels.com>
Cc: Steve Hodgson <steve@purestorage.com>
Subject: [PATCH 0/2] Fix the qla2xxx loopback selftests
Date: Tue, 14 Aug 2012 16:48:53 +0100	[thread overview]
Message-ID: <502a736f.21d4320a.4e09.44cf@mx.google.com> (raw)

From: Steve Hodgson <steve@purestorage.com>

A few months ago our 2.6.39 based kernel started crashing almost 100%
of the time when running the selftests, after seeminly unrelated kernel
changes. In the end it was traced down to this use after free.

Whilst here fix an error path memory leak.

Thanks,

Steve

Steve Hodgson (2):
  qla2xxx: Fix use after free in qla2x000_process_loopback.
  qla2xxx: Free rsp_data even on error in qla2x00_process_loopback()

 drivers/scsi/qla2xxx/qla_bsg.c |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

-- 
1.7.9.5


             reply	other threads:[~2012-08-14 15:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-14 15:48 steve [this message]
2012-08-14 21:15 ` [PATCH 0/2] Fix the qla2xxx loopback selftests Chad Dupuis
2012-10-22 15:46   ` Roland Dreier
2012-10-22 16:06     ` Saurav Kashyap

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=502a736f.21d4320a.4e09.44cf@mx.google.com \
    --to=steve@purestorage.com \
    --cc=JBottomley@parallels.com \
    --cc=andrew.vasquez@qlogic.com \
    --cc=linux-driver@qlogic.com \
    --cc=linux-scsi@vger.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).