[Devel] [PATCH hci-8.1 v5 2/7] drivers/md/push_backup: return error if workqueue allocation fails
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Tue Nov 3 15:45:47 MSK 2026
> ret is still 0 from dm_get_device() when alloc_ordered_workqueue()
> fails, so pb_ctr() frees pb and returns success. The table keeps
> ti->private pointing to freed memory, and pb_dtr() destroys it a
> second time.
>
> Fixes: 62e07487348e ("dm: Add push backup driver")
> https://virtuozzo.atlassian.net/browse/VSTOR-152912
> Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261103123802.846676-1-andrey.zhadchenko@virtuozzo.com?part=2
More information about the Devel
mailing list