CVE-2026-98504

Source
https://cve.org/CVERecord?id=CVE-2026-98504
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98504.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98504
Downstream
Published
2026-10-18T15:17:05Z
Modified
2026-10-19T02:45:29Z
Summary
PCI: of_property: Omit bus properties without a subordinate bus
Details

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]

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98504.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
407d1a51921e9f28c1bcec647c2205925bd1fdab
Fixed
ccd32fa3489cbe86a0b281da4447b4c7eadb3518
Fixed
a6d97d10e49ae49026ae13af6c41634fce470a37
Fixed
879c911f77b8a7862aa16079b04efc3fdc5d32ec
Fixed
aee774588abd78f75952fd34c3fa461bc46b62c2
Fixed
8805840aad73df7146778be243a196d48b4f6430

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98504.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98504.json"