Commit f72ac1d
committed
dm integrity: Fix UAF in dm_integrity_dtr()
Bugzilla: https://bugzilla.redhat.com/2162536
Upstream Status: kernel/git/torvalds/linux.git
commit f50cb2c
Author: Luo Meng <luomeng12@huawei.com>
Date: Tue Nov 29 10:48:50 2022 +0800
dm integrity: Fix UAF in dm_integrity_dtr()
Dm_integrity also has the same UAF problem when dm_resume()
and dm_destroy() are concurrent.
Therefore, cancelling timer again in dm_integrity_dtr().
Cc: stable@vger.kernel.org
Fixes: 7eada90 ("dm: add integrity target")
Signed-off-by: Luo Meng <luomeng12@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>1 parent 2387a2e commit f72ac1d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4555 | 4555 | | |
4556 | 4556 | | |
4557 | 4557 | | |
| 4558 | + | |
| 4559 | + | |
4558 | 4560 | | |
4559 | 4561 | | |
4560 | 4562 | | |
| |||
0 commit comments