CVE-2022-49676

medium

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.

References

https://git.kernel.org/stable/c/cde4480b5ab06195b9164184b0c02ced71e601b4

https://git.kernel.org/stable/c/bb2a481778c60f912c363e271ae46b55ff8132db

https://git.kernel.org/stable/c/889aad2203e09eed2071ca8985c25e9d6aea5735

https://git.kernel.org/stable/c/1332661e09304b7b8e84e5edc11811ba08d12abe

Details

Source: Mitre, NVD

Published: 2025-02-26

Updated: 2025-02-26

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium