CVE-2022-50559Published Oct 22, 2025 · Oct 22Updated Oct 28
clk: imx: scu: fix memleak on platform_device_add() fails
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's i.MX SCU clock driver can leak memory when platform_device_add() fails because the failure is not handled. The input does not specify how an attacker could trigger this failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels that include the i.MX SCU clock driver should check their versions; affected versions are not specified.