CVE-2026-139548 platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139548?

CVE-2026-139548 is a vulnerability in Linux, published on 30 Nov 2026.

Official 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.

Which versions are affected by CVE-2026-139548?

How do I fix CVE-2026-139548?

Upgrade to a fixed version.

Is CVE-2026-139548 being exploited?

There is no known exploitation of CVE-2026-139548 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139548, DEBIAN-CVE-2026-139548, GHSA-r39m-j3x7-j6qx, UBUNTU-CVE-2026-139548.

Is CVE-2026-139548 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free