CVE-2024-26659

MEDIUM

Linux Kernel < 5.10.213 - Out-of-Bounds Write

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 1.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-787
Status published
Products (22)
debian/debian_linux 10.0
linux/Kernel 2.6.36 - 5.10.213linux
linux/Kernel 5.11.0 - 5.15.152linux
linux/Kernel 5.16.0 - 6.1.82linux
linux/Kernel 6.2.0 - 6.6.17linux
linux/Kernel 6.7.0 - 6.7.5linux
Linux/Linux < 2.6.36
Linux/Linux 04e51901dd44f40a5a385ced897f6bca87d5f40a - 2aa7bcfdbb46241c701811bbc0d64d7884e3346c
Linux/Linux 04e51901dd44f40a5a385ced897f6bca87d5f40a - 2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3
Linux/Linux 04e51901dd44f40a5a385ced897f6bca87d5f40a - 418456c0ce56209610523f21734c5612ee634134
... and 12 more
Published Apr 02, 2024
Tracked Since Feb 18, 2026