lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025052040-CVE-2025-37979-3ca4@gregkh>
Date: Tue, 20 May 2025 18:56:43 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-37979: ASoC: qcom: Fix sc7280 lpass potential buffer overflow

From: Greg Kroah-Hartman <gregkh@...nel.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.

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-rc3 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ