<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 02:21:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-72134 — spi: imx: reconfigure for PIO when DMA cannot be started</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-72134</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;spi: imx: reconfigure for PIO when DMA cannot be started&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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&amp;#39;s mapping, so xfer-&amp;gt;{tx,rx}_sg_mapped
are not set and the core&amp;#39;s DMA-&amp;gt;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.&lt;/p&gt;
&lt;p&gt;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 &amp;#34;field failure
mode&amp;#34;, /dev/tpmrm0 is never created.&lt;/p&gt;
&lt;p&gt;Set controller-&amp;gt;fallback before re-running spi_imx_setupxfer() so the
ECSPI is reconfigured exactly like a normal PIO transfer. With
controller-&amp;gt;fallback set, spi_imx_setupxfer() sees spi_imx_can_dma()
return false, so it clears spi_imx-&amp;gt;usedma and reprograms the controller
(cl…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;spi: imx: reconfigure for PIO when DMA cannot be started&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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&amp;#39;s mapping, so xfer-&amp;gt;{tx,rx}_sg_mapped
are not set and the core&amp;#39;s DMA-&amp;gt;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.&lt;/p&gt;
&lt;p&gt;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 &amp;#34;field failure
mode&amp;#34;, /dev/tpmrm0 is never created.&lt;/p&gt;
&lt;p&gt;Set controller-&amp;gt;fallback before re-running spi_imx_setupxfer() so the
ECSPI is reconfigured exactly like a normal PIO transfer. With
controller-&amp;gt;fallback set, spi_imx_setupxfer() sees spi_imx_can_dma()
return false, so it clears spi_imx-&amp;gt;usedma and reprograms the controller
(cl…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-72134</guid>
    </item>
  </channel>
</rss>
