Linux
dmaengine: fsl-edma: tracing: no ptr dereference during log output
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 11102d0c343ba06ddd303f2503c0ce46d70052f2, < ef02cd3807f39ae1dbc924788d8fa6a85334c435
- >= 11102d0c343ba06ddd303f2503c0ce46d70052f2, < d382aaf5fed38c6dd2e0cc710d97cb81d660ffa7
- >= 11102d0c343ba06ddd303f2503c0ce46d70052f2, < 2a3801ae5c344473e648006c5b03a9216ac54a6a
- >= 11102d0c343ba06ddd303f2503c0ce46d70052f2, < 2ea04dca8e627f722caa7a2037cfbae0257f3501
Fixed in ef02cd3807f39ae1dbc924788d8fa6a85334c435, d382aaf5fed38c6dd2e0cc710d97cb81d660ffa7, 2a3801ae5c344473e648006c5b03a9216ac54a6a, 2ea04dca8e627f722caa7a2037cfbae0257f3501
- 6.10
Fixed in 0, 6.12.110, 6.18.51, 7.2.5, 7.3
Mitigation
Upgrade Linux to ef02cd3807f39ae1dbc924788d8fa6a85334c435 or d382aaf5fed38c6dd2e0cc710d97cb81d660ffa7 or 2a3801ae5c344473e648006c5b03a9216ac54a6a or 2ea04dca8e627f722caa7a2037cfbae0257f3501 or later.
Upgrade Linux to 0 or 6.12.110 or 6.18.51 or 7.2.5 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.