VDB

CVE-2026-63962

CVE-2026-63962 PUBLISHED

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.

PackageEcosystemFixed in
libperf-debuginfoerrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.s390x
kernel-rt-debug-moduleserrata.rockylinux.org6.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-stablelistserrata.rockylinux.org6.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-matchederrata.rockylinux.org6.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-coreerrata.rockylinux.org6.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.127Amazon Linux1:1.0-0.amzn2023
libperferrata.rockylinux.org6.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-matchederrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64
kernel-moduleserrata.rockylinux.org6.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-matchederrata.rockylinux.org5.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-coreerrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64
kernel6.12-modules-extra-commonAmazon Linux1:6.12.94-123.174.amzn2023

46 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.16%
5.3th percentile

Affected products

VendorProductVersions
LinuxLinux4ab8c18d4d67321cc7b660559de17511d4fc0237, 4ab8c18d4d67321cc7b660559de17511d4fc0237, 4ab8c18d4d67321cc7b660559de17511d4fc0237
LinuxLinux4.19, 0, 6.1.191
amazon:2023kernel-livepatch-6.18.35-68.1270
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel4.19, 4.19, 4.19
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.94-123.1740
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.180
amazon:2023perf6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel6.120
amazon:2023kernel6.12-headers0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›