From: Sasha Levin Date: Tue, 12 May 2015 23:31:37 +0000 (-0400) Subject: btrfs: use after free when closing devices X-Git-Tag: omap-for-v4.2/fixes-rc1^2~69^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2037a0933bc2894a2f50ae57a1ccf6be192adb76;p=pandora-kernel.git btrfs: use after free when closing devices __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 Reviewed-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed