{"id":33276,"date":"2026-10-06T20:31:40","date_gmt":"2026-10-06T12:31:40","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98207"},"modified":"2026-10-06T20:31:40","modified_gmt":"2026-10-06T12:31:40","slug":"cve-2026-98207","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98207","title":{"rendered":"CVE-2026-98207 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: spi: reset bytes"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mmc: spi: reset bytes_xfered before retrying CRC failures<\/p>\n<p>mmc_spi_data_do() updates data-&gt;bytes_xfered after each block has been<br \/>\ntransferred successfully.  If a later block in the same data request<br \/>\nfails with a CRC error, data-&gt;bytes_xfered may therefore contain the<br \/>\nnumber of bytes completed before the failing block.<\/p>\n<p>mmc_spi_request() has a private recovery path for such CRC failures.  It<br \/>\nsends STOP_TRANSMISSION, clears data-&gt;error and jumps back to<br \/>\ncrc_recover to issue the same command and data request again.  However,<br \/>\nit does not clear data-&gt;bytes_xfered before the retry.<\/p>\n<p>If the retry succeeds, the request is completed with the bytes from the<br \/>\nfailed attempt still included in data-&gt;bytes_xfered.  For a multi-block<br \/>\nrequest this can make the completed request report more bytes than were<br \/>\ntransferred by the successful retry, and can even exceed the request size<br \/>\nwhen most blocks completed before the CRC error.<\/p>\n<p>This is most likely to be observed on MMC-over-SPI systems where long<br \/>\nmulti-block transfers occasionally hit a data CRC error but the<br \/>\nmmc_spi-internal retry succeeds.  The data itself is retried, but the<br \/>\ncompletion accounting is not.<\/p>\n<p>Clear data-&gt;bytes_xfered together with data-&gt;error before repeating the<br \/>\nrequest so the final completion reports only the bytes transferred by the<br \/>\nsuccessful attempt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mmc: spi: reset bytes_xfered before retrying CRC failures<\/p>\n<p>mmc_spi_data_do() updates data-&gt;bytes_xfered after each block has been<br \/>\nt<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33276","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}