{"id":"AZL-106002","summary":"CVE-2026-98207 affecting package kernel 6.6.157.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: spi: reset bytes_xfered before retrying CRC failures\n\nmmc_spi_data_do() updates data-\u003ebytes_xfered after each block has been\ntransferred successfully.  If a later block in the same data request\nfails with a CRC error, data-\u003ebytes_xfered may therefore contain the\nnumber of bytes completed before the failing block.\n\nmmc_spi_request() has a private recovery path for such CRC failures.  It\nsends STOP_TRANSMISSION, clears data-\u003eerror and jumps back to\ncrc_recover to issue the same command and data request again.  However,\nit does not clear data-\u003ebytes_xfered before the retry.\n\nIf the retry succeeds, the request is completed with the bytes from the\nfailed attempt still included in data-\u003ebytes_xfered.  For a multi-block\nrequest this can make the completed request report more bytes than were\ntransferred by the successful retry, and can even exceed the request size\nwhen most blocks completed before the CRC error.\n\nThis is most likely to be observed on MMC-over-SPI systems where long\nmulti-block transfers occasionally hit a data CRC error but the\nmmc_spi-internal retry succeeds.  The data itself is retried, but the\ncompletion accounting is not.\n\nClear data-\u003ebytes_xfered together with data-\u003eerror before repeating the\nrequest so the final completion reports only the bytes transferred by the\nsuccessful attempt.","modified":"2026-10-07T14:16:53.489215397Z","published":"2026-10-06T09:18:06Z","upstream":["CVE-2026-98207"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98207"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.157.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-106002.json"}}],"schema_version":"1.9.0"}