# CVE-2022-50123: ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_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.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-06-18T11:02:51.743Z
- Modified: 2026-06-17T05:22:48.433Z
- Assigned by: Linux

## Description

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

ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe

of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Fix missing of_node_put() in error paths.

(As written by CVE List.)

## Affected

- Linux Linux: from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before aa668f8e93199cda8fa1612eb49ff70f5ecd8c92; from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before fab5eb31819a2693b0c3d6f3df6a0d193af9a089; from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before d6d41f04640db0f946e2c3f7963bb2774afc7a0d; from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before aa1214ece37944e4dbbb5cfb1d02bf37e4d89b02; from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before 540c7b7385fb110740703888b4b2bbfa06c7f79c; from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before 769399bce8825e1dcc5050dab78e15ab578baf4f; from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before 58567ed2878f70e0ded242cb529fb4a7618ea9f8; from 94319ba10ecabc8f28129566d1f5793e3e7a0a79 before ae4f11c1ed2d67192fdf3d89db719ee439827c11; 4.2 (not affected: before 4.2; from 4.14.291 up to 4.14.*; 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.2.1 before 4.14.291; from 4.15 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; 4.2

## References

- <https://git.kernel.org/stable/c/aa668f8e93199cda8fa1612eb49ff70f5ecd8c92> (patch)
- <https://git.kernel.org/stable/c/fab5eb31819a2693b0c3d6f3df6a0d193af9a089> (patch)
- <https://git.kernel.org/stable/c/d6d41f04640db0f946e2c3f7963bb2774afc7a0d> (patch)
- <https://git.kernel.org/stable/c/aa1214ece37944e4dbbb5cfb1d02bf37e4d89b02> (patch)
- <https://git.kernel.org/stable/c/540c7b7385fb110740703888b4b2bbfa06c7f79c> (patch)
- <https://git.kernel.org/stable/c/769399bce8825e1dcc5050dab78e15ab578baf4f> (patch)
- <https://git.kernel.org/stable/c/58567ed2878f70e0ded242cb529fb4a7618ea9f8> (patch)
- <https://git.kernel.org/stable/c/ae4f11c1ed2d67192fdf3d89db719ee439827c11> (patch)

## Sources

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

---

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