Description
In 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.
Published: 2026-07-25
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Mediatek PCI implementation of the Linux kernel causes IRQ domains that are established during port initialization to remain allocated when an enable operation fails. The missing cleanup path results in a leak of kernel resource descriptors. Over time repeated failures could accumulate many unused IRQ domain objects, potentially depleting the pool of available IRQ resources and degrading system stability. The description does not confirm that this will immediately trigger a kernel panic or denial‑of‑service, only that a resource leak occurs.

Affected Systems

All Linux kernel installations that employ the unpatched Mediatek PCI driver are affected. The flaw exists in any kernel version that includes the legacy mtk_pcie_enable_port implementation, and it is not tied to a specific distribution or kernel release. Systems running a Mediatek PCI device that is managed by the affected driver before the patch are at risk.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of exploitation. Exploitation would require triggering a port enable failure, which typically requires local or privileged access to modify device configuration or to influence the hardware state. No remote or user‑facing input is required by the provided description, so the attack surface appears limited to scenarios where the failure path can be exercised.

Generated by OpenCVE AI on August 3, 2026 at 18:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the mtk_pcie_irq_teardown_port fix.
  • If a kernel upgrade cannot be performed, prevent the Mediatek PCI driver from loading by unloading or disabling the driver module.
  • Monitor system logs and IRQ usage for repeated enable failures or excessive IRQ domain allocation after the patch is applied.

Generated by OpenCVE AI on August 3, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Sat, 01 Aug 2026 02:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Thu, 30 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 05:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In 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.
Title PCI: mediatek: Fix IRQ domain leak when port fails to enable
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:51:28.309Z

Reserved: 2026-07-19T15:36:31.789Z

Link: CVE-2026-64461

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:31.293

Modified: 2026-07-25T10:17:31.293

Link: CVE-2026-64461

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64461 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:45:17Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime