diff options
author | Luo Meng <luomeng12@huawei.com> | 2022-11-29 05:48:49 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-11-30 21:29:34 +0300 |
commit | 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa (patch) | |
tree | c176d285fc80ba28da460c3912fe4fc1fcf952a3 /drivers/md/dm-integrity.c | |
parent | e4b5957c6f749a501c464f92792f1c8e26b61a94 (diff) | |
download | linux-6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa.tar.xz |
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: c6b4fcbad044e ("dm: add cache target")
Signed-off-by: Luo Meng <luomeng12@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-integrity.c')
0 files changed, 0 insertions, 0 deletions