]> git.baikalelectronics.ru Git - kernel.git/commit
dm btree remove: fix use after free in rebalance_children()
authorJoe Thornber <ejt@redhat.com>
Wed, 24 Nov 2021 17:07:39 +0000 (12:07 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 24 Nov 2021 17:07:39 +0000 (12:07 -0500)
commit49c6e656229b6325cee8ee8bb8e48d3a277b23fe
tree6c49bc3e43d996b4a88f2e32201cd47465902ab5
parent183b8c70348e8991bc1bb81710777587b8549f2a
dm btree remove: fix use after free in rebalance_children()

Move dm_tm_unlock() after dm_tm_dec().

Cc: stable@vger.kernel.org
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/persistent-data/dm-btree-remove.c