CVE-2022-49244

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

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 23, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 286c6f7b28fab19d649c2e1f3bc18fdecdbadfe5 to before 87e04a89c31e792eef62bcba6ebb77fd323d28a1Affected
  • d1be8577f0b2f679095d237aaf281dca344f06c4 to before d5a38629f1aaf397fd471b27e49d55289ddc0656Affected
  • 4e28491a7a198c668437f2be8a91a76aa52f20eb to before 1765787ec02e824f4f5e672cf269280a5da09d2fAffected
  • 4e28491a7a198c668437f2be8a91a76aa52f20eb to before e45ac7831ff3e2934d58cce319c17c8ec763c95cAffected
  • 5.15.17 to before 5.15.33Affected
  • 5.16.3 to before 5.16.19Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 5.15.33 through 5.15.*Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.