Skip to main content
← All vulnerabilities
CVE-2022-49244

ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.33, 5.16.19
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.15.17 · fixed in 5.15.33; From 5.16.3 · fixed in 5.16.19

  • Linux Linux

    5.17

References 4

git.kernel.org