public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@fb.com>
To: Mike Krinkin <krinkin.m.u@gmail.com>
Cc: <avanzini@google.com>, <paolo.valente@unimore.it>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] null_blk: fix use-after-free error
Date: Tue, 22 Dec 2015 10:43:08 -0700	[thread overview]
Message-ID: <56798BAC.5010208@fb.com> (raw)
In-Reply-To: <1450173400-18287-1-git-send-email-krinkin.m.u@gmail.com>

On 12/15/2015 02:56 AM, Mike Krinkin wrote:
> blk_end_request_all may free request, so we need to save
> request_queue pointer before blk_end_request_all call.
>
> The problem was introduced in commit cf8ecc5a8455266f8d51
> ("null_blk: guarantee device restart in all irq modes")
> and causes general protection fault with slab poisoning
> enabled.
>
> Fixes: cf8ecc5a8455266f8d51 ("null_blk: guarantee device
>         restart in all irq modes")

Added for 4.4, thanks.

-- 
Jens Axboe


      parent reply	other threads:[~2015-12-22 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15  9:56 [PATCH] null_blk: fix use-after-free error Mike Krinkin
2015-12-22  2:11 ` Ming Lei
2015-12-22 17:43 ` Jens Axboe [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=56798BAC.5010208@fb.com \
    --to=axboe@fb.com \
    --cc=avanzini@google.com \
    --cc=krinkin.m.u@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paolo.valente@unimore.it \
    /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