Re: [PATCH] dmaengine: tegra-adma: Fix use-after-free
From: Vinod Koul
Date: Tue Dec 16 2025 - 11:56:38 EST
On Mon, 10 Nov 2025 19:54:45 +0530, Sheetal . wrote:
> A use-after-free bug exists in the Tegra ADMA driver when audio streams
> are terminated, particularly during XRUN conditions. The issue occurs
> when the DMA buffer is freed by tegra_adma_terminate_all() before the
> vchan completion tasklet finishes accessing it.
>
> The race condition follows this sequence:
>
> [...]
Applied, thanks!
[1/1] dmaengine: tegra-adma: Fix use-after-free
commit: 2efd07a7c36949e6fa36a69183df24d368bf9e96
Best regards,
--
~Vinod