-

CVE-2026-98504

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]
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 407d1a51921e9f28c1bcec647c2205925bd1fdab
Version < ccd32fa3489cbe86a0b281da4447b4c7eadb3518
Status affected
Version 407d1a51921e9f28c1bcec647c2205925bd1fdab
Version < a6d97d10e49ae49026ae13af6c41634fce470a37
Status affected
Version 407d1a51921e9f28c1bcec647c2205925bd1fdab
Version < 879c911f77b8a7862aa16079b04efc3fdc5d32ec
Status affected
Version 407d1a51921e9f28c1bcec647c2205925bd1fdab
Version < aee774588abd78f75952fd34c3fa461bc46b62c2
Status affected
Version 407d1a51921e9f28c1bcec647c2205925bd1fdab
Version < 8805840aad73df7146778be243a196d48b4f6430
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.6
Status affected
Version 0
Version < 6.6
Status unaffected
Version <= 6.6.*
Version 6.6.158
Status unaffected
Version <= 6.12.*
Version 6.12.112
Status unaffected
Version <= 6.18.*
Version 6.18.55
Status unaffected
Version <= 7.2.*
Version 7.2.9
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.092
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
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