CVE-2022-50392

ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe()

State
Published
Severity
5.5 Medium
Published
Sep 18, 2025
Updated
May 11, 2026
Reserved
Sep 17, 2025

Read the record on cve.org

Description

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

ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe()

The node returned by of_parse_phandle() with refcount incremented, of_node_put() needs be called when finish using it. So add it in the error path in mt8183_mt6358_ts3a227_max98357_dev_probe().

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 11c0269017b212fd47c593307d2dc3eb9713b2d0 to before 82f7c814edda353b4781f356d3ab90e943d5eac4Affected
  • 11c0269017b212fd47c593307d2dc3eb9713b2d0 to before 574bd4d14a9297a1c69ad41001caf00fdd17d305Affected
  • 11c0269017b212fd47c593307d2dc3eb9713b2d0 to before 156b0c19c1a44153e34cfdfa5937546a93dcb288Affected
  • 11c0269017b212fd47c593307d2dc3eb9713b2d0 to before 38eef3be38ab895959c442702864212cc3beb96cAffected
LinuxLinux
  • 5.2Affected
  • before 5.2Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 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.