CVE
CVE-2024-41039
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Fix overflow checking of wmfw header Fix the checking that firmware file buffer is large enough for the wmfw header, to prevent overrunning the buffer. The original code tested that the firmware data buffer contained enough bytes for the sums of the size of the structs wmfw_header + wmfw_adsp1_sizes + wmfw_footer But wmfw_adsp1_sizes is only used on ADSP1 firmware. For ADSP2 and Halo Core the equivalent struct is wmfw_adsp2_sizes, which is 4 bytes longer. So the length check didn't guarantee that there are enough bytes in the firmware buffer for a header with wmfw_adsp2_sizes. This patch splits the length check into three separate parts. Each of the wmfw_header, wmfw_adsp?_sizes and wmfw_footer are checked separately before they are used.
受影响版本
- 6.10-rc7仅此版本
- 6.10-rc6仅此版本
- 6.10-rc5仅此版本
- 6.10-rc4仅此版本
- 6.10-rc3仅此版本
- 6.10-rc2仅此版本
- 6.10-rc1仅此版本
- ≥ 6.7, < 6.9.10修复版本 6.9.10
- ≥ 6.2, < 6.6.41修复版本 6.6.41
- ≥ 5.16, < 6.1.100修复版本 6.1.100
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。