dm cache metadata: Avoid returning cmd->bm wild pointer on error
mainline inclusion from mainline-v5.9 commit d16ff19e category: bugfix bugzilla: 41672 CVE: NA ----------------------------------------------- Maybe __create_persistent_data_objects() caller will use PTR_ERR as a pointer, it will lead to some strange things. Signed-off-by:Ye Bin <yebin10@huawei.com> Cc: stable@vger.kernel.org Signed-off-by:
Mike Snitzer <snitzer@redhat.com> Signed-off-by:
Ye Bin <yebin10@huawei.com> Reviewed-by:
Hou Tao <houtao1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment