Re: [PATCH v2] dmaengine: fsl-edma: tracing: no ptr dereference during log output

Vinod Koul <[email protected]>
Newsgroups org.kernel.vger.dmaengine,dev.linux.lists.imx,org.kernel.vger.linux-kernel,org.kernel.vger.linux-trace-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
On Sat, 18 Jul 2026 14:58:48 +0200, Martin Kaiser wrote:
> The fsl edma events store a pointer to a struct fsl_edma_engine in the
> ringbuffer and dereference it when a log entry is printed. At this time,
> the pointer may no longer be valid.
> 
> Event injection can be used to trigger a crash:
> 
> $ cd /sys/kernel/tracing
> $ echo 'value = 0' > events/fsl_edma/edma_writeb/inject
> $ cat trace
> 
> [...]

Applied, thanks!

[1/1] dmaengine: fsl-edma: tracing: no ptr dereference during log output
      commit: 2ea04dca8e627f722caa7a2037cfbae0257f3501

Best regards,
-- 
~Vinod
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.