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

CVE-2026-64461
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected b099631df160ec608cd6147f4d20a8042567a5b8 < e23da72ef202654a7d5269885c4fa39a8404db76 ; affected b099631df160ec608cd6147f4d20a8042567a5b8 < ec7c05eed47d8b15c45380aee7ca168a82e15035 ; affected b099631df160ec608cd6147f4d20a8042567a5b8 < 1fbe8972a39548a633d06d7b03a01b7b119a2c12 ; affected b099631df160ec608cd6147f4d20a8042567a5b8 < fe8c701a53c2816cd82301f66c671d952003c1b0 ; affected b099631df160ec608cd6147f4d20a8042567a5b8 < ce52e494a7555bdae1d990a2654fd7547ef6d986 ; affected b099631df160ec608cd6147f4d20a8042567a5b8 < 6e6a529d6f779413379b4404c9ef6a36c0337225
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD