CVE-2026-63958
usb: typec: ucsi: validate connector number in ucsi_connector_change()
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.
INFO
Published Date :
July 19, 2026, 4:17 p.m.
Last Modified :
July 30, 2026, 2:51 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Validate connector numbers against reported connectors.
- Reject invalid connector numbers before array access.
- Apply kernel updates with the fix.
- Reboot the system after updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-63958.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-63958 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-63958
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-63958 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-63958 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 20, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'cea949203faef9cb783adc7b978cce056271e057', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '156b6f0aec6108909b0c4aedc78865b12766b347', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'bd24d92af4ae021b6209f28e9a57e1bf2260d4fd', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '0edd1e21587b0483c7ceb993b9fb9668bbef7433', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '5af2719b460ab904c504fc069d1dd2a3aa2b22b0', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '288a81a8507052bcfbf884d39a463c44c42c5fd9', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.1.176', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.6.143', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.93', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.35', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.0.12', 'versionType': 'semver'}], 'programFiles': ['drivers/usb/typec/ucsi/ucsi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.93', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.35', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.12', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/typec/ucsi/ucsi.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f', 'lessThan': 'cea949203faef9cb783adc7b978cce056271e057', 'versionType': 'git'}, {'status': 'affected', 'version': 'c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f', 'lessThan': '156b6f0aec6108909b0c4aedc78865b12766b347', 'versionType': 'git'}, {'status': 'affected', 'version': 'c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f', 'lessThan': 'bd24d92af4ae021b6209f28e9a57e1bf2260d4fd', 'versionType': 'git'}, {'status': 'affected', 'version': 'c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f', 'lessThan': '0edd1e21587b0483c7ceb993b9fb9668bbef7433', 'versionType': 'git'}, {'status': 'affected', 'version': 'c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f', 'lessThan': '5af2719b460ab904c504fc069d1dd2a3aa2b22b0', 'versionType': 'git'}, {'status': 'affected', 'version': 'c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f', 'lessThan': '288a81a8507052bcfbf884d39a463c44c42c5fd9', 'versionType': 'git'}], 'programFiles': ['drivers/usb/typec/ucsi/ucsi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.93', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.35', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.12', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/typec/ucsi/ucsi.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 19, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'cea949203faef9cb783adc7b978cce056271e057', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '156b6f0aec6108909b0c4aedc78865b12766b347', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'bd24d92af4ae021b6209f28e9a57e1bf2260d4fd', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '0edd1e21587b0483c7ceb993b9fb9668bbef7433', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '5af2719b460ab904c504fc069d1dd2a3aa2b22b0', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '288a81a8507052bcfbf884d39a463c44c42c5fd9', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.1.176', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.6.143', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.93', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.35', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.0.12', 'versionType': 'semver'}], 'programFiles': ['drivers/usb/typec/ucsi/ucsi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.93', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.35', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.12', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/typec/ucsi/ucsi.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/0edd1e21587b0483c7ceb993b9fb9668bbef7433 Added Reference https://git.kernel.org/stable/c/156b6f0aec6108909b0c4aedc78865b12766b347 Added Reference https://git.kernel.org/stable/c/288a81a8507052bcfbf884d39a463c44c42c5fd9 Added Reference https://git.kernel.org/stable/c/5af2719b460ab904c504fc069d1dd2a3aa2b22b0 Added Reference https://git.kernel.org/stable/c/bd24d92af4ae021b6209f28e9a57e1bf2260d4fd Added Reference https://git.kernel.org/stable/c/cea949203faef9cb783adc7b978cce056271e057