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

Manivannan Sadhasivam <[email protected]>
Newsgroups org.kernel.vger.linux-pci,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <178534268823.893302.6699748097504009093.b4-ty@b4>
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,
-- 
மணிவண்ணன் சதாசிவம்
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.