# CVE-2026-63958: usb: typec: ucsi: validate connector number in ucsi_connector_change()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:48.835Z
- Modified: 2026-10-30T14:32:03.687Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f before cea949203faef9cb783adc7b978cce056271e057; from c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f before 156b6f0aec6108909b0c4aedc78865b12766b347; from c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f before bd24d92af4ae021b6209f28e9a57e1bf2260d4fd; from c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f before 0edd1e21587b0483c7ceb993b9fb9668bbef7433; from c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f before 5af2719b460ab904c504fc069d1dd2a3aa2b22b0; from c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f before 288a81a8507052bcfbf884d39a463c44c42c5fd9; 4.13 (not affected: before 4.13; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.13 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/cea949203faef9cb783adc7b978cce056271e057> (patch)
- <https://git.kernel.org/stable/c/156b6f0aec6108909b0c4aedc78865b12766b347> (patch)
- <https://git.kernel.org/stable/c/bd24d92af4ae021b6209f28e9a57e1bf2260d4fd> (patch)
- <https://git.kernel.org/stable/c/0edd1e21587b0483c7ceb993b9fb9668bbef7433> (patch)
- <https://git.kernel.org/stable/c/5af2719b460ab904c504fc069d1dd2a3aa2b22b0> (patch)
- <https://git.kernel.org/stable/c/288a81a8507052bcfbf884d39a463c44c42c5fd9> (patch)

## Sources

- CVE List: [CVE-2026-63958](https://www.cve.org/CVERecord?id=CVE-2026-63958), CVE Terms of Use, modified 2026-07-20
- NVD: [CVE-2026-63958](https://nvd.nist.gov/vuln/detail/CVE-2026-63958), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-63958 · Whole record: https://cve.day/CVE-2026-63958.json · Rebuilt by cve.day 2026-11-25T22:59:28.865Z
