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 2F35E219A78 for ; Wed, 26 Feb 2025 02:15:44 +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=1740536144; cv=none; b=YVoxN2pUi6yw2YXzMmlQg6d0EHRuko3bOGiNe0xji8wQWM3Vsf4GkBaao8K5Q1JQby7tcVt06F2CnMC0ZqIukqyh7VmPmsMHJ8+jjqJz6Cy7XjbCUAa7bMNQSOfSpHwAqGKrttpERUWy8tjnkSuO9CLiVS44iECOt0DCcJBX3yQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536144; c=relaxed/simple; bh=DWacrY3TYs7cYjqu65zli4IlEz2ruWaInzB+xOt1AeM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CC94i02P8M2ANgD41qioLkDkMObcSwzv9DrLlXm/XUrqWPXA8BPCEkUKNXCH1vLJWx11tkIzKslBBPVAMDPPDycJCo4rmRc0RotdKq9RUqbnRyyU2xtFZwtyv2h+Su+SILeBH6g1oSCWHZAg+lXAF8/ZP9Gi19EU/cRZA7P1f44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JSfxa0R7; 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="JSfxa0R7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04BA4C4CEDD; Wed, 26 Feb 2025 02:15:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536144; bh=DWacrY3TYs7cYjqu65zli4IlEz2ruWaInzB+xOt1AeM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JSfxa0R7IjY4XVHcQFNEs1j7G/BzN9Jchv5UzJBp0LHD9YxI5Jis8ipzSZWp1FCHj R1+YEz1Tc1moeciob9HVN4vhN/teUd7DQcwUsMS5wn+Ydw9lP7cvymiOLJ8FvYXmbs J6ir4sZx4gjD97xMdtRHeGMaWVcKbGcyNnI8o/tc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49514: ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe Date: Wed, 26 Feb 2025 03:13:08 +0100 Message-ID: <2025022610-CVE-2022-49514-843e@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=3461; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DWacrY3TYs7cYjqu65zli4IlEz2ruWaInzB+xOt1AeM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7KpiWHOKeyvD8fPqF3cXndybb7m98I+J85N0N1c83u j4anO361BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATUTnFMN+17utEzxdWT1bv 2L71l2919M/q72wMczjjuJ84Fcb9aNELe3iZcfUl9hlfqgE= 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: Fix error handling in mt8173_max98090_dev_probe Call of_node_put(platform_node) to avoid refcount leak in the error path. The Linux kernel CVE team has assigned CVE-2022-49514 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 4.9.318 with commit 0a1901f34f775b83ea4b8dbb5ed992147b9b8531 Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 4.14.283 with commit 1e932aba3c7628c9f880ee9c2cfcc2ae3ba0c01e Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 4.19.247 with commit cc43b9fdca519c5b13be6a717bacbebccd628cf6 Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.4.198 with commit 23f340ed906c758cec6527376768e3bc1474ac30 Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.10.121 with commit fb66e0512e5ccc093070e21cf88cce8d98c181b5 Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.15.46 with commit 48889eb3cce91d7f58e02bc07277b7f724b7a54a Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.17.14 with commit ebd5cb4f1f3f10b839e7575219e0f17b60c23113 Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.18.3 with commit 98d5afe868df998b0244f4c229ab758b4083684a Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.19 with commit 4f4e0454e226de3bf4efd7e7924d1edc571c52d5 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-49514 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/mt8173/mt8173-max98090.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/0a1901f34f775b83ea4b8dbb5ed992147b9b8531 https://git.kernel.org/stable/c/1e932aba3c7628c9f880ee9c2cfcc2ae3ba0c01e https://git.kernel.org/stable/c/cc43b9fdca519c5b13be6a717bacbebccd628cf6 https://git.kernel.org/stable/c/23f340ed906c758cec6527376768e3bc1474ac30 https://git.kernel.org/stable/c/fb66e0512e5ccc093070e21cf88cce8d98c181b5 https://git.kernel.org/stable/c/48889eb3cce91d7f58e02bc07277b7f724b7a54a https://git.kernel.org/stable/c/ebd5cb4f1f3f10b839e7575219e0f17b60c23113 https://git.kernel.org/stable/c/98d5afe868df998b0244f4c229ab758b4083684a https://git.kernel.org/stable/c/4f4e0454e226de3bf4efd7e7924d1edc571c52d5