[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061805-CVE-2022-50105-3760@gregkh>
Date: Wed, 18 Jun 2025 13:02:50 +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-50105: powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
of_find_node_by_path() returns remote device nodepointer with
refcount incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.
The Linux kernel CVE team has assigned CVE-2022-50105 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 4.14.291 with commit 43584490ee6c8a104797444af6bf89d0dafe95c0
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 4.19.256 with commit d0cb99948c5f6d8fe56f6e69b8dd0a05ee5f9cec
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 5.4.211 with commit 14329d29a048dc35aac2374fb3d588d8190095a2
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 5.10.137 with commit 85aff6a9b7b7ec4e5c319f7946c9864c8d5e3d4a
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 5.15.61 with commit 69e9fa07b229badab808980e984a9fe824116f00
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 5.18.18 with commit 0aa5de2547b7ccf0a31bc740d12f829fae243112
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 5.19.2 with commit 4288eb035ba4ddb53245e9365c919bb51ac00c2c
Issue introduced in 2.6.20 with commit 0afacde3df4c9980f505d9afd7cb0058389732ca and fixed in 6.0 with commit 6ac059dacffa8ab2f7798f20e4bd3333890c541c
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-50105
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/platforms/cell/spufs/inode.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/43584490ee6c8a104797444af6bf89d0dafe95c0
https://git.kernel.org/stable/c/d0cb99948c5f6d8fe56f6e69b8dd0a05ee5f9cec
https://git.kernel.org/stable/c/14329d29a048dc35aac2374fb3d588d8190095a2
https://git.kernel.org/stable/c/85aff6a9b7b7ec4e5c319f7946c9864c8d5e3d4a
https://git.kernel.org/stable/c/69e9fa07b229badab808980e984a9fe824116f00
https://git.kernel.org/stable/c/0aa5de2547b7ccf0a31bc740d12f829fae243112
https://git.kernel.org/stable/c/4288eb035ba4ddb53245e9365c919bb51ac00c2c
https://git.kernel.org/stable/c/6ac059dacffa8ab2f7798f20e4bd3333890c541c
Powered by blists - more mailing lists