lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123051-CVE-2022-50872-0110@gregkh>
Date: Tue, 30 Dec 2025 13:20:08 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50872: ARM: OMAP2+: Fix memory leak in realtime_counter_init()

From: Greg Kroah-Hartman <gregkh@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ