# CVE-2026-72134: spi: imx: reconfigure for PIO when DMA cannot be started

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **Published:** 2026-08-15T05:53:09.573Z
- **Modified:** 2026-08-17T06:18:13.150Z

## Who should check

- Anyone running Linux \>= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, \< 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c; \>= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, \< 245404c26563aafb36aafb01298f148db1851be3
- Anyone running Linux 7.0

## 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

- Linux: \>= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, \< 40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c; \>= faa8e404ad8e686cb98c51dc507fdcacfb8020ce, \< 245404c26563aafb36aafb01298f148db1851be3 (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- Upgrade Linux to 245404c26563aafb36aafb01298f148db1851be3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/40dee2d3e9994aed9efe7bed40eb0e4d38d5a25c>
- other: <https://git.kernel.org/stable/c/245404c26563aafb36aafb01298f148db1851be3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72134>

HTML: <https://flawdb.com/CVE-2026-72134> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72134>
