From mboxrd@z Thu Jan 1 00:00:00 1970 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 7E39B2147FA for ; Wed, 26 Feb 2025 02:12:58 +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=1740535978; cv=none; b=YAOZbyINjS6N+s9ECXZdp4a8292BxBB/M8lFqcgbHLdfYDJ4f+z8z0XDivA+WnAKNBdfbd+gxWV7CG+Qedt/9KqlbSq6H1Jc44H+hRcFEUV7lX+NLjprkSJP6Hli66GKbOvuU+aQznNTznAr2vuPNI7jHxVwu6P4vibDIoyhROU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535978; c=relaxed/simple; bh=O7FFmUU2cr/WN3yWTrB3ClzduCOtP4BozPG9vQQ16mo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gIBdd01Gyx+GPFJFtzKXusJyCYB+ous9eOaPE06CPcNp0BbDqMIF/bWjRVrOVXt8Cmj+8xOxkjVXXTwRieNFBEt1ZGRDiOCGcyxfeoDyGMMicvjHdbOTglUJtuSLRsiRQBsFXRYAgbAJcju13EFjAIoRtNhCZhbsnQw88mGK/ZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DNRyY1N7; 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="DNRyY1N7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A6CCC4CEDD; Wed, 26 Feb 2025 02:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535978; bh=O7FFmUU2cr/WN3yWTrB3ClzduCOtP4BozPG9vQQ16mo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DNRyY1N7D1vHF3iwJzxHnXZMY+U18Z8zfkYDy3X2w0o0s1XqiLY3P+ODx2vTLg3Ul P4pZyqvJJMUjaDvzdO4H0LLPMWP28s0700oZ6fyFLhMASQAMDs8RXHV0iRsBmtMP+3 xBcIkSPeKTnyjABgGvQ+yDC3ePVgV60N1d0DgFLo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49324: mips: cpc: Fix refcount leak in mips_cpc_default_phys_base Date: Wed, 26 Feb 2025 03:09:58 +0100 Message-ID: <2025022638-CVE-2022-49324-2bbc@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=2586; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O7FFmUU2cr/WN3yWTrB3ClzduCOtP4BozPG9vQQ16mo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yh/t+yXDKMaZOKteJnmS9Jk7c/5lbZnd/23D1s7um weMTrCkdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZl5mWNC760K9lM/zCKZa +99mmwyz7+6ou82wYPdTZ/HotMXTo94Xh+z533OJZ6XYPQA= 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: cpc: Fix refcount leak in mips_cpc_default_phys_base Add the missing of_node_put() to release the refcount incremented by of_find_compatible_node(). The Linux kernel CVE team has assigned CVE-2022-49324 to this issue. Affected and fixed versions =========================== Fixed in 4.14.283 with commit bed702566dcdb6ebe300bc0c62bf3600cf4d5874 Fixed in 4.19.247 with commit 961ee8a6eeef4632a215d995d837b204f8c7c2d4 Fixed in 5.4.198 with commit cc0aed22d33ced9e266c50bdf1cbe668c5acfdf8 Fixed in 5.10.122 with commit c667b3872a4c435a3f29d4e15971cd8c378b0043 Fixed in 5.15.47 with commit 1699ec1bfb59304a788901474f6bb003f7831b61 Fixed in 5.17.15 with commit 8f843cdfc202caaa5d67db3395d893e56362e43a Fixed in 5.18.4 with commit aae6b4bb63c694bc91714412718f15468407fe51 Fixed in 5.19 with commit 4107fa700f314592850e2c64608f6ede4c077476 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-49324 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/kernel/mips-cpc.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/bed702566dcdb6ebe300bc0c62bf3600cf4d5874 https://git.kernel.org/stable/c/961ee8a6eeef4632a215d995d837b204f8c7c2d4 https://git.kernel.org/stable/c/cc0aed22d33ced9e266c50bdf1cbe668c5acfdf8 https://git.kernel.org/stable/c/c667b3872a4c435a3f29d4e15971cd8c378b0043 https://git.kernel.org/stable/c/1699ec1bfb59304a788901474f6bb003f7831b61 https://git.kernel.org/stable/c/8f843cdfc202caaa5d67db3395d893e56362e43a https://git.kernel.org/stable/c/aae6b4bb63c694bc91714412718f15468407fe51 https://git.kernel.org/stable/c/4107fa700f314592850e2c64608f6ede4c077476