[Devel] [PATCH hci-8.2 0/2] dm-qcow2: fix the ENOSPC timer left armed on a removed target

Konstantin Khorenko khorenko at virtuozzo.com
Thu Nov 19 19:26:22 MSK 2026


Applying the series with these fixes on my side:

1. 1/2: split the first paragraph of the message: the race, then the
   use-after-frees.
2. 2/2: added Fixes: 6e2ec304689f ("dm-qcow2: Pause IO and notify about
   ENOSPC events"), as Sashiko asked.
3. 2/2: reworded "presuspend finds the qio with the timer already armed
   and runs it".

On Thu, 19 Nov 2026 00:37:03 +0100, Denis V. Lunev wrote:
> Tested in an HCI 8.2 VM: the crash reproduces on stock and not with the
> series, and the ploop test suite passes in qcow2 and ploop formats.

How did you hit the window between the unlock and mod_timer()? It is a
few instructions wide. Please put the reproducer into VSTOR-155933.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list