Skip to content
Commit 6a459d8e authored by Luo Meng's avatar Luo Meng Committed by Mike Snitzer
Browse files

dm cache: Fix UAF in destroy()

Dm_cache also has the same UAF problem when dm_resume()
and dm_destroy() are concurrent.

Therefore, cancelling timer again in destroy().

Cc: stable@vger.kernel.org
Fixes: c6b4fcba

 ("dm: add cache target")
Signed-off-by: default avatarLuo Meng <luomeng12@huawei.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent e4b5957c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment