CVE-2024-53150

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53150
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53150.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53150
Aliases
Downstream
Related
Published
2024-12-24T11:28:50.175Z
Modified
2025-11-28T02:34:20.326061Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
ALSA: usb-audio: Fix out of bounds reads when finding clock sources
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53150.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
a632bdcb359fd8145e86486ff8612da98e239acd
Fixed
45a92cbc88e4013bfed7fd2ccab3ade45f8e896b
Fixed
ab011f7439d9bbfd34fd3b9cef4b2d6d952c9bb9
Fixed
da13ade87a12dd58829278bc816a61bea06a56a9
Fixed
74cb86e1006c5437b1d90084d22018da30fddc77
Fixed
ea0fa76f61cf8e932d1d26e6193513230816e11d
Fixed
096bb5b43edf755bc4477e64004fa3a20539ec2f
Fixed
a3dd4d63eeb452cfb064a13862fb376ab108f6a6

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.287
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.231
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.174
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.64
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.11
Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2