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 979673C0B for ; Wed, 19 Jun 2024 13:36:52 +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=1718804212; cv=none; b=i6IMpfEbuil6UhqEiSpipDJknROMHF/bSqh0MAhnv0jlSjPMgcU8BWQ9SqsWlunPvBQeNrLrMajwATrVZ10EW97PMUrAEuf54/1pZp+lmlFhytt4nbLM3HUvHK33Grcvh8qkgqIsWL2kcy61gp2fVBGi1LX+JhCv87ftNOJ6MJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718804212; c=relaxed/simple; bh=s71w7TTUPaaIlCWKNek5PhIRuIH/1z1LVjWkmotIp+A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SmtUFYThVeiLqd/TCaLG3VZmxRwGlxtiZ5VTtFX4+sunNEIoeT6C1yVu/kSZ0Ygl9FD20JZo08zmJ8ASYHWfkN9ifVFJsmik/9NmM6Hy6hOrjncUmtRfZrWaEl/r+5WWAgIEPWXkXNeqCfjmV030OeQMak5EIgZphB/y4amBje0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CgFNXyc+; 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="CgFNXyc+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C6CEC2BBFC; Wed, 19 Jun 2024 13:36:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718804212; bh=s71w7TTUPaaIlCWKNek5PhIRuIH/1z1LVjWkmotIp+A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CgFNXyc+dhp3iQZpQAgObh/0TrttwTiuklQAwd2ighF2LOL4XfLCPZLDtUhB8qIWq jBNrxn4mJwD4ozoS+mFEw0gP9SLUjssGtLdh5MoVJPJJ8sIKvnioIjA4SKOr0sHoUZ ISyHlApi+EIE1e42HQFNwWSuJy69FGr7QdOBBOZM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38551: ASoC: mediatek: Assign dummy when codec not specified for a DAI link Date: Wed, 19 Jun 2024 15:36:00 +0200 Message-ID: <2024061951-CVE-2024-38551-babb@gregkh> X-Mailer: git-send-email 2.45.2 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=2340; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=s71w7TTUPaaIlCWKNek5PhIRuIH/1z1LVjWkmotIp+A=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlF97a/E2h+Mvl1N7++Q+nEmXu+2r1N3NSp+nL9RRmDb Xxr600OdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE/gYyzHfYdTXxdl5CQe1z r07OCbwhWxzCbzAsmCK4c9+5JLc4dV1fy8s32gz4K70jAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: Assign dummy when codec not specified for a DAI link MediaTek sound card drivers are checking whether a DAI link is present and used on a board to assign the correct parameters and this is done by checking the codec DAI names at probe time. If no real codec is present, assign the dummy codec to the DAI link to avoid NULL pointer during string comparison. The Linux kernel CVE team has assigned CVE-2024-38551 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 4302187d955f and fixed in 6.6.33 with commit 87b8dca6e06f Issue introduced in 6.3 with commit 4302187d955f and fixed in 6.8.12 with commit cbbcabc7f097 Issue introduced in 6.3 with commit 4302187d955f and fixed in 6.9.3 with commit 0c052b1c11d8 Issue introduced in 6.3 with commit 4302187d955f and fixed in 6.10-rc1 with commit 5f39231888c6 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-2024-38551 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/mediatek/common/mtk-soundcard-driver.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/87b8dca6e06f9b1681bc52bf7bfa85c663a11158 https://git.kernel.org/stable/c/cbbcabc7f0979f6542372cf88d7a9da7143a4226 https://git.kernel.org/stable/c/0c052b1c11d8119f3048b1f7b3c39a90500cacf9 https://git.kernel.org/stable/c/5f39231888c63f0a7708abc86b51b847476379d8