Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: Chris Mason <[email protected]>
- Loading branch information