In the Linux kernel, the following vulnerability has been resolved: dmaengine: fsl-edma: tracing: no ptr dereference during log output 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 The log output needs only edma->membase. Add a membase field at the end of the event and use the new field for log output. Keep the existing fields for backward compatibility.
https://git.kernel.org/stable/c/ef02cd3807f39ae1dbc924788d8fa6a85334c435
https://git.kernel.org/stable/c/d382aaf5fed38c6dd2e0cc710d97cb81d660ffa7
https://git.kernel.org/stable/c/2ea04dca8e627f722caa7a2037cfbae0257f3501
https://git.kernel.org/stable/c/2a3801ae5c344473e648006c5b03a9216ac54a6a