{"id":"CVE-2026-98504","aliases":["CVE-2026-98504"],"related":[],"kind":"vulnerability","state":"published","title":"PCI: of_property: Omit bus properties without a subordinate bus","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: of_property: Omit bus properties without a subordinate bus\n\nA bridge (a device with a Type 1 header) may not have a secondary bus\nallocated (pdev->subordinate), e.g., if there are no available bus numbers\nor the bridge secondary/subordinate bus numbers are not writable.\n\nThe dynamic OF helpers of_pci_prop_bus_range() and of_pci_prop_intr_map()\ndereference pdev->subordinate without checking it.  When\nCONFIG_PCI_DYNAMIC_OF_NODES is enabled, this can cause a NULL pointer\ndereference and early boot hang.\n\nGenerate 'bus-range' and 'interrupt-map' properties only when a subordinate\nbus exists.  Keep the node and its remaining properties for bridges without\none.\n\nThe problem was latent since 407d1a51921e (\"PCI: Create device tree node\nfor bridge\"), but wasn't reachable until 1f340724419e (\"PCI: of: Create\ndevice tree PCI host bridge node\"), which appeared in v6.15.  Before\n1f340724419e, of_pci_make_dev_node() returned early because the parent OF\nnode was missing.\n\n[bhelgaas: move pdev->subordinate test to callees, commit log]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: of_property: Omit bus properties without a subordinate bus\n\nA bridge (a device with a Type 1 header) may not have a secondary bus\nallocated (pdev->subordinate), e.g., if there are no available bus numbers\nor the bridge secondary/subordinate bus numbers are not writable.\n\nThe dynamic OF helpers of_pci_prop_bus_range() and of_pci_prop_intr_map()\ndereference pdev->subordinate without checking it.  When\nCONFIG_PCI_DYNAMIC_OF_NODES is enabled, this can cause a NULL pointer\ndereference and early boot hang.\n\nGenerate 'bus-range' and 'interrupt-map' properties only when a subordinate\nbus exists.  Keep the node and its remaining properties for bridges without\none.\n\nThe problem was latent since 407d1a51921e (\"PCI: Create device tree node\nfor bridge\"), but wasn't reachable until 1f340724419e (\"PCI: of: Create\ndevice tree PCI host bridge node\"), which appeared in v6.15.  Before\n1f340724419e, of_pci_make_dev_node() returned early because the parent OF\nnode was missing.\n\n[bhelgaas: move pdev->subordinate test to callees, commit log]","source":"cvelist"}],"published":"2026-10-18T15:17:05.274Z","modified":"2026-10-19T10:19:03.637Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"407d1a51921e9f28c1bcec647c2205925bd1fdab","fixed":"ccd32fa3489cbe86a0b281da4447b4c7eadb3518","status":"affected"},{"type":"git","introduced":"407d1a51921e9f28c1bcec647c2205925bd1fdab","fixed":"a6d97d10e49ae49026ae13af6c41634fce470a37","status":"affected"},{"type":"git","introduced":"407d1a51921e9f28c1bcec647c2205925bd1fdab","fixed":"879c911f77b8a7862aa16079b04efc3fdc5d32ec","status":"affected"},{"type":"git","introduced":"407d1a51921e9f28c1bcec647c2205925bd1fdab","fixed":"aee774588abd78f75952fd34c3fa461bc46b62c2","status":"affected"},{"type":"git","introduced":"407d1a51921e9f28c1bcec647c2205925bd1fdab","fixed":"8805840aad73df7146778be243a196d48b4f6430","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ccd32fa3489cbe86a0b281da4447b4c7eadb3518","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6d97d10e49ae49026ae13af6c41634fce470a37","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/879c911f77b8a7862aa16079b04efc3fdc5d32ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aee774588abd78f75952fd34c3fa461bc46b62c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8805840aad73df7146778be243a196d48b4f6430","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98504","url":"https://www.cve.org/CVERecord?id=CVE-2026-98504","licence":"CVE Terms of Use","modified":"2026-10-19T09:20:43.250Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98504","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98504","licence":"Public domain","modified":"2026-10-19T10:19:03.637Z"}],"updatedAt":"2026-11-25T22:59:45.204Z","epss":{"score":0.00206,"percentile":0.11174,"date":"2026-12-01T12:00:22.000Z"}}