[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025102208-CVE-2022-50574-da86@gregkh>
Date: Wed, 22 Oct 2025 15:24:22 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50574: drm/omap: dss: Fix refcount leak bugs
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/omap: dss: Fix refcount leak bugs
In dss_init_ports() and __dss_uninit_ports(), we should call
of_node_put() for the reference returned by of_graph_get_port_by_id()
in fail path or when it is not used anymore.
The Linux kernel CVE team has assigned CVE-2022-50574 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.4.220 with commit 9d7af9b1624dd70b67354972d7297429e6372091
Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.10.150 with commit 1f340e1c1c74d11c45a6e32663829b26acd4f47b
Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.15.75 with commit a5ce83e85d795ec98697039ecc518b21d5810adc
Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.19.17 with commit e55261beb86a15c190b2ff9090cb47bc06765353
Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 6.0.3 with commit 8f7c4114db841497e1148598e22548dd1f700b22
Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 6.1 with commit 8b42057e62120813ebe9274f508fa785b7cab33a
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-50574
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/gpu/drm/omapdrm/dss/dss.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/9d7af9b1624dd70b67354972d7297429e6372091
https://git.kernel.org/stable/c/1f340e1c1c74d11c45a6e32663829b26acd4f47b
https://git.kernel.org/stable/c/a5ce83e85d795ec98697039ecc518b21d5810adc
https://git.kernel.org/stable/c/e55261beb86a15c190b2ff9090cb47bc06765353
https://git.kernel.org/stable/c/8f7c4114db841497e1148598e22548dd1f700b22
https://git.kernel.org/stable/c/8b42057e62120813ebe9274f508fa785b7cab33a
Powered by blists - more mailing lists