PCI: Set supported_speeds in set_pcie_port_type()
- CVE-2026-142834
- GHSA-q6v4-84gw-x32r
- EUVD-2026-142084
Description
In the Linux kernel, the following vulnerability has been resolved: PCI: Set supported_speeds in set_pcie_port_type() sparc64 and powerpc create PCI devices from the device tree in of_create_pci_dev(), which calls set_pcie_port_type() but not pci_setup_device(). Since d2bd39c0456b, supported_speeds is only set in pci_setup_device(), so it stays 0 for these devices. pcie_get_speed_cap() then returns PCI_SPEED_UNKNOWN, the sysfs 'max_link_speed' attribute reads "Unknown", and the failed link retraining quirk passes PCI_SPEED_UNKNOWN to pcie_set_target_speed(), which warns on a SPARC T7-1: WARNING: drivers/pci/pcie/bwctrl.c:125 at pcie_set_target_speed+0x284/0x2e0 Set supported_speeds in set_pcie_port_type(), which all three paths call.
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.12.xupdate to 6.12.117 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.12.43 to before 6.12.117 6.12.117 6.13 none stated before 6.13: not affected none stated from 6.12.117 up to 6.12.*: not affected none stated from 6.18.63 up to 6.18.*: not affected none stated from 7.3.4 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.