# CVE-2025-37979: ASoC: qcom: Fix sc7280 lpass potential buffer overflow

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-05-20T16:58:22.103Z
- Modified: 2026-08-05T11:58:44.888Z
- Weaknesses: CWE-787
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 77d0ffef793da818741127f4905a3e3d45d05ac7 before d78888853eb53f47ae16cf3aa5d0444d0331b9f8; from 77d0ffef793da818741127f4905a3e3d45d05ac7 before a12c14577882b1f2b4cff0f86265682f16e97b0c; from 77d0ffef793da818741127f4905a3e3d45d05ac7 before c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39; from 77d0ffef793da818741127f4905a3e3d45d05ac7 before b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3; from 77d0ffef793da818741127f4905a3e3d45d05ac7 before a31a4934b31faea76e735bab17e63d02fcd8e029; 5.18 (not affected: before 5.18; from 6.1.136 up to 6.1.*; from 6.6.88 up to 6.6.*; from 6.12.25 up to 6.12.*; from 6.14.4 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.18 before 6.1.136; from 6.2 before 6.6.88; from 6.7 before 6.12.25; from 6.13 before 6.14.4; 6.15
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/d78888853eb53f47ae16cf3aa5d0444d0331b9f8> (patch)
- <https://git.kernel.org/stable/c/a12c14577882b1f2b4cff0f86265682f16e97b0c> (patch)
- <https://git.kernel.org/stable/c/c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39> (patch)
- <https://git.kernel.org/stable/c/b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3> (patch)
- <https://git.kernel.org/stable/c/a31a4934b31faea76e735bab17e63d02fcd8e029> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-37979](https://www.cve.org/CVERecord?id=CVE-2025-37979), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-37979](https://nvd.nist.gov/vuln/detail/CVE-2025-37979), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-37979 · Whole record: https://cve.day/CVE-2025-37979.json · Rebuilt by cve.day 2026-11-25T22:58:58.317Z
