In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: Validate SVID index in svdm_consume_modes() In… (CVE-2026-64330)
A vulnerability in the Linux kernel's USB Type-C TCPM driver was resolved by adding validation for the SVID index in the svdm_consume_modes() function. The issue allowed out-of-bounds reads of the pmdata->svids array due to lack of bounds checking on pmdata->svid_index. This could lead to reading adjacent memory fields, including partner-supplied data, potentially allowing a partner device to register an arbitrary SVID. The fix involves validating that the index is within the valid range before accessing the array.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-64330 involves an out-of-bounds read in the usb: typec: tcpm driver within the svdm_consume_modes() function. The function reads the SVID value from an array using an index (pmdata->svid_index) without validating that the index is within bounds. If the index exceeds the maximum allowed (SVID_DISCOVERY_MAX = 16), it reads beyond the array into adjacent memory fields, including altmode descriptors controlled by a connected partner device. By manipulating the index and altmode descriptors, a partner device can cause the kernel to register an arbitrary SVID via typec_partner_register_altmode(). The vulnerability was fixed by adding validation to ensure pmdata->svid_index is non-negative and less than the number of SVIDs (pmdata->nsvids) before array access.
Potential Impact
The vulnerability allows a connected USB Type-C partner device to cause the kernel to read out-of-bounds memory and register an arbitrary SVID. This could potentially lead to incorrect behavior in USB Type-C alternate mode handling or other kernel subsystems relying on SVID values. No direct evidence of code execution or privilege escalation is provided. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix is available that validates the SVID index before accessing the array in svdm_consume_modes(). Users should apply the official Linux kernel updates that include this patch. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisory for the exact fixed versions and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: Validate SVID index in svdm_consume_modes() In… (CVE-2026-64330)
Description
A vulnerability in the Linux kernel's USB Type-C TCPM driver was resolved by adding validation for the SVID index in the svdm_consume_modes() function. The issue allowed out-of-bounds reads of the pmdata->svids array due to lack of bounds checking on pmdata->svid_index. This could lead to reading adjacent memory fields, including partner-supplied data, potentially allowing a partner device to register an arbitrary SVID. The fix involves validating that the index is within the valid range before accessing the array.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-64330 involves an out-of-bounds read in the usb: typec: tcpm driver within the svdm_consume_modes() function. The function reads the SVID value from an array using an index (pmdata->svid_index) without validating that the index is within bounds. If the index exceeds the maximum allowed (SVID_DISCOVERY_MAX = 16), it reads beyond the array into adjacent memory fields, including altmode descriptors controlled by a connected partner device. By manipulating the index and altmode descriptors, a partner device can cause the kernel to register an arbitrary SVID via typec_partner_register_altmode(). The vulnerability was fixed by adding validation to ensure pmdata->svid_index is non-negative and less than the number of SVIDs (pmdata->nsvids) before array access.
Potential Impact
The vulnerability allows a connected USB Type-C partner device to cause the kernel to read out-of-bounds memory and register an arbitrary SVID. This could potentially lead to incorrect behavior in USB Type-C alternate mode handling or other kernel subsystems relying on SVID values. No direct evidence of code execution or privilege escalation is provided. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix is available that validates the SVID index before accessing the array in svdm_consume_modes(). Users should apply the official Linux kernel updates that include this patch. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisory for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5x5w-f8x6-m8wf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64330"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420d9c2644c7f80859fb
Added to database: 07/25/2026, 23:09:01 UTC
Last enriched: 07/25/2026, 23:35:51 UTC
Last updated: 07/26/2026, 03:58:34 UTC
Views: 5
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.