CVE-2022-49676 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.5
해결 버전
- 5.5 미만
- 5.10.127 이상
- 5.15.51 이상
- 5.18.8 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/1332661e09304b7b8e84e5edc11811ba08d12abe (새 창)
- git.kernel.org https://git.kernel.org/stable/c/889aad2203e09eed2071ca8985c25e9d6aea5735 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bb2a481778c60f912c363e271ae46b55ff8132db (새 창)
- git.kernel.org https://git.kernel.org/stable/c/cde4480b5ab06195b9164184b0c02ced71e601b4 (새 창)