[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061822-CVE-2022-50153-d408@gregkh>
Date: Wed, 18 Jun 2025 13:03:38 +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-50153: usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
of_find_compatible_node() returns a node pointer 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-50153 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 4.14.291 with commit b9c4a480cb0ada07154debf681454cbb55e30b59
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 4.19.256 with commit 038453b17fe30ea38f0f3c916e2ae2b7f8cef84e
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 5.4.211 with commit 8cbc3870ff356366842af3228dd8e7bc278e5edd
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 5.10.137 with commit 585d22a5624ef2b540c337665c72fea8cd33db50
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 5.15.61 with commit c0a4b454486b23bb4d94ce49f490830ecc354040
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 5.18.18 with commit 8e51a512c1079109bec4c80915e647692d583e79
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 5.19.2 with commit 3a50c917c67dd0bc39c14de4a8b75a1d50fdce66
Issue introduced in 2.6.29 with commit 796bcae7361c28cf825780f6f1aac9dd3411394e and fixed in 6.0 with commit b5c5b13cb45e2c88181308186b0001992cb41954
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-50153
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/usb/host/ehci-ppc-of.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/b9c4a480cb0ada07154debf681454cbb55e30b59
https://git.kernel.org/stable/c/038453b17fe30ea38f0f3c916e2ae2b7f8cef84e
https://git.kernel.org/stable/c/8cbc3870ff356366842af3228dd8e7bc278e5edd
https://git.kernel.org/stable/c/585d22a5624ef2b540c337665c72fea8cd33db50
https://git.kernel.org/stable/c/c0a4b454486b23bb4d94ce49f490830ecc354040
https://git.kernel.org/stable/c/8e51a512c1079109bec4c80915e647692d583e79
https://git.kernel.org/stable/c/3a50c917c67dd0bc39c14de4a8b75a1d50fdce66
https://git.kernel.org/stable/c/b5c5b13cb45e2c88181308186b0001992cb41954
Powered by blists - more mailing lists