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 4593521A432 for ; Wed, 26 Feb 2025 02:15:46 +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=1740536146; cv=none; b=tg4QRWTp19/S8diKsFxdqLxf9ml6YvNCcky4GuQq6FGVRCpRnW9XXPL0NExmhknVEMZMZyLkbtws9FiruoEaZcXaehWI/WET7OcrKa+jFZQxQpwAVjha1bWms3tPgFFo/az3J2L90dWvQoRD+KXEpbigyZ1btfyt8oLajhu8WJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536146; c=relaxed/simple; bh=pfzEGPhO810Tbt/Iu9cZRywlgAf713iPgtOXZq730K0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JuPnFRX1awIk3MU+QcPUpP+GriRHXF3Mlk3RMlX94KMlPhoPC86gBZ2d5zZ/F3YXMirkuKwONlppBEa+X5l1RcnDxIYqgXxO9ZpYy0KgU3aAhzaVMf7g7ZSEQgzizsoORNBoHhvXSojWgbymvwG5fN65sD5+CGXxTAL3NzVws6k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a8O2Qhvh; 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="a8O2Qhvh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A9C5C4CEDD; Wed, 26 Feb 2025 02:15:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536146; bh=pfzEGPhO810Tbt/Iu9cZRywlgAf713iPgtOXZq730K0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=a8O2QhvhZJ+WgR1MD+rPnA6rMvHMCHSsyzedrYTzOF+6+6nDk2rMFEfptmFUWqHJE HGiiyeLekkyYkThYCdaoy7wABME8KBqCCK1TJGgMsry2ZEG9mFaN/O57BA9+HwCpfl zElpUkDDcdxiL/Hi7mJ6kQBElgpbpuVyTwQ6+vkw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49517: ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe Date: Wed, 26 Feb 2025 03:13:11 +0100 Message-ID: <2025022610-CVE-2022-49517-701e@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=3319; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pfzEGPhO810Tbt/Iu9cZRywlgAf713iPgtOXZq730K0=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7KpiObnEzWvZh3RxXlf+TPk1R+n7plW3ZXzXbT9tP/ AuSvKqv0xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATaXzBME9dp71UdIWRC/uS y9v/aXxxc36woYBhfgjfDvszPM9S9I2/LdsU5s60/eM1ZgA= 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 missing of_node_put in mt2701_wm8960_machine_probe This node pointer is returned by of_parse_phandle() with refcount incremented in this function. Calling of_node_put() to avoid the refcount leak. The Linux kernel CVE team has assigned CVE-2022-49517 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 4.14.283 with commit bc2afecaabd2a2c9f17e43b4793a30e3461bfb29 Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 4.19.247 with commit 9345122f5fb9f97a206f440f38bb656e53f46912 Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 5.4.198 with commit c71494f5f2b444adfd992a7359a0d2a791642b39 Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 5.10.121 with commit f279c49f17ce10866087ea6c0c57382158974b63 Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 5.15.46 with commit 61a85a20e8df5e0a92cfe169c92425c7bae0753b Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 5.17.14 with commit 318afb1442eeef089fe7f8a8297d97c0302ff6f6 Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 5.18.3 with commit 94587aa17abf8b26f543d2b29c44abc21bc36836 Issue introduced in 4.12 with commit 8625c1dbd87631572f8e2c05bc67736b73d6f02f and fixed in 5.19 with commit 05654431a18fe24e5e46a375d98904134628a102 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-49517 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/mt2701/mt2701-wm8960.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/bc2afecaabd2a2c9f17e43b4793a30e3461bfb29 https://git.kernel.org/stable/c/9345122f5fb9f97a206f440f38bb656e53f46912 https://git.kernel.org/stable/c/c71494f5f2b444adfd992a7359a0d2a791642b39 https://git.kernel.org/stable/c/f279c49f17ce10866087ea6c0c57382158974b63 https://git.kernel.org/stable/c/61a85a20e8df5e0a92cfe169c92425c7bae0753b https://git.kernel.org/stable/c/318afb1442eeef089fe7f8a8297d97c0302ff6f6 https://git.kernel.org/stable/c/94587aa17abf8b26f543d2b29c44abc21bc36836 https://git.kernel.org/stable/c/05654431a18fe24e5e46a375d98904134628a102