CVE-2024-26659

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

17 Mar 2025, 15:13

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-787
CPE cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
First Time Debian
Linux linux Kernel
Linux
Debian debian Linux
References () https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c - () https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c - Patch
References () https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 - () https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 - Patch
References () https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 - () https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 - Patch
References () https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e - () https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e - Patch
References () https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 - () https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 - Patch
References () https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 - () https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 - Patch
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - Mailing List

21 Nov 2024, 09:02

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
References () https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c - () https://git.kernel.org/stable/c/2aa7bcfdbb46241c701811bbc0d64d7884e3346c -
References () https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 - () https://git.kernel.org/stable/c/2e3ec80ea7ba58bbb210e83b5a0afefee7c171d3 -
References () https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 - () https://git.kernel.org/stable/c/418456c0ce56209610523f21734c5612ee634134 -
References () https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e - () https://git.kernel.org/stable/c/696e4112e5c1ee61996198f0ebb6ca3fab55166e -
References () https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 - () https://git.kernel.org/stable/c/7c4650ded49e5b88929ecbbb631efb8b0838e811 -
References () https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 - () https://git.kernel.org/stable/c/f5e7ffa9269a448a720e21f1ed1384d118298c97 -

05 Nov 2024, 10:15

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}

25 Jun 2024, 22:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -

02 Apr 2024, 12:50

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: xhci: maneja correctamente los eventos isoc Babble y Buffer Overrun xHCI 4.9 prohíbe explícitamente suponer que xHC ha liberado su propiedad de un TD multi-TRB cuando informa un error en uno de los primeros TRB. Sin embargo, el conductor hace tal suposición y libera el TD, permitiendo que los TRB restantes sean liberados o sobrescritos por nuevos TD. El xHC también debe informar la finalización del TRB final debido a que nosotros establecimos la bandera del COI, independientemente de los errores anteriores. Este evento no se puede reconocer si el TD ya se liberó anteriormente, lo que genera el mensaje de error "Evento de transferencia TRB DMA ptr no forma parte del TD actual". Solucione este problema reutilizando la lógica para procesar errores de transacción isoc. Esto también maneja los hosts que no informan la finalización final. Se corrigió el informe de duración de la transferencia sobre errores de Babble. Pueden deberse a un mal funcionamiento del dispositivo, no hay garantía de que se haya llenado el búfer.

02 Apr 2024, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-02 07:15

Updated : 2025-03-17 15:13


NVD link : CVE-2024-26659

Mitre link : CVE-2024-26659

CVE.ORG link : CVE-2024-26659


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-787

Out-of-bounds Write