{"id":"CVE-2022-50120","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-06-18T11:15:41.683","lastModified":"2026-12-01T07:17:12.703","vulnStatus":"Modified","cveTags":[],"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()."},{"lang":"es","value":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: remoteproc: imx_rproc: Se corrige la fuga de refcount en imx_rproc_addr_init. of_parse_phandle() devuelve un puntero de nodo con refcount incrementado; debemos usar of_node_put() cuando ya no sea necesario. Esta función tiene dos rutas que faltan en of_node_put()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/remoteproc/imx_rproc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","lessThan":"60f59d607b4947a8ea2ba50a596f6d795142db44","versionType":"git","status":"affected"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","lessThan":"0dc1663e3fc22c72e1ab33be7701a0d51cca84ef","versionType":"git","status":"affected"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","lessThan":"d8ac68927856c3a6d197a95be73c92ec0bd4b012","versionType":"git","status":"affected"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","lessThan":"16da9f84e26f89e58cac194ff19fefd9de27d975","versionType":"git","status":"affected"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","lessThan":"61afafe8b938bc74841cf4b1a73dd08b9d287c5a","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/remoteproc/imx_rproc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","versionType":"semver","status":"unaffected"},{"version":"5.10.276","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.61","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"5.18.18","lessThanOrEqual":"5.18.*","versionType":"semver","status":"unaffected"},{"version":"5.19.2","lessThanOrEqual":"5.19.*","versionType":"semver","status":"unaffected"},{"version":"6.0","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.15.61","matchCriteriaId":"42F001E2-7640-42CA-B214-F831D103620F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"5.18.18","matchCriteriaId":"5B42E453-8837-49D0-A5EF-03F818A6DC11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"5.19.2","matchCriteriaId":"A1A2A5A5-4598-4D7E-BA07-4660398D6C8F"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0dc1663e3fc22c72e1ab33be7701a0d51cca84ef","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/16da9f84e26f89e58cac194ff19fefd9de27d975","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/60f59d607b4947a8ea2ba50a596f6d795142db44","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/61afafe8b938bc74841cf4b1a73dd08b9d287c5a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d8ac68927856c3a6d197a95be73c92ec0bd4b012","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}