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 8306B28D8D1 for ; Wed, 18 Jun 2025 11:12:05 +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=1750245125; cv=none; b=SAFMfbEnkNBg8IoxRGKG1+zFk0ex5dU/OMyY7UwB3p9ezE+wUydFNNxD8dbGlcUoSUs4WYqDlaJSgrwYlugu2xVTrCLX2lSZS6LZ3Cfq3I+bVlh95FY9Mopx3/lRnaZ41PNcEHfOeqf14XEi86FWl5L3TJf1mBW4bGUo6i6ZX+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245125; c=relaxed/simple; bh=bT03hphIhPxyZISCh0YaT6IpO7nat52inomdz/6QE/g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=C5sreBxsNeAW/BQ6NoIZxcDIREVy4lRoUVHM5E+abrcHSZRZjzqEBOpEHCAlZDGVpreq8qjuS8q3MIXFavbKL2S/MK3ctGu09BfyzjTwxbMjJIT268wWp5JRSnAqfIGZmi8AZupmuwUpfaoP3NNeThaDDY2+Y/FGpuDIg2oZ9C8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nuCtFU4h; 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="nuCtFU4h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F110BC4CEE7; Wed, 18 Jun 2025 11:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245125; bh=bT03hphIhPxyZISCh0YaT6IpO7nat52inomdz/6QE/g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nuCtFU4hh2wcwRfCnwmglgDp96B0RYgs5VZhL5r5+741drXNV6cSLL2ox72NNeU6u +OKm3uHSsUYiZFKjzbWKBSXJCP09GTPqE+qw8gawoHVHfuepTTXni5rkCDzDo+ElqL Nxc1iylkFKwp2aQvv5bdfgzFoyizpitCu/CMB3Rw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50106: powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address Date: Wed, 18 Jun 2025 13:02:51 +0200 Message-ID: <2025061806-CVE-2022-50106-33e4@gregkh> X-Mailer: git-send-email 2.49.0 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=3376; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BVgSk/GR1yZRNmecwQh/1kuDasfsDWRU5AFfzOEOFbI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc4o073lcEky5vuMaxwf/xSdFv5o4Xzp0NTWh9Xr4u s7bDC/+dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEBJ4yzHc+813qfdyUT9e5 jCfpmmpEcLUo8zPMM7CeuyyGhf36lUOfE/9r9Ww9+6mtGwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address of_get_next_parent() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() in the error path to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-50106 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 4.14.291 with commit 6263ec8032c411b8ef6b7f00198cb18c855ee6cb Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 4.19.256 with commit 51cf876b11fb6ca06f69e9d1de58f892d1522e9d Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 5.4.211 with commit f388643657cd5a04dc47a68d85321876c5b4c208 Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 5.10.137 with commit 00dc7cbbb558955ff410fd392cc9b0366eb06df0 Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 5.15.61 with commit 5eaa93caa63abf382b319dbe2f032232026740c2 Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 5.18.18 with commit 02ed44125d7a7238999750ca126b60f8dd7a88b1 Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 5.19.2 with commit af41cff4ada533b1cf40de6c468ba164fd32c22d Issue introduced in 2.6.23 with commit ce21b3c9648ae55181787bf25ee00cf91dfd5c91 and fixed in 6.0 with commit df5d4b616ee76abc97e5bd348e22659c2b095b1c 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-50106 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/platforms/cell/axon_msi.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/6263ec8032c411b8ef6b7f00198cb18c855ee6cb https://git.kernel.org/stable/c/51cf876b11fb6ca06f69e9d1de58f892d1522e9d https://git.kernel.org/stable/c/f388643657cd5a04dc47a68d85321876c5b4c208 https://git.kernel.org/stable/c/00dc7cbbb558955ff410fd392cc9b0366eb06df0 https://git.kernel.org/stable/c/5eaa93caa63abf382b319dbe2f032232026740c2 https://git.kernel.org/stable/c/02ed44125d7a7238999750ca126b60f8dd7a88b1 https://git.kernel.org/stable/c/af41cff4ada533b1cf40de6c468ba164fd32c22d https://git.kernel.org/stable/c/df5d4b616ee76abc97e5bd348e22659c2b095b1c