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

CVE-2024-53150
HIGH 7.1CISA KEV ↗Exploited per ENISA since 2025-04-09

At a glance

Source
NVD
EPSS
EPSS 1.35 % · percentile 72 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a < a632bdcb359fd8145e86486ff8612da98e239acd ; affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a < 45a92cbc88e4013bfed7fd2ccab3ade45f8e896b ; affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a < ab011f7439d9bbfd34fd3b9cef4b2d6d952c9bb9 ; affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a < da13ade87a12dd58829278bc816a61bea06a56a9 ; affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a < 74cb86e1006c5437b1d90084d22018da30fddc77 ; affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a < ea0fa76f61cf8e932d1d26e6193513230816e11d
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.4.287 ≤ 5.4.* ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 5.15.* ; unaffected 6.1.120 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
CISA Known Exploited VulnerabilitiesCC0 1.0
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD