xhci: handle isoc Babble and Buffer Overrun events properly
Summary
| CVE | CVE-2024-26659 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-04-02 07:15:42 UTC |
| Updated | 2026-05-12 12:16:19 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-787
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 04e51901dd44f40a5a385ced897f6bca87d5f40a 696e4112e5c1ee61996198f0ebb6ca3fab55166e git | Not specified |
| CNA | Linux | Linux | affected 04e51901dd44f40a5a385ced897f6bca87d5f40a 2aa7bcfdbb46241c701811bbc0d64d7884e3346c git | Not specified |
| CNA | Linux | Linux | affected 04e51901dd44f40a5a385ced897f6bca87d5f40a 2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 git | Not specified |
| CNA | Linux | Linux | affected 04e51901dd44f40a5a385ced897f6bca87d5f40a f5e7ffa9269a448a720e21f1ed1384d118298c97 git | Not specified |
| CNA | Linux | Linux | affected 04e51901dd44f40a5a385ced897f6bca87d5f40a 418456c0ce56209610523f21734c5612ee634134 git | Not specified |
| CNA | Linux | Linux | affected 04e51901dd44f40a5a385ced897f6bca87d5f40a 7c4650ded49e5b88929ecbbb631efb8b0838e811 git | Not specified |
| CNA | Linux | Linux | affected 2.6.36 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.36 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.213 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.152 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.82 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.17 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.5 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 6000567 Debian Security Update for linux (DSA 5658-1)