# CVE-2022-50559: clk: imx: scu: fix memleak on platform_device_add() fails

- Severity: not scored yet
- 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.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-10-22T13:23:19.290Z
- Modified: 2026-06-17T05:23:47.483Z
- Assigned by: Linux

## Description

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

clk: imx: scu: fix memleak on platform_device_add() fails

No error handling is performed when platform_device_add()
fails. Add error processing before return, and modified
the return value.

(As written by CVE List.)

## Affected

- Linux Linux: from 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 9209e6bab75d4008d9f4248c66008f3ffd24c931; from 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 43c589b7a187ef481b594317eaab8c8f269e4a68; from 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 05fe0b3d69b8e094db207648ab21cade56d71cd8; from 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 855ae87a2073ebf1b395e020de54fdf9ce7d166f; 5.11 (not affected: before 5.11; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)

## References

- <https://git.kernel.org/stable/c/9209e6bab75d4008d9f4248c66008f3ffd24c931>
- <https://git.kernel.org/stable/c/43c589b7a187ef481b594317eaab8c8f269e4a68>
- <https://git.kernel.org/stable/c/05fe0b3d69b8e094db207648ab21cade56d71cd8>
- <https://git.kernel.org/stable/c/855ae87a2073ebf1b395e020de54fdf9ce7d166f>

## Sources

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

---

Page: https://cve.day/CVE-2022-50559 · Whole record: https://cve.day/CVE-2022-50559.json · Rebuilt by cve.day 2026-11-25T22:58:21.273Z
