{"api_version":"1","generated_at":"2026-12-03T05:42:37+00:00","cve":"CVE-2026-142834","urls":{"html":"https://cve.report/CVE-2026-142834","api":"https://cve.report/api/cve/CVE-2026-142834.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142834","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142834"},"summary":{"title":"PCI: Set supported_speeds in set_pcie_port_type()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:19","updated_at":"2026-12-03 04:18:19"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8073652f5c220dca8bc07c94268a5e15cce921a4","name":"https://git.kernel.org/stable/c/8073652f5c220dca8bc07c94268a5e15cce921a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/926767a9be8866d26cc27ca46c46c03d921e2193","name":"https://git.kernel.org/stable/c/926767a9be8866d26cc27ca46c46c03d921e2193","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c0b372282f98d50ed63d692e557d2b18b68878a4","name":"https://git.kernel.org/stable/c/c0b372282f98d50ed63d692e557d2b18b68878a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/21d11290049549ab8f0fe93124d2067627d1069d","name":"https://git.kernel.org/stable/c/21d11290049549ab8f0fe93124d2067627d1069d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142834","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142834","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 47ecb8f8ec002fcf2674a0c753999867b0f1ee2a 21d11290049549ab8f0fe93124d2067627d1069d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d2bd39c0456b75be9dfc7d774b8d021355c26ae3 8073652f5c220dca8bc07c94268a5e15cce921a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d2bd39c0456b75be9dfc7d774b8d021355c26ae3 c0b372282f98d50ed63d692e557d2b18b68878a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d2bd39c0456b75be9dfc7d774b8d021355c26ae3 926767a9be8866d26cc27ca46c46c03d921e2193 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.43 6.12.117 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/pci/probe.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"21d11290049549ab8f0fe93124d2067627d1069d","status":"affected","version":"47ecb8f8ec002fcf2674a0c753999867b0f1ee2a","versionType":"git"},{"lessThan":"8073652f5c220dca8bc07c94268a5e15cce921a4","status":"affected","version":"d2bd39c0456b75be9dfc7d774b8d021355c26ae3","versionType":"git"},{"lessThan":"c0b372282f98d50ed63d692e557d2b18b68878a4","status":"affected","version":"d2bd39c0456b75be9dfc7d774b8d021355c26ae3","versionType":"git"},{"lessThan":"926767a9be8866d26cc27ca46c46c03d921e2193","status":"affected","version":"d2bd39c0456b75be9dfc7d774b8d021355c26ae3","versionType":"git"},{"lessThan":"6.12.117","status":"affected","version":"6.12.43","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/pci/probe.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.13"},{"lessThan":"6.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.12.43","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:20:48.762Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/21d11290049549ab8f0fe93124d2067627d1069d"},{"url":"https://git.kernel.org/stable/c/8073652f5c220dca8bc07c94268a5e15cce921a4"},{"url":"https://git.kernel.org/stable/c/c0b372282f98d50ed63d692e557d2b18b68878a4"},{"url":"https://git.kernel.org/stable/c/926767a9be8866d26cc27ca46c46c03d921e2193"}],"title":"PCI: Set supported_speeds in set_pcie_port_type()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142834","datePublished":"2026-12-03T03:20:48.762Z","dateReserved":"2026-12-03T03:10:28.332Z","dateUpdated":"2026-12-03T03:20:48.762Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:19","lastModifiedDate":"2026-12-03 04:18:19","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142834","Ordinal":"1","Title":"PCI: Set supported_speeds in set_pcie_port_type()","CVE":"CVE-2026-142834","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142834","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"PCI: Set supported_speeds in set_pcie_port_type()"}]}}}