CVE-2026-72134
spi: imx: reconfigure for PIO when DMA cannot be started
Mitigation
- Upgrade Linux to 245404c26563aafb36aafb01298f148db1851be3 or later.
Who should check
- Anyone running Linux >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c; >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 245404c26563aafb36aafb01298f148db1851be3
- Anyone running Linux 7.0
Vulnerability facts
- Affected
- Linux >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c; >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 245404c26563aafb36aafb01298f148db1851be3; Linux 7.0
- Fixed in
- Linux 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c, Linux 245404c26563aafb36aafb01298f148db1851be3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: spi: imx: reconfigure for PIO when DMA cannot be started When spi_imx_can_dma() selects DMA, the ECSPI is configured for DMA: spi_imx_setupxfer() sets CTRL.SMC and clears dynamic_burst, and spi_imx_dma_transfer() programs the dynamic-burst BURST_LENGTH and the SDMA watermarks. If the DMA descriptor cannot be prepared (dmaengine_prep_slave_single() returns NULL), the transfer is failed with SPI_TRANS_FAIL_NO_START and falls back to PIO. The dynamic-burst DMA path uses its own bounce buffers instead of the SPI core's mapping, so xfer->{tx,rx}_sg_mapped are not set and the core's DMA->PIO retry is skipped; the driver falls back to PIO internally. But none of the DMA-mode configuration is undone, so the PIO transfer runs with CTRL.SMC set, the wrong burst length and dynamic_burst cleared, and the transferred data is corrupted. This is easily hit on i.MX8MP boards that describe ECSPI DMA in the device tree but run SDMA on ROM firmware (no external sdma-imx7d.bin): every ECSPI DMA prepare fails. An Infineon SLB9670 TPM on ECSPI1 then returns shifted TPM2_GetCapability data, is flagged "field failure mode", /dev/tpmrm0 is never created. Set controller->fallback before re-running spi_imx_setupxfer() so the ECSPI is reconfigured exactly like a normal PIO transfer. With controller->fallback set, spi_imx_setupxfer() sees spi_imx_can_dma() return false, so it clears spi_imx->usedma and reprograms the controller (clears CTRL.SMC, restores dynamic_burst and the PIO burst length). No explicit spi_imx->usedma = false is needed: setupxfer() already updates it from the can_dma() result.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-72134. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-72134.md Affected: Linux >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c; >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 245404c26563aafb36aafb01298f148db1851be3; Linux 7.0 Fixed in: Linux 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c, Linux 245404c26563aafb36aafb01298f148db1851be3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-72134 being exploited?
There is no confirmed exploitation: CVE-2026-72134 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-72134?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-72134?
Linux >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c; >= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, < 245404c26563aafb36aafb01298f148db1851be3; Linux 7.0.
Is there a fix for CVE-2026-72134?
Yes. Fixed in Linux 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c, Linux 245404c26563aafb36aafb01298f148db1851be3. Upgrade Linux to 245404c26563aafb36aafb01298f148db1851be3 or later.
How do I check if I'm affected by CVE-2026-72134?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.