[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061841-CVE-2022-50038-970a@gregkh>
Date: Wed, 18 Jun 2025 13:01:43 +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-50038: drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
In this function, there are two refcount leak bugs:
(1) when breaking out of for_each_endpoint_of_node(), we need call
the of_node_put() for the 'ep';
(2) we should call of_node_put() for the reference returned by
of_graph_get_remote_port() when it is not used anymore.
The Linux kernel CVE team has assigned CVE-2022-50038 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.10 with commit bbbe775ec5b5dace43a35886da9924837da09ddd and fixed in 4.14.291 with commit 6a758f0ba11699837af9e1a0f7cbac6ef765a23e
Issue introduced in 4.10 with commit bbbe775ec5b5dace43a35886da9924837da09ddd and fixed in 4.19.256 with commit fc1fc2abfcb9235d0ece9a4d858426fb617cfa66
Issue introduced in 4.10 with commit bbbe775ec5b5dace43a35886da9924837da09ddd and fixed in 5.4.211 with commit d58ef256781398ad115aef44de0a02ad27ea6c3a
Issue introduced in 4.10 with commit bbbe775ec5b5dace43a35886da9924837da09ddd and fixed in 5.10.138 with commit 3aa710e96747c8b4e52ba12ffe09edcb2755897c
Issue introduced in 4.10 with commit bbbe775ec5b5dace43a35886da9924837da09ddd and fixed in 5.15.63 with commit fe71d84c1a6c0d54657431e8eeaefc9d24895304
Issue introduced in 4.10 with commit bbbe775ec5b5dace43a35886da9924837da09ddd and fixed in 5.19.4 with commit 8dec38e19f6928235d4009ce55f7add8af34e5c7
Issue introduced in 4.10 with commit bbbe775ec5b5dace43a35886da9924837da09ddd and fixed in 6.0 with commit 91b3c8dbe898df158fd2a84675f3a284ff6666f7
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-50038
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/meson/meson_drv.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/6a758f0ba11699837af9e1a0f7cbac6ef765a23e
https://git.kernel.org/stable/c/fc1fc2abfcb9235d0ece9a4d858426fb617cfa66
https://git.kernel.org/stable/c/d58ef256781398ad115aef44de0a02ad27ea6c3a
https://git.kernel.org/stable/c/3aa710e96747c8b4e52ba12ffe09edcb2755897c
https://git.kernel.org/stable/c/fe71d84c1a6c0d54657431e8eeaefc9d24895304
https://git.kernel.org/stable/c/8dec38e19f6928235d4009ce55f7add8af34e5c7
https://git.kernel.org/stable/c/91b3c8dbe898df158fd2a84675f3a284ff6666f7
Powered by blists - more mailing lists