medium5.5
CVE-2022-50154
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()…
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| 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
- NVD record
- CVE.org record
- 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