medium5.5
CVE-2022-49454
In the Linux kernel, the following vulnerability has been resolved: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup() The of_find_compatible_node()…
Impact
In the Linux kernel, the following vulnerability has been resolved: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup() The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 5.15 before 5.15.46 from 5.16 before 5.17.14 from 5.18 before 5.18.3 |
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/09b2d906d78ddf5042b1f3e0091835fc6997e8a4
- https://git.kernel.org/stable/c/214e0d8fe4a813ae6ffd62bc2dfe7544c20914f4
- https://git.kernel.org/stable/c/4cef4237d6c37257cb6ddc397723e9c0dded0efe
- https://git.kernel.org/stable/c/ad1c9d13e04509ae24fae8dd2897148657323519