# CVE-2026-63962: usb: typec: tcpm: bound altmode\_desc\[\] per iteration in svdm\_consume\_modes()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 8, 2026-12-05)
- **Published:** 2026-07-19T14:55:51.682Z
- **Modified:** 2026-11-23T08:17:18.520Z

## Who should check

- Anyone running Linux \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 850f10f37a9dd874d34f31a66b29b7298c19a707; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< a449d1f86e7d93a58314bd4f3caa28c06ed0202b; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< f6694bac643c7ae25c0634b63e67d573ed31e5b7; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 816c6251409db28f1b875988fcbd2ff1764a81f0; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 845598b154b9a92e9d279fafafa9405c121ae805; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 4505f33dab56c274e82f47f94bf60a8cbf8f4b42; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< cbad85b446c06adbc5e5bed565871bb918ce9d32; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 3389c149c68c3fea61910ad5d34f7bf3bff44e32
- Anyone running Linux 4.19

## Description

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.

## Affected and fixed versions

- Linux: \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 850f10f37a9dd874d34f31a66b29b7298c19a707; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< a449d1f86e7d93a58314bd4f3caa28c06ed0202b; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< f6694bac643c7ae25c0634b63e67d573ed31e5b7; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 816c6251409db28f1b875988fcbd2ff1764a81f0; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 845598b154b9a92e9d279fafafa9405c121ae805; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 4505f33dab56c274e82f47f94bf60a8cbf8f4b42; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< cbad85b446c06adbc5e5bed565871bb918ce9d32; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 3389c149c68c3fea61910ad5d34f7bf3bff44e32 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 3389c149c68c3fea61910ad5d34f7bf3bff44e32 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63962. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63962.md
Affected: Linux >= 4ab8c18d4d67321cc7b660559de17511d4fc0237, < 850f10f37a9dd874d34f31a66b29b7298c19a707; >= 4ab8c18d4d67321cc7b660559de17511d4fc0237, < a449d1f86e7d93a58314bd4f3caa28c06ed0202b; >= 4ab8c18d4d67321cc7b660559de17511d4fc0237, < f6694bac643c7ae25c0634b63e67d573ed31e5b7; >= 4ab8c18d4d67321cc7b6605…
Fixed in: Linux 850f10f37a9dd874d34f31a66b29b7298c19a707, Linux 816c6251409db28f1b875988fcbd2ff1764a81f0, Linux 845598b154b9a92e9d279fafafa9405c121ae805, Linux 4505f33dab56c274e82f47f94bf60a8cbf8f4b42, Linux 3389c149c68c3fea61910ad5d34f7bf3bff44e32

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63962 being exploited?

There is no confirmed exploitation: CVE-2026-63962 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-12-05).

### How serious is CVE-2026-63962?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63962?

Linux \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 850f10f37a9dd874d34f31a66b29b7298c19a707; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< a449d1f86e7d93a58314bd4f3caa28c06ed0202b; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< f6694bac643c7ae25c0634b63e67d573ed31e5b7; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 816c6251409db28f1b875988fcbd2ff1764a81f0; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 845598b154b9a92e9d279fafafa9405c121ae805; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 4505f33dab56c274e82f47f94bf60a8cbf8f4b42; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< cbad85b446c06adbc5e5bed565871bb918ce9d32; \>= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \< 3389c149c68c3fea61910ad5d34f7bf3bff44e32; Linux 4.19.

### Is there a fix for CVE-2026-63962?

Yes. Fixed in Linux 850f10f37a9dd874d34f31a66b29b7298c19a707, Linux 816c6251409db28f1b875988fcbd2ff1764a81f0, Linux 845598b154b9a92e9d279fafafa9405c121ae805, Linux 4505f33dab56c274e82f47f94bf60a8cbf8f4b42, Linux 3389c149c68c3fea61910ad5d34f7bf3bff44e32. Upgrade Linux to 3389c149c68c3fea61910ad5d34f7bf3bff44e32 or later.

### How do I check if I'm affected by CVE-2026-63962?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f6694bac643c7ae25c0634b63e67d573ed31e5b7>
- patch: <https://git.kernel.org/stable/c/816c6251409db28f1b875988fcbd2ff1764a81f0>
- patch: <https://git.kernel.org/stable/c/845598b154b9a92e9d279fafafa9405c121ae805>
- patch: <https://git.kernel.org/stable/c/4505f33dab56c274e82f47f94bf60a8cbf8f4b42>
- patch: <https://git.kernel.org/stable/c/cbad85b446c06adbc5e5bed565871bb918ce9d32>
- patch: <https://git.kernel.org/stable/c/3389c149c68c3fea61910ad5d34f7bf3bff44e32>
- other: <https://git.kernel.org/stable/c/850f10f37a9dd874d34f31a66b29b7298c19a707>
- other: <https://git.kernel.org/stable/c/a449d1f86e7d93a58314bd4f3caa28c06ed0202b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63962>

HTML: <https://flawdb.com/CVE-2026-63962> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63962>
