{"id":"CVE-2026-142834","summary":"PCI: Set supported_speeds in set_pcie_port_type()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Set supported_speeds in set_pcie_port_type()\n\nsparc64 and powerpc create PCI devices from the device tree in\nof_create_pci_dev(), which calls set_pcie_port_type() but not\npci_setup_device(). Since d2bd39c0456b, supported_speeds is only set in\npci_setup_device(), so it stays 0 for these devices.\n\npcie_get_speed_cap() then returns PCI_SPEED_UNKNOWN, the sysfs\n'max_link_speed' attribute reads \"Unknown\", and the failed link retraining\nquirk passes PCI_SPEED_UNKNOWN to pcie_set_target_speed(), which warns on a\nSPARC T7-1:\n\n  WARNING: drivers/pci/pcie/bwctrl.c:125 at pcie_set_target_speed+0x284/0x2e0\n\nSet supported_speeds in set_pcie_port_type(), which all three paths call.","modified":"2026-12-03T05:00:45.205707747Z","published":"2026-12-03T03:20:48.762Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142834.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21d11290049549ab8f0fe93124d2067627d1069d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8073652f5c220dca8bc07c94268a5e15cce921a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/926767a9be8866d26cc27ca46c46c03d921e2193"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0b372282f98d50ed63d692e557d2b18b68878a4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142834.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142834"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"47ecb8f8ec002fcf2674a0c753999867b0f1ee2a"},{"fixed":"21d11290049549ab8f0fe93124d2067627d1069d"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d2bd39c0456b75be9dfc7d774b8d021355c26ae3"},{"fixed":"8073652f5c220dca8bc07c94268a5e15cce921a4"},{"fixed":"c0b372282f98d50ed63d692e557d2b18b68878a4"},{"fixed":"926767a9be8866d26cc27ca46c46c03d921e2193"}]}],"versions":["v6.12.116","v6.12.115","v6.12.114","v6.12.113","v6.12.112","v6.12.111","v6.12.110","v6.12.109","v6.12.108","v6.12.107","v6.12.106","v6.12.105","v6.12.104","v6.12.103","v6.12.102","v6.12.101","v6.12.100","v6.12.99","v6.12.98","v6.12.97","v6.12.96","v6.12.95","v6.12.94","v6.12.93","v6.12.92","v6.12.91","v6.12.90","v6.12.89","v6.12.88","v6.12.87","v6.12.86","v6.12.85","v6.12.84","v6.12.83","v6.12.82","v6.12.81","v6.12.80","v6.12.79","v6.12.78","v6.12.77","v6.12.76","v6.12.75","v6.12.74","v6.12.73","v6.12.72","v6.12.71","v6.12.70","v6.12.69","v6.12.68","v6.12.67","v6.12.66","v6.12.65","v6.12.64","v6.12.63","v6.12.62","v6.12.61","v6.12.60","v6.12.59","v6.12.58","v6.12.57","v6.12.56","v6.12.55","v6.12.54","v6.12.53","v6.12.52","v6.12.51","v6.12.50","v6.12.49","v6.12.48","v6.12.47","v6.12.46","v6.12.45","v6.12.44","v6.12.43"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142834.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.43"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142834.json"}}],"schema_version":"1.9.2"}