CVE-2026-63962
usb: typec: tcpm: bound altmode_desc[] per iteration in svdm_consume_modes()
Reported by linux · Published July 19, 2026
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: bound altmode_desc[] per iteration in svdm_consume_modes() svdm_consume_modes() checks pmdata->altmodes against the array size once before the loop over the count, but forgot to check the bound at every point in the loop. In the well-behaved SVDM discovery flow this is harmless because each of at most SVID_DISCOVERY_MAX SVIDs contributes at most MODE_DISCOVERY_MAX modes, exactly filling altmode_desc[ALTMODE_DISCOVERY_MAX]. But the CMDT_RSP_ACK handler in tcpm_pd_svdm() does not correlate an incoming ACK with any request the port actually sent. Once port->partner is set, an unsolicited Discover Modes ACK is consumed unconditionally. A broken or malicious port partner can therefore drive altmodes to ALTMODE_DISCOVERY_MAX - 1 via the normal flow, and then send one extra Discover Modes ACK with seven VDOs. Because the pre-loop check passes, the loop could then writes up to five entries past altmode_desc[]. For mode_data_prime the next field in struct tcpm_port is the partner_altmode[] pointer array, which then receives partner-chosen SVID/VDO bytes. Move the bound check inside the loop so the array can never be indexed past ALTMODE_DISCOVERY_MAX regardless of how many VDOs the partner supplies or how the function was reached.
EPSS 0.16% · 5.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libperf-debuginfo | errata.rockylinux.org | 6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.s390x |
| kernel-rt-debug-modules | errata.rockylinux.org | 6.12.0-211.67.1.el10, 5.14.0-687.59.1.el9, 0:6.12.0-211.67.1.el10_2.x86_64, 0:6.12.0-211.67.1.el10_2.aarch64, 0:5.14.0-687.59.1.el9_8.aarch64 |
| kernel-abi-stablelists | errata.rockylinux.org | 6.12.0-211.67.1.el10, 5.14.0-687.59.1.el9, 0:6.12.0-211.67.1.el10_2.noarch, 0:5.14.0-687.59.1.el9_8.noarch |
| kernel-devel-matched | errata.rockylinux.org | 6.12.0-211.67.1.el10, 5.14.0-687.59.1.el9, 0:6.12.0-211.67.1.el10_2.ppc64le, 0:5.14.0-687.59.1.el9_8.x86_64 |
| kernel-zfcpdump-modules-core | errata.rockylinux.org | 6.12.0-211.67.1.el10, 5.14.0-687.59.1.el9, 0:6.12.0-211.67.1.el10_2.s390x, 0:5.14.0-687.59.1.el9_8.s390x |
| kernel-livepatch-6.18.35-68.127 | Amazon Linux | 1:1.0-0.amzn2023 |
| libperf | errata.rockylinux.org | 6.12.0-211.67.1.el10, 5.14.0-687.59.1.el9, 0:6.12.0-211.67.1.el10_2.s390x, 0:5.14.0-687.59.1.el9_8.aarch64 |
| kernel-64k-devel-matched | errata.rockylinux.org | 6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64 |
| kernel-modules | errata.rockylinux.org | 6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.x86_64, 0:6.12.0-211.67.1.el10_2.ppc64le |
| kernel-debug-devel-matched | errata.rockylinux.org | 5.14.0-687.59.1.el9, 0:5.14.0-687.59.1.el9_8.x86_64, 0:5.14.0-687.59.1.el9_8.aarch64 |
| kernel-rt-64k-modules-core | errata.rockylinux.org | 6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.94-123.174.amzn2023 |
46 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4ab8c18d4d67321cc7b660559de17511d4fc0237, 4ab8c18d4d67321cc7b660559de17511d4fc0237, 4ab8c18d4d67321cc7b660559de17511d4fc0237 |
| Linux | Linux | 4.19, 0, 6.1.191 |
| amazon:2023 | kernel-livepatch-6.18.35-68.127 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 4.19, 4.19, 4.19 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.94-123.174 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
…and 7 more
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (34 in total, the first dated here)
- Aug 7, 2026 EPSS Score (16 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (35 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-63962
vulnetix vdb fixes CVE-2026-63962
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63962/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart