# CVE-2022-49244: ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T01:56:04.783Z
- Modified: 2026-06-17T05:17:29.883Z
- Assigned by: Linux

## Description

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

ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_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.

(As written by CVE List.)

## Affected

- Linux Linux: from 286c6f7b28fab19d649c2e1f3bc18fdecdbadfe5 before 87e04a89c31e792eef62bcba6ebb77fd323d28a1; from d1be8577f0b2f679095d237aaf281dca344f06c4 before d5a38629f1aaf397fd471b27e49d55289ddc0656; from 4e28491a7a198c668437f2be8a91a76aa52f20eb before 1765787ec02e824f4f5e672cf269280a5da09d2f; from 4e28491a7a198c668437f2be8a91a76aa52f20eb before e45ac7831ff3e2934d58cce319c17c8ec763c95c; from 5.15.17 before 5.15.33; from 5.16.3 before 5.16.19; 5.17 (not affected: before 5.17; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 5.15.17 before 5.15.33; from 5.16.3 before 5.16.19; from 5.17 before 5.17.2

## References

- <https://git.kernel.org/stable/c/87e04a89c31e792eef62bcba6ebb77fd323d28a1> (patch)
- <https://git.kernel.org/stable/c/d5a38629f1aaf397fd471b27e49d55289ddc0656> (patch)
- <https://git.kernel.org/stable/c/1765787ec02e824f4f5e672cf269280a5da09d2f> (patch)
- <https://git.kernel.org/stable/c/e45ac7831ff3e2934d58cce319c17c8ec763c95c> (patch)

## Sources

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

---

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