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 AFE6B2E54B6 for ; Tue, 7 Oct 2025 15:24:33 +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=1759850673; cv=none; b=F0ajpq6YmBeWtkxpOdqBwngbfPB9MZdalj0nnozWxygrkg9AFA/Wj6CQ+hcOBDiZeuHKMuF51SFny6FSGTeT7rb8fRcl1SRVM77U7g9o+D2HtorRKbPHhWIoF6iYPYjnEX1QuWIruZ2EDQ7fCeRWEWyNAxmv59tcxYWcFd2YYcM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850673; c=relaxed/simple; bh=Kmmt2oza1o+5qB+tXxdBbDu1ACf7Qx/2eIgAYtfFRa0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HRkTEOrozbze43T4oAMq6dquN4tbReydp9T0bLi4Lawn/eTHQUUsSE27cPEenOgApFPoRBv1BFXh9OMKNTBIe6NQmsjoKHv60Ze8VaPMoJp+XHBl3u+0Po+eScAezSGA8uhi/3HAdHr+7WfmdrVJu6K60sXtLq+2A3f2++cg0tY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=H5baijRH; 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="H5baijRH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2C54C4CEFE; Tue, 7 Oct 2025 15:24:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850673; bh=Kmmt2oza1o+5qB+tXxdBbDu1ACf7Qx/2eIgAYtfFRa0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=H5baijRHihvSkSSFQpyZp5J39mFzezdvIcM860oaXvsgkd7Fc4YM6JaghBIS/ZRT6 HHha48dc56hoUZ9m3x6lqigQbqMPexi445v2jG12rhwlmtqS/U15Wwvd60XTvn86pi EOVYAOhHvWTxgZ9ggYu7Z8Px3Na9/dqoIsartifA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50539: ARM: OMAP2+: omap4-common: Fix refcount leak bug Date: Tue, 7 Oct 2025 17:20:57 +0200 Message-ID: <2025100755-CVE-2022-50539-4f53@gregkh> X-Mailer: git-send-email 2.51.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=1906; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k1SnQNuSYJ/AamXqNlGXRFJTbKaZ2UXE1k6PraIW4cE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9a8nc4jeZ028Lc+w61H/2Z5K508TckMuz3pVF/XqS 3XTnOaajlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI0yyG2azXnxzpXscu+zI9 Iu2xw7m5Geu2iDMs2MlzXv9F7jJb/hmrPmywn8i1y9jRAAA= 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: ARM: OMAP2+: omap4-common: Fix refcount leak bug In omap4_sram_init(), of_find_compatible_node() will return a node pointer with refcount incremented. We should use of_node_put() when it is not used anymore. The Linux kernel CVE team has assigned CVE-2022-50539 to this issue. Affected and fixed versions =========================== Fixed in 6.1.16 with commit 1d9452ae3bdb830f9309cf10a2f65977999cb14e Fixed in 6.2.3 with commit 049875b76660bbdc4873a915afb294f954eb7320 Fixed in 6.3 with commit 7c32919a378782c95c72bc028b5c30dfe8c11f82 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-50539 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/arm/mach-omap2/omap4-common.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/1d9452ae3bdb830f9309cf10a2f65977999cb14e https://git.kernel.org/stable/c/049875b76660bbdc4873a915afb294f954eb7320 https://git.kernel.org/stable/c/7c32919a378782c95c72bc028b5c30dfe8c11f82