CVE-2022-49161

ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe

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

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_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
  • 11c0269017b212fd47c593307d2dc3eb9713b2d0 to before 9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcfAffected
  • 11c0269017b212fd47c593307d2dc3eb9713b2d0 to before 28a265a1ee11febeec5ea73a804f30dcec3181caAffected
LinuxLinux
  • 5.2Affected
  • before 5.2Not 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.