# CVE-2022-50122: ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-06-18T11:02:51.099Z
- Modified: 2026-06-17T05:22:48.310Z
- Assigned by: Linux

## Description

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

ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_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 refcount leak in some error paths.

(As written by CVE List.)

## Affected

- Linux Linux: from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before 06ace427953f5036b64aed658f0055f65d76fd27; from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before e024a24fb264523149658c10c76bb363b3d0004d; from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before 79f566907d27abbd7600cebe51def5081d5796b5; from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before 403d46971936f9f704b91cecffe66e44aa39e915; from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before 994f2edeeb2114bb22b62741cb8fb030fc7e5441; from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before e38e4952ac7a316c9002af30980d6aa850214474; from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before 5ec83aa7a9e5bcca80ccd49978916feb4e0ffc07; from 0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0 before efe2178d1a32492f99e7f1f2568eea5c88a85729; 4.6 (not affected: before 4.6; 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.6 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

## References

- <https://git.kernel.org/stable/c/06ace427953f5036b64aed658f0055f65d76fd27> (patch)
- <https://git.kernel.org/stable/c/e024a24fb264523149658c10c76bb363b3d0004d> (patch)
- <https://git.kernel.org/stable/c/79f566907d27abbd7600cebe51def5081d5796b5> (patch)
- <https://git.kernel.org/stable/c/403d46971936f9f704b91cecffe66e44aa39e915> (patch)
- <https://git.kernel.org/stable/c/994f2edeeb2114bb22b62741cb8fb030fc7e5441> (patch)
- <https://git.kernel.org/stable/c/e38e4952ac7a316c9002af30980d6aa850214474> (patch)
- <https://git.kernel.org/stable/c/5ec83aa7a9e5bcca80ccd49978916feb4e0ffc07> (patch)
- <https://git.kernel.org/stable/c/efe2178d1a32492f99e7f1f2568eea5c88a85729> (patch)

## Sources

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

---

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