Technical impact
The vulnerability arises when the i.MX SPI driver in the Linux kernel allocates DMA transmit and receive buffers with a size that is only rounded to 4 bytes, but the driver maps, synchronizes, and unmaps those buffers using a cache‑aligned length that is larger. This mismatch allows the DMA engine to write past the end of the allocated buffer, corrupting adjacent memory. The corruption manifests as refcount_t warnings and, in observed workloads, culminates in a kernel crash (“Unable to handle kernel paging request”). The result is loss of system stability and, if an attacker can influence the DMA activity, potentially creating a local privilege escalation scenario—this possibility is inferred from the resultant memory corruption but is not explicitly confirmed in the description.
Affected Systems
This issue affects the Linux kernel's imx SPI driver on ARM‑based i.MX platforms (e.g., i.MX8MP) that use the ECC DMA mode before the commit that applied the fix. Kernels prior to that commit are potentially vulnerable when the feature is enabled. Systems that do not use the imx SPI driver or the affected ECC DMA mode are not exposed.
Risk and Exploitability
The CVSS score is 7.8. The EPSS score is <1%. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires interacting with the affected SPI device and inducing DMA transfers that trigger the buffer under‑allocation—conditions that were observed under heavy RPMSG load. The requirement of sustained traffic and the lack of a readily available exploit suggests a moderate difficulty triggering. If the memory corruption can be controlled, an attacker with local access may be able to leverage it for privilege escalation, but the likelihood and exact methods remain unconfirmed.