CVE-2025-37882 (GCVE-0-2025-37882)

Vulnerability from cvelistv5 – Published: 2025-05-09 06:45 – Updated: 2026-10-15 21:52
VLAI
Title
usb: xhci: Fix isochronous Ring Underrun/Overrun event handling
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Fix isochronous Ring Underrun/Overrun event handling The TRB pointer of these events points at enqueue at the time of error occurrence on xHCI 1.1+ HCs or it's NULL on older ones. By the time we are handling the event, a new TD may be queued at this ring position. I can trigger this race by rising interrupt moderation to increase IRQ handling delay. Similar delay may occur naturally due to system load. If this ever happens after a Missed Service Error, missed TDs will be skipped and the new TD processed as if it matched the event. It could be given back prematurely, risking data loss or buffer UAF by the xHC. Don't complete TDs on xrun events and don't warn if queued TDs don't match the event's TRB pointer, which can be NULL or a link/no-op TRB. Don't warn if there are no queued TDs at all. Now that it's safe, also handle xrun events if the skip flag is clear. This ensures completion of any TD stuck in 'error mid TD' state right before the xrun event, which could happen if a driver submits a finite number of URBs to a buggy HC and then an error occurs on the last TD.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-15 21:45 UTC
Assigner
Linux CNA
Impacted products
Vendor Product Version
Linux Linux Affected: 608b973b70f87e9a9bafbfdfa16aab68507aef45 , < 16a7a8e6c47fea5c847beb696c8c21a7a44c1915 (git)
Affected: 608b973b70f87e9a9bafbfdfa16aab68507aef45 , < 39a080a2925c81b0f1da0add44722ef2b78e5454 (git)
Affected: 608b973b70f87e9a9bafbfdfa16aab68507aef45 , < 906dec15b9b321b546fd31a3c99ffc13724c7af4 (git)
Create a notification for this product.
Linux Linux Affected: 6.10
Unaffected: 0 , < 6.10 (semver)
Unaffected: 6.12.26 , ≤ 6.12.* (semver)
Unaffected: 6.14.5 , ≤ 6.14.* (semver)
Unaffected: 6.15 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-37882",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-15T21:45:43.370458Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-15T21:52:02.238Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/host/xhci-ring.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "16a7a8e6c47fea5c847beb696c8c21a7a44c1915",
              "status": "affected",
              "version": "608b973b70f87e9a9bafbfdfa16aab68507aef45",
              "versionType": "git"
            },
            {
              "lessThan": "39a080a2925c81b0f1da0add44722ef2b78e5454",
              "status": "affected",
              "version": "608b973b70f87e9a9bafbfdfa16aab68507aef45",
              "versionType": "git"
            },
            {
              "lessThan": "906dec15b9b321b546fd31a3c99ffc13724c7af4",
              "status": "affected",
              "version": "608b973b70f87e9a9bafbfdfa16aab68507aef45",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/host/xhci-ring.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.26",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.26",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.5",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Fix isochronous Ring Underrun/Overrun event handling\n\nThe TRB pointer of these events points at enqueue at the time of error\noccurrence on xHCI 1.1+ HCs or it\u0027s NULL on older ones. By the time we\nare handling the event, a new TD may be queued at this ring position.\n\nI can trigger this race by rising interrupt moderation to increase IRQ\nhandling delay. Similar delay may occur naturally due to system load.\n\nIf this ever happens after a Missed Service Error, missed TDs will be\nskipped and the new TD processed as if it matched the event. It could\nbe given back prematurely, risking data loss or buffer UAF by the xHC.\n\nDon\u0027t complete TDs on xrun events and don\u0027t warn if queued TDs don\u0027t\nmatch the event\u0027s TRB pointer, which can be NULL or a link/no-op TRB.\nDon\u0027t warn if there are no queued TDs at all.\n\nNow that it\u0027s safe, also handle xrun events if the skip flag is clear.\nThis ensures completion of any TD stuck in \u0027error mid TD\u0027 state right\nbefore the xrun event, which could happen if a driver submits a finite\nnumber of URBs to a buggy HC and then an error occurs on the last TD."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The race is in the xHCI host controller interrupt handler and is driven by isochronous URB traffic that a local user can generate through already-attached isoc devices (built-in UVC webcam, USB audio codec) via V4L2/ALSA/usbfs \u2014 no device insertion or physical access is needed.\nAC:L - The attacker controls both sides of the race: ring underruns are caused by starving the isoc ring (attacker-paced URB submission), while the IRQ-processing delay and Missed Service Errors are induced by attacker-generated CPU and USB bandwidth load, and the sequence can be retried continuously at stream rate until it lands.\nPR:L - Only an ordinary unprivileged local account is needed, since logind/udev ACLs routinely grant the active seat user access to /dev/video*, /dev/snd/pcm* and /dev/bus/usb, all of which submit isochronous transfers to xHCI.\nUI:N - The attacker performs all steps themselves by opening the isoc endpoint and driving the transfer pattern; no action by any other user is required.\nS:U - The corruption occurs in kernel memory managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The prematurely completed URB\u0027s buffer is DMA-unmapped and freed while the xHC still owns the TRBs, so freed kernel heap contents are transmitted to the USB device on OUT endpoints and the freed object can be reallocated and read back, giving an arbitrary kernel-memory disclosure primitive.\nI:H - The host controller continues DMA-writing device-supplied data into the freed/unmapped buffer, producing an attacker-influenced write into reallocated kernel heap memory \u2014 a use-after-free write primitive usable for control-flow hijack, on top of silent data corruption of the isoc stream.\nA:H - DMA into freed memory and the resulting software/hardware ring dequeue-pointer desync cause heap corruption, IOMMU faults, \"HC is busted\" error paths and controller resets, readily crashing or hanging the system."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:58:01.446Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/16a7a8e6c47fea5c847beb696c8c21a7a44c1915"
        },
        {
          "url": "https://git.kernel.org/stable/c/39a080a2925c81b0f1da0add44722ef2b78e5454"
        },
        {
          "url": "https://git.kernel.org/stable/c/906dec15b9b321b546fd31a3c99ffc13724c7af4"
        }
      ],
      "title": "usb: xhci: Fix isochronous Ring Underrun/Overrun event handling",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-37882",
    "datePublished": "2025-05-09T06:45:45.936Z",
    "dateReserved": "2025-04-16T04:51:23.962Z",
    "dateUpdated": "2026-10-15T21:52:02.238Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-37882",
      "date": "2026-11-19",
      "epss": "0.00301",
      "percentile": "0.23273"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-05T15:04:33.000Z",
      "cve": "CVE-2025-37882",
      "id": "msrc_CVE-2025-37882",
      "initial_release_date": "2025-09-04T01:40:47.000Z",
      "product_status:known_affected": "16",
      "product_status:under_investigation": "12",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "usb: xhci: Fix isochronous Ring Underrun/Overrun event handling",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-37882.json",
      "version": "27"
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-05T14:36:22+00:00",
      "cve": "CVE-2025-37882",
      "id": "CVE-2025-37882",
      "initial_release_date": "2025-05-09T00:00:00+00:00",
      "product_status:fixed": "1256",
      "product_status:known_affected": "200",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Linux kernel: xHCI driver isochronous event handling race condition leading to data loss or UAF",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-37882.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-37882",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-10-15T21:45:43.370458Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-10-15T21:45:44.152Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Linux",
              "programFiles": [
                "drivers/usb/host/xhci-ring.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "lessThan": "16a7a8e6c47fea5c847beb696c8c21a7a44c1915",
                  "status": "affected",
                  "version": "608b973b70f87e9a9bafbfdfa16aab68507aef45",
                  "versionType": "git"
                },
                {
                  "lessThan": "39a080a2925c81b0f1da0add44722ef2b78e5454",
                  "status": "affected",
                  "version": "608b973b70f87e9a9bafbfdfa16aab68507aef45",
                  "versionType": "git"
                },
                {
                  "lessThan": "906dec15b9b321b546fd31a3c99ffc13724c7af4",
                  "status": "affected",
                  "version": "608b973b70f87e9a9bafbfdfa16aab68507aef45",
                  "versionType": "git"
                }
              ]
            },
            {
              "defaultStatus": "affected",
              "product": "Linux",
              "programFiles": [
                "drivers/usb/host/xhci-ring.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "status": "affected",
                  "version": "6.10"
                },
                {
                  "lessThan": "6.10",
                  "status": "unaffected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "6.12.*",
                  "status": "unaffected",
                  "version": "6.12.26",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "6.14.*",
                  "status": "unaffected",
                  "version": "6.14.5",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "*",
                  "status": "unaffected",
                  "version": "6.15",
                  "versionType": "original_commit_for_fix"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.12.26",
                      "versionStartIncluding": "6.10",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.14.5",
                      "versionStartIncluding": "6.10",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.15",
                      "versionStartIncluding": "6.10",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Fix isochronous Ring Underrun/Overrun event handling\n\nThe TRB pointer of these events points at enqueue at the time of error\noccurrence on xHCI 1.1+ HCs or it\u0027s NULL on older ones. By the time we\nare handling the event, a new TD may be queued at this ring position.\n\nI can trigger this race by rising interrupt moderation to increase IRQ\nhandling delay. Similar delay may occur naturally due to system load.\n\nIf this ever happens after a Missed Service Error, missed TDs will be\nskipped and the new TD processed as if it matched the event. It could\nbe given back prematurely, risking data loss or buffer UAF by the xHC.\n\nDon\u0027t complete TDs on xrun events and don\u0027t warn if queued TDs don\u0027t\nmatch the event\u0027s TRB pointer, which can be NULL or a link/no-op TRB.\nDon\u0027t warn if there are no queued TDs at all.\n\nNow that it\u0027s safe, also handle xrun events if the skip flag is clear.\nThis ensures completion of any TD stuck in \u0027error mid TD\u0027 state right\nbefore the xrun event, which could happen if a driver submits a finite\nnumber of URBs to a buggy HC and then an error occurs on the last TD."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "scenarios": [
                {
                  "lang": "en",
                  "value": "AV:L - The race is in the xHCI host controller interrupt handler and is driven by isochronous URB traffic that a local user can generate through already-attached isoc devices (built-in UVC webcam, USB audio codec) via V4L2/ALSA/usbfs \u2014 no device insertion or physical access is needed.\nAC:L - The attacker controls both sides of the race: ring underruns are caused by starving the isoc ring (attacker-paced URB submission), while the IRQ-processing delay and Missed Service Errors are induced by attacker-generated CPU and USB bandwidth load, and the sequence can be retried continuously at stream rate until it lands.\nPR:L - Only an ordinary unprivileged local account is needed, since logind/udev ACLs routinely grant the active seat user access to /dev/video*, /dev/snd/pcm* and /dev/bus/usb, all of which submit isochronous transfers to xHCI.\nUI:N - The attacker performs all steps themselves by opening the isoc endpoint and driving the transfer pattern; no action by any other user is required.\nS:U - The corruption occurs in kernel memory managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The prematurely completed URB\u0027s buffer is DMA-unmapped and freed while the xHC still owns the TRBs, so freed kernel heap contents are transmitted to the USB device on OUT endpoints and the freed object can be reallocated and read back, giving an arbitrary kernel-memory disclosure primitive.\nI:H - The host controller continues DMA-writing device-supplied data into the freed/unmapped buffer, producing an attacker-influenced write into reallocated kernel heap memory \u2014 a use-after-free write primitive usable for control-flow hijack, on top of silent data corruption of the isoc stream.\nA:H - DMA into freed memory and the resulting software/hardware ring dequeue-pointer desync cause heap corruption, IOMMU faults, \"HC is busted\" error paths and controller resets, readily crashing or hanging the system."
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-05T11:58:01.446Z",
            "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "shortName": "Linux"
          },
          "references": [
            {
              "url": "https://git.kernel.org/stable/c/16a7a8e6c47fea5c847beb696c8c21a7a44c1915"
            },
            {
              "url": "https://git.kernel.org/stable/c/39a080a2925c81b0f1da0add44722ef2b78e5454"
            },
            {
              "url": "https://git.kernel.org/stable/c/906dec15b9b321b546fd31a3c99ffc13724c7af4"
            }
          ],
          "title": "usb: xhci: Fix isochronous Ring Underrun/Overrun event handling",
          "x_generator": {
            "engine": "bippy-1.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "assignerShortName": "Linux",
        "cveId": "CVE-2025-37882",
        "datePublished": "2025-05-09T06:45:45.936Z",
        "dateReserved": "2025-04-16T04:51:23.962Z",
        "dateUpdated": "2026-10-15T21:52:02.238Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.