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 5091C216E21 for ; Wed, 26 Feb 2025 02:14:20 +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=1740536060; cv=none; b=b7YERCAtPablvtmWILWPgI+Z33CHKSW8pEsv5RWX7EbShr+teKk1US4rvq+th+/ksmRRV4PoQUf0307jT9R1oMdtpRjE4Y0iwhlOdrF7bf3jtnyAlDh7DsT1EsPmsKQtqUK82Iz7z/4MD5DAtppAZYGAi+gZzeDCPY7F+VL956U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536060; c=relaxed/simple; bh=e8SAcfWZX8beNr1ib1FMZSysN43CRyz1k0E1Zg0PQtc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KOTd2xzsxasMXBobQJmIPN9o0Pm/i8J4NkJx0yW93yLKrs5Kb09biVwf6tiM7iYkKP+K1C1TgcOgqj1+D7ymdaZ9lk7w5pP3UQ7PAh3vIrC4T7bsqjKUhysyM0dP56bp5TobZvSl3nkC+thWoXZaW7692J9r9/+DuLS00VlWWVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wVssmK9X; 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="wVssmK9X" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27D6DC4CEDD; Wed, 26 Feb 2025 02:14:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536060; bh=e8SAcfWZX8beNr1ib1FMZSysN43CRyz1k0E1Zg0PQtc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wVssmK9XO+ASroQrOBxv6yG3mqJ9Um8/FFV6rijEmZLSUC4D6qLNy60xp5AXnv4WS eVeLLLrG2TzDJyHr59GtUZMdFLu+mUjHm6vN47f60F2P6RkBfNrn0Ljt1AO6RQSX3c vGDBGhKb10+G5Zr+iNC5xt1/xJC5KP2uWxl0RKdM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49439: powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup Date: Wed, 26 Feb 2025 03:11:53 +0100 Message-ID: <2025022657-CVE-2022-49439-a4af@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=3310; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=e8SAcfWZX8beNr1ib1FMZSysN43CRyz1k0E1Zg0PQtc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yr/+4r/Bo3c+r0uicI+L4cHAmLn6krPP8D6pOl13W MZVZvnmjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIkdcMC6Y11Liwe5/Kbpjy OUiybpJe+tPiWwzzc443nf7/nl0jye/lOhmNV/w+BdZ9AA== 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/fsl_rio: Fix refcount leak in fsl_rio_setup of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-49439 to this issue. Affected and fixed versions =========================== Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 4.14.283 with commit 51e25fbf20c9152d84a34b7afac15a41fe5c9116 Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 4.19.247 with commit 5b8aa2ba38c010f47c965dd9bb5a8561813ed649 Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.4.198 with commit bcb6c4c5eb4836a21411dfe8247bf9951eb6e7c3 Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.10.121 with commit 46fd994763cf6884b88a2da712af918f3ed54d7b Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.15.46 with commit 7b668a59ddfb32727e39b06fdf52b28e58c684e0 Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.17.14 with commit c70dd353d37158e06bf8d450d4b31a7091609924 Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.18.3 with commit 5607a77a365df8c0fd5ff43ac424812b95775527 Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.19 with commit fcee96924ba1596ca80a6770b2567ca546f9a482 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-49439 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/fsl_rio.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/51e25fbf20c9152d84a34b7afac15a41fe5c9116 https://git.kernel.org/stable/c/5b8aa2ba38c010f47c965dd9bb5a8561813ed649 https://git.kernel.org/stable/c/bcb6c4c5eb4836a21411dfe8247bf9951eb6e7c3 https://git.kernel.org/stable/c/46fd994763cf6884b88a2da712af918f3ed54d7b https://git.kernel.org/stable/c/7b668a59ddfb32727e39b06fdf52b28e58c684e0 https://git.kernel.org/stable/c/c70dd353d37158e06bf8d450d4b31a7091609924 https://git.kernel.org/stable/c/5607a77a365df8c0fd5ff43ac424812b95775527 https://git.kernel.org/stable/c/fcee96924ba1596ca80a6770b2567ca546f9a482