lkml.org 
[lkml]   [2009]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] use after free bug in __blkdev_get
Jens Axboe wrote:
> On Mon, Oct 26 2009, Neil Brown wrote:
>>
>> commit 0762b8bde9729f10f8e6249809660ff2ec3ad735
>> (from 14 months ago) introduced a use-after-free bug which has just
>> recently started manifesting in my md testing.
>> I tried git bisect to find out what caused the bug to start
>> manifesting, and it could have been the recent change to
>> blk_unregister_queue (48c0d4d4c04) but the results were inconclusive.
>>
>> This patch certainly fixes my symptoms and looks correct as the two
>> calls are now in the same order as elsewhere in that function.
>>
>> Signed-off-by: NeilBrown <neilb@suse.de>

Oops, thanks for catching it.

Acked-by: Tejun Heo <tj@kernel.org>

--
tejun


\
 
 \ /
  Last update: 2009-10-26 13:57    [W:0.065 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site