CVE-2022-50559
JSON

Not scored

clk: imx: scu: fix memleak on platform_device_add() fails

Severity
Not scored
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 9209e6bab75d4008d9f4248c66008f3ffd24c931, from 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 43c589b7a187ef481b594317eaab8c8f269e4a68, from 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 05fe0b3d69b8e094db207648ab21cade56d71cd8, from 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 855ae87a2073ebf1b395e020de54fdf9ce7d166f, 5.11
Not affected: before 5.11, from 5.15.75 up to 5.15.*, from 5.19.17 up to 5.19.*, from 6.0.3 up to 6.0.*, from 6.1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50559 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50559 changed 2026-06-17Public domain