CVE
CVE-2024-53150
CNA 原文 · 原文(英文)
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.
受影响版本
- ≥ 6.12, < 6.12.2修复版本 6.12.2
- ≥ 6.7, < 6.11.11修复版本 6.11.11
- ≥ 6.2, < 6.6.64修复版本 6.6.64
- ≥ 5.16, < 6.1.120修复版本 6.1.120
- ≥ 5.11, < 5.15.174修复版本 5.15.174
- ≥ 5.5, < 5.10.231修复版本 5.10.231
- < 5.4.287修复版本 5.4.287
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/096bb5b43edf755bc4477e64004fa3a20539ec2f · Patch
- git.kernel.org/stable/c/45a92cbc88e4013bfed7fd2ccab3ade45f8e896b · Patch
- git.kernel.org/stable/c/74cb86e1006c5437b1d90084d22018da30fddc77 · Patch
- git.kernel.org/stable/c/a3dd4d63eeb452cfb064a13862fb376ab108f6a6 · Patch
- git.kernel.org/stable/c/a632bdcb359fd8145e86486ff8612da98e239acd · Patch
- git.kernel.org/stable/c/ab011f7439d9bbfd34fd3b9cef4b2d6d952c9bb9 · Patch
- git.kernel.org/stable/c/da13ade87a12dd58829278bc816a61bea06a56a9 · Patch
- git.kernel.org/stable/c/ea0fa76f61cf8e932d1d26e6193513230816e11d · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。