CVE-2022-50154
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-18

Last updated on: 2025-11-25

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-18
Last Modified
2025-11-25
Generated
2026-05-07
AI Q&A
2025-06-18
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-NVD-CWE-Other
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a refcount leak in the Linux kernel's PCI mediatek-gen3 driver, specifically in the function mtk_pcie_init_irq_domains(). The function of_get_child_by_name() returns a node pointer with its reference count incremented, but the code was missing a call to of_node_put() to decrement the reference count when the node is no longer needed. This missing call causes a reference count leak.


How can this vulnerability impact me? :

The impact of this vulnerability is a resource leak in the kernel, which could lead to increased memory usage or resource exhaustion over time. This might degrade system performance or stability, especially on systems using the affected mediatek-gen3 PCI driver.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the refcount leak in mtk_pcie_init_irq_domains(), which adds the missing of_node_put() call. Applying the latest kernel patches from your Linux distribution or vendor is recommended.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart