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 E982328A714 for ; Thu, 10 Jul 2025 07:43:59 +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=1752133440; cv=none; b=OeRsoJ/kg2Jaiz35wRbFZ/qUUAdWKAKyVTP8Y3Xv26vfbBTVRVKtt2lYVzlOl9DX53DGvIUAfAUHu8IZNHciQs+J1KNc86PynQvKg/jzcesMC30AXxhyKkIx/cL+vd6wEJtgcMitKNJJP9Wn9d8P3OlRx+aGCj3jS7II2HmzOTE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133440; c=relaxed/simple; bh=22IbRBI0CFUb9171gIfi5DwzDC8SXyput0bYoFf7jsY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XqDddUJhbL8Jyrk36OpQsdW5yuNt3BNShQg8NHnhxk7lPkpn53boPlUUf81rg13Dpm3SgX1q8VBghylEY5DmBn9rlgcwqTlfnSZogrRc4PzVcYuUhEBPCF4h5s/n+lJyY8BDBykinHeREPHcJBrQb0ecsGoMWxrSqlL4sXUWKqo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GoYFUkFV; 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="GoYFUkFV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76C93C4CEE3; Thu, 10 Jul 2025 07:43:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133439; bh=22IbRBI0CFUb9171gIfi5DwzDC8SXyput0bYoFf7jsY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GoYFUkFVv9PzDEu+l7Qk5/II/NA7e7TY7IptBVoK8ueV3xbfntbyZrP3rDrMz3OIW HmYbaovpMi8UuixJVjmlidYLsNIgZAimsrxEkKWexCP54MOj6jhcQrMSe14ndHBc3Y 3xhNYqt/x7EEp/9FP5/W21/GIRYvNAPftCWkQCl8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38307: ASoC: Intel: avs: Verify content returned by parse_int_array() Date: Thu, 10 Jul 2025 09:42:48 +0200 Message-ID: <2025071014-CVE-2025-38307-fe9d@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=2376; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YsUFdthAC4fmDPUERaWydXgnFVGoUuqqLA9Vf/D7lVk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eddeFrjPCf2waKesqZ7Eqgf/ZW7cNLOavkbh9n3LD JPwqGeaHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR1asYFszRTf1penwPq9uj xl+5Eh2shV+O3GGYK/1ZPfX29sPbLa8uXnPBJ35GsGDKDAA= 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: Verify content returned by parse_int_array() The first element of the returned array stores its length. If it is 0, any manipulation beyond the element at index 0 ends with null-ptr-deref. The Linux kernel CVE team has assigned CVE-2025-38307 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 5a565ba23abe478f3d4c3b0c8798bcb5215b82f5 and fixed in 6.6.94 with commit cc03c899e6d9812b25c3754c9a95c3830c4aec26 Issue introduced in 6.2 with commit 5a565ba23abe478f3d4c3b0c8798bcb5215b82f5 and fixed in 6.12.34 with commit 18ff538aac63de1866e5a49d57e22788b5c21d12 Issue introduced in 6.2 with commit 5a565ba23abe478f3d4c3b0c8798bcb5215b82f5 and fixed in 6.15.3 with commit 2916794ffbce604cc2cda105f6b8a4a7c748dd7f Issue introduced in 6.2 with commit 5a565ba23abe478f3d4c3b0c8798bcb5215b82f5 and fixed in 6.16-rc1 with commit 93e246b6769bdacb09cfff4ea0f00fe5ab4f0d7a 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-38307 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/debugfs.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/cc03c899e6d9812b25c3754c9a95c3830c4aec26 https://git.kernel.org/stable/c/18ff538aac63de1866e5a49d57e22788b5c21d12 https://git.kernel.org/stable/c/2916794ffbce604cc2cda105f6b8a4a7c748dd7f https://git.kernel.org/stable/c/93e246b6769bdacb09cfff4ea0f00fe5ab4f0d7a