Re: [PATCH v3 0/2] PCI: plda: Fix IRQ teardown and error-path resource leaks

From: Manivannan Sadhasivam

Date: Wed Jul 29 2026 - 13:29:59 EST



On Thu, 23 Jul 2026 19:04:32 +0500, Ali Tariq wrote:
> This series fixes two related IRQ-handling bugs in the PLDA PCIe
> driver, both originally found by automated review from sashiko-bot
> during work on an earlier, unrelated patch.
>
> Patch 1 fixes a use-after-free: plda_pcie_irq_domain_deinit() removed
> pcie->event_domain while devm-managed event IRQs requested from that
> domain still had their free_irq() deferred by devres, so the deferred
> cleanup could dereference an already-freed domain. It also hardens
> the function so it is safe to call from partially-initialized state
> (guards IRQ fields against being 0, and disposes of IRQ mappings
> before their domains are torn down).
>
> [...]

Applied, thanks!

[1/2] PCI: plda: Fix use-after-free of event IRQs during teardown
commit: 26b73bae01d6eb81a4a38f36101812f20b2639de

Best regards,
--
மணிவண்ணன் சதாசிவம்