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