# CVE-2022-50154: PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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-06-18T11:03:12.492Z
- Modified: 2026-06-17T05:22:52.163Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()

of_get_child_by_name() returns a node pointer with refcount incremented, so
we should use of_node_put() on it when we don't need it anymore.

Add missing of_node_put() to avoid refcount leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before 0675fe20da7fa69b1ba80c23470c1433a2356c03; from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before 2aa166c39d5a8221e6e22ab1a583656d4c8dc7f7; from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before e593e22786edd9eca058cf054d6a2e12c138da67; from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before bf038503d5fe90189743124233fe7aeb0984e961; 5.13 (not affected: before 5.13; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.13 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/0675fe20da7fa69b1ba80c23470c1433a2356c03> (patch)
- <https://git.kernel.org/stable/c/2aa166c39d5a8221e6e22ab1a583656d4c8dc7f7> (patch)
- <https://git.kernel.org/stable/c/e593e22786edd9eca058cf054d6a2e12c138da67> (patch)
- <https://git.kernel.org/stable/c/bf038503d5fe90189743124233fe7aeb0984e961> (patch)

## Sources

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

---

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