5.5medium
PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before 0675fe20da7fa69b1ba80c23470c1433a2356c03, from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before 2aa166c39d5a8221e6e22ab1a583656d4c8dc7f7, from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before e593e22786edd9eca058cf054d6a2e12c138da67, from 814cceebba9b7d1306b8d49587ffb0e81f7b73af before bf038503d5fe90189743124233fe7aeb0984e961, 5.13 Not affected: before 5.13, from 5.15.61 up to 5.15.*, from 5.18.18 up to 5.18.*, from 5.19.2 up to 5.19.*, from 6.0 up to * | CVE List |
| linux linux_kernel | from 5.13 before 5.15.61, from 5.16 before 5.18.18, from 5.19 before 5.19.2 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: mediatek-gen3: Se corrige la fuga de recuento de referencias en mtk_pcie_init_irq_domains(). of_get_child_by_name() devuelve un puntero de nodo con el recuento de referencias incrementado, por lo que debemos usar of_node_put() cuando ya no lo necesitemos. Se ha añadido la función of_node_put() que falta para evitar la fuga de recuento de referencias.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50154 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50154 changed 2026-06-17 | Public domain |