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 DAB5E2857C9 for ; Wed, 18 Jun 2025 11:12:57 +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=1750245177; cv=none; b=HrTS6POLj4kcUrGjt3CdppIuVcszfN2CPLuXxhHw2fezdGYktPUoSqWnd68YqI48CEyGCeXbO+Bp9QGQqsQaMyT5XoBMNaE+xz70/eUXVF+eGyOC9/8EuxO2wK7Qdtd1GMmNmH7AiEZubs4XFzcYsbnMRgd3CIaO+ymfpvtWd7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245177; c=relaxed/simple; bh=ci3V/OmnIu41Mh9Hxc0W5ORB/8vDtTorpi6LaK7cJa4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZjQi1swuQQ4d6pzvUsg9gHS+OpV5G0LUfQbc0oCy9F7dgV1Lb+GsBZcvVTmo6kL75UQYq2CgpQ7acSoWqXk4h7p8TbvTQHNiagAb8mIi5PeVaSUSkNOu1PLNjdP3oznFMYd7Pi3qKsX3FSylZ5M3NUeDIFFSwaHwsxzijKVRQb0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Vdd0f7SN; 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="Vdd0f7SN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F648C4CEE7; Wed, 18 Jun 2025 11:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245177; bh=ci3V/OmnIu41Mh9Hxc0W5ORB/8vDtTorpi6LaK7cJa4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Vdd0f7SNKp4AxrsA8FRU6tzxACnirk2V1BGqPJp4artNffES2n09cfNnlZ8SX1/6f TT7FfxFj4hnNnI/JEhzXk+VLoSs1f8dcmbsu/BEJClWH4nq/4XyuPneY923g51PdAJ JCxoUd5Tm8W8fc3+R2NPm586o8C0wOrtIsvUahP0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50152: usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe Date: Wed, 18 Jun 2025 13:03:37 +0200 Message-ID: <2025061822-CVE-2022-50152-a463@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=3310; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=b20CwbrhlaYjtFfeUywspDRKuhapfCaWZlsubqHVnvA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc5oemLUu/9L0TyPowdnHO//f3/Rlf9/VEjPxM7759 h6MsRxbOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiU88xzBU1fLjnY23hXpV4 0bQ92aVlZ2fU8zDMz3oiKbZKPGJh/MrYXA25sy9+SWazAAA= 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: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-50152 to this issue. Affected and fixed versions =========================== Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 4.14.291 with commit 591ab8dbf6c21927f23f83ddb90691f48b86d136 Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 4.19.256 with commit 4db00c2fa6f8c9876a7e20511dccf43b50be9006 Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 5.4.211 with commit 65d36ec409b635dfc2f95f0d7c5877c9d0cb7630 Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 5.10.137 with commit d35903e9650f4fa79426ce390db8678dbf5ac432 Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 5.15.61 with commit 59026d5cc615da28e0c9806a71bf07065c906464 Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 5.18.18 with commit a0fbac3bf26a11f084233519ddf3fd5e5bb28939 Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 5.19.2 with commit 50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2 Issue introduced in 3.5 with commit 73108aa90cbfc663649885a06fe5c1235307de1c and fixed in 6.0 with commit 302970b4cad3ebfda2c05ce06c322ccdc447d17e 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-50152 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-nxp.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/591ab8dbf6c21927f23f83ddb90691f48b86d136 https://git.kernel.org/stable/c/4db00c2fa6f8c9876a7e20511dccf43b50be9006 https://git.kernel.org/stable/c/65d36ec409b635dfc2f95f0d7c5877c9d0cb7630 https://git.kernel.org/stable/c/d35903e9650f4fa79426ce390db8678dbf5ac432 https://git.kernel.org/stable/c/59026d5cc615da28e0c9806a71bf07065c906464 https://git.kernel.org/stable/c/a0fbac3bf26a11f084233519ddf3fd5e5bb28939 https://git.kernel.org/stable/c/50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2 https://git.kernel.org/stable/c/302970b4cad3ebfda2c05ce06c322ccdc447d17e