[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022657-CVE-2022-49439-a4af@gregkh>
Date: Wed, 26 Feb 2025 03:11:53 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49439: powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
The Linux kernel CVE team has assigned CVE-2022-49439 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 4.14.283 with commit 51e25fbf20c9152d84a34b7afac15a41fe5c9116
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 4.19.247 with commit 5b8aa2ba38c010f47c965dd9bb5a8561813ed649
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.4.198 with commit bcb6c4c5eb4836a21411dfe8247bf9951eb6e7c3
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.10.121 with commit 46fd994763cf6884b88a2da712af918f3ed54d7b
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.15.46 with commit 7b668a59ddfb32727e39b06fdf52b28e58c684e0
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.17.14 with commit c70dd353d37158e06bf8d450d4b31a7091609924
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.18.3 with commit 5607a77a365df8c0fd5ff43ac424812b95775527
Issue introduced in 3.3 with commit abc3aeae3aaa5c319d02f12649e17ea5929999aa and fixed in 5.19 with commit fcee96924ba1596ca80a6770b2567ca546f9a482
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-49439
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/powerpc/sysdev/fsl_rio.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/51e25fbf20c9152d84a34b7afac15a41fe5c9116
https://git.kernel.org/stable/c/5b8aa2ba38c010f47c965dd9bb5a8561813ed649
https://git.kernel.org/stable/c/bcb6c4c5eb4836a21411dfe8247bf9951eb6e7c3
https://git.kernel.org/stable/c/46fd994763cf6884b88a2da712af918f3ed54d7b
https://git.kernel.org/stable/c/7b668a59ddfb32727e39b06fdf52b28e58c684e0
https://git.kernel.org/stable/c/c70dd353d37158e06bf8d450d4b31a7091609924
https://git.kernel.org/stable/c/5607a77a365df8c0fd5ff43ac424812b95775527
https://git.kernel.org/stable/c/fcee96924ba1596ca80a6770b2567ca546f9a482
Powered by blists - more mailing lists