Skip to contentSkip to conversation

CVE-2022-50204: ARM: OMAP2+: pdata-quirks: Fix refcount leak bug

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 18, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ARM: OMAP2+: pdata-quirks: Fix refcount leak bug

In pdata_quirks_init_clocks(), the loop contains of_find_node_by_name() but without corresponding of_node_put().

The Linux kernel CVE team has assigned CVE-2022-50204 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.15.61 with commit 75f23d72b6e0a34c8a0e8d275b69ba1e6dd0f15f
	Fixed in 5.18.18 with commit ebca6870fc0cb5470dbc058cc94f3c53ea886eaa
	Fixed in 5.19.2 with commit 37f0c89778576ce3d52f40c1e9e727fbddedb28e
	Fixed in 6.0 with commit 5cdbab96bab314c6f2f5e4e8b8a019181328bf5f

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-50204

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/pdata-quirks.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/75f23d72b6e0a34c8a0e8d275b69ba1e6dd0f15f
	https://git.kernel.org/stable/c/ebca6870fc0cb5470dbc058cc94f3c53ea886eaa
	https://git.kernel.org/stable/c/37f0c89778576ce3d52f40c1e9e727fbddedb28e
	https://git.kernel.org/stable/c/5cdbab96bab314c6f2f5e4e8b8a019181328bf5f