Description
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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
814cceebba9b7d1306b8d49587ffb0e81f7b73af to < abd3c1927d33766aef39c4640880e3d2637429c2affected814cceebba9b7d1306b8d49587ffb0e81f7b73af to < 07a5ecb94768cbf76fe659e9924000e9ced0c8a6affected814cceebba9b7d1306b8d49587ffb0e81f7b73af to < 946b31b5a699a2760ee52af0055e5ebf29c5f4cbaffected814cceebba9b7d1306b8d49587ffb0e81f7b73af to < 0a2d60edc3e57c9512e239ebdfd12204d3368560affected814cceebba9b7d1306b8d49587ffb0e81f7b73af to < 215d4273347b9010a9deae378b0df79c163f707daffected814cceebba9b7d1306b8d49587ffb0e81f7b73af to < 5573c44cb3fd01a9f62d569ae9ac870ef5f0e0baaffected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected6.1.175 to ≤ 6.1.*unaffected6.6.141 to ≤ 6.6.*unaffected6.12.91 to ≤ 6.12.*unaffected6.18.33 to ≤ 6.18.*unaffected7.0.10 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/abd3c1927d33766aef39c4640880e3d2637429c2 ↗
- https://git.kernel.org/stable/c/07a5ecb94768cbf76fe659e9924000e9ced0c8a6 ↗
- https://git.kernel.org/stable/c/946b31b5a699a2760ee52af0055e5ebf29c5f4cb ↗
- https://git.kernel.org/stable/c/0a2d60edc3e57c9512e239ebdfd12204d3368560 ↗
- https://git.kernel.org/stable/c/215d4273347b9010a9deae378b0df79c163f707d ↗
- https://git.kernel.org/stable/c/5573c44cb3fd01a9f62d569ae9ac870ef5f0e0ba ↗