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 8BABC219A74 for ; Wed, 26 Feb 2025 02:24:23 +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=1740536663; cv=none; b=tkp0P7DnUgZD8OkuGQIiwe19QHISAzl1ej85XUea57ZlEUC+azVKnWIOrEmVKOYko+ga+NoTIJ4Q2+DRF1Ub+5A+k90HUSDFXKSKJPbOAqy/yePl5mDA11dU1h+u66xG137Rj72MTQe1Lv+V2qBCnLFI/yC3v79kfgMZmQ4kjmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536663; c=relaxed/simple; bh=UMmU2DHwgbPdsiodmRz0KeySqSH0VWeQXGh7OLHM9sE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BhmgkwsoNC8lR68gBV9fKMCiEOcAlxBKFVp5YXgCDpWw4D7dJQRwVPBV6I2sZr8RlyIBmI4iXxZ/gAwsJg8gNy4akE38BKLDEoXaamVx9qU/ekx6DkwXKED5LMg/ABLjdq8u9LmI6s+ikwwsuomoDWZ4aAb/f+Jy3JPZ3jN3TzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=D6xXl3n7; 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="D6xXl3n7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FB19C4CEDD; Wed, 26 Feb 2025 02:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536663; bh=UMmU2DHwgbPdsiodmRz0KeySqSH0VWeQXGh7OLHM9sE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=D6xXl3n7SgzDQ2Uf2hVsoiUgkuaaq0OZBpMdETc0Dqv9JYasdrg9g6PL67SlvQ/fj IyePjr/i0V/5fV73x2uv+IW6w1FFZk5SXOATvlPIRfonnNOrz4HaZ/GTlEAvr6UMU9 jcHqM6J4JhnL2xdwYd50/N5HrH4jbQZKDAE/Zr4E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49615: ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error Date: Wed, 26 Feb 2025 03:22:58 +0100 Message-ID: <2025022614-CVE-2022-49615-e815@gregkh> X-Mailer: git-send-email 2.48.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=2043; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UMmU2DHwgbPdsiodmRz0KeySqSH0VWeQXGh7OLHM9sE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qq798RWruiYllyBuufebmuKkZc8ybp5tKS3dfGLrL PnYZL/HHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRdGuG+WncXAa/7/g/uVAj Hx8yp3bihOeiLAzzrLi8rr3ee1r2eK6uDXMw53qW8P8dAA== 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: rt711-sdca: fix kernel NULL pointer dereference when IO error The initial settings will be written before the codec probe function. But, the rt711->component doesn't be assigned yet. If IO error happened during initial settings operations, it will cause the kernel panic. This patch changed component->dev to slave->dev to fix this issue. The Linux kernel CVE team has assigned CVE-2022-49615 to this issue. Affected and fixed versions =========================== Fixed in 5.15.56 with commit 269be8b2907378adf72d7347cfa43ef230351a06 Fixed in 5.18.13 with commit 7bb71133cae88d3003a3490b97864af76533072b Fixed in 5.19 with commit 1df793d479bef546569fc2e409ff8bb3f0fb8e99 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-2022-49615 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/codecs/rt711-sdca.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/269be8b2907378adf72d7347cfa43ef230351a06 https://git.kernel.org/stable/c/7bb71133cae88d3003a3490b97864af76533072b https://git.kernel.org/stable/c/1df793d479bef546569fc2e409ff8bb3f0fb8e99