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 3A6262165E4 for ; Wed, 26 Feb 2025 02:14:15 +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=1740536055; cv=none; b=ECMPYvK6xLBTNuRyuULz1Ce5rLoVQR/jsSFNLyjrwxb05nMxZ/AslbYUIjzjI0udczfRRQozPn1Cti2VYXutAAEZp+exwteNxc51y5Df7DmoQwOJ0vzk/sIEaNj+L+A2rKK4jUI0pPFq+Dl/5Go7nHs2ZKSZ977mp5l6Y/iBHQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536055; c=relaxed/simple; bh=f522Ka7Y2TEfzOmRWUuItiD5WA+yilT7PZHt/2kKCpo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=izh9fyDAVQLdm8qmuQYtCGHyBGQYLSEEG03V9ZwwaRmBvnBfgdr6FBG+h/v+FVD4bZEmId3Jrpv4D/YUersd7Mdyansn/rjpH5tCe8xZAVGoKqAwjJK5vC4dA/naUX2CMdbqfpvzr3SYTb6YGTqE4fqbrPFpPy5v+HSuymECc+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QsOhHJ2v; 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="QsOhHJ2v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ED46C4CEDD; Wed, 26 Feb 2025 02:14:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536055; bh=f522Ka7Y2TEfzOmRWUuItiD5WA+yilT7PZHt/2kKCpo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QsOhHJ2vF9N3cumEuTV6j0hDtRUABsLmnL5foMudiR2biRbf6aeLtyN//M8IPMf8x QhrUBwcPTBh/IFSdHqUBKwMSnPFBk6u0E5m18OZaCN4vbsiYudeidUNPQMExpdUMBy dQ5YgpAB2Mq0Opd96T4qE0A7xd3xMwhDTNGJRTFA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49432: powerpc/xics: fix refcount leak in icp_opal_init() Date: Wed, 26 Feb 2025 03:11:46 +0100 Message-ID: <2025022656-CVE-2022-49432-12c6@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=2761; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=f522Ka7Y2TEfzOmRWUuItiD5WA+yilT7PZHt/2kKCpo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yr/EsO4IujpL2cw88c7+Sd6Xvu4/XcJWFFHiZOveX PulLu9WRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykkZlhwZHTDwRYatafEV95 Wo97TuOptXmruhnmqUuu7Z0T9W6Gq7pV04IFrAlPfq4UAwA= 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: powerpc/xics: fix refcount leak in icp_opal_init() The of_find_compatible_node() function returns a node pointer with refcount incremented, use of_node_put() on it when done. The Linux kernel CVE team has assigned CVE-2022-49432 to this issue. Affected and fixed versions =========================== Fixed in 4.9.318 with commit 977dbc81d0f866ef63b93c127b7404f07734b3cc Fixed in 4.14.283 with commit 53f3f7f73e609b934083f896cb7ca2c2cb009b9f Fixed in 4.19.247 with commit 1d5c8cea85fb1680eae8d645b96b92146cb4633c Fixed in 5.4.198 with commit 537a317e5ff45d1f5a0ecaf6a0d7c8043c878cb1 Fixed in 5.10.121 with commit 6a61a97106279c2aa16fbbb2a171fd5dde127d23 Fixed in 5.15.46 with commit df802880a7f9cd96b921b00639b00871f18a9a57 Fixed in 5.17.14 with commit 2357bd7499a81c70b460e2191852bbfc7b63c354 Fixed in 5.18.3 with commit 9a42bc2494fadb453de00ce61042e588563ddc6d Fixed in 5.19 with commit 5dd9e27ea4a39f7edd4bf81e9e70208e7ac0b7c9 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-49432 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/powerpc/sysdev/xics/icp-opal.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/977dbc81d0f866ef63b93c127b7404f07734b3cc https://git.kernel.org/stable/c/53f3f7f73e609b934083f896cb7ca2c2cb009b9f https://git.kernel.org/stable/c/1d5c8cea85fb1680eae8d645b96b92146cb4633c https://git.kernel.org/stable/c/537a317e5ff45d1f5a0ecaf6a0d7c8043c878cb1 https://git.kernel.org/stable/c/6a61a97106279c2aa16fbbb2a171fd5dde127d23 https://git.kernel.org/stable/c/df802880a7f9cd96b921b00639b00871f18a9a57 https://git.kernel.org/stable/c/2357bd7499a81c70b460e2191852bbfc7b63c354 https://git.kernel.org/stable/c/9a42bc2494fadb453de00ce61042e588563ddc6d https://git.kernel.org/stable/c/5dd9e27ea4a39f7edd4bf81e9e70208e7ac0b7c9