What’s Vulnerable › Vulnerabilities
CVE-2022-50559: clk: imx: scu: fix memleak on platform_device_add() fails
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-22 · updated 2026-06-17
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.
Affected products
- Linux kernel: 5.11 — fixed in 6.1
How to fix
Upgrade to a fixed version: Linux kernel 6.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/05fe0b3d69b8e094db207648ab21cade56d71cd8
- https://git.kernel.org/stable/c/43c589b7a187ef481b594317eaab8c8f269e4a68
- https://git.kernel.org/stable/c/855ae87a2073ebf1b395e020de54fdf9ce7d166f
- https://git.kernel.org/stable/c/9209e6bab75d4008d9f4248c66008f3ffd24c931
Get alerted when CVE-2022-50559 or the next vulnerability affects your stack