PCI: mediatek-gen3: Prevent leaking IRQ domains when IRQ not found
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07a5ecb94768cbf76fe659e9924000e9ced0c8a6, Kernel 0a2d60edc3e57c9512e239ebdfd12204d3368560, Kernel 215d4273347b9010a9deae378b0df79c163f707d and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.13, >=814cceebba9b7d1306b8d49587ffb0e81f7b73af <07a5ecb94768cbf76fe659e9924000e9ced0c8a6, >=814cceebba9b7d1306b8d49587ffb0e81f7b73af <0a2d60edc3e57c9512e239ebdfd12204d3368560, >=814cceebba9b7d1306b8d49587ffb0e81f7b73af <215d4273347b9010a9deae378b0df79c163f707d, >=814cceebba9b7d1306b8d49587ffb0e81f7b73af <5573c44cb3fd01a9f62d569ae9ac870ef5f0e0ba, >=814cceebba9b7d1306b8d49587ffb0e81f7b73af <946b31b5a699a2760ee52af0055e5ebf29c5f4cb, >=814cceebba9b7d1306b8d49587ffb0e81f7b73af <abd3c1927d33766aef39c4640880e3d2637429c2 | 07a5ecb94768cbf76fe659e9924000e9ced0c8a6, 0a2d60edc3e57c9512e239ebdfd12204d3368560, 215d4273347b9010a9deae378b0df79c163f707d, 5573c44cb3fd01a9f62d569ae9ac870ef5f0e0ba, 946b31b5a699a2760ee52af0055e5ebf29c5f4cb, abd3c1927d33766aef39c4640880e3d2637429c2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket