{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-98207",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-98207",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-10-06T08:44:44.241Z",
    "updatedAt": "2026-10-19T09:15:38.158Z",
    "importedAt": "2026-10-24T01:58:41.756Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "mmc: spi: reset bytes_xfered before retrying CRC failures",
      "summary": "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->bytes_xfered after each block has been\ntransferred successfully.  If a later block in the same data request\nfails with a CRC error, data->bytes_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->error and jumps back to\ncrc_recover to issue the same command and data request again.  However,\nit does not clear data->bytes_xfered before the retry.\n\nIf the retry succeeds, the request is completed with the bytes from the\nfailed attempt still included in data->bytes_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->bytes_xfered together with data->error before repeating the\nrequest so the final completion reports only the bytes transferred by the\nsuccessful attempt.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7d2f0ec16b300645f20435a6c3827b15e01419af"
            },
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d1acf4b9f6e9697406ce84ee9acfb92e094d5c7a"
            },
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0b8c8504593409954ed1a60db4e437d814e04023"
            },
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "da4929ee78ee701c3717543840798fedff66c430"
            },
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "57f5e29db63f7c80f1805d89234a74dcdbf60231"
            },
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4885e587f1afa9e1a573ab66f8c4d94d7b836d86"
            },
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3ae80c1fb7de4d3331427a955a44807745ac5a33"
            },
            {
              "version": "061c6c847eeb11743e489a16e907b41c6f9042b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8b0cc8707f65e0f51912e764e1b309b2559db1ec"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.37",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.37"
            },
            {
              "version": "5.10.271",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.222",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.189",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.158",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.54",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "7.2.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.2.*"
            },
            {
              "version": "7.3",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}