What’s Vulnerable › Vulnerabilities

CVE-2022-50480: memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()

Description

In the Linux kernel, the following vulnerability has been resolved: memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() The break of for_each_available_child_of_node() needs a corresponding of_node_put() when the reference 'child' is not used anymore. Here we do not need to call of_node_put() in fail path as '!match' means no break. While the of_platform_device_create() will created a new reference by 'child' but it has considered the refcounting.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.150, 5.15.75, 5.19.17, 5.4.220. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50480 or the next vulnerability affects your stack