Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49716

irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions

Description

In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. When kcalloc fails, it missing of_node_put() and results in refcount leak. Fix this by goto out_put_node label.

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

  • 52085d3f2028d853f8d6ce7ead2f8a504f6077fa to < 58e67c81e229351027d28c610638378606e33a08affected
  • 52085d3f2028d853f8d6ce7ead2f8a504f6077fa to < 7c9dd9d23f26dabcfb14148b9acdfba540418b19affected
  • 52085d3f2028d853f8d6ce7ead2f8a504f6077fa to < 0b325d993995a321f6ab4e6c51f0504ec092bf5baffected
  • 52085d3f2028d853f8d6ce7ead2f8a504f6077fa to < c83c34c57798fc41faefcf078be78683db2f4bebaffected
  • 52085d3f2028d853f8d6ce7ead2f8a504f6077fa to < ec8401a429ffee34ccf38cebf3443f8d5ae6cb0daffected

Linux Linux

Default version status: affected

  • 5.4affected
  • 0 to < 5.4unaffected
  • 5.4.200 to ≤ 5.4.*unaffected
  • 5.10.124 to ≤ 5.10.*unaffected
  • 5.15.49 to ≤ 5.15.*unaffected
  • 5.18.6 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References