CVE-2022-49684

iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data

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:

iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data

of_find_node_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak.

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
  • d0a4c17b40736b368f1f26602ad162e24b4108e7 to before 9664491db50a84be92696c8fad2c3b49a7a5f36fAffected
  • d0a4c17b40736b368f1f26602ad162e24b4108e7 to before 8a2b6b5687984a010ed094b4f436a2f091987758Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 5.18.8 through 5.18.*Not affected
  • 5.19 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.