CVE-2022-49454Published Feb 26, 2025 · Feb 26Updated Oct 28
PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's MediaTek PCIe power-up function fails to release a device-tree node reference, causing a refcount leak. The input does not describe how an attacker could exploit the leak or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the MediaTek PCIe driver should check their versions; affected versions are not specified.