What’s Vulnerable › Vulnerabilities

CVE-2022-49676: memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings

Description

In the Linux kernel, the following vulnerability has been resolved: memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function doesn't call of_node_put() in some error paths. To unify the structure, Add put_node label and goto it on errors.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.127, 5.15.51, 5.18.8. Check the vendor advisory for mitigations.

References

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