{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "47ecb8f8ec002fcf2674a0c753999867b0f1ee2a"
            },
            {
              "fixed": "21d11290049549ab8f0fe93124d2067627d1069d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "d2bd39c0456b75be9dfc7d774b8d021355c26ae3"
            },
            {
              "fixed": "8073652f5c220dca8bc07c94268a5e15cce921a4"
            },
            {
              "fixed": "c0b372282f98d50ed63d692e557d2b18b68878a4"
            },
            {
              "fixed": "926767a9be8866d26cc27ca46c46c03d921e2193"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142834.json"
  },
  "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.",
  "id": "CVE-2026-142834",
  "modified": "2026-12-03T04:46:05.903868260Z",
  "published": "2026-12-03T03:20:48.762Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "PCI: Set supported_speeds in set_pcie_port_type()"
}