[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061839-CVE-2022-50032-9d7e@gregkh>
Date: Wed, 18 Jun 2025 13:01:37 +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-50032: usb: renesas: Fix refcount leak bug
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: renesas: Fix refcount leak bug
In usbhs_rza1_hardware_init(), of_find_node_by_name() will return
a node pointer with refcount incremented. We should use of_node_put()
when it is not used anymore.
The Linux kernel CVE team has assigned CVE-2022-50032 to this issue.
Affected and fixed versions
===========================
Fixed in 4.19.256 with commit 36b18b777dece704b7c2e9e7947ca41a9b0fb009
Fixed in 5.4.211 with commit cfa8f707a58d68b2341a9dd0b33cf048f0628b4d
Fixed in 5.10.138 with commit 9790a5a4f07f38a5add85ec58c44797d3a7c3677
Fixed in 5.15.63 with commit fbdbd61a36d887e00114321c6758e359e9573a8e
Fixed in 5.19.4 with commit 5c4b699193eba51f1bbf462d758d66f545fddd35
Fixed in 6.0 with commit 9d6d5303c39b8bc182475b22f45504106a07f086
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-50032
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/renesas_usbhs/rza.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/36b18b777dece704b7c2e9e7947ca41a9b0fb009
https://git.kernel.org/stable/c/cfa8f707a58d68b2341a9dd0b33cf048f0628b4d
https://git.kernel.org/stable/c/9790a5a4f07f38a5add85ec58c44797d3a7c3677
https://git.kernel.org/stable/c/fbdbd61a36d887e00114321c6758e359e9573a8e
https://git.kernel.org/stable/c/5c4b699193eba51f1bbf462d758d66f545fddd35
https://git.kernel.org/stable/c/9d6d5303c39b8bc182475b22f45504106a07f086
Powered by blists - more mailing lists