← CVE Intelligence

CVE-2022-49676

memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 before 889aad2203e09eed2071ca8985c25e9d6aea5735; affected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 before cde4480b5ab06195b9164184b0c02ced71e601b4; affected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 before bb2a481778c60f912c363e271ae46b55ff8132db; affected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 before 1332661e09304b7b8e84e5edc11811ba08d12abe
Linux / Linuxaffected 5.5; unaffected 0 before 5.5; unaffected 5.10.127 through 5.10.*; unaffected 5.15.51 through 5.15.*; unaffected 5.18.8 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.