Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.
Product status
082482a5022780d42180a394fe6843e71fe963d8 (git) before c652f8f0875b569f8afa80b8cf9762828fd6187b
082482a5022780d42180a394fe6843e71fe963d8 (git) before c4b7174fe5bb875a09a78674a14a1589d1a672f3
5.17
Any version before 5.17
5.17.2 (semver)
5.18 (original_commit_for_fix)
References
git.kernel.org/...c/c652f8f0875b569f8afa80b8cf9762828fd6187b
git.kernel.org/...c/c4b7174fe5bb875a09a78674a14a1589d1a672f3