5.5
MEDIUM
CVE-2024-26659
Xhci Linux Kernel Buffer Overrun and Non-Exit Event Handling Vulnerability
Description

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.

INFO

Published Date :

April 2, 2024, 7:15 a.m.

Last Modified :

March 17, 2025, 3:13 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-26659 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Debian debian_linux

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-26659 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-26659 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 from (excluding) 6.1.82 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 from (excluding) 5.15.152 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.7.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.17 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (excluding) 5.10.213
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    Added Reference Type CVE: https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 Types: Patch
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Mailing List
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c
    Added Reference https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3
    Added Reference https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134
    Added Reference https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e
    Added Reference https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811
    Added Reference https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 05, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 25, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 29, 2024

    Action Type Old Value New Value
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 02, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-26659 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-26659 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability