Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
11102d0c343ba06ddd303f2503c0ce46d70052f2 to < ef02cd3807f39ae1dbc924788d8fa6a85334c435affected11102d0c343ba06ddd303f2503c0ce46d70052f2 to < d382aaf5fed38c6dd2e0cc710d97cb81d660ffa7affected11102d0c343ba06ddd303f2503c0ce46d70052f2 to < 2a3801ae5c344473e648006c5b03a9216ac54a6aaffected11102d0c343ba06ddd303f2503c0ce46d70052f2 to < 2ea04dca8e627f722caa7a2037cfbae0257f3501affected
Linux Linux
Default version status: affected
6.10affected0 to < 6.10unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected