CVE-2026-98207

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/10/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> mmc: spi: reset bytes_xfered before retrying CRC failures<br /> <br /> mmc_spi_data_do() updates data-&gt;bytes_xfered after each block has been<br /> transferred successfully. If a later block in the same data request<br /> fails with a CRC error, data-&gt;bytes_xfered may therefore contain the<br /> number of bytes completed before the failing block.<br /> <br /> mmc_spi_request() has a private recovery path for such CRC failures. It<br /> sends STOP_TRANSMISSION, clears data-&gt;error and jumps back to<br /> crc_recover to issue the same command and data request again. However,<br /> it does not clear data-&gt;bytes_xfered before the retry.<br /> <br /> If the retry succeeds, the request is completed with the bytes from the<br /> failed attempt still included in data-&gt;bytes_xfered. For a multi-block<br /> request this can make the completed request report more bytes than were<br /> transferred by the successful retry, and can even exceed the request size<br /> when most blocks completed before the CRC error.<br /> <br /> This is most likely to be observed on MMC-over-SPI systems where long<br /> multi-block transfers occasionally hit a data CRC error but the<br /> mmc_spi-internal retry succeeds. The data itself is retried, but the<br /> completion accounting is not.<br /> <br /> Clear data-&gt;bytes_xfered together with data-&gt;error before repeating the<br /> request so the final completion reports only the bytes transferred by the<br /> successful attempt.

Impact