CVE-2022-49676

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

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 to before 889aad2203e09eed2071ca8985c25e9d6aea5735Affected
  • 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 to before cde4480b5ab06195b9164184b0c02ced71e601b4Affected
  • 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 to before bb2a481778c60f912c363e271ae46b55ff8132dbAffected
  • 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 to before 1332661e09304b7b8e84e5edc11811ba08d12abeAffected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.127 through 5.10.*Not affected
  • 5.15.51 through 5.15.*Not affected
  • 5.18.8 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.