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 A7EA328982E for ; Wed, 18 Jun 2025 11:07:13 +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=1750244833; cv=none; b=T1zuG5fxvhjKKRmY5+3p6+AKFUE+VwQbKWQ2rOFFfd5dYQcBxxoFQFJWw/Uh7AmZOBtpcEF2cO28RhMfHEwJVJgEbCEVwVcRtBfQxv6U43FUy6KNMmVncVqCm2Ro5W0liCI/wOHChfVQwoVj+JzGPdR3uwCaILRA6hnnDuJJFqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244833; c=relaxed/simple; bh=uCnCeFG0aDM2Fx0ixhNuIJdOTDE5WCRvyRlsNLd5vtI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eApb4fxmVnYl22eSF6S3nDg5YXQwyO0GDP8NuDXFCGtRUdLoEnziwwPXMpIOb7jWcx2S2zXhjOOZHvYNr0y+2LnjmLcP/PH9MWhMC6/MTZZdBa6uyRMj6zupu0JppAp4UNHDIKnCOzBNDYPF8fSwyB5RMpigzzRbHOiFTKQwVFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0UyejxWC; 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="0UyejxWC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18906C4CEE7; Wed, 18 Jun 2025 11:07:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244833; bh=uCnCeFG0aDM2Fx0ixhNuIJdOTDE5WCRvyRlsNLd5vtI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0UyejxWCcoWM8c0F9BXQ53wjqURVt+hRaVQRm6JQvyicxbE4yKGq/p2JkOoPHqvY3 QuCBtwhJk0jS1rsBN9Wp3xVXTLrBV3LmL+ALtJZ4eCG0GBNg1hHjoRN5Ohs2K8BsxQ SQkOel4EpeD8bma9WZpCGUzjTYGcfFwefzCYyHLk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50033: usb: host: ohci-ppc-of: Fix refcount leak bug Date: Wed, 18 Jun 2025 13:01:38 +0200 Message-ID: <2025061839-CVE-2022-50033-75f2@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=2645; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0onkSEz99xCwEP5HEoxXX8qQVU4b5mfw7WWtslIUPj0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBcyJeM3Psm5Es5Py+Lqm88Mq1XuNLazSnCd/tVtnM9 WzJ6Z37OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiHTsYFlzkPWpdFyG+MzJm 3vmOR8nvAyTfTGZYcCFh3l/O97t3T5OS2NxTp70nfF/fDQA= 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: host: ohci-ppc-of: Fix refcount leak bug In ohci_hcd_ppc_of_probe(), of_find_compatible_node() 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-50033 to this issue. Affected and fixed versions =========================== Fixed in 4.9.326 with commit fe6fe64403710287f0ae61a516954d8a4f7c9e3f Fixed in 4.14.291 with commit c5c5bd5cdcc6dc9f75f53d1c89af463d39a2bb96 Fixed in 4.19.256 with commit ec583e300aee9f152a64911445092d18e1c36729 Fixed in 5.4.211 with commit 0334d23c56ecf1ee1563bb83e29cc5a51ed7fb4e Fixed in 5.10.138 with commit cb5dd65e889163e723df1c2f02288cc527a57785 Fixed in 5.15.63 with commit 0fc62bbc95319bbd330e3645afc7c286acec9ef8 Fixed in 5.19.4 with commit 403132881e66db7aa98b55c6655daedd80d407fd Fixed in 6.0 with commit 40a959d7042bb7711e404ad2318b30e9f92c6b9b 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-50033 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/ohci-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/fe6fe64403710287f0ae61a516954d8a4f7c9e3f https://git.kernel.org/stable/c/c5c5bd5cdcc6dc9f75f53d1c89af463d39a2bb96 https://git.kernel.org/stable/c/ec583e300aee9f152a64911445092d18e1c36729 https://git.kernel.org/stable/c/0334d23c56ecf1ee1563bb83e29cc5a51ed7fb4e https://git.kernel.org/stable/c/cb5dd65e889163e723df1c2f02288cc527a57785 https://git.kernel.org/stable/c/0fc62bbc95319bbd330e3645afc7c286acec9ef8 https://git.kernel.org/stable/c/403132881e66db7aa98b55c6655daedd80d407fd https://git.kernel.org/stable/c/40a959d7042bb7711e404ad2318b30e9f92c6b9b