xhci: handle isoc Babble and Buffer Overrun events properly

Summary

CVECVE-2024-26659
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-04-02 07:15:42 UTC
Updated2026-05-12 12:16:19 UTC
DescriptionIn 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
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

Legacy QID Mappings

  • 6000567 Debian Security Update for linux (DSA 5658-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report