PCI: plda: Fix IRQ domain leaks in the error paths of plda_init_interrupts()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e54e8d2a0f9c8bf251ae4385ea4f4a68840fedad, Kernel 01b05cebe1e862e31e382359848d7dca02525a4f, Kernel 19a30bbb6477bfd7e3109b7a2943e6597ee9de37 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: PCI: plda: Fix IRQ domain leaks in the error paths of plda_init_interrupts() plda_init_interrupts() initializes IRQ domains and creates IRQ mapping but does not unwind them when later step fails. If platform_get_irq() or either irq_create_mapping() fails in plda_init_interrupts(), the domains are never deinitialized. If irq_create_mapping() fails, port->intx_irq stays initialized. Hence, remove the IRQ domains in the error path by calling plda_pcie_irq_domain_deinit(). Since plda_pcie_irq_domain_deinit() now disposes of the intx_irq and msi_irq mappings itself before removing their domains, the msi_irq mapping failure path can go directly to err_irq_domain_deinit instead of disposing of port->intx_irq separately first. This issue was found by automated review of sashiko-bot [mani: commit log]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4602c370bdf6946b4e954a3db0ef5958aac2b7b4 <e54e8d2a0f9c8bf251ae4385ea4f4a68840fedad, >=4602c370bdf6946b4e954a3db0ef5958aac2b7b4 <01b05cebe1e862e31e382359848d7dca02525a4f, >=4602c370bdf6946b4e954a3db0ef5958aac2b7b4 <19a30bbb6477bfd7e3109b7a2943e6597ee9de37, >=4602c370bdf6946b4e954a3db0ef5958aac2b7b4 <4b575052ea65423693726a21826d783cf3f1745e, =6.11 | e54e8d2a0f9c8bf251ae4385ea4f4a68840fedad, 01b05cebe1e862e31e382359848d7dca02525a4f, 19a30bbb6477bfd7e3109b7a2943e6597ee9de37, 4b575052ea65423693726a21826d783cf3f1745e |
| linux-kernel: Kernel | >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.11.0 <6.12.109 | 6.18.50, 7.2.4, 6.12.109 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket