Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 787E628313F for ; Wed, 18 Jun 2025 11:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244797; cv=none; b=PmjHXDps5JTTUfXLLqlA64evtiUtt7QpuQCmd393dhZTc9E6KZbYSbW7TCBowdXaWwG0WIeorlxIASK92KCLNHAA1JciB7R3C3wRXZ3/S7DiGhXQR4WuedOzFbgfeJrq1KbEMIBndbgI0Z5P+Wyb6hzpXlZrNPKjQjFPv9FmUdI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244797; c=relaxed/simple; bh=gsSyog38rWNwtPtfY812UK+Gbz2u1RNdTFpTW3D79Yc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lujq1vnZ0oyd3KkDNeEkm8M1PkN2m90gBWJT728RmO55PgA0BMkRjR0DTm2EnhVHNuLvOue9wnFdOl//6GANqCePZnqp9EXJMV0JP+dYcqfyJsaLbe4QgrM1QcJaLLnCzHYfTrIbEMvVuDL7VoXQtFdob/hrx3GOYp7z+qNg2+c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1uDAEhY+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1uDAEhY+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AD22C4CEE7; Wed, 18 Jun 2025 11:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244797; bh=gsSyog38rWNwtPtfY812UK+Gbz2u1RNdTFpTW3D79Yc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1uDAEhY+wCB1rOVFptb5EdIA0fAZ/AdMKcPSG/PUSNeoiaV2e3DFdpcvQOPDEGDOS kigwBrAnfdXlZTBZYV7bgVfYEAF5mtXDhys84FFgF1616JHbj2Y8qH1kXsPZc4I4eK lG+QGwjSylUvFee1afuP4BHRmX6Z1Ni3jpoC3ESU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50032: usb: renesas: Fix refcount leak bug Date: Wed, 18 Jun 2025 13:01:37 +0200 Message-ID: <2025061839-CVE-2022-50032-9d7e@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2341; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RBmBUYCBGQ9nkmmc4Q8omqlwp7Gch07s4FsZZROZ74o=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc8Lju88UvZCoa/3JxanqvoBje2NLvn0Af4fSTesj5 iUVR752xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETenmeYn/z865qr/J0/1YPk PZ6UfBaMu/9qKcM8/c38Pg8ErHYbmmieVOrk2nI7q1YDAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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