CVE-2022-49241

ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to before 90ac679aa6a01841da90ec5a4aaa4b5e0badddf0Affected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to before f589063b585ac6dd2081bde6c145411cf48d8d92Affected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to before 14228225091a0854b1de23e5b4fe8bdeeca9683bAffected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to before f43ad5dc43240289f4cf13c16cc506f4f7087931Affected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to before 740dc3e846537c3743da98bf106f376023fd085cAffected
LinuxLinux
  • 3.12Affected
  • before 3.12Not affected
  • 5.10.110 through 5.10.*Not affected
  • 5.15.33 through 5.15.*Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.