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 96A1E216600 for ; Wed, 26 Feb 2025 02:14:04 +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=1740536044; cv=none; b=A4VJwpBg0n7x3uTDgJ1w/ce46MHoThLZhG7UarP50FVIpD7ksc7h77tha9ZRaCBotrYQJ43zHVDUhfxen9wuNd630pfGmy7yV1sSgyK1mtEEAHV8iasoStMrZRH+cyKTjdLzXhyRIH2JKcRDlLsBIxOLns8gR2uUvCzKbuDpr8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536044; c=relaxed/simple; bh=sIfxQCuZOQYnmMtEJmpxDw/oglhWpfFqjRjncNWSHw4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=scdrtwe99xCVpkwGIMzPSrI6EQCraRs5nUbEamN7LMrhV8YydSz9qhzon/sHUTSbO6LTfa9x6BXU7BBFWlcp6G37NuwKXgF7YCE6Rv9lRHDK92EtLVB4OhJ1b6x6Q6RpiOF21Hzpg+ijbTcVFQamkB1VLc+dzxrNSbggWmKm3QI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ylhphk68; 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="Ylhphk68" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 633CDC4CEDD; Wed, 26 Feb 2025 02:14:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536044; bh=sIfxQCuZOQYnmMtEJmpxDw/oglhWpfFqjRjncNWSHw4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ylhphk689EoWbv4XLtHWVQ+gIrWHgPfIkVTK67V8xDcaJrH0NxW2D/4SDI860+yX4 VjlD/OlcKD08NOZafWm+0/dvcVJOi4W12CpGp9hOVAhOfTKSK+Tg7tmpaRx7IRTEkv OXSwlm2BTu0Z2inkNCacQaNUUMWYVEQ0gGvDoEGM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49415: ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe Date: Wed, 26 Feb 2025 03:11:29 +0100 Message-ID: <2025022653-CVE-2022-49415-8762@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=1925; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sIfxQCuZOQYnmMtEJmpxDw/oglhWpfFqjRjncNWSHw4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yj8e+RK5UtS2v7nPet0xM1meHJX104rVH+rsWhMwf e58J/WpHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR9NMM8/PVo9vrblZGRWXW fH81/f3ybUdecjLMDxRJaz6csOHId88F5V4HDCRmyP+6AQA= 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: ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-49415 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 00d93611f00219bd142aa119c5121793cac30ff0 and fixed in 5.18.3 with commit f22068357acc268148bd55ce77f0a3e5c86701b4 Issue introduced in 5.18 with commit 00d93611f00219bd142aa119c5121793cac30ff0 and fixed in 5.19 with commit a508e33956b538e034ed5df619a73ec7c15bda72 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-49415 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: drivers/char/ipmi/ipmi_ipmb.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/f22068357acc268148bd55ce77f0a3e5c86701b4 https://git.kernel.org/stable/c/a508e33956b538e034ed5df619a73ec7c15bda72