CVE-2024-26659

xhci: handle isoc Babble and Buffer Overrun events properly

MEDIUM
5.5
CVSS Score
Published: April 2, 2024 at 06:22 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.2135.11 ≤ v < 5.15.1525.16 ≤ v < 6.1.826.2 ≤ v < 6.6.176.7 ≤ v < 6.7.54e51901dd44f40a5a385ced897f6bca87d5f40a6.86.8 rc16.8 rc2
Vendor states this is fixed in 2aa7bcfdbb46241c701811bbc0d64d7884e3346c (fixed)
Vendor states this is fixed in 2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 (fixed)
Vendor states this is fixed in 418456c0ce56209610523f21734c5612ee634134 (fixed)
Vendor states this is fixed in 696e4112e5c1ee61996198f0ebb6ca3fab55166e (fixed)
Vendor states this is fixed in 7c4650ded49e5b88929ecbbb631efb8b0838e811 (fixed)
Vendor states this is fixed in f5e7ffa9269a448a720e21f1ed1384d118298c97 (fixed)
Vendor states this is fixed in 2.6.36 (unaffected)
Vendor states this is fixed in 5.10.213 (unaffected)
Vendor states this is fixed in 5.15.152 (unaffected)
Vendor states this is fixed in 6.1.82 (unaffected)
Vendor states this is fixed in 6.6.17 (unaffected)
Vendor states this is fixed in 6.7.5 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Source: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-265688.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card