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 A95A24CA79E for ; Sun, 18 Oct 2026 15:23:56 +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=1792337038; cv=none; b=EGuPYeEjUlT4PZPLf0I/NggYhIs2QMx4qZRyJmrtYhODTpS+YPPC9Nb8YbBt90HTNJTuYvs2m6N2gM1FT6GaA64x49TCKwC/6g73vaFjlxPnlcZM5EEfI0s1zxzxfJU/BGHt1SLsTWUxz4yDreUCT1eqo9EdWlQ7LjPATeu+cGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337038; c=relaxed/simple; bh=BBzCnGIl2KLTmoBhF00Ud0ZD133xKD4ka61QDpOOFAM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lot2br0qr17VNPtSv0ZlO64CTcLIedPss9rNP8sRXuSQ9JS9MV1G0vSd2LgJQouy5Jm3jcvjFNJKimb/JPL5H4kEBJt+XfCOTquW3ixK3pWU88cn+8hXRdYVz1xvjUsvGx8rcgsueBH00EnG8TKG1v3xjRdrllvZZh1qyN/22wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CxNUplH+; 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="CxNUplH+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A02511F000C4; Sun, 18 Oct 2026 15:23:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337036; bh=ahoIZEa8ghw5audCRk1i9Fon1+/QaGhwg6lCqxqlvn4=; h=From:To:Cc:Subject:Date:Reply-To; b=CxNUplH+E23mI14SSJDh1RVAYh9qQaRkbKNF/zntCsX1d80UHf8BTLTpOn5MePJjY al5TZsKIB8oiqyl7Mi2wdAd9FFJao4sVNo+b7v0cL/t+14oXDdDWUR5TlQgSTqMU14 GjWa0ANIxSZACodefrvxTWU3waGZLeHiNKEL2MYc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98504: PCI: of_property: Omit bus properties without a subordinate bus Date: Sun, 18 Oct 2026 17:16:08 +0200 Message-ID: <2026101819-CVE-2026-98504-4c78@gregkh> X-Mailer: git-send-email 2.56.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=3450; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JOuCq80iu5kcJY5koLe278djH02hhk5/Hklfe84olpc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHrW7rIpMubzn2t+ruxcyZzY7mG5/XvnDy7OtWbJw0 QFu43iejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIYSrDfI8L/xJZ3n513XC8 4ECQkey0ienzpjDML91qfc/yQLnsaed9WgeLM0SOHdZKBAA= 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: of_property: Omit bus properties without a subordinate bus A bridge (a device with a Type 1 header) may not have a secondary bus allocated (pdev->subordinate), e.g., if there are no available bus numbers or the bridge secondary/subordinate bus numbers are not writable. The dynamic OF helpers of_pci_prop_bus_range() and of_pci_prop_intr_map() dereference pdev->subordinate without checking it. When CONFIG_PCI_DYNAMIC_OF_NODES is enabled, this can cause a NULL pointer dereference and early boot hang. Generate 'bus-range' and 'interrupt-map' properties only when a subordinate bus exists. Keep the node and its remaining properties for bridges without one. The problem was latent since 407d1a51921e ("PCI: Create device tree node for bridge"), but wasn't reachable until 1f340724419e ("PCI: of: Create device tree PCI host bridge node"), which appeared in v6.15. Before 1f340724419e, of_pci_make_dev_node() returned early because the parent OF node was missing. [bhelgaas: move pdev->subordinate test to callees, commit log] The Linux kernel CVE team has assigned CVE-2026-98504 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 407d1a51921e9f28c1bcec647c2205925bd1fdab and fixed in 6.6.158 with commit ccd32fa3489cbe86a0b281da4447b4c7eadb3518 Issue introduced in 6.6 with commit 407d1a51921e9f28c1bcec647c2205925bd1fdab and fixed in 6.12.112 with commit a6d97d10e49ae49026ae13af6c41634fce470a37 Issue introduced in 6.6 with commit 407d1a51921e9f28c1bcec647c2205925bd1fdab and fixed in 6.18.55 with commit 879c911f77b8a7862aa16079b04efc3fdc5d32ec Issue introduced in 6.6 with commit 407d1a51921e9f28c1bcec647c2205925bd1fdab and fixed in 7.2.9 with commit aee774588abd78f75952fd34c3fa461bc46b62c2 Issue introduced in 6.6 with commit 407d1a51921e9f28c1bcec647c2205925bd1fdab and fixed in 7.3-rc5 with commit 8805840aad73df7146778be243a196d48b4f6430 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-98504 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/of_property.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/ccd32fa3489cbe86a0b281da4447b4c7eadb3518 https://git.kernel.org/stable/c/a6d97d10e49ae49026ae13af6c41634fce470a37 https://git.kernel.org/stable/c/879c911f77b8a7862aa16079b04efc3fdc5d32ec https://git.kernel.org/stable/c/aee774588abd78f75952fd34c3fa461bc46b62c2 https://git.kernel.org/stable/c/8805840aad73df7146778be243a196d48b4f6430