[Devel] [PATCH hci-8.1 1/9] drivers/md/dm-qcow2: cancel the event work and ENOSPC timer in the destructor

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Mon Nov 16 18:46:51 MSK 2026


> qcow2_try_delay_enospc() schedules tgt->event_work on the system
> workqueue and arms tgt->enospc_timer, but qcow2_tgt_destroy() frees
> the target without waiting for either. A work item queued just
> before the device is suspended and removed runs on freed memory.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-152175
> Feature: dm-qcow2: block device over QCOW2 files driver
> Signed-off-by: Alexander Ivanov <alexander.ivanov at virtuozzo.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261116154119.2979718-1-alexander.ivanov@virtuozzo.com?part=1




More information about the Devel mailing list