Vulnerabilities/

CVE-2024-53150

CVE

CVE-2024-53150

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

Severity

High

Base CVSS

7.1

Fixed in

a3dd4d63eeb452cfb064a13862fb376ab108f6a6,4.20,5.4,5.4.287,5.10.231,5.15.174,6.1.120,6.6.64,6.11.11,6.12.2,0:4.18.0-553.50.1.rt7.391.el8_10,0:4.18.0-553.50.1.el8_10,0:5.14.0-503.38.1.el9_5,0:7.4.0-503.38.1.el9_5,6.12.3-1,6.1.123-1,0:6.11.0-18.18,0:6.11.0-1009.10,0:6.11.0-1009.9,0:6.11.0-1010.11,0:6.11.0-1011.12,0:6.11.0-1008.8,0:6.11.0-1005.5,5.4.0-1142.152~18.04.1,5.4.0-1147.154~18.04.1,5.4.0-1145.154~18.04.1,5.4.0-211.231~18.04.1,5.4.0-1090.95~18.04.1,5.4.0-1140.149~18.04.1,5.4.0-1129.142~18.04.1,5.15.0-1039.39~20.04.1,5.4.0-211.231,5.4.0-1142.152,5.15.0-1080.87~20.04.1,5.4.0-1147.154,5.15.0-1086.95~20.04.1,5.4.0-1101.108,5.4.0-1145.154,5.15.0-1081.90~20.04.1,5.15.0-136.147~20.04.1,5.4.0-1088.93,5.15.0-1074.77~20.04.1,5.15.0-1077.83~20.04.1,5.4.0-1048.51,5.4.0-1129.138,5.15.0-135.146~20.04.1,5.4.0-1140.150,5.4.0-1129.142,5.15.0-1075.79~20.04.1,5.4.0-1060.64,6.8.0-58.60,6.8.0-1027.29,6.8.0-1027.32,6.11.0-1012.12~24.04.1,6.8.0-1014.15,6.8.0-1028.30,6.11.0-1011.11~24.04.1,6.8.0-1023.27,6.8.0-1010.12,6.8.0-1024.24,6.8.0-58.60.1,6.8.0-1026.29,6.11.0-1007.7,6.8.0-1026.29.1,6.8.0-1008.8,6.11.0-1015.15,6.8.0-1026.26,6.8.0-1024.25,6.8.0-1028.32,6.8.0-1017.18,5.15.0-135.146,5.15.0-1080.87,6.8.0-1027.29~22.04.1,5.15.0-1084.93,6.8.0-1027.32~22.04.1,5.15.0-1084.93.1,5.15.0-1079.88,6.8.0-1028.30~22.04.1,5.15.0-1077.83,5.15.0-1062.70,6.8.0-58.60~22.04.1,5.15.0-1072.75,6.8.0-1024.24~22.04.1,5.15.0-1073.75,5.15.0-1075.81,5.15.0-1076.81,6.8.0-58.60.1~22.04.1,5.15.0-1074.75,6.8.0-1026.29~22.04.1,5.15.0-1033.33,5.15.0-1021.21,6.8.0-1024.25~22.04.1,5.15.0-1074.77,5.15.0-1044.48,0:6.12.0-102.36.5.2.el10uek,0:6.12.0-101.33.4.3.el10uek,0:6.12.0-102.36.5.2.el9uek,0:6.12.0-101.33.4.3.el9uek,0:5.15.0-305.176.4.el9uek,0:5.4.17-2136.340.4.1.el8uek,0:5.15.0-305.176.4.el8uek,0:5.4.17-2136.340.4.1.el7uek

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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

High

7.1

3.1

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

OSV

0

3.1

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Endor Labs

Required action

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Known ransomware campaign use

Unknown

References

https://git.kernel.org/stable/c/096bb5b43edf755bc4477e64004fa3a20539ec2f, https://git.kernel.org/stable/c/45a92cbc88e4013bfed7fd2ccab3ade45f8e896b, https://git.kernel.org/stable/c/74cb86e1006c5437b1d90084d22018da30fddc77, https://git.kernel.org/stable/c/a3dd4d63eeb452cfb064a13862fb376ab108f6a6, https://git.kernel.org/stable/c/a632bdcb359fd8145e86486ff8612da98e239acd, https://git.kernel.org/stable/c/ab011f7439d9bbfd34fd3b9cef4b2d6d952c9bb9, https://git.kernel.org/stable/c/da13ade87a12dd58829278bc816a61bea06a56a9, https://git.kernel.org/stable/c/ea0fa76f61cf8e932d1d26e6193513230816e11d, https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html, https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html, https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-53150, https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53150.json, https://nvd.nist.gov/vuln/detail/CVE-2024-53150, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Basic information

Base CVSS

7.1

EPSS probability

0.0

EPSS percentile

0.72394

Introduced version

b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a,9feeaa50e5b4b0b71259d918a36ecf9059e60796,3b17a13b687ae99939dc94a4ae01fbc34f68decc,4.19.84,5.3.11,5.4.0,5.5.0,5.11.0,5.16.0,6.2.0,6.7.0,6.12.0,0

Fix available

a3dd4d63eeb452cfb064a13862fb376ab108f6a6,4.20,5.4,5.4.287,5.10.231,5.15.174,6.1.120,6.6.64,6.11.11,6.12.2,0:4.18.0-553.50.1.rt7.391.el8_10,0:4.18.0-553.50.1.el8_10,0:5.14.0-503.38.1.el9_5,0:7.4.0-503.38.1.el9_5,6.12.3-1,6.1.123-1,0:6.11.0-18.18,0:6.11.0-1009.10,0:6.11.0-1009.9,0:6.11.0-1010.11,0:6.11.0-1011.12,0:6.11.0-1008.8,0:6.11.0-1005.5,5.4.0-1142.152~18.04.1,5.4.0-1147.154~18.04.1,5.4.0-1145.154~18.04.1,5.4.0-211.231~18.04.1,5.4.0-1090.95~18.04.1,5.4.0-1140.149~18.04.1,5.4.0-1129.142~18.04.1,5.15.0-1039.39~20.04.1,5.4.0-211.231,5.4.0-1142.152,5.15.0-1080.87~20.04.1,5.4.0-1147.154,5.15.0-1086.95~20.04.1,5.4.0-1101.108,5.4.0-1145.154,5.15.0-1081.90~20.04.1,5.15.0-136.147~20.04.1,5.4.0-1088.93,5.15.0-1074.77~20.04.1,5.15.0-1077.83~20.04.1,5.4.0-1048.51,5.4.0-1129.138,5.15.0-135.146~20.04.1,5.4.0-1140.150,5.4.0-1129.142,5.15.0-1075.79~20.04.1,5.4.0-1060.64,6.8.0-58.60,6.8.0-1027.29,6.8.0-1027.32,6.11.0-1012.12~24.04.1,6.8.0-1014.15,6.8.0-1028.30,6.11.0-1011.11~24.04.1,6.8.0-1023.27,6.8.0-1010.12,6.8.0-1024.24,6.8.0-58.60.1,6.8.0-1026.29,6.11.0-1007.7,6.8.0-1026.29.1,6.8.0-1008.8,6.11.0-1015.15,6.8.0-1026.26,6.8.0-1024.25,6.8.0-1028.32,6.8.0-1017.18,5.15.0-135.146,5.15.0-1080.87,6.8.0-1027.29~22.04.1,5.15.0-1084.93,6.8.0-1027.32~22.04.1,5.15.0-1084.93.1,5.15.0-1079.88,6.8.0-1028.30~22.04.1,5.15.0-1077.83,5.15.0-1062.70,6.8.0-58.60~22.04.1,5.15.0-1072.75,6.8.0-1024.24~22.04.1,5.15.0-1073.75,5.15.0-1075.81,5.15.0-1076.81,6.8.0-58.60.1~22.04.1,5.15.0-1074.75,6.8.0-1026.29~22.04.1,5.15.0-1033.33,5.15.0-1021.21,6.8.0-1024.25~22.04.1,5.15.0-1074.77,5.15.0-1044.48,0:6.12.0-102.36.5.2.el10uek,0:6.12.0-101.33.4.3.el10uek,0:6.12.0-102.36.5.2.el9uek,0:6.12.0-101.33.4.3.el9uek,0:5.15.0-305.176.4.el9uek,0:5.4.17-2136.340.4.1.el8uek,0:5.15.0-305.176.4.el8uek,0:5.4.17-2136.340.4.1.el7uek

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.