PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()
Linux
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-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.
From the CVE record · Linux
The Linux kernel’s mediatek-gen3 PCI driver fails to release a device-tree node reference in mtk_pcie_init_irq_domains(), causing a refcount leak. The input does not specify an attacker capability or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the mediatek-gen3 PCI driver should check their systems; affected versions are not specified.