public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Ben Hutchings <ben@decadent.org.uk>,
	Sasha Levin <levinsasha928@gmail.com>, Jan Kara <jack@suse.cz>,
	Tejun Heo <tj@kernel.org>, Dave Jones <davej@redhat.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: blk: NULL ptr deref in blk_dequeue_request()
Date: Wed, 17 Oct 2012 16:23:40 +0200	[thread overview]
Message-ID: <507EBF6C.90506@kernel.dk> (raw)
In-Reply-To: <alpine.LNX.2.00.1210171610220.17129@pobox.suse.cz>

On 2012-10-17 16:11, Jiri Kosina wrote:
> On Wed, 17 Oct 2012, Ben Hutchings wrote:
> 
>>>> 1. redo_fd_request() races with tear-down of the disks, but because
>>>> set_next_request() checks disk->queue before doing anything this was
>>>> usually harmless.  Now that do_floppy_init() doesn't clear disk->queue,
>>>> the race condition is much easier to hit.  This may fix that problem in
>>>> do_floppy_init(), though there appear to be worse bugs in tear-down
>>>> order in floppy_module_exit():
>> [...]
>>>> 2. I made a big mistake in using the existing GENHD_FL_UP flag, as it is
>>>> cleared by del_gendisk().  Incremental patch below, but it should be
>>>> squashed into the previous patch if that branch is still rebase-able.
>> [...]
>>> I'm now seeing these instead:
>> [...]
>>
>> Sorry, I'm not going to spend more time in the quagmire of the floppy
>> driver.  Whoever has this commit in their tree, please revert or drop it
>> as appropriate.
> 
> As far as I can tell, Jens has pulled it from me, but it hasn't made it 
> into Linus' tree as of today.
> 
> I will do it in my tree and send a new pull request to Jens.

I did not add the patch from Ben, as it was reported as not working. My
driver pull is late this time due to travel, but it'll go out start of
next week. So if you have pending floppy updates that are tested at that
time, then please do send them my way.

-- 
Jens Axboe


  reply	other threads:[~2012-10-17 14:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22 20:35 blk: NULL ptr deref in blk_dequeue_request() Sasha Levin
2012-10-07 18:26 ` Sasha Levin
2012-10-08 17:22   ` Jan Kara
2012-10-08 21:45     ` Jiri Kosina
2012-10-09 13:21       ` Sasha Levin
2012-10-09 13:26         ` Sasha Levin
2012-10-10 15:52           ` Ben Hutchings
2012-10-12 14:51             ` Jiri Kosina
2012-10-12 17:55             ` Sasha Levin
2012-10-17  1:29               ` Ben Hutchings
2012-10-17 14:11                 ` Jiri Kosina
2012-10-17 14:23                   ` Jens Axboe [this message]
2012-10-26 18:00                     ` Jiri Kosina
2012-10-17  1:30               ` Ben Hutchings

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=507EBF6C.90506@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=ben@decadent.org.uk \
    --cc=davej@redhat.com \
    --cc=jack@suse.cz \
    --cc=jkosina@suse.cz \
    --cc=levinsasha928@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@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