Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100638; b=3mmoUy4AWE6WZa85hqGoxES5zjqZP8vTI6YOSdtgWm1e1oG5+JN3L/2F8RqxfF21AjDj LCYDqUc4AdnIspgMHlKDIVp7hnHmGqfPAA0BVFP5x0ugdHNHHWZRgSsFTfBhEaSlYibGg iaaaWM9NIZMKeAqcX6NrgXLxjBW7RxMad5NMW1CX/aPyibWTHP8WebLKbLUjuXMVtDRX2 ++UA76UMgBx8Ahn5L4B6XUHWDdCSg75svNbdi9XM9hBBL7EWc61Wl6/qBJN11YMNrIY6j FhnfXUMPfW83Xv4Dt4XfkSz4mL4qB4+7ooH7HJf2wLKviT29uXAvcbHCVCyx7om7Ypw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100638; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=aOK30dH6mKNvh+vZ2CDlFc9ef0HVsWLAOc4tz3ayAz8=; b=SqpzjCozYLTr9ugfiuKoOSRLAPnCtv9BQHSNxcthYpTKkMrbmYYOhKoHPnsF3eQP5UBt qF6H+j+CNsn2lQ92Mb0iB+jWy1kH4iyTySQ0otaoqSoUmEoLrk82mbJnlFLiW9XidWEqY IIoCYu8VC3HFT1q46u6v4dpSkll2fxMCuo2qNxl82S1V/9q208xQUUpbIq2cj5lPvcZGb /iLxT0kJZzlOAVeY/IT//votqHn9z0djXas/4junJ2Vk4PIk29eVP210G1rSwjrU5LaPW kyeVab06fmhFN1Rnb7q7GtYutAhUidJ4GmFgEpsdlV9ioa9YvDHOUPbQSsa5cl+p3mQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ncAavaSu; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB6A8606A330 for ; Thu, 19 Nov 2026 15:03:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ncAavaSu Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41F1C1F000C7; Thu, 19 Nov 2026 15:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100638; bh=aOK30dH6mKNvh+vZ2CDlFc9ef0HVsWLAOc4tz3ayAz8=; h=From:To:Cc:Subject:Date:Reply-To; b=ncAavaSuR5REvkbDtgQRfApAGYkRYrgNB885twJ2PeRJCq6iRZ+RItHxRb/Ab6QSl md9sybDdP6Sv0m8AuydJNe+5GxPSH5smo2zXbB+CeBA5DOXODVE5hJX5+WqtKI/ZUj rRGhIgjoNNX1SvMKMMwmiEmpKDMhTEXZEXEN29eM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99502: s390/pci: Fix double-free and NULL deref in zpci MSI domain cleanup Date: Thu, 19 Nov 2026 15:26:40 +0100 Message-ID: <2026111916-CVE-2026-99502-ccbb@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2355; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+A1x8xjyGTldR0U80SORH3ajSyNr3IDRTaDFywsu5IU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Sb8Ltt+lscrV/RHC88fy92ffjT93bzk1P4D9Y35P LH35GI3d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEXFczLNizwDltYbrIlwml b3rFv+5n7C9PsGaYn3msfd45G6nCconfvPb5haVxBzNsAA== 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: s390/pci: Fix double-free and NULL deref in zpci MSI domain cleanup zpci_remove_parent_msi_domain() dereferences zbus->msi_parent_domain unconditionally and does not clear it afterwards. zpci_bus_create_pci_bus() removes the domain when pci_create_root_bus() fails, then zpci_bus_release() removes it again on the last kref_put(), reading ->fwnode from the freed irq_domain and freeing it twice. If zpci_alloc_domain() or zpci_create_parent_msi_domain() fails, no domain is created at all; zbus is kzalloc'd, so the same release path dereferences NULL. Return early when there is no domain, and clear the pointer after removing one. The Linux kernel CVE team has assigned CVE-2026-99502 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit f770950a4709af290f314e691897ec0003fbd8ae and fixed in 7.3.2 with commit 5259b258f234cca127651cd983ea879a7ad4ea8c Issue introduced in 6.19 with commit f770950a4709af290f314e691897ec0003fbd8ae and fixed in 7.4-rc1 with commit 31c66bd273303590fe69fad370e72a12faa0bf76 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-99502 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: arch/s390/pci/pci_irq.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/5259b258f234cca127651cd983ea879a7ad4ea8c https://git.kernel.org/stable/c/31c66bd273303590fe69fad370e72a12faa0bf76