What’s Vulnerable › Vulnerabilities
CVE-2022-50154: PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
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.
Affected products
- Linux kernel: from 5.13 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2 — fixed in 5.15.61, 5.18.18, 5.19.2
How to fix
Upgrade to a fixed version: Linux kernel 5.15.61, 5.18.18, 5.19.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0675fe20da7fa69b1ba80c23470c1433a2356c03
- https://git.kernel.org/stable/c/2aa166c39d5a8221e6e22ab1a583656d4c8dc7f7
- https://git.kernel.org/stable/c/bf038503d5fe90189743124233fe7aeb0984e961
- https://git.kernel.org/stable/c/e593e22786edd9eca058cf054d6a2e12c138da67
Get alerted when CVE-2022-50154 or the next vulnerability affects your stack