Re: [PATCH] dmaengine: fsl_raid: zero CF descriptor pool allocations
From: Vinod Koul
Date: Thu Sep 10 2026 - 10:37:29 EST
On Wed, 19 Aug 2026 20:16:54 -0700, Rosen Penev wrote:
> The compound frame descriptors and embedded CDBs are allocated from the
> cf_desc_pool with dma_pool_alloc(), which does not zero the memory. Only
> cdb32, the gfm coefficients and the frame address/length fields are
> programmed; the dpi_dest_spec/dpi_src_spec fields in the CDBs and the
> rbro32 field of each frame are left uninitialized. The hardware reads
> the whole block (frame 0 length is sizeof(struct fsl_re_xor_cdb) or
> sizeof(struct fsl_re_pq_cdb)), so uninitialized heap contents are
> exposed to the device on each new descriptor.
>
> [...]
Applied, thanks!
[1/1] dmaengine: fsl_raid: zero CF descriptor pool allocations
commit: 26d48e9fb6997f4026dd86daecf8d2c12258f698
Best regards,
--
~Vinod