# CVE-2022-49241: ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_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.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-02-26T01:56:03.303Z
- Modified: 2026-06-17T05:17:29.327Z
- 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: atmel: Fix error handling in sam9x5_wm8731_driver_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 fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before 90ac679aa6a01841da90ec5a4aaa4b5e0badddf0; from fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before f589063b585ac6dd2081bde6c145411cf48d8d92; from fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before 14228225091a0854b1de23e5b4fe8bdeeca9683b; from fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before f43ad5dc43240289f4cf13c16cc506f4f7087931; from fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before 740dc3e846537c3743da98bf106f376023fd085c; 3.12 (not affected: before 3.12; from 5.10.110 up to 5.10.*; 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 3.12 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; 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/90ac679aa6a01841da90ec5a4aaa4b5e0badddf0> (patch)
- <https://git.kernel.org/stable/c/f589063b585ac6dd2081bde6c145411cf48d8d92> (patch)
- <https://git.kernel.org/stable/c/14228225091a0854b1de23e5b4fe8bdeeca9683b> (patch)
- <https://git.kernel.org/stable/c/f43ad5dc43240289f4cf13c16cc506f4f7087931> (patch)
- <https://git.kernel.org/stable/c/740dc3e846537c3743da98bf106f376023fd085c> (patch)

## Sources

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

---

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