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 B417E1A4F21 for ; Wed, 26 Feb 2025 01:58:45 +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=1740535125; cv=none; b=HzgheQUkTmxw89E8U5rM1XHC/iLLRTCny37rSFprxm59f1fQOTVaBcmPmQ0Asm75WFnDpXJpXI0KLUUPGC0gix+3RzocbZXlE5tBOcea6+AfOSgxpeB/jwSQSNaVSoo2tCLagNzVBv9n32pZAREiuXps3K2FtUmGS8dfS298CeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535125; c=relaxed/simple; bh=eheFCeJ6mSVP+gJQwPzhtYrtGcjqv1HW1KPH2Q7Fggg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GaqxhZO8K/EaGZVYDsReEdf6ZxbzB6eaaWxKRhpiRBY9e/RhUVoaLXiOxXwCVRHazs6auOqc0Gk+2KOOvjrqaFmyIavv6cpZ7fLKkZ5Ebaf6U5Gnc7jGbUF6ducQmQjhAwCsC8pkBPxogVDcADnIoNybQFvTzlDq+2ttpu5R48E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WkvypsAd; 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="WkvypsAd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88D1DC4CEDD; Wed, 26 Feb 2025 01:58:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535125; bh=eheFCeJ6mSVP+gJQwPzhtYrtGcjqv1HW1KPH2Q7Fggg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=WkvypsAduUJgQeGIC8JiKunmPmcotn64X6a0PGXq7m0ndyjTYWi+2E1hYw0QWNUOt CAjqiUb0xBuqG+oc0QS2H3n3Ax5Iyt1ZEOzUOc6EPiQEPelgyYiVckcCAfR6NvyhSz PU2Gm8EprP298OC7zxtHudUio8es7lLrWv2wt4G0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49117: mips: ralink: fix a refcount leak in ill_acc_of_setup() Date: Wed, 26 Feb 2025 02:55:22 +0100 Message-ID: <2025022603-CVE-2022-49117-6f1f@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=2243; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eheFCeJ6mSVP+gJQwPzhtYrtGcjqv1HW1KPH2Q7Fggg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SqxdZLI6mBb5S+6Y9vsr33xWUeXlB6tyN3RMMv69S qr1yHKJjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI6UiGeTqrcpcsdzvB+fmL 431X1dKWSXVuxxjmqXost8vv2MF5JefpxlWNL/bPtNweDgA= 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: mips: ralink: fix a refcount leak in ill_acc_of_setup() of_node_put(np) needs to be called when pdev == NULL. The Linux kernel CVE team has assigned CVE-2022-49117 to this issue. Affected and fixed versions =========================== Fixed in 5.4.189 with commit 060a485df4ec1183d543317511cb4caa43468b5d Fixed in 5.10.111 with commit 142ae7d4f21524acfe073e5a3da5667aa85eb970 Fixed in 5.15.34 with commit 5fb47ca3490813d3884d8ad0b2ce511aa3537551 Fixed in 5.16.20 with commit 8d7f7ef7980f287ace1c15f2ac03d6754e12f071 Fixed in 5.17.3 with commit c74c755daed551b9aceb8388159180861474bdfe Fixed in 5.18 with commit 4a0a1436053b17e50b7c88858fb0824326641793 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-49117 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: arch/mips/ralink/ill_acc.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/060a485df4ec1183d543317511cb4caa43468b5d https://git.kernel.org/stable/c/142ae7d4f21524acfe073e5a3da5667aa85eb970 https://git.kernel.org/stable/c/5fb47ca3490813d3884d8ad0b2ce511aa3537551 https://git.kernel.org/stable/c/8d7f7ef7980f287ace1c15f2ac03d6754e12f071 https://git.kernel.org/stable/c/c74c755daed551b9aceb8388159180861474bdfe https://git.kernel.org/stable/c/4a0a1436053b17e50b7c88858fb0824326641793