In the Linux kernel, the following vulnerability has been resolved: clk: imx: scu: fix memleak on platformdeviceadd() fails No error handling is performed when platformdeviceadd() fails. Add error processing before return, and modified the return value.