CVE-2022-49714

irqchip/realtek-rtl: Fix refcount leak in map_interrupts

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:

irqchip/realtek-rtl: Fix refcount leak in map_interrupts

of_find_node_by_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function doesn't call of_node_put() in error path. Call of_node_put() directly after of_property_read_u32() to cover both normal path and 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
  • 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 to before e85b1b797de0e7a271b906291ce28245822820b8Affected
  • 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 to before f6d6223df0666fbc054e3a8c6ac14eb0af37c286Affected
  • 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 to before eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ceAffected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.49 through 5.15.*Not affected
  • 5.18.6 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.