# CVE-2022-50124: ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:02:52.451Z
- Modified: 2026-06-17T05:22:48.567Z
- Assigned by: Linux

## Description

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

ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe

of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.

(As written by CVE List.)

## Affected

- Linux Linux: from f0ab0bf250da5a115d5675a686117f21984f0760 before 1042353bb67cd1c9109d7481ea182c7794336458; from f0ab0bf250da5a115d5675a686117f21984f0760 before b488ceb2336905f071f80627bc8a7d657274e5de; from f0ab0bf250da5a115d5675a686117f21984f0760 before a0381a9f3e595988e83bac4c4dd1e45ed2b3c744; from f0ab0bf250da5a115d5675a686117f21984f0760 before 7dee72b1bcecb26bfff8d6360f2169f8656dbaf6; from f0ab0bf250da5a115d5675a686117f21984f0760 before 67a28402a9e8c229c7588f214d81d52903ea06ea; from f0ab0bf250da5a115d5675a686117f21984f0760 before 38dc6faef05f33b4c889be8b7d65878e465c1c4b; from f0ab0bf250da5a115d5675a686117f21984f0760 before 7472eb8d7dd12b6b9b1a4f4527719cc9c7f5965f; 4.18 (not affected: before 4.18; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 4.18 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/1042353bb67cd1c9109d7481ea182c7794336458> (patch)
- <https://git.kernel.org/stable/c/b488ceb2336905f071f80627bc8a7d657274e5de> (patch)
- <https://git.kernel.org/stable/c/a0381a9f3e595988e83bac4c4dd1e45ed2b3c744> (patch)
- <https://git.kernel.org/stable/c/7dee72b1bcecb26bfff8d6360f2169f8656dbaf6> (patch)
- <https://git.kernel.org/stable/c/67a28402a9e8c229c7588f214d81d52903ea06ea> (patch)
- <https://git.kernel.org/stable/c/38dc6faef05f33b4c889be8b7d65878e465c1c4b> (patch)
- <https://git.kernel.org/stable/c/7472eb8d7dd12b6b9b1a4f4527719cc9c7f5965f> (patch)

## Sources

- CVE List: [CVE-2022-50124](https://www.cve.org/CVERecord?id=CVE-2022-50124), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50124](https://nvd.nist.gov/vuln/detail/CVE-2022-50124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50124 · Whole record: https://cve.day/CVE-2022-50124.json · Rebuilt by cve.day 2026-11-25T22:58:21.065Z
