# CVE-2022-49240: ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-02-26T01:56:02.795Z
- Modified: 2026-06-17T05:17:29.143Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_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 path.

(As written by CVE List.)

## Affected

- Linux Linux: from 082482a5022780d42180a394fe6843e71fe963d8 before c652f8f0875b569f8afa80b8cf9762828fd6187b; from 082482a5022780d42180a394fe6843e71fe963d8 before c4b7174fe5bb875a09a78674a14a1589d1a672f3; 5.17 (not affected: before 5.17; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 5.17 before 5.17.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c652f8f0875b569f8afa80b8cf9762828fd6187b> (patch)
- <https://git.kernel.org/stable/c/c4b7174fe5bb875a09a78674a14a1589d1a672f3> (patch)

## Sources

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

---

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