PCI: mediatek: Fix IRQ domain leak when port fails to enable
Published Jul 25, 2026
No CVSS score
EPSS 0.22%
Description
When mtk_pcie_enable_port() fails, mtk_pcie_port_free() removes the port from pcie->ports and frees the port structure. However, the IRQ domains set up earlier by mtk_pcie_init_irq_domain() are never freed.
Fix this by refactoring mtk_pcie_irq_teardown() into a per-port helper, mtk_pcie_irq_teardown_port(), and calling it from mtk_pcie_setup() when mtk_pcie_enable_port() fails. Since the IRQ teardown must only happen in the probe error path (during resume, child devices may have active MSI mappings and the NOIRQ context prohibits sleeping locks), mtk_pcie_enable_port() is changed to return an error code so callers can distinguish the two paths and act accordingly.
This issue was reported by Sashiko while reviewing the EcoNet EN7528 SoC support series.
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 4.14
Unaffected
- ≥ 0, < 4.14
- ≥ 5.10.261, ≤ 5.10.*
- ≥ 5.15.212, ≤ 5.15.*
- ≥ 6.1.178, ≤ 6.1.*
- ≥ 6.12.97, ≤ 6.12.*
- ≥ 6.18.39, ≤ 6.18.*
- ≥ 6.6.145, ≤ 6.6.*
- ≥ 7.1.4, ≤ 7.1.*
- 7.2
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | affected | Affected
Unaffected
|
No data.
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (14)
- https://access.redhat.com/security/cve/CVE-2026-64461 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2507185 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48805 Advisory
- https://git.kernel.org/stable/c/1fbe8972a39548a633d06d7b03a01b7b119a2c12
- https://git.kernel.org/stable/c/6e6a529d6f779413379b4404c9ef6a36c0337225
- https://git.kernel.org/stable/c/ce52e494a7555bdae1d990a2654fd7547ef6d986
- https://git.kernel.org/stable/c/df77314b3bedbd9ad5d6f0682f98b99e3c5f7e2e
- https://git.kernel.org/stable/c/e23da72ef202654a7d5269885c4fa39a8404db76
- https://git.kernel.org/stable/c/ec7c05eed47d8b15c45380aee7ca168a82e15035
- https://git.kernel.org/stable/c/f865a57896bd92d7662eb2818d8f48872e2cbbc7
- https://git.kernel.org/stable/c/fe8c701a53c2816cd82301f66c671d952003c1b0
- https://lore.kernel.org/linux-cve-announce/2026072543-CVE-2026-64461-20f5@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-64461
- https://www.cve.org/CVERecord?id=CVE-2026-64461
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data