Linux Kernel PCI: Mediatek-Gen3 IRQ Domain Leak Vulnerability

Vulnerability

A vulnerability in the Linux kernel's PCI Mediatek Gen3 controller has been addressed. The issue involved improper handling of IRQ domains in the 'mtk_pcie_setup_irq()' function. IRQ domains were allocated before retrieving the controller's IRQ. If the IRQ retrieval failed, the function returned an error without cleaning up the allocated domains, potentially leading to a resource leak. The vulnerability has been fixed by changing the order of operations, ensuring that IRQ domains are allocated only after successfully fetching the controller's IRQ.

Impact

The vulnerability could lead to a resource leak by failing to clean up allocated IRQ domains when an error occurs during IRQ retrieval, as noted in the upstream commit.

Reproduction

To reproduce this vulnerability, allocate IRQ domains in the 'mtk_pcie_setup_irq()' function before retrieving the controller's IRQ. If the IRQ retrieval fails, the function will return an error without cleaning up the allocated domains, causing a resource leak.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.

Added: Jul 19, 2026, 3:31 PM
Updated: Jul 19, 2026, 3:31 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
9.7
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.