CVE-2026-139548
publishedplatform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxde0f49487db3667f5204dcec6d3482c9bd1a0a30 to < e561f3b727e14ec087bb15d6d3c9b6c66468c048 · de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 22050deecab9a0a65676aaeafc277e923c8e8c5c · de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < ac2f3341c459468f25865180b626ba9447173366 · de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 833e3837354ac3d553d14a19eefffc323ee291c0 · de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 834847b5a34047e84bc5be2909ab3588876314e0 · de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 317e7abcaf60b79765dcf35c014edac8b9d37a6e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data cros_typec_register_altmodes() iterates over sop_disc->svid_count and sop_disc->svids[i].mode_count from the EC_CMD_TYPEC_DISCOVERY response without validating their bounds. port->disc_data is allocated as a buffer of EC_PROTO2_MAX_RESPONSE_SIZE bytes, and each SVID entry contains a fixed mode_vdo[6] array. If the EC returns an out-of-bounds svid_count or mode_count, the loops read past the end of the mode_vdo array or the disc_data buffer. Validate that the discovery response with svid_count entries fits within EC_PROTO2_MAX_RESPONSE_SIZE using struct_size(), and ensure each SVID's mode_count does not exceed ARRAY_SIZE(sop_disc->svids[i].mode_vdo) before registering altmodes.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < e561f3b727e14ec087bb15d6d3c9b6c66468c048 (affected · git)de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 22050deecab9a0a65676aaeafc277e923c8e8c5c (affected · git)de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < ac2f3341c459468f25865180b626ba9447173366 (affected · git)de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 833e3837354ac3d553d14a19eefffc323ee291c0 (affected · git)de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 834847b5a34047e84bc5be2909ab3588876314e0 (affected · git)de0f49487db3667f5204dcec6d3482c9bd1a0a30 to < 317e7abcaf60b79765dcf35c014edac8b9d37a6e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/22050deecab9a0a65676aaeafc277e923c8e8c5c
- https://git.kernel.org/stable/c/317e7abcaf60b79765dcf35c014edac8b9d37a6e
- https://git.kernel.org/stable/c/833e3837354ac3d553d14a19eefffc323ee291c0
- https://git.kernel.org/stable/c/834847b5a34047e84bc5be2909ab3588876314e0
- https://git.kernel.org/stable/c/ac2f3341c459468f25865180b626ba9447173366
- https://git.kernel.org/stable/c/e561f3b727e14ec087bb15d6d3c9b6c66468c048
Provider assertions
1Linux · cna
platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc5052764dfa14bc32ef31af7aa454bc0a52b0d4ed59754857ea914ea6f64a7e
- Ingested
- 30 Nov 2026, 13:42:24 UTC
- Source record
- Official CVE record