Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5011528B4F4 for ; Thu, 10 Jul 2025 07:44:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133485; cv=none; b=hsSTJu2FB7Zp1IEczuKYquXx2IVMfFd+0EVZAtJ6YjkyXt46HtyOO7ML5mtvMujt5hMr1ypvkV8K7eT6kqx7zpP2xZgwUk6n/Ctqhnv4Lc6e6I6WF4Y1vY4cZ3XU4owSJHaCP65MKcLx5VNDVb3Fd6cHGK+ML+TdWWdGoRIV9V8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133485; c=relaxed/simple; bh=eumEd+Tp3RZFqNhsx/WBTyk+pByGSECJlAQVwX09EHw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Bk235NIsQ5ryy7T7U5gLNLMM4/i0un1RKOuZQHzDkWxaEuIwjQmT4yAUY/nK3jzr7+T3cMitIraz1qAJ1xFTKeFvTVCsyVcxV+crD7N/Q0TIOjG8swdMblzznZpWNcpnFDDo0eLsRSwr5Q/HBDfcmr9MhQmc8Vye+TCp/Qgj50M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=juGaAq9x; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="juGaAq9x" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2740C4CEE3; Thu, 10 Jul 2025 07:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133485; bh=eumEd+Tp3RZFqNhsx/WBTyk+pByGSECJlAQVwX09EHw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=juGaAq9x0ildnMJRwiT+/PG3DSJhHZGR/Yq+Q+s6NrJvZqclDVHGCtodU/XLn8jrR +IiVZ5KuU9BRDs8S0DvigdkKeL6cRs7pVBSS9LL5aBDt/dR1ezDTEQs+n2o21QXvSd mwLUjcz0bhY0FX3ewA5SXERaVR5rafUc8USUIC1Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38308: ASoC: Intel: avs: Fix possible null-ptr-deref when initing hw Date: Thu, 10 Jul 2025 09:42:49 +0200 Message-ID: <2025071014-CVE-2025-38308-68c9@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1956; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=w29GmbF4j14PwRUV19ZrP5NqwQmV6Mcj4I11SRIoMxo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5edfcLzz9M8X5nced40KXuTfc+MPhdfRM8KeOfqPGC ZIbfhUe6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJrFnDsKCxSoC/QuS2kfM2 z0vWZ8JbtfOKRYCiwkw6MjPPS30xMl27duepnL7pD2UB X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: avs: Fix possible null-ptr-deref when initing hw Search result of avs_dai_find_path_template() shall be verified before being used. As 'template' is already known when avs_hw_constraints_init() is fired, drop the search entirely. The Linux kernel CVE team has assigned CVE-2025-38308 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit f2f847461fb7620e299be873cdd9437ddecd2266 and fixed in 6.15.3 with commit ea218ae05e60616531fe652650b98dcd3c328279 Issue introduced in 6.15 with commit f2f847461fb7620e299be873cdd9437ddecd2266 and fixed in 6.16-rc1 with commit 2f78724d4f0c665c83e202e3989d5333a2cb1036 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-38308 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/intel/avs/pcm.c 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/ea218ae05e60616531fe652650b98dcd3c328279 https://git.kernel.org/stable/c/2f78724d4f0c665c83e202e3989d5333a2cb1036