From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F7AA5803BC for ; Fri, 11 Sep 2026 19:50:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156257; cv=none; b=BGCc3MuSzRQ43bUlgqJ/sbaIvvNnPYW7WzViqoks6qIno0EWelCoU9C1M/245SWSKyZE4VmfdH08z9H1cDJHIF4CXKlYIxwDrNVZz0/nAACDQrNA2/dJbDHhnr6He5hO628RBFjQX5nE7RguZjYE1iProclFs3Nq2+l24u/LRJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156257; c=relaxed/simple; bh=eVuY77kisiegxupJAhFlVsnhHRdbwQho0oyHGbraedg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q4uyaX7lVsMA4NySzMjn4HVb0JoY0oweFkk1ktPn9qSctFcLx/Aq4i8EOnpSTF52fraBBijvU6KWAxRHwEGmd+fjj4AldjW2YjxI+6L5qNgdx39B+8p+jMBZ1ZbrbzxC2N56VjIzI61ElTazWBlwSeGokSnQ1onNp03/MPU6blM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=docSUdMW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="docSUdMW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B76FF1F00893; Fri, 11 Sep 2026 19:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156251; bh=Nu4s5nWAVrt3e/19AQ/gVpKP+OLGsc82AiDK0z9VD64=; h=From:To:Cc:Subject:Date:Reply-To; b=docSUdMWJav2+YO5Sc3HGlfXCJMMDq/MHkE3nEjCuLI3GgsNKKLpwnrpq4Qr5EwtD diczMXSHJirrjC1mCdis22FK29MfsWb8Uro/UC591Ze7IoMoghMSOBfMwKIHBbsAyn 4L75yV1nNUkuhM4a4huT8i87BVXyuZ0SLjq+dHU0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89455: PCI: plda: Fix use-after-free of event IRQs during teardown Date: Fri, 11 Sep 2026 21:42:24 +0200 Message-ID: <2026091159-CVE-2026-89455-a85c@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3546; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K3fZmMKka+DZT5bUfyqgBZnP4BcmijGuF4G4B/SVWXw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIr1/np105VG82JrfF56ubPWWedVcsprdReH/EoVlI a6TX+972xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATMZzPME/TX43T5qL1vUSd mzIrFY86fWT9I8wwPzZ61eLtk6JFt/V2bik5H/7mB/uX2QA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: PCI: plda: Fix use-after-free of event IRQs during teardown plda_pcie_irq_domain_deinit() removes pcie->event_domain via irq_domain_remove(), but the per-event IRQs mapped from that domain are requested with devm_request_irq() in plda_init_interrupts(). The actual free_irq() for a devm-managed IRQ is deferred by devres until after the calling probe()/remove() function returns. This means irq_domain_remove() can free the domain's internal data before the deferred free_irq() for IRQs still mapped into it has run. When devres later processes that deferred cleanup, it can end up dereferencing the already-freed domain. Free each event IRQ explicitly with devm_free_irq() before removing the domain. This triggers the free immediately and removes the IRQ from the devres tracking list, so devres will not attempt to free it a second time later. Also dispose of the event, INTx, and MSI IRQ mappings with irq_dispose_mapping() before their owning domains are removed. Finally, guard the calls to irq_set_chained_handler_and_data() for pcie->irq, pcie->msi_irq, and pcie->intx_irq so they only run when those fields hold a valid (>0) IRQ number. This is a pre-existing issue, flagged by automated review during work on an earlier, unrelated patch to this driver. Build-tested and boot-tested on StarFive VisionFive v1.2A board The Linux kernel CVE team has assigned CVE-2026-89455 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 76c9113968079140cb2f885631db422170f32105 and fixed in 6.12.109 with commit 1d0159e139261996a3ca21798d9114aab2124d3c Issue introduced in 6.11 with commit 76c9113968079140cb2f885631db422170f32105 and fixed in 6.18.50 with commit 01c2f0c66bd1f892db9c6e82976da6b463cc4427 Issue introduced in 6.11 with commit 76c9113968079140cb2f885631db422170f32105 and fixed in 7.2.4 with commit e3589ca5f2e6477774753a2202c21509428d4701 Issue introduced in 6.11 with commit 76c9113968079140cb2f885631db422170f32105 and fixed in 7.3-rc1 with commit 26b73bae01d6eb81a4a38f36101812f20b2639de Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-89455 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/pci/controller/plda/pcie-plda-host.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/1d0159e139261996a3ca21798d9114aab2124d3c https://git.kernel.org/stable/c/01c2f0c66bd1f892db9c6e82976da6b463cc4427 https://git.kernel.org/stable/c/e3589ca5f2e6477774753a2202c21509428d4701 https://git.kernel.org/stable/c/26b73bae01d6eb81a4a38f36101812f20b2639de