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 083812857C9 for ; Wed, 18 Jun 2025 11:13:01 +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=1750245181; cv=none; b=pd38Qk7gGgXEQpEFoOPBOzbgi2pbVAMRRtywWqGh4AC+XqA5AIQ5yGtNPipsovXZRSYgddFuKecOzPI127c3g2qzZslb+KqX8s9oyTpUXC0beGMfGyzkdbV07vJQPX76DCO1+4apOAZObVbhrdgfwV+V8ZRRkI84PSje6EfNS70= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245181; c=relaxed/simple; bh=W35GDKnM3QhBfo55n3gB+mWKXIs66vY5CmyMRlz5qVY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PqI/aJqesotibhpLiKD4hSBbo6gwwi2GdsJKe4zWoEyyYEBMG8uYYRvT13D/TfUrESRatzxuxz+iAaUTIy9JxqE2U2GcsHDHHMhO3abZHPHHxPx8+jiSzw0IA/B3DQc/pgzlR0lRreHtkcIFDjwstDwmHNgGIjVWd6CMvjIA+mc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jI8wzC/2; 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="jI8wzC/2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A511C4CEE7; Wed, 18 Jun 2025 11:13:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245180; bh=W35GDKnM3QhBfo55n3gB+mWKXIs66vY5CmyMRlz5qVY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jI8wzC/2+04aCCCapNqKkx3C10GNNxeFtt911tTT9zqcuwEtrZ4S0YaNjVsxOvRn3 i9QUvx77YwOp4ufCaUf1TJdsVCjutWDkUJgvX/qbizGflUmgQIJo3FR2ltzFTkNCky E6iiNvkha2ofmZqU6eqSFSOPXbQqBa84gwzPHPFU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50153: usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe Date: Wed, 18 Jun 2025 13:03:38 +0200 Message-ID: <2025061822-CVE-2022-50153-d408@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=3331; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iE85m1evkOk5hLDXgItINEddvPBjk67tv56uJ3jmrLE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc5qlDwtIMnrNDn9r4WRvviE9+MdJLdU3vA0fE+feV o5inFLUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOJcGWYZ80qMjcw9NdL/9RT 677+qmT5N0eIkWHB3Pj9+95L7gtcVii4Ku2BrNwbfd35AA== 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: 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