CVE-2024-53150
Published: Dec 24, 2024
Modified: May 23, 2026
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a - < a632bdcb359fd8145e86486ff8612da98e239acdaffected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a - < 45a92cbc88e4013bfed7fd2ccab3ade45f8e896baffected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a - < ab011f7439d9bbfd34fd3b9cef4b2d6d952c9bb9affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a - < da13ade87a12dd58829278bc816a61bea06a56a9affected b8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a - < 74cb86e1006c5437b1d90084d22018da30fddc77+7 more versions |
Linux | Linux | affected 5.4unaffected 0 - < 5.4unaffected 5.4.287 - <= 5.4.*unaffected 5.10.231 - <= 5.10.*unaffected 5.15.174 - <= 5.15.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now