# CVE-2022-50120: remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:02:49.845Z
- Modified: 2026-12-01T07:17:12.703Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init

of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not needed anymore.
This function has two paths missing of_node_put().

(As written by CVE List.)

## Affected

- Linux Linux: from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 60f59d607b4947a8ea2ba50a596f6d795142db44; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 0dc1663e3fc22c72e1ab33be7701a0d51cca84ef; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before d8ac68927856c3a6d197a95be73c92ec0bd4b012; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 16da9f84e26f89e58cac194ff19fefd9de27d975; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 61afafe8b938bc74841cf4b1a73dd08b9d287c5a; 4.14 (not affected: before 4.14; from 5.10.276 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 4.14 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/60f59d607b4947a8ea2ba50a596f6d795142db44>
- <https://git.kernel.org/stable/c/0dc1663e3fc22c72e1ab33be7701a0d51cca84ef> (patch)
- <https://git.kernel.org/stable/c/d8ac68927856c3a6d197a95be73c92ec0bd4b012> (patch)
- <https://git.kernel.org/stable/c/16da9f84e26f89e58cac194ff19fefd9de27d975> (patch)
- <https://git.kernel.org/stable/c/61afafe8b938bc74841cf4b1a73dd08b9d287c5a> (patch)

## Sources

- CVE List: [CVE-2022-50120](https://www.cve.org/CVERecord?id=CVE-2022-50120), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2022-50120](https://nvd.nist.gov/vuln/detail/CVE-2022-50120), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2022-50120 · Whole record: https://cve.day/CVE-2022-50120.json · Rebuilt by cve.day 2026-12-01T07:32:32.356Z
