lkml.org 
[lkml]   [2015]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] btrfs: use after free when closing devices
On Tue, May 12, 2015 at 07:31:37PM -0400, Sasha Levin wrote:
> __btrfs_close_devices() would call_rcu to free the device, which is racy with
> list_for_each_entry() accessing the memory to retrieve the next device on the
> list.
>
> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>

Reviewed-by: David Sterba <dsterba@suse.cz>


\
 
 \ /
  Last update: 2015-05-13 19:01    [W:0.309 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site