Skip to content
Heist/ feed
High

xhci: handle isoc Babble and Buffer Overrun events properly

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: xhci: handle isoc Babble and Buffer Overrun events properly xHCI 4.9 explicitly forbids assuming that the xHC has released its ownership of a multi-TRB TD when it reports an error on one of the early TRBs. Yet the driver makes such assumption and releases the TD, allowing the remaining TRBs to be freed or overwritten by new TDs. The xHC should also report completion of the final TRB due to its IOC flag being set by us, regardless of prior errors. This event cannot be recognized if the TD has already been freed earlier, resulting in "Transfer event TRB DMA ptr not part of current TD" error message. Fix this by reusing the logic for processing isoc Transaction Errors. This also handles hosts which fail to report the final completion. Fix transfer length reporting on Babble errors. They may be caused by device malfunction, no guarantee that the buffer has been filled.

Announced Group revision 1
Original source ↗

CVE-2024-26659

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2024-26659

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "04e51901dd44f40a5a385ced897f6bca87d5f40a",
        "lessThan": "696e4112e5c1ee61996198f0ebb6ca3fab55166e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "04e51901dd44f40a5a385ced897f6bca87d5f40a",
        "lessThan": "2aa7bcfdbb46241c701811bbc0d64d7884e3346c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "04e51901dd44f40a5a385ced897f6bca87d5f40a",
        "lessThan": "2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "04e51901dd44f40a5a385ced897f6bca87d5f40a",
        "lessThan": "f5e7ffa9269a448a720e21f1ed1384d118298c97",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "04e51901dd44f40a5a385ced897f6bca87d5f40a",
        "lessThan": "418456c0ce56209610523f21734c5612ee634134",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "04e51901dd44f40a5a385ced897f6bca87d5f40a",
        "lessThan": "7c4650ded49e5b88929ecbbb631efb8b0838e811",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/usb/host/xhci-ring.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2.6.36"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "2.6.36",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.213",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.152",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.82",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.17",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.7.5",
        "versionType": "semver",
        "lessThanOrEqual": "6.7.*"
      },
      {
        "status": "unaffected",
        "version": "6.8",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/usb/host/xhci-ring.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2024-26659

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#26418 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement