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 6D58B2EC0A1 for ; Tue, 30 Dec 2025 12:22:28 +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=1767097348; cv=none; b=W18dfNDcwBoASPc0AuUp3M6/tl9yisWY3rUgZUVSseJjeNiXGLHcokBd4TzaU2etIS7aPOMhCpSsLTfvpupWwC93DFTFnDtK0GXyt9iGmGp50wUnC7V6huH3X6WA7P0PBUszNafe/tytg6lTzjTCk6CgGnAuJrU0fTCI0/chKKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097348; c=relaxed/simple; bh=f1jFzv8sm4FtVqnMBw2fLE+E1lf7wdwB70oJnj93pok=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YiLcEcGZcFr00JfnWmIyJIfDeP8lPC4UFhmkuVkWlF07CCDv3W3uETqATxJcT/zaID2oM1Jva40ovy7xeCuq8xGUSzqg/VrddrD9FtMj63qnumsW257Kq2uZa4/SK+DnJ1qmp5MbBoW/eiiyfQyu2Ck/uZ8079ztcZUvX929YU4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AffnwTqf; 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="AffnwTqf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0124C4CEFB; Tue, 30 Dec 2025 12:22:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097348; bh=f1jFzv8sm4FtVqnMBw2fLE+E1lf7wdwB70oJnj93pok=; h=From:To:Cc:Subject:Date:Reply-To:From; b=AffnwTqfowlcZxfAT/jSL45KPTqJD+rgfXUuhMgvBQ6QGzaOY3FWEHFoihLCuxz5k AXCJY0zqM9DoKikaN8NMKARxKF0d/qwtUi+B3aAL9VNJjn7JRIeLuPCaR0YNipjEMf HLYUMUovQzNqlUBECYmmkAU+7rbHZRGv5GY71B9U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50872: ARM: OMAP2+: Fix memory leak in realtime_counter_init() Date: Tue, 30 Dec 2025 13:20:08 +0100 Message-ID: <2025123051-CVE-2022-50872-0110@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3226; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Rp3QdYpXdEBKFhebYYeZzxeIM8kV/vrzTaHiJ98UAPI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBh9O/+D+IeWLw1JyVg/e0w27FX+s+qZkyWbSY7E8/t fVqUGZVRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkyymGBYfvNM8qnLziUFe3 26NIhzev3p80r2aY71nB+EmPi3sHs7aL5sdT1suOc2T8AAA= 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+: Fix memory leak in realtime_counter_init() The "sys_clk" resource is malloced by clk_get(), it is not released when the function return. The Linux kernel CVE team has assigned CVE-2022-50872 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 4.14.308 with commit 5f9aedabce3404dd8bb769822fc11317c55fbdc1 Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 4.19.276 with commit e3a6af3059e4f83d1a986a3180eb1e04f99c9e64 Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 5.4.235 with commit 8041f9a2a958277f95926560dc85910aecd48c0b Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 5.10.173 with commit 4862c41d5f3bee1ec64c979c82bd8cfe96b78f7d Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 5.15.99 with commit 10fcdad2b9f3f424873714eb8713a3e6f7ab84bb Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 6.1.16 with commit 98df4bdf3b010c23cc3c542d0c303016e5fceb40 Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 6.2.3 with commit 4f7ad1b08533247c4bf29217ba499ea4138cc2c1 Issue introduced in 3.7 with commit fa6d79d27614223d82418023b7f5300f1a1530d3 and fixed in 6.3 with commit ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac 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-50872 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/timer.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/5f9aedabce3404dd8bb769822fc11317c55fbdc1 https://git.kernel.org/stable/c/e3a6af3059e4f83d1a986a3180eb1e04f99c9e64 https://git.kernel.org/stable/c/8041f9a2a958277f95926560dc85910aecd48c0b https://git.kernel.org/stable/c/4862c41d5f3bee1ec64c979c82bd8cfe96b78f7d https://git.kernel.org/stable/c/10fcdad2b9f3f424873714eb8713a3e6f7ab84bb https://git.kernel.org/stable/c/98df4bdf3b010c23cc3c542d0c303016e5fceb40 https://git.kernel.org/stable/c/4f7ad1b08533247c4bf29217ba499ea4138cc2c1 https://git.kernel.org/stable/c/ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac