In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: bound altmode_desc[] per iteration in svdm_consume_modes()… (CVE-2026-63962)
A vulnerability in the Linux kernel's USB Type-C TCPM driver was resolved that involved improper bounds checking in the svdm_consume_modes() function. The function failed to verify array bounds on each iteration when processing alternate mode descriptors, allowing a malicious or broken USB Type-C partner device to cause out-of-bounds writes. This could lead to memory corruption by writing beyond the altmode_desc[] array. The issue was fixed by moving the bounds check inside the loop to prevent indexing past the array limit regardless of input.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-63962 concerns the usb: typec: tcpm driver, specifically in the svdm_consume_modes() function. The function initially checked the size of the altmode_desc[] array only once before looping over mode descriptors, but did not check bounds on each iteration. A malicious USB Type-C partner can exploit this by sending an unsolicited Discover Modes ACK with more VDOs than expected, causing writes up to five entries past the array boundary. This results in out-of-bounds memory writes to adjacent fields in the tcpm_port structure, potentially leading to memory corruption. The fix involved moving the bounds check inside the loop to ensure no out-of-bounds indexing occurs regardless of input.
Potential Impact
The vulnerability allows a malicious or broken USB Type-C partner device to cause out-of-bounds writes in kernel memory, potentially leading to memory corruption. This could affect system stability or security depending on how the corrupted memory is used. No known exploits in the wild have been reported. The impact is limited to systems running the affected Linux kernel USB Type-C TCPM driver and interacting with malicious USB Type-C partners.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by moving the bounds check inside the loop in svdm_consume_modes(). Users and administrators should apply the official Linux kernel updates that include this fix once available. Patch status is not yet confirmed from the vendor advisory; check the Linux kernel security advisories for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: bound altmode_desc[] per iteration in svdm_consume_modes()… (CVE-2026-63962)
Description
A vulnerability in the Linux kernel's USB Type-C TCPM driver was resolved that involved improper bounds checking in the svdm_consume_modes() function. The function failed to verify array bounds on each iteration when processing alternate mode descriptors, allowing a malicious or broken USB Type-C partner device to cause out-of-bounds writes. This could lead to memory corruption by writing beyond the altmode_desc[] array. The issue was fixed by moving the bounds check inside the loop to prevent indexing past the array limit regardless of input.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-63962 concerns the usb: typec: tcpm driver, specifically in the svdm_consume_modes() function. The function initially checked the size of the altmode_desc[] array only once before looping over mode descriptors, but did not check bounds on each iteration. A malicious USB Type-C partner can exploit this by sending an unsolicited Discover Modes ACK with more VDOs than expected, causing writes up to five entries past the array boundary. This results in out-of-bounds memory writes to adjacent fields in the tcpm_port structure, potentially leading to memory corruption. The fix involved moving the bounds check inside the loop to ensure no out-of-bounds indexing occurs regardless of input.
Potential Impact
The vulnerability allows a malicious or broken USB Type-C partner device to cause out-of-bounds writes in kernel memory, potentially leading to memory corruption. This could affect system stability or security depending on how the corrupted memory is used. No known exploits in the wild have been reported. The impact is limited to systems running the affected Linux kernel USB Type-C TCPM driver and interacting with malicious USB Type-C partners.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by moving the bounds check inside the loop in svdm_consume_modes(). Users and administrators should apply the official Linux kernel updates that include this fix once available. Patch status is not yet confirmed from the vendor advisory; check the Linux kernel security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2qj8-cjv3-rxv7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63962"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ab2a4a8d598912ef03
Added to database: 07/19/2026, 19:38:19 UTC
Last enriched: 07/19/2026, 20:06:37 UTC
Last updated: 07/20/2026, 17:49:19 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.