[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150513162507.GR23255@twin.jikos.cz>
Date: Wed, 13 May 2015 18:25:08 +0200
From: David Sterba <dsterba@...e.cz>
To: Sasha Levin <sasha.levin@...cle.com>
Cc: clm@...com, jbacik@...com, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...cle.com>
Reviewed-by: David Sterba <dsterba@...e.cz>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists