# CVE-2022-49716: irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-26T02:24:31.586Z
- Modified: 2026-06-17T05:18:57.010Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 52085d3f2028d853f8d6ce7ead2f8a504f6077fa before 58e67c81e229351027d28c610638378606e33a08; from 52085d3f2028d853f8d6ce7ead2f8a504f6077fa before 7c9dd9d23f26dabcfb14148b9acdfba540418b19; from 52085d3f2028d853f8d6ce7ead2f8a504f6077fa before 0b325d993995a321f6ab4e6c51f0504ec092bf5b; from 52085d3f2028d853f8d6ce7ead2f8a504f6077fa before c83c34c57798fc41faefcf078be78683db2f4beb; from 52085d3f2028d853f8d6ce7ead2f8a504f6077fa before ec8401a429ffee34ccf38cebf3443f8d5ae6cb0d; 5.4 (not affected: before 5.4; from 5.4.200 up to 5.4.*; from 5.10.124 up to 5.10.*; from 5.15.49 up to 5.15.*; from 5.18.6 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.4 before 5.4.200; from 5.5 before 5.10.124; from 5.11 before 5.15.49; from 5.16 before 5.18.6; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/58e67c81e229351027d28c610638378606e33a08> (patch)
- <https://git.kernel.org/stable/c/7c9dd9d23f26dabcfb14148b9acdfba540418b19> (patch)
- <https://git.kernel.org/stable/c/0b325d993995a321f6ab4e6c51f0504ec092bf5b> (patch)
- <https://git.kernel.org/stable/c/c83c34c57798fc41faefcf078be78683db2f4beb> (patch)
- <https://git.kernel.org/stable/c/ec8401a429ffee34ccf38cebf3443f8d5ae6cb0d> (patch)

## Sources

- CVE List: [CVE-2022-49716](https://www.cve.org/CVERecord?id=CVE-2022-49716), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49716](https://nvd.nist.gov/vuln/detail/CVE-2022-49716), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49716 · Whole record: https://cve.day/CVE-2022-49716.json · Rebuilt by cve.day 2026-11-25T22:58:20.822Z
