CVE-2025-37979

ASoC: qcom: Fix sc7280 lpass potential buffer overflow

State
Published
Severity
7.8 High
Published
May 20, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 77d0ffef793da818741127f4905a3e3d45d05ac7 to before d78888853eb53f47ae16cf3aa5d0444d0331b9f8Affected
  • 77d0ffef793da818741127f4905a3e3d45d05ac7 to before a12c14577882b1f2b4cff0f86265682f16e97b0cAffected
  • 77d0ffef793da818741127f4905a3e3d45d05ac7 to before c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39Affected
  • 77d0ffef793da818741127f4905a3e3d45d05ac7 to before b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3Affected
  • 77d0ffef793da818741127f4905a3e3d45d05ac7 to before a31a4934b31faea76e735bab17e63d02fcd8e029Affected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.136 through 6.1.*Not affected
  • 6.6.88 through 6.6.*Not affected
  • 6.12.25 through 6.12.*Not affected
  • 6.14.4 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.