PCI: mediatek-gen3: Prevent leaking IRQ domains when IRQ not found
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
PCI: mediatek-gen3: Prevent leaking IRQ domains when IRQ not found
In mtk_pcie_setup_irq(), the IRQ domains are allocated before the
controller's IRQ is fetched. If the latter fails, the function
directly returns an error, without cleaning up the allocated domains.
Hence, reverse the order so that the IRQ domains are allocated after the
controller's IRQ is found.
This was flagged by Sashiko during a review of "[PATCH v6 0/7] PCI:
mediatek-gen3: add power control support".
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/07a5ecb94768cbf76fe659e9924000e9ced0c8a6https://git.kernel.org/stable/c/0a2d60edc3e57c9512e239ebdfd12204d3368560https://git.kernel.org/stable/c/215d4273347b9010a9deae378b0df79c163f707dhttps://git.kernel.org/stable/c/5573c44cb3fd01a9f62d569ae9ac870ef5f0e0bahttps://git.kernel.org/stable/c/946b31b5a699a2760ee52af0055e5ebf29c5f4cbhttps://git.kernel.org/stable/c/abd3c1927d33766aef39c4640880e3d2637429c2