CVE-2022-50154

PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 814cceebba9b7d1306b8d49587ffb0e81f7b73af to before 0675fe20da7fa69b1ba80c23470c1433a2356c03Affected
  • 814cceebba9b7d1306b8d49587ffb0e81f7b73af to before 2aa166c39d5a8221e6e22ab1a583656d4c8dc7f7Affected
  • 814cceebba9b7d1306b8d49587ffb0e81f7b73af to before e593e22786edd9eca058cf054d6a2e12c138da67Affected
  • 814cceebba9b7d1306b8d49587ffb0e81f7b73af to before bf038503d5fe90189743124233fe7aeb0984e961Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.