Re: [PATCH] dmaengine: virt-dma: Fix access after free in vcna_complete()
From: Vinod Koul
Date: Mon Dec 23 2019 - 02:53:04 EST
On 20-12-19, 15:11, Peter Ujfalusi wrote:
> vchan_vdesc_fini() is freeing up 'vd' so the access to vd->tx_result is
> via already freed up memory.
>
> Move the vchan_vdesc_fini() after invoking the callback to avoid this.
Applied, thanks
--
~Vinod