CVE-2022-49244 — ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe The device_node pointer is ret…
Published: 2025-02-26 · CVSS: Unscored
In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_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 paths. Fix this by calling of_node_put() in error handling too.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7