UnratedFix available
usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
Type: advisorySources: OSV
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.291, 4.19.256, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 5.4.211
- CVEs
- CVE-2022-50152
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:37 UTC · Revision 1
Source evidence
usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
core-osv · Original sourcePublished 18 Jun 2025, 11:03 UTC
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.
osv:CVE-2022-50152
Kernel
Fixed versions: 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2
Complete source record
{
"id": "08258094a7bea0e674c1c88d4bcf49d095aa7bf59e5bbbf12699d91c22048f2a",
"url": "https://osv.dev/vulnerability/CVE-2022-50152",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe",
"summary": "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.",
"evidence": "osv:CVE-2022-50152",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.14.291",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.256",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.211",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.137",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.61",
"evidence": "/affected/1/ranges"
},
{
"value": "5.18.18",
"evidence": "/affected/1/ranges"
},
{
"value": "5.19.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-50152",
"aliases": [
"CVE-2022-50152"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "73108aa90cbfc663649885a06fe5c1235307de1c"
},
{
"fixed": "591ab8dbf6c21927f23f83ddb90691f48b86d136"
},
{
"fixed": "4db00c2fa6f8c9876a7e20511dccf43b50be9006"
},
{
"fixed": "65d36ec409b635dfc2f95f0d7c5877c9d0cb7630"
},
{
"fixed": "d35903e9650f4fa79426ce390db8678dbf5ac432"
},
{
"fixed": "59026d5cc615da28e0c9806a71bf07065c906464"
},
{
"fixed": "a0fbac3bf26a11f084233519ddf3fd5e5bb28939"
},
{
"fixed": "50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2"
},
{
"fixed": "302970b4cad3ebfda2c05ce06c322ccdc447d17e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50152.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.5.0"
},
{
"fixed": "4.14.291"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.256"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.211"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.137"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.61"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.18.18"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.19.0"
},
{
"fixed": "5.19.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50152.json"
}
}
],
"modified": "2026-10-28T02:30:49.817442848Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/302970b4cad3ebfda2c05ce06c322ccdc447d17e",
"https://git.kernel.org/stable/c/4db00c2fa6f8c9876a7e20511dccf43b50be9006",
"https://git.kernel.org/stable/c/50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2",
"https://git.kernel.org/stable/c/59026d5cc615da28e0c9806a71bf07065c906464",
"https://git.kernel.org/stable/c/591ab8dbf6c21927f23f83ddb90691f48b86d136",
"https://git.kernel.org/stable/c/65d36ec409b635dfc2f95f0d7c5877c9d0cb7630",
"https://git.kernel.org/stable/c/a0fbac3bf26a11f084233519ddf3fd5e5bb28939",
"https://git.kernel.org/stable/c/d35903e9650f4fa79426ce390db8678dbf5ac432",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50152.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50152",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50152.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50152",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 518190,
"published_at": "2025-06-18T11:03:11.233+00:00"
}