PCI: of_property: Omit bus properties without a subordinate bus
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]
CVE-2026-98504
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98504
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "407d1a51921e9f28c1bcec647c2205925bd1fdab",
"lessThan": "ccd32fa3489cbe86a0b281da4447b4c7eadb3518",
"versionType": "git"
},
{
"status": "affected",
"version": "407d1a51921e9f28c1bcec647c2205925bd1fdab",
"lessThan": "a6d97d10e49ae49026ae13af6c41634fce470a37",
"versionType": "git"
},
{
"status": "affected",
"version": "407d1a51921e9f28c1bcec647c2205925bd1fdab",
"lessThan": "879c911f77b8a7862aa16079b04efc3fdc5d32ec",
"versionType": "git"
},
{
"status": "affected",
"version": "407d1a51921e9f28c1bcec647c2205925bd1fdab",
"lessThan": "aee774588abd78f75952fd34c3fa461bc46b62c2",
"versionType": "git"
},
{
"status": "affected",
"version": "407d1a51921e9f28c1bcec647c2205925bd1fdab",
"lessThan": "8805840aad73df7146778be243a196d48b4f6430",
"versionType": "git"
}
],
"programFiles": [
"drivers/pci/of_property.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.55",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.9",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/pci/of_property.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98504
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38539 · Revision 1
- Added to Heist Feed
- Publisher date