| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37979: ASoC: qcom: Fix sc7280 lpass potential buffer overflow |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| ASoC: qcom: Fix sc7280 lpass potential buffer overflow |
| |
| Case values introduced in commit |
| 5f78e1fb7a3e ("ASoC: qcom: Add driver support for audioreach solution") |
| cause out of bounds access in arrays of sc7280 driver data (e.g. in case |
| of RX_CODEC_DMA_RX_0 in sc7280_snd_hw_params()). |
| |
| Redefine LPASS_MAX_PORTS to consider the maximum possible port id for |
| q6dsp as sc7280 driver utilizes some of those values. |
| |
| Found by Linux Verification Center (linuxtesting.org) with SVACE. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37979 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.18 with commit 77d0ffef793da818741127f4905a3e3d45d05ac7 and fixed in 6.1.136 with commit d78888853eb53f47ae16cf3aa5d0444d0331b9f8 |
| Issue introduced in 5.18 with commit 77d0ffef793da818741127f4905a3e3d45d05ac7 and fixed in 6.6.88 with commit a12c14577882b1f2b4cff0f86265682f16e97b0c |
| Issue introduced in 5.18 with commit 77d0ffef793da818741127f4905a3e3d45d05ac7 and fixed in 6.12.25 with commit c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39 |
| Issue introduced in 5.18 with commit 77d0ffef793da818741127f4905a3e3d45d05ac7 and fixed in 6.14.4 with commit b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3 |
| Issue introduced in 5.18 with commit 77d0ffef793da818741127f4905a3e3d45d05ac7 and fixed in 6.15 with commit a31a4934b31faea76e735bab17e63d02fcd8e029 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2025-37979 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| sound/soc/qcom/lpass.h |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/d78888853eb53f47ae16cf3aa5d0444d0331b9f8 |
| https://git.kernel.org/stable/c/a12c14577882b1f2b4cff0f86265682f16e97b0c |
| https://git.kernel.org/stable/c/c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39 |
| https://git.kernel.org/stable/c/b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3 |
| https://git.kernel.org/stable/c/a31a4934b31faea76e735bab17e63d02fcd8e029 |