[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191223075257.GD2536@vkoul-mobl>
Date: Mon, 23 Dec 2019 13:22:57 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Peter Ujfalusi <peter.ujfalusi@...com>
Cc: dan.j.williams@...el.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org, alexandru.ardelean@...log.com,
s.hauer@...gutronix.de
Subject: Re: [PATCH] dmaengine: virt-dma: Fix access after free in
vcna_complete()
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
Powered by blists - more mailing lists