usb: typec: ucsi: validate connector number in ucsi_connector_change()
Summary
| CVE | CVE-2026-63958 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-19 16:17:14 UTC |
| Updated | 2026-07-20 07:16:40 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: validate connector number in ucsi_connector_change() The connector number in a UCSI CCI notification is a 7-bit field supplied by the PPM. ucsi_connector_change() uses it to index the ucsi->connector[] array without checking it against the number of connectors the PPM reported at init time, so a buggy or malicious PPM (EC firmware, or an I2C-attached UCSI controller on the ccg / stm32g0 / glink transports) can drive schedule_work() on memory past the end of the array. Reject connector numbers that are zero or exceed cap.num_connectors before dereferencing the array. |
Risk And Classification
EPSS: 0.002050000 probability, percentile 0.107240000 (date 2026-07-20)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f cea949203faef9cb783adc7b978cce056271e057 git | Not specified |
| CNA | Linux | Linux | affected c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f 156b6f0aec6108909b0c4aedc78865b12766b347 git | Not specified |
| CNA | Linux | Linux | affected c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f bd24d92af4ae021b6209f28e9a57e1bf2260d4fd git | Not specified |
| CNA | Linux | Linux | affected c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f 0edd1e21587b0483c7ceb993b9fb9668bbef7433 git | Not specified |
| CNA | Linux | Linux | affected c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f 5af2719b460ab904c504fc069d1dd2a3aa2b22b0 git | Not specified |
| CNA | Linux | Linux | affected c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f 288a81a8507052bcfbf884d39a463c44c42c5fd9 git | Not specified |
| CNA | Linux | Linux | affected 4.13 | Not specified |
| CNA | Linux | Linux | unaffected 4.13 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.93 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.35 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.12 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/5af2719b460ab904c504fc069d1dd2a3aa2b22b0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/cea949203faef9cb783adc7b978cce056271e057 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/156b6f0aec6108909b0c4aedc78865b12766b347 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/bd24d92af4ae021b6209f28e9a57e1bf2260d4fd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/288a81a8507052bcfbf884d39a463c44c42c5fd9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0edd1e21587b0483c7ceb993b9fb9668bbef7433 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.