PCI: mediatek: Fix IRQ domain leak when port fails to enable

Summary

CVECVE-2026-64461
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-25 10:17:31 UTC
Updated2026-07-25 10:17:31 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: PCI: mediatek: Fix IRQ domain leak when port fails to enable 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.

Risk And Classification

EPSS: 0.001840000 probability, percentile 0.083470000 (date 2026-07-28)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 e23da72ef202654a7d5269885c4fa39a8404db76 git Not specified
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 ec7c05eed47d8b15c45380aee7ca168a82e15035 git Not specified
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 1fbe8972a39548a633d06d7b03a01b7b119a2c12 git Not specified
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 fe8c701a53c2816cd82301f66c671d952003c1b0 git Not specified
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 ce52e494a7555bdae1d990a2654fd7547ef6d986 git Not specified
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 6e6a529d6f779413379b4404c9ef6a36c0337225 git Not specified
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 df77314b3bedbd9ad5d6f0682f98b99e3c5f7e2e git Not specified
CNA Linux Linux affected b099631df160ec608cd6147f4d20a8042567a5b8 f865a57896bd92d7662eb2818d8f48872e2cbbc7 git Not specified
CNA Linux Linux affected 4.14 Not specified
CNA Linux Linux unaffected 4.14 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.39 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.4 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/ec7c05eed47d8b15c45380aee7ca168a82e15035 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f865a57896bd92d7662eb2818d8f48872e2cbbc7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/df77314b3bedbd9ad5d6f0682f98b99e3c5f7e2e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e23da72ef202654a7d5269885c4fa39a8404db76 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ce52e494a7555bdae1d990a2654fd7547ef6d986 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fe8c701a53c2816cd82301f66c671d952003c1b0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6e6a529d6f779413379b4404c9ef6a36c0337225 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1fbe8972a39548a633d06d7b03a01b7b119a2c12 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report