{"id":"CVE-2022-50120","state":"PUBLISHED","title":"remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not needed anymore.\nThis function has two paths missing of_node_put().","publishedAt":"2025-06-18T11:02:49.845Z","updatedAt":"2026-05-11T19:13:13.910Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"0dc1663e3fc22c72e1ab33be7701a0d51cca84ef","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"d8ac68927856c3a6d197a95be73c92ec0bd4b012","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"16da9f84e26f89e58cac194ff19fefd9de27d975","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"61afafe8b938bc74841cf4b1a73dd08b9d287c5a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/remoteproc/imx_rproc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","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/remoteproc/imx_rproc.c"]}],"references":["https://git.kernel.org/stable/c/0dc1663e3fc22c72e1ab33be7701a0d51cca84ef","https://git.kernel.org/stable/c/d8ac68927856c3a6d197a95be73c92ec0bd4b012","https://git.kernel.org/stable/c/16da9f84e26f89e58cac194ff19fefd9de27d975","https://git.kernel.org/stable/c/61afafe8b938bc74841cf4b1a73dd08b9d287c5a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50120.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50120","state":"PUBLISHED","datePublished":"2025-06-18T11:02:49.845Z","dateUpdated":"2026-05-11T19:13:13.910Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-06-18T10:57:27.415Z"},"containers":{"cna":{"title":"remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not needed anymore.\nThis function has two paths missing of_node_put()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"0dc1663e3fc22c72e1ab33be7701a0d51cca84ef","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"d8ac68927856c3a6d197a95be73c92ec0bd4b012","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"16da9f84e26f89e58cac194ff19fefd9de27d975","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"61afafe8b938bc74841cf4b1a73dd08b9d287c5a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/remoteproc/imx_rproc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","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/remoteproc/imx_rproc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0dc1663e3fc22c72e1ab33be7701a0d51cca84ef"},{"url":"https://git.kernel.org/stable/c/d8ac68927856c3a6d197a95be73c92ec0bd4b012"},{"url":"https://git.kernel.org/stable/c/16da9f84e26f89e58cac194ff19fefd9de27d975"},{"url":"https://git.kernel.org/stable/c/61afafe8b938bc74841cf4b1a73dd08b9d287c5a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:13:13.910Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.15.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.18.18"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.19.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}