[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061817-CVE-2022-50139-658f@gregkh>
Date: Wed, 18 Jun 2025 13:03:24 +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-50139: usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
We should call of_node_put() for the reference returned by
of_get_child_by_name() which has increased the refcount.
The Linux kernel CVE team has assigned CVE-2022-50139 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.8 with commit 30d2617fd7ed052c30d1c21ddd4af4703d922be8 and fixed in 5.10.137 with commit e6db5780c2bf6e23be7b315809ef349b4b4f2213
Issue introduced in 5.8 with commit 30d2617fd7ed052c30d1c21ddd4af4703d922be8 and fixed in 5.15.61 with commit 4070f3c83cd28267f469a59751480ad39435f26a
Issue introduced in 5.8 with commit 30d2617fd7ed052c30d1c21ddd4af4703d922be8 and fixed in 5.18.18 with commit 0e0a40c803643f4edc30f0660f2f3bea4d57a99a
Issue introduced in 5.8 with commit 30d2617fd7ed052c30d1c21ddd4af4703d922be8 and fixed in 5.19.2 with commit 3503305225ca24c3229414c769323fb8bf39b4bf
Issue introduced in 5.8 with commit 30d2617fd7ed052c30d1c21ddd4af4703d922be8 and fixed in 6.0 with commit 220fafb4ed04187e9c17be4152da5a7f2ffbdd8c
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-50139
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/gadget/udc/aspeed-vhub/hub.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/e6db5780c2bf6e23be7b315809ef349b4b4f2213
https://git.kernel.org/stable/c/4070f3c83cd28267f469a59751480ad39435f26a
https://git.kernel.org/stable/c/0e0a40c803643f4edc30f0660f2f3bea4d57a99a
https://git.kernel.org/stable/c/3503305225ca24c3229414c769323fb8bf39b4bf
https://git.kernel.org/stable/c/220fafb4ed04187e9c17be4152da5a7f2ffbdd8c
Powered by blists - more mailing lists