{"id":"CVE-2022-50152","state":"PUBLISHED","title":"usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak.","publishedAt":"2025-06-18T11:03:11.233Z","updatedAt":"2026-05-11T19:13:48.894Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"591ab8dbf6c21927f23f83ddb90691f48b86d136","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"4db00c2fa6f8c9876a7e20511dccf43b50be9006","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"65d36ec409b635dfc2f95f0d7c5877c9d0cb7630","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"d35903e9650f4fa79426ce390db8678dbf5ac432","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"59026d5cc615da28e0c9806a71bf07065c906464","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"a0fbac3bf26a11f084233519ddf3fd5e5bb28939","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"302970b4cad3ebfda2c05ce06c322ccdc447d17e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/ohci-nxp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.5","versionType":"semver"},{"version":"4.14.291","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.256","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.211","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.137","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.61","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.18.18","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19.2","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/ohci-nxp.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50152.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50152","state":"PUBLISHED","datePublished":"2025-06-18T11:03:11.233Z","dateUpdated":"2026-05-11T19:13:48.894Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-06-18T10:57:27.425Z"},"containers":{"cna":{"title":"usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"591ab8dbf6c21927f23f83ddb90691f48b86d136","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"4db00c2fa6f8c9876a7e20511dccf43b50be9006","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"65d36ec409b635dfc2f95f0d7c5877c9d0cb7630","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"d35903e9650f4fa79426ce390db8678dbf5ac432","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"59026d5cc615da28e0c9806a71bf07065c906464","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"a0fbac3bf26a11f084233519ddf3fd5e5bb28939","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2","versionType":"git"},{"version":"73108aa90cbfc663649885a06fe5c1235307de1c","status":"affected","lessThan":"302970b4cad3ebfda2c05ce06c322ccdc447d17e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/ohci-nxp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.5","versionType":"semver"},{"version":"4.14.291","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.256","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.211","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.137","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.61","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.18.18","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19.2","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/ohci-nxp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/591ab8dbf6c21927f23f83ddb90691f48b86d136"},{"url":"https://git.kernel.org/stable/c/4db00c2fa6f8c9876a7e20511dccf43b50be9006"},{"url":"https://git.kernel.org/stable/c/65d36ec409b635dfc2f95f0d7c5877c9d0cb7630"},{"url":"https://git.kernel.org/stable/c/d35903e9650f4fa79426ce390db8678dbf5ac432"},{"url":"https://git.kernel.org/stable/c/59026d5cc615da28e0c9806a71bf07065c906464"},{"url":"https://git.kernel.org/stable/c/a0fbac3bf26a11f084233519ddf3fd5e5bb28939"},{"url":"https://git.kernel.org/stable/c/50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2"},{"url":"https://git.kernel.org/stable/c/302970b4cad3ebfda2c05ce06c322ccdc447d17e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:13:48.894Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"4.14.291"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"4.19.256"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.4.211"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.10.137"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.15.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.18.18"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.19.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}