CVE-2022-49246

ASoC: atmel: Fix error handling in snd_proto_probe

State
Published
Severity
Not scored
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 snd_proto_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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a45f8853a5f95e3760dfbd7ba09d3d597d247040 to before f32ac9bf5e3f594ef9bfedb410aebc98cf784e69Affected
  • a45f8853a5f95e3760dfbd7ba09d3d597d247040 to before 0f517480d5888cd54487c5662ce4da95b30ad798Affected
  • a45f8853a5f95e3760dfbd7ba09d3d597d247040 to before 8fa969cd8485031294f91fc7184399000cae6355Affected
  • a45f8853a5f95e3760dfbd7ba09d3d597d247040 to before b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75Affected
LinuxLinux
  • 4.20Affected
  • before 4.20Not 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.