CVE-2022-49150

rtc: gamecube: Fix refcount leak in gamecube_rtc_read_offset_from_sram

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:

rtc: gamecube: Fix refcount leak in gamecube_rtc_read_offset_from_sram

The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount.

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
  • 86559400b3ef9de93ba50523cffe767c35cd531a to before de66e4f28dfd11f954966c447b4430529ed040a2Affected
  • 86559400b3ef9de93ba50523cffe767c35cd531a to before 4b2dc39ca024990abe36ad5d145c4fe0c06afd34Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not 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.