CVE-2024-53150
JSON

7.1highExploited

ALSA: usb-audio: Fix out of bounds reads when finding clock sources

Severity
7.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.35% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix out of bounds reads when finding clock sources The current USB-audio driver code doesn't check bLength of each descriptor at traversing for clock descriptors. That is, when a device provides a bogus descriptor with a shorter bLength, the driver might hit out-of-bounds reads. For addressing it, this patch adds sanity checks to the validator functions for the clock descriptor traversal. When the descriptor length is shorter than expected, it's skipped in the loop. For the clock source and clock multiplier descriptors, we can just check bLength against the sizeof() of each descriptor type. OTOH, the clock selector descriptor of UAC2 and UAC3 has an array of bNrInPins elements and two more fields at its tail, hence those have to be checked in addition to the sizeof() check.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before a632bdcb359fd8145e86486ff8612da98e239acd, from b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before 45a92cbc88e4013bfed7fd2ccab3ade45f8e896b, from b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before ab011f7439d9bbfd34fd3b9cef4b2d6d952c9bb9, from b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before da13ade87a12dd58829278bc816a61bea06a56a9, from b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before 74cb86e1006c5437b1d90084d22018da30fddc77, from b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before ea0fa76f61cf8e932d1d26e6193513230816e11d, from b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before 096bb5b43edf755bc4477e64004fa3a20539ec2f, from b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a before a3dd4d63eeb452cfb064a13862fb376ab108f6a6 and 5 more
Not affected: before 5.4, from 5.4.287 up to 5.4.*, from 5.10.231 up to 5.10.*, from 5.15.174 up to 5.15.*, from 6.1.120 up to 6.1.*, from 6.6.64 up to 6.6.*
CVE List
debian debian_linux11.0NVD
linux linux_kernelbefore 5.4.287, from 5.5 before 5.10.231, from 5.11 before 5.15.174, from 5.16 before 6.1.120, from 6.2 before 6.6.64, from 6.7 before 6.11.11, from 6.12 before 6.12.2NVD
Linux KernelNot specifiedCISA KEV

All scores

CISA-ADP7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation active, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix out of bounds reads when finding clock sources The current USB-audio driver code doesn't check bLength of each descriptor at traversing for clock descriptors. That is, when a device provides a bogus descriptor with a shorter bLength, the driver might hit out-of-bounds reads. For addressing it, this patch adds sanity checks to the validator functions for the clock descriptor traversal. When the descriptor length is shorter than expected, it's skipped in the loop. For the clock source and clock multiplier descriptors, we can just check bLength against the sizeof() of each descriptor type. OTOH, the clock selector descriptor of UAC2 and UAC3 has an array of bNrInPins elements and two more fields at its tail, hence those have to be checked in addition to the sizeof() check.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ALSA: usb-audio: corrige lecturas fuera de los límites al encontrar fuentes de reloj. El código actual del controlador de audio USB no verifica la bLongitud de cada descriptor al atravesar los descriptores de reloj. Es decir, cuando un dispositivo proporciona un descriptor falso con una longitud b más corta, el controlador podría alcanzar lecturas fuera de los límites. Para solucionarlo, este parche agrega controles de cordura a las funciones de validación para el recorrido del descriptor de reloj. Cuando la longitud del descriptor es más corta de lo esperado, se omite en el bucle. Para los descriptores de fuente de reloj y multiplicador de reloj, podemos comparar bLength con el sizeof() de cada tipo de descriptor. OTOH, el descriptor del selector de reloj de UAC2 y UAC3 tiene una matriz de elementos bNrInPins y dos campos más en su cola, por lo que deben verificarse además de la verificación sizeof().

CISA KEV

Linux Kernel contains an out-of-bounds read vulnerability in the USB-audio driver that allows a local, privileged attacker to obtain potentially sensitive information.

References

https://git.kernel.org/stable/c/a632bdcb359fd8145e86486ff8612da98e239acdpatch
https://git.kernel.org/stable/c/45a92cbc88e4013bfed7fd2ccab3ade45f8e896bpatch
https://git.kernel.org/stable/c/ab011f7439d9bbfd34fd3b9cef4b2d6d952c9bb9patch
https://git.kernel.org/stable/c/da13ade87a12dd58829278bc816a61bea06a56a9patch
https://git.kernel.org/stable/c/74cb86e1006c5437b1d90084d22018da30fddc77patch
https://git.kernel.org/stable/c/ea0fa76f61cf8e932d1d26e6193513230816e11dpatch
https://git.kernel.org/stable/c/096bb5b43edf755bc4477e64004fa3a20539ec2fpatch
https://git.kernel.org/stable/c/a3dd4d63eeb452cfb064a13862fb376ab108f6a6patch
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-53150government-resource, us-government-resource
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.htmlmailing-list
https://lore.kernel.org/linux-cve-announce/2024122427-CVE-2024-53150-3a7d@gregkh/kev

Sources

SourceRecordLicence
CVE ListCVE-2024-53150 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-53150 changed 2026-06-17Public domain
CISA KEVCVE-2024-53150 changed 2025-04-09CC0-1.0