{"id":"CVE-2022-50559","summary":"clk: imx: scu: fix memleak on platform_device_add() fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: imx: scu: fix memleak on platform_device_add() fails\n\nNo error handling is performed when platform_device_add()\nfails. Add error processing before return, and modified\nthe return value.","modified":"2026-04-02T08:28:37.667011Z","published":"2025-10-22T13:23:19.290Z","related":["SUSE-SU-2025:4111-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4320-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50559.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05fe0b3d69b8e094db207648ab21cade56d71cd8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/43c589b7a187ef481b594317eaab8c8f269e4a68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/855ae87a2073ebf1b395e020de54fdf9ce7d166f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9209e6bab75d4008d9f4248c66008f3ffd24c931"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50559.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50559"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"77d8f3068c63ee0983f0b5ba3207d3f7cce11be4"},{"fixed":"9209e6bab75d4008d9f4248c66008f3ffd24c931"},{"fixed":"43c589b7a187ef481b594317eaab8c8f269e4a68"},{"fixed":"05fe0b3d69b8e094db207648ab21cade56d71cd8"},{"fixed":"855ae87a2073ebf1b395e020de54fdf9ce7d166f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50559.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.20.0"},{"fixed":"6.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50559.json"}}],"schema_version":"1.7.5"}