Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49714

irqchip/realtek-rtl: Fix refcount leak in map_interrupts

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 to < e85b1b797de0e7a271b906291ce28245822820b8affected
  • 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 to < f6d6223df0666fbc054e3a8c6ac14eb0af37c286affected
  • 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 to < eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ceaffected

Linux Linux

Default version status: affected

  • 5.12affected
  • 0 to < 5.12unaffected
  • 5.15.49 to ≤ 5.15.*unaffected
  • 5.18.6 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References